Skip to content

Commit

Permalink
Generated from eabd724
Browse files Browse the repository at this point in the history
upgrade pipeline scripts version to 0.8.0 (#9457)

Co-authored-by: Jianye Xi <[email protected]>
  • Loading branch information
SDK Automation and Jianye Xi committed May 15, 2020
1 parent ce75f49 commit 5ba6ba2
Show file tree
Hide file tree
Showing 2 changed files with 420 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
interactions:
- request:
body: 'b''b\''{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup",
"values": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568"]},
"conditions": {"severity": {"operator": "Equals", "values": ["Sev0", "Sev2"]},
"monitorService": {"operator": "Equals", "values": ["Platform", "Application
Insights"]}, "monitorCondition": {"operator": "Equals", "values": ["Fired"]},
"targetResourceType": {"operator": "NotEquals", "values": ["Microsoft.Compute/VirtualMachines"]}},
"description": "Action rule on resource group for daily suppression", "status":
"Enabled", "type": "Suppression", "suppressionConfig": {"recurrenceType": "Daily",
"schedule": {"startDate": "12/09/2018", "endDate": "12/18/2018", "startTime":
"06:00:00", "endTime": "14:00:00"}}}}\'''''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '833'
Content-Type:
- application/json; charset=utf-8
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568/providers/Microsoft.AlertsManagement/actionRules/myActionRule?api-version=2019-05-05-preview
response:
body:
string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application
Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"description":"Action
rule on resource group for daily suppression","createdAt":"2020-04-19T10:14:03.4377945Z","createdBy":"User","lastModifiedAt":"2020-04-19T10:14:03.4377945Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568/providers/Microsoft.AlertsManagement/actionRules/myActionRule","type":"Microsoft.AlertsManagement/actionRules","name":"myActionRule"}'
headers:
cache-control:
- no-store, no-cache
content-length:
- '1186'
content-security-policy:
- script-src 'self'
content-type:
- application/json; charset=utf-8
date:
- Sun, 19 Apr 2020 10:14:03 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568/providers/Microsoft.AlertsManagement/actionRules/myActionRule?api-version=2019-05-05-preview
response:
body:
string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application
Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"description":"Action
rule on resource group for daily suppression","createdAt":"2020-04-19T10:14:03.4377945Z","createdBy":"User","lastModifiedAt":"2020-04-19T10:14:03.4377945Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568/providers/Microsoft.AlertsManagement/actionRules/myActionRule","type":"Microsoft.AlertsManagement/actionRules","name":"myActionRule"}'
headers:
cache-control:
- no-store, no-cache
content-length:
- '1186'
content-security-policy:
- script-src 'self'
content-type:
- application/json; charset=utf-8
date:
- Sun, 19 Apr 2020 10:14:04 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-resource-requests:
- '999'
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AlertsManagement/alertsSummary?groupby=severity%2CalertState&api-version=2019-05-05-preview
response:
body:
string: '{"properties":{"groupedby":"severity","total":0,"values":[{"name":"Sev0","count":0,"groupedby":"alertState","values":[{"name":"New","count":0},{"name":"Acknowledged","count":0},{"name":"Closed","count":0}]},{"name":"Sev1","count":0,"groupedby":"alertState","values":[{"name":"New","count":0},{"name":"Acknowledged","count":0},{"name":"Closed","count":0}]},{"name":"Sev2","count":0,"groupedby":"alertState","values":[{"name":"New","count":0},{"name":"Acknowledged","count":0},{"name":"Closed","count":0}]},{"name":"Sev3","count":0,"groupedby":"alertState","values":[{"name":"New","count":0},{"name":"Acknowledged","count":0},{"name":"Closed","count":0}]},{"name":"Sev4","count":0,"groupedby":"alertState","values":[{"name":"New","count":0},{"name":"Acknowledged","count":0},{"name":"Closed","count":0}]}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AlertsManagement/alertsSummary/current","type":"Microsoft.AlertsManagement/alertsSummary","name":"current"}'
headers:
cache-control:
- no-store, no-cache
content-length:
- '990'
content-security-policy:
- script-src 'self'
content-type:
- application/json; charset=utf-8
date:
- Sun, 19 Apr 2020 10:14:04 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-resource-requests:
- '999'
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
msrest_azure/0.6.2 azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python
accept-language:
- en-US
method: DELETE
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_alertsmanagement_test_alertsmanagement37c21568/providers/Microsoft.AlertsManagement/actionRules/myActionRule?api-version=2019-05-05-preview
response:
body:
string: 'true'
headers:
cache-control:
- no-store, no-cache
content-length:
- '4'
content-security-policy:
- script-src 'self'
content-type:
- application/json; charset=utf-8
date:
- Sun, 19 Apr 2020 10:14:07 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
x-xss-protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1
Loading

0 comments on commit 5ba6ba2

Please sign in to comment.