-
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.
Added new receivers to action group document. (#2077)
* Added new receivers to action group document. * fixed few comments. * Corrected the file syntactically using openapi-linter * Add required patch operation for which it is flagging this documentation * Fixed some liter format validation issues, added patch example * Fixed couple for validation errors * Fixed new validation error for runbook receiver * fixed the description field for ITSM Ticket configuration field. * Added new receivers to action group document. * fixed few comments. * Corrected the file syntactically using openapi-linter * Add required patch operation for which it is flagging this documentation * Fixed some liter format validation issues, added patch example * Fixed couple for validation errors * Fixed new validation error for runbook receiver * fixed the description field for ITSM Ticket configuration field. * Added example file for patch operation to new directory called stable.
- Loading branch information
1 parent
9967bca
commit e446753
Showing
4 changed files
with
318 additions
and
0 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
|
@@ -12,6 +12,10 @@ | |
"200": { | ||
"headers": {}, | ||
"body": null | ||
}, | ||
"409": { | ||
"headers": {}, | ||
"body": null | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...itor/resource-manager/microsoft.insights/stable/2017-04-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,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "187f412d-1758-44d9-b052-169e2564721d", | ||
"resourceGroupName": "Default-NotificationRules", | ||
"actionGroupName": "SampleActionGroup", | ||
"api-version": "2017-04-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": "johndoe@email.com", | ||
"status": "Enabled" | ||
}, | ||
{ | ||
"name": "Jane Smith's email", | ||
"emailAddress": "janesmith@email.com", | ||
"status": "Enabled" | ||
} | ||
], | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
e446753
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a commit to SDK for Python:
Azure/azure-sdk-for-python@f3538c3