-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new application insignts api version for unified schema in action (#5292
- Loading branch information
1 parent
ff057cd
commit b63a336
Showing
8 changed files
with
1,466 additions
and
4 deletions.
There are no files selected for viewing
862 changes: 862 additions & 0 deletions
862
...ation/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
Large diffs are not rendered by default.
Oops, something went wrong.
318 changes: 318 additions & 0 deletions
318
...urce-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...tor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"actionGroupName": "SampleActionGroup", | ||
"api-version": "2019-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": null | ||
}, | ||
"204": { | ||
"headers": {}, | ||
"body": null | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...onitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"actionGroupName": "SampleActionGroup", | ||
"api-version": "2019-03-01", | ||
"enableRequest": { | ||
"receiverName": "John Doe's mobile" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": null | ||
}, | ||
"409": { | ||
"headers": {}, | ||
"body": null | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...onitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"actionGroupName": "SampleActionGroup", | ||
"api-version": "2019-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", | ||
"type": "Microsoft.Insights/ActionGroups", | ||
"name": "SampleActionGroup", | ||
"location": "Global", | ||
"tags": {}, | ||
"properties": { | ||
"groupShortName": "sample", | ||
"enabled": true, | ||
"emailReceivers": [ | ||
{ | ||
"name": "John Doe's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Enabled", | ||
"useUnifiedSchema": true | ||
}, | ||
{ | ||
"name": "Jane Smith's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Disabled", | ||
"useUnifiedSchema": true | ||
} | ||
], | ||
"smsReceivers": [ | ||
{ | ||
"name": "John Doe's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "1234567890", | ||
"status": "Disabled" | ||
}, | ||
{ | ||
"name": "Jane Smith's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "0987654321", | ||
"status": "Enabled" | ||
} | ||
], | ||
"webhookReceivers": [ | ||
{ | ||
"name": "Sample webhook", | ||
"serviceUri": "http://www.example.com/webhook", | ||
"useUnifiedSchema": false | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...itor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.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,90 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"api-version": "2019-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", | ||
"type": "Microsoft.Insights/ActionGroups", | ||
"name": "SampleActionGroup", | ||
"location": "Global", | ||
"tags": {}, | ||
"properties": { | ||
"groupShortName": "sample", | ||
"enabled": true, | ||
"emailReceivers": [ | ||
{ | ||
"name": "John Doe's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Enabled", | ||
"useUnifiedSchema": true | ||
}, | ||
{ | ||
"name": "Jane Smith's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Disabled", | ||
"useUnifiedSchema": true | ||
} | ||
], | ||
"smsReceivers": [ | ||
{ | ||
"name": "John Doe's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "1234567890", | ||
"status": "Disabled" | ||
}, | ||
{ | ||
"name": "Jane Smith's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "0987654321", | ||
"status": "Enabled" | ||
} | ||
], | ||
"webhookReceivers": [ | ||
{ | ||
"name": "Sample webhook", | ||
"serviceUri": "http://www.example.com/webhook", | ||
"useUnifiedSchema": false | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2", | ||
"type": "Microsoft.Insights/ActionGroups", | ||
"name": "SampleActionGroup2", | ||
"location": "Global", | ||
"tags": {}, | ||
"properties": { | ||
"groupShortName": "sample2", | ||
"enabled": false, | ||
"emailReceivers": [ | ||
{ | ||
"name": "John Doe's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Enabled", | ||
"useUnifiedSchema": true | ||
} | ||
], | ||
"smsReceivers": [ | ||
{ | ||
"name": "Jane Smith's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "0987654321", | ||
"status": "Enabled" | ||
} | ||
], | ||
"webhookReceivers": [] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...itor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.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": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"actionGroupName": "SampleActionGroup", | ||
"api-version": "2019-03-01", | ||
"actionGroupPatch": { | ||
"tags": { "key1": "value1", "key2": "value2" }, | ||
"properties": { | ||
"enabled": false | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { }, | ||
"body": { | ||
"id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup", | ||
"type": "Microsoft.Insights/ActionGroups", | ||
"name": "SampleActionGroup", | ||
"location": "Global", | ||
"tags": { "key1": "value1", "key2": "value2" }, | ||
"properties": { | ||
"groupShortName": "sample", | ||
"enabled": true, | ||
"emailReceivers": [ | ||
{ | ||
"name": "John Doe's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Enabled", | ||
"useUnifiedSchema": true | ||
}, | ||
{ | ||
"name": "Jane Smith's email", | ||
"emailAddress": "[email protected]", | ||
"status": "Enabled", | ||
"useUnifiedSchema": true | ||
} | ||
], | ||
"smsReceivers":[ | ||
{ | ||
"name": "John Doe's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "1234567890", | ||
"status": "Enabled" | ||
}, | ||
{ | ||
"name": "Jane Smith's mobile", | ||
"countryCode": "1", | ||
"phoneNumber": "0987654321", | ||
"status": "Enabled" | ||
} | ||
], | ||
"webhookReceivers":[ | ||
{ | ||
"name": "Sample webhook", | ||
"serviceUri": "http://www.example.com/webhook", | ||
"useUnifiedSchema": false | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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