Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ interactions:
ParameterSetName:
- -n -o
User-Agent:
- AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0)
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-12-10T05:26:35Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-12-27T03:58:59Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
content-length:
- '436'
- '318'
content-type:
- application/json; charset=utf-8
date:
- Fri, 10 Dec 2021 05:26:36 GMT
- Mon, 27 Dec 2021 03:59:03 GMT
expires:
- '-1'
pragma:
Expand All @@ -42,7 +42,7 @@ interactions:
code: 200
message: OK
- request:
body: '{"location": "global", "properties": {"groupShortName": "cliact3ttmfn",
body: '{"location": "global", "properties": {"groupShortName": "cliacteveu45",
"enabled": true, "emailReceivers": [], "smsReceivers": [], "webhookReceivers":
[], "itsmReceivers": [], "azureAppPushReceivers": [], "automationRunbookReceivers":
[], "voiceReceivers": [], "logicAppReceivers": [], "azureFunctionReceivers":
Expand All @@ -63,21 +63,21 @@ interactions:
ParameterSetName:
- -n -g -o
User-Agent:
- AZURECLI/2.30.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0)
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/actionGroups/cliact000002?api-version=2019-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/actionGroups/cliact000002","type":"Microsoft.Insights/ActionGroups","name":"cliact000002","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"cliact3ttmfn","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventhubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]},"identity":null}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/actionGroups/cliact000002","type":"Microsoft.Insights/ActionGroups","name":"cliact000002","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"cliacteveu45","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"eventhubReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]},"identity":null}'
headers:
cache-control:
- no-cache
content-length:
- '685'
- '586'
content-type:
- application/json; charset=utf-8
date:
- Fri, 10 Dec 2021 05:26:40 GMT
- Mon, 27 Dec 2021 03:59:12 GMT
expires:
- '-1'
pragma:
Expand All @@ -89,7 +89,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-resource-requests:
- '24'
- '23'
status:
code: 201
message: Created
Expand All @@ -107,7 +107,7 @@ interactions:
ParameterSetName:
- -n -g -s --action --condition --disable -o
User-Agent:
- AZURECLI/2.30.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0)
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/activityLogAlerts/clialert000003?api-version=2017-04-01
response:
Expand All @@ -119,11 +119,11 @@ interactions:
cache-control:
- no-cache
content-length:
- '316'
- '239'
content-type:
- application/json; charset=utf-8
date:
- Fri, 10 Dec 2021 05:26:41 GMT
- Mon, 27 Dec 2021 03:59:13 GMT
expires:
- '-1'
pragma:
Expand Down Expand Up @@ -153,13 +153,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '595'
- '457'
Content-Type:
- application/json
ParameterSetName:
- -n -g -s --action --condition --disable -o
User-Agent:
- AZURECLI/2.30.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.10 (Windows-10-10.0.19044-SP0)
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/activityLogAlerts/clialert000003?api-version=2017-04-01
response:
Expand All @@ -169,11 +169,11 @@ interactions:
cache-control:
- no-cache
content-length:
- '1067'
- '834'
content-type:
- application/json; charset=utf-8
date:
- Fri, 10 Dec 2021 05:26:49 GMT
- Mon, 27 Dec 2021 03:59:21 GMT
expires:
- '-1'
pragma:
Expand All @@ -185,8 +185,100 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1198'
status:
code: 201
message: Created
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- monitor activity-log alert list
Connection:
- keep-alive
ParameterSetName:
- -g -o
User-Agent:
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/activityLogAlerts/clialert000003","type":"Microsoft.Insights/ActivityLogAlerts","name":"clialert000003","location":"Global","kind":null,"tags":{},"properties":{"scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"condition":{"allOf":[{"field":"category","equals":"Security","containsAny":null,"odata.type":null},{"field":"level","equals":"Error","containsAny":null,"odata.type":null}],"odata.type":null},"actions":{"actionGroups":[{"actionGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/actionGroups/cliact000002","webhookProperties":null}]},"enabled":false,"description":null},"identity":null}]}'
headers:
cache-control:
- no-cache
content-length:
- '846'
content-type:
- application/json; charset=utf-8
date:
- Mon, 27 Dec 2021 03:59:21 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-IIS/10.0
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- monitor activity-log list-categories
Connection:
- keep-alive
User-Agent:
- AZURECLI/2.31.0 azsdk-python-azure-mgmt-monitor/3.0.0 Python/3.8.8rc1 (Windows-10-10.0.22000-SP0)
method: GET
uri: https://management.azure.com/providers/Microsoft.Insights/eventcategories?api-version=2015-04-01
response:
body:
string: '{"value":[{"value":"Administrative","localizedValue":"Administrative"},{"value":"Security","localizedValue":"Security"},{"value":"ServiceHealth","localizedValue":"Service
Health"},{"value":"Alert","localizedValue":"Alert"},{"value":"Recommendation","localizedValue":"Recommendation"},{"value":"Policy","localizedValue":"Policy"},{"value":"Autoscale","localizedValue":"Autoscale"},{"value":"ResourceHealth","localizedValue":"Resource
Health"}]}'
headers:
cache-control:
- no-cache
content-length:
- '443'
content-type:
- application/json; charset=utf-8
date:
- Mon, 27 Dec 2021 03:59:22 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- Microsoft-IIS/10.0
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
status:
code: 200
message: OK
version: 1
Loading