-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Donaliu/20200207 sap monitor #8528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
09ffe27
Added new version 2020-02-07-preview of SapMonitor APIs
PakDLiu f98c566
bugs
PakDLiu 49deb5b
Fixed parameter naming
PakDLiu 39c7f76
fixed examples
PakDLiu a0a7433
fixed more examples
PakDLiu ef42ba9
various fixed
PakDLiu 0bbb803
more fixes
PakDLiu c99eaf4
ran prettier
PakDLiu ff0ca1c
renamed monitorProviders to providerInstances
PakDLiu 853f3ba
updated README
PakDLiu a3e5de3
Added 201 and 202 for create and delete provider instances
PakDLiu c6ff07e
ran prettier
PakDLiu 1f058cf
fixed path in readme
PakDLiu ea21c3f
added id field to providerInstances
PakDLiu eacfca8
Separate SapMonitor and providerInstance APIs
PakDLiu e336f58
fixed spelling
PakDLiu 32548ed
updated provider instance payload
PakDLiu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...r/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_Create.json
This file contains hidden or 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,24 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-02-07-preview", | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "sapMonitorName": "mySapMonitor", | ||
| "providerInstanceName": "myProviderInstance", | ||
| "providerInstanceParameter": { | ||
| "name": "myProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "myProviderInstance", | ||
| "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 hidden or 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": {}, | ||
| "204": {} | ||
| } | ||
| } | ||
|
|
19 changes: 19 additions & 0 deletions
19
...ager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/ProviderInstances_Get.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-02-07-preview", | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "sapMonitorName": "mySapMonitor", | ||
| "providerInstanceName": "myProviderInstance" | ||
PakDLiu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "myProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
86 changes: 86 additions & 0 deletions
86
...manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_Create.json
This file contains hidden or 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": "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "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/hanaInstances/myHanaInstance", | ||
| "name": "myHanaInstance", | ||
| "type": "Microsoft.HanaOnAzure/hanaInstances", | ||
| "location": "westus", | ||
| "tags": { | ||
| "key": "value" | ||
| }, | ||
| "properties": { | ||
| "enableCustomerAnalytics": true, | ||
| "logAnalyticsWorkspaceArmId": "", | ||
| "logAnalyticsWorkspaceId": "", | ||
| "logAnalyticsWorkspaceSharedKey": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\",\"dbPassword\":\"PASSWORD\"}" | ||
| } | ||
| ], | ||
| "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "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 hidden or 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": {} | ||
| } | ||
| } |
37 changes: 37 additions & 0 deletions
37
...ce-manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_Get.json
This file contains hidden or 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": "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "managedResourceGroupName": "", | ||
| "sapMonitorCollectorVersion": "", | ||
| "provisioningState": "Succeeded" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
64 changes: 64 additions & 0 deletions
64
...e-manager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_List.json
This file contains hidden or 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,64 @@ | ||
| { | ||
| "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance2", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.11\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "managedResourceGroupName": "", | ||
| "sapMonitorCollectorVersion": "", | ||
| "provisioningState": "Succeeded" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
42 changes: 42 additions & 0 deletions
42
...ager/Microsoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_PatchTags.json
This file contains hidden or 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,42 @@ | ||
| { | ||
| "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "managedResourceGroupName": "", | ||
| "sapMonitorCollectorVersion": "", | ||
| "provisioningState": "Succeeded" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
38 changes: 38 additions & 0 deletions
38
...crosoft.HanaOnAzure/preview/2020-02-07-preview/examples/SapMonitors_PatchTags_Delete.json
This file contains hidden or 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": "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": "", | ||
| "monitorProviders": [ | ||
| { | ||
| "name": "myHanaProviderInstance", | ||
| "type": "hana", | ||
| "properties": "{\"hostname\":\"10.0.0.10\",\"dbName\":\"SYSTEMDB\",\"sqlPort\":30015,\"dbUsername\":\"SYSTEM\"}" | ||
| } | ||
| ], | ||
| "managedResourceGroupName": "", | ||
| "sapMonitorCollectorVersion": "", | ||
| "provisioningState": "Succeeded" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.