forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding monitors spec and examples Adding monitors spec and examples * All Monitors spec and examples All Monitors spec and examples * Delete commonTypes.json * Added new providers Added new providers * Updating with recent monitors spec changes in private repo Updating with recent monitors spec changes in private repo * Changes for Go sdk Changes for Go sdk * Update readme.md
- Loading branch information
1 parent
cb92175
commit f3d0ecb
Showing
31 changed files
with
2,721 additions
and
0 deletions.
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
...urce-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/Write", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "phpWorkloads", | ||
"operation": "Creates or updates the phpWorkloads", | ||
"description": "Set phpWorkloads" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/Delete", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "phpWorkloads", | ||
"operation": "Deletes the phpWorkloads", | ||
"description": "Delete phpWorkloads" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/Read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "phpWorkloads", | ||
"operation": "Reads the phpWorkloads", | ||
"description": "Read phpWorkloads" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Write", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "wordpressInstances", | ||
"operation": "Creates or updates the wordpressInstances", | ||
"description": "Set wordpressInstances" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Delete", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "wordpressInstances", | ||
"operation": "Deletes the wordpressInstances", | ||
"description": "Delete wordpressInstances" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "wordpressInstances", | ||
"operation": "Reads the wordpressInstances", | ||
"description": "Read wordpressInstances" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/monitors/Read", | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "Microsoft.Workloads/monitors", | ||
"operation": "Read", | ||
"description": "Reads the Monitor workload." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Workloads/monitors/Write", | ||
"display": { | ||
"provider": "Microsoft.Workloads", | ||
"resource": "Microsoft.Workloads/monitors", | ||
"operation": "Read", | ||
"description": "Creates or updates a Monitor workload." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...oads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance", | ||
"providerInstanceParameter": { | ||
"properties": { | ||
"providerSettings": { | ||
"providerType": "Db2", | ||
"sapSid": "SID", | ||
"hostname": "hostname", | ||
"dbUsername": "username", | ||
"dbName": "dbName", | ||
"dbPassword": "password", | ||
"dbPasswordUri": "", | ||
"dbPort": "dbPort" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"systemData": { | ||
"createdBy": "user@xyz.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-19T15:10:46.196Z", | ||
"lastModifiedBy": "user@xyz.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-19T15:10:46.196Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "Db2", | ||
"sapSid": "SID", | ||
"hostname": "vmname.azure.com", | ||
"dbUsername": "Db2OPA", | ||
"dbName": "OPA", | ||
"dbPort": "5912", | ||
"dbPasswordUri": "" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "Db2", | ||
"sapSid": "SID", | ||
"hostname": "vmname.azure.com", | ||
"dbUsername": "Db2OPA", | ||
"dbName": "OPA", | ||
"dbPort": "5912", | ||
"dbPasswordUri": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...rkloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"systemData": { | ||
"createdBy": "user@xyz.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-19T15:10:46.196Z", | ||
"lastModifiedBy": "user@xyz.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-19T15:10:46.196Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "Db2", | ||
"sapSid": "SID", | ||
"hostname": "vmname.azure.com", | ||
"dbUsername": "Db2OPA", | ||
"dbName": "OPA", | ||
"dbPort": "5912", | ||
"dbPasswordUri": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...eview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance", | ||
"providerInstanceParameter": { | ||
"properties": { | ||
"providerSettings": { | ||
"providerType": "MsSqlServer", | ||
"dbUsername": "user", | ||
"dbPassword": "****", | ||
"dbPasswordUri": "", | ||
"dbPort": "5912", | ||
"hostname": "hostname", | ||
"sapSid": "sid" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"systemData": { | ||
"createdBy": "user@xyz.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-19T15:10:46.196Z", | ||
"lastModifiedBy": "user@xyz.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-19T15:10:46.196Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "MsSqlServer", | ||
"dbUsername": "user", | ||
"dbPort": "5912", | ||
"hostname": "hostname", | ||
"sapSid": "sid" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "MsSqlServer", | ||
"dbUsername": "user", | ||
"dbPort": "5912", | ||
"hostname": "hostname", | ||
"sapSid": "sid" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
.../preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"systemData": { | ||
"createdBy": "user@xyz.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-19T15:10:46.196Z", | ||
"lastModifiedBy": "user@xyz.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-19T15:10:46.196Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "MsSqlServer", | ||
"dbUsername": "user", | ||
"dbPort": "5912", | ||
"hostname": "hostname", | ||
"dbPasswordUri": "", | ||
"sapSid": "sid" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...review/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance", | ||
"providerInstanceParameter": { | ||
"properties": { | ||
"providerSettings": { | ||
"providerType": "SapNetWeaver", | ||
"sapSid": "SID", | ||
"sapHostname": "name", | ||
"sapInstanceNr": "00", | ||
"sapHostFileEntries": [ | ||
"127.0.0.1 name fqdn" | ||
], | ||
"sapUsername": "username", | ||
"sapPassword": "****", | ||
"sapPasswordUri": "", | ||
"sapPortNumber": "1234", | ||
"sapClientId": "111", | ||
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"systemData": { | ||
"createdBy": "user@xyz.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-19T15:10:46.196Z", | ||
"lastModifiedBy": "user@xyz.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-19T15:10:46.196Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "SapNetWeaver", | ||
"sapSid": "SID", | ||
"sapHostname": "name", | ||
"sapInstanceNr": "00", | ||
"sapHostFileEntries": [ | ||
"127.0.0.1 name fqdn" | ||
], | ||
"sapUsername": "username", | ||
"sapPasswordUri": "", | ||
"sapPortNumber": "1234", | ||
"sapClientId": "111", | ||
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.Workloads/workloads/providerInstances", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"providerSettings": { | ||
"providerType": "SapNetWeaver", | ||
"sapSid": "SID", | ||
"sapHostname": "name", | ||
"sapInstanceNr": "00", | ||
"sapHostFileEntries": [ | ||
"127.0.0.1 name fqdn" | ||
], | ||
"sapUsername": "username", | ||
"sapPasswordUri": "", | ||
"sapPortNumber": "1234", | ||
"sapClientId": "111", | ||
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.