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.
Donaliu/20200207 sap monitor (Azure#8528)
* Added new version 2020-02-07-preview of SapMonitor APIs * bugs * Fixed parameter naming * fixed examples * fixed more examples * various fixed * more fixes * ran prettier * renamed monitorProviders to providerInstances * updated README * Added 201 and 202 for create and delete provider instances * ran prettier * fixed path in readme * added id field to providerInstances * Separate SapMonitor and providerInstance APIs Added List providerInstance API * fixed spelling * updated provider instance payload
- Loading branch information
Showing
12 changed files
with
1,101 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
...r/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_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,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance", | ||
"providerInstanceParameter": { | ||
"name": "myProviderInstance", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...r/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_Delete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"providerInstanceName": "myProviderInstance" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance", | ||
"name": "myProviderInstance", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ger/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance1", | ||
"name": "myProviderInstance1", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor/providerInstances/myProviderInstance2", | ||
"name": "myProviderInstance2", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors/providerInstances", | ||
"properties": { | ||
"type": "hana", | ||
"properties": "{\"hostname\":\"10.0.0.11\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_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,65 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"sapMonitorParameter": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", | ||
"name": "mySapMonitor", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", | ||
"name": "myHanaInstance", | ||
"type": "Microsoft.HanaOnAzure/hanaInstances", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", | ||
"name": "myHanaInstance", | ||
"type": "Microsoft.HanaOnAzure/hanaInstances", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Accepted" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_Delete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ce-manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", | ||
"name": "mySapMonitor", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...e-manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_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,50 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor1", | ||
"name": "mySapMonitor1", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor2", | ||
"name": "mySapMonitor2", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_PatchTags.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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"tagsParameter": { | ||
"tags": { | ||
"testkey": "testvalue" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", | ||
"name": "mySapMonitor", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": { | ||
"testkey": "testvalue" | ||
}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...crosoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_PatchTags_Delete.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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-07-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"sapMonitorName": "mySapMonitor", | ||
"tagsParameter": { | ||
"tags": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", | ||
"name": "mySapMonitor", | ||
"type": "Microsoft.HanaOnAzure/sapMonitors", | ||
"location": "westus", | ||
"tags": {}, | ||
"properties": { | ||
"enableCustomerAnalytics": true, | ||
"logAnalyticsWorkspaceArmId": "", | ||
"logAnalyticsWorkspaceId": "", | ||
"logAnalyticsWorkspaceSharedKey": "", | ||
"managedResourceGroupName": "", | ||
"sapMonitorCollectorVersion": "", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.