diff --git a/sdk/monitor/arm-monitor/CHANGELOG.md b/sdk/monitor/arm-monitor/CHANGELOG.md index b9bf5cdf2ff6..d499716ad6c2 100644 --- a/sdk/monitor/arm-monitor/CHANGELOG.md +++ b/sdk/monitor/arm-monitor/CHANGELOG.md @@ -1,15 +1,30 @@ # Release History - -## 7.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + +## 8.0.0-beta.1 (2022-01-06) + +**Features** + + - Added Interface ActionGroup + - Added Interface ActionList + - Added Interface ActivityLogAlertsListByResourceGroupNextOptionalParams + - Added Interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams + - Added Interface AlertRuleAllOfCondition + - Added Interface AlertRuleLeafCondition + - Added Interface AlertRuleList + - Added Interface AlertRulePatchObject + - Added Interface AzureResourceAutoGenerated + - Added Interface ErrorResponseAutoGenerated + - Added Type Alias ActivityLogAlertsListByResourceGroupNextResponse + - Added Type Alias ActivityLogAlertsListBySubscriptionIdNextResponse + - Added Type Alias AlertRuleAnyOfOrLeafCondition + - Add parameters of AzureResourceAutoGenerated to TypeAlias ActivityLogAlertResource + +**Breaking Changes** + + - Operation ActivityLogAlerts.update has a new signature + - Delete parameters of Resource in TypeAlias ActivityLogAlertResource + + ## 7.0.0 (2021-12-20) The package of @azure/arm-monitor is using our next generation design principles since version 7.0.0, which contains breaking changes. diff --git a/sdk/monitor/arm-monitor/LICENSE b/sdk/monitor/arm-monitor/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/monitor/arm-monitor/LICENSE +++ b/sdk/monitor/arm-monitor/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Microsoft +Copyright (c) 2022 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/monitor/arm-monitor/README.md b/sdk/monitor/arm-monitor/README.md index 8c86f13c0fd2..685d61325377 100644 --- a/sdk/monitor/arm-monitor/README.md +++ b/sdk/monitor/arm-monitor/README.md @@ -6,7 +6,7 @@ Monitor Management Client [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-monitor) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-monitor) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-monitor?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/monitor/arm-monitor/_meta.json b/sdk/monitor/arm-monitor/_meta.json index 0e83d9cd9f58..f9ceecb1d59f 100644 --- a/sdk/monitor/arm-monitor/_meta.json +++ b/sdk/monitor/arm-monitor/_meta.json @@ -1,7 +1,7 @@ { - "commit": "d967edeee8fd6af6d40bffe53cceed1bd053d7ad", + "commit": "a7991469ddc831a0e25c5a7c25c2c3f0da1785d9", "readme": "specification/monitor/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/monitor/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1", + "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/monitor/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1" } \ No newline at end of file diff --git a/sdk/monitor/arm-monitor/package.json b/sdk/monitor/arm-monitor/package.json index 684442e8024a..886545331fcd 100644 --- a/sdk/monitor/arm-monitor/package.json +++ b/sdk/monitor/arm-monitor/package.json @@ -3,10 +3,8 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MonitorClient.", - "version": "7.0.1", - "engines": { - "node": ">=12.0.0" - }, + "version": "8.0.0-beta.1", + "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -16,13 +14,7 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -42,20 +34,14 @@ "@azure/identity": "^2.0.1", "@azure-tools/test-recorder": "^1.0.0", "mocha": "^7.1.1", - "cross-env": "^7.0.2", - "@azure/arm-eventhub": "^5.0.0", - "@azure/arm-logic": "^8.0.0", - "@azure/arm-operationalinsights": "^8.0.0", - "@azure/arm-storage": "^17.0.0" + "cross-env": "^7.0.2" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, + "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", "dist/**/*.js.map", diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_create_parameters_for_diagnosticsettings.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_create_parameters_for_diagnosticsettings.js deleted file mode 100644 index 487cb417bb3f..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_create_parameters_for_diagnosticsettings.js +++ /dev/null @@ -1,2781 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "02ca73f3ad782f78e65ae22eb28c3fad"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '823055ed-b003-4ce7-b900-896218b30a00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Ago5vzdt1_xLhDOJgiyIGXc; expires=Thu, 20-Jan-2022 01:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrToy3olp0EevEsIOF16l4XMiHEUGfF-rN8ssGgcqMvD0CsKUW6hB_Ud2IDumoJYGken0SQsWDx0Hn9jBZBZf51LuCx7rbrNBU_lu6HltUWN5L_rXSeMut28FOBygr61a0IYkPhnsUrwQTcjGhSpD4-KmT12ImbRRZpuQUC1FiJZIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:07:48 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f9d8b77c-5495-4058-a16d-afdd4f970a00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AklZIVWycmxJkXyzMST6dyg; expires=Thu, 20-Jan-2022 01:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPeSKXUdVuDjODx0VxXosq5kYjuAbukAGrsD5n4CdbF9QojV5xTLxDE0cvqKIfgzjNwFGV-PYG791l_UG18IuSWE0RaS4A1kpMrh3Wgu000Clbcd-wq6odZLz7xGKxen6kJ938ArJqUAxiyJAXHvo0wzEvvVgfI-o4mlaGN2EbMAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:07:48 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=7ca9e68e-d184-4b26-80bd-e6334d8c3008&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '308adc6f-5ac2-4a02-b79a-da335d620000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AlLvtpfXqX5Jhys5xiT3NKrLj78gAQAAAOQfU9kOAAAA; expires=Thu, 20-Jan-2022 01:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:07:49 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx', {"location":"eastus","properties":{"definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{},"triggers":{},"actions":{},"outputs":{}}}}) - .query(true) - .reply(201, {"properties":{"provisioningState":"Succeeded","createdTime":"2021-12-21T01:07:57.6079665Z","changedTime":"2021-12-21T01:07:57.6078532Z","state":"Enabled","version":"08585615580078899009","accessEndpoint":"https://prod-29.eastus.logic.azure.com:443/workflows/d3b1a62cbcd04683b50e9f0edffa009e","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{},"triggers":{},"actions":{},"outputs":{}},"parameters":{},"endpointsConfiguration":{"workflow":{"outgoingIpAddresses":[{"address":"13.92.98.111"},{"address":"40.121.91.41"},{"address":"40.114.82.191"},{"address":"23.101.139.153"},{"address":"23.100.29.190"},{"address":"23.101.136.201"},{"address":"104.45.153.81"},{"address":"23.101.132.208 "}],"accessEndpointIpAddresses":[{"address":"137.135.106.54"},{"address":"40.117.99.79"},{"address":"40.117.100.228"},{"address":"137.116.126.165"}]},"connector":{"outgoingIpAddresses":[{"address":"40.71.249.139"},{"address":"40.71.249.205"},{"address":"40.114.40.132"},{"address":"40.71.11.80/28"},{"address":"40.71.15.160/27"},{"address":"52.188.157.160"},{"address":"20.88.153.176/28"},{"address":"20.88.153.192/27"}]}}},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx","name":"myworkflowxxx","type":"Microsoft.Logic/workflows","location":"eastus"}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '1444', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-request-id', - 'eastus:16a5668a-7430-429a-97c4-ddc627a94b64', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '57059458-5306-4e4d-a8c4-90571f53478e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010759Z:57059458-5306-4e4d-a8c4-90571f53478e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:07:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/mystorageaccountyyy', {"sku":{"name":"Standard_GRS"},"kind":"StorageV2","location":"eastus","tags":{"key1":"value1","key2":"value2"},"properties":{"encryption":{"services":{"blob":{"enabled":true,"keyType":"Account"},"file":{"enabled":true,"keyType":"Account"}},"keySource":"Microsoft.Storage"}}}) - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'baa6cc39-873b-46b0-bbfb-6685281dcf3b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1198', - 'x-ms-correlation-request-id', - '6ce31e9a-3985-4521-be0c-5ab1df9fe36e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010804Z:6ce31e9a-3985-4521-be0c-5ab1df9fe36e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:04 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e35790d8-6a43-46b4-8f4c-1c0fcd3bd31f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '90766c99-a2b8-4431-81de-4cd714c75735', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010805Z:90766c99-a2b8-4431-81de-4cd714c75735', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:04 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b3564875-96fe-481a-a76a-831d9e21a62e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - '004b816d-61a0-4c78-b346-d385b0725f95', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010805Z:004b816d-61a0-4c78-b346-d385b0725f95', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:05 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'aed54f2a-657b-492f-9708-593ec75dd18e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - 'defa6408-4c7a-41c5-90e5-d89eef4094e1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010805Z:defa6408-4c7a-41c5-90e5-d89eef4094e1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:05 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'bd21e2d6-d921-4f85-8d2f-e097311d394a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - '7e705577-ad45-4cd0-8740-fc3c25805e4e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010806Z:7e705577-ad45-4cd0-8740-fc3c25805e4e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:05 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '44445cd1-1603-4ec4-a00b-7c07e863d6ce', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - 'ad5866e6-3a4c-464b-b11d-8863aa321611', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010806Z:ad5866e6-3a4c-464b-b11d-8863aa321611', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:06 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9412fc3a-d1e2-4bdb-957a-d2a7b2e92bd0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - 'd8f8c365-eb8f-466e-8d02-c5d2e92c65c4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010806Z:d8f8c365-eb8f-466e-8d02-c5d2e92c65c4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:06 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3ea4fb30-0217-45d3-b9e3-73185894eb9d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - '6dc37659-cf6e-4978-8e18-7330b19f6e46', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010807Z:6dc37659-cf6e-4978-8e18-7330b19f6e46', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:06 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'dc655575-475b-429a-9928-b04b49e8893d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - '822260a6-d2cc-4dc1-a877-1cad384d9674', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010807Z:822260a6-d2cc-4dc1-a877-1cad384d9674', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '7a10f78a-f1f2-4e56-9c2c-ab75add5a84b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - '912baf56-4926-4216-ba98-32b8521707d0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010807Z:912baf56-4926-4216-ba98-32b8521707d0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '1c28be92-6116-48d0-92ca-14d9d0f7efa1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - '28fdc93d-da75-4e55-b525-4f6c19831f0d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010808Z:28fdc93d-da75-4e55-b525-4f6c19831f0d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '286acb01-5fa8-4a15-93db-31bb1e3d590b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-correlation-request-id', - '202237d7-9d23-45e8-8abe-c35f9fee5abb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010808Z:202237d7-9d23-45e8-8abe-c35f9fee5abb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '23191c97-94cb-49bb-9b94-8a5bfce5e462', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-correlation-request-id', - '9ab69aaa-2ab5-475c-83bb-4d5b6dbba0e5', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010808Z:9ab69aaa-2ab5-475c-83bb-4d5b6dbba0e5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '51c08f9b-158d-4e4e-9a16-10bdb372d841', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-correlation-request-id', - 'ec12f6cd-c94c-45a6-926f-23c464c80aa7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010809Z:ec12f6cd-c94c-45a6-926f-23c464c80aa7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b9de6cbd-addc-4b64-a3c5-81015fd9da2c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-correlation-request-id', - 'cfc3b965-9df5-4c8e-a2bf-06f0731021ff', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010809Z:cfc3b965-9df5-4c8e-a2bf-06f0731021ff', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'ec672567-59d5-4c45-a8a0-491abb7a71f2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11985', - 'x-ms-correlation-request-id', - 'c1d02698-f500-4199-888d-8cd38f6f069b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010809Z:c1d02698-f500-4199-888d-8cd38f6f069b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '6b9a5c32-fc57-463c-9ec9-cac17e6cbbe0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11984', - 'x-ms-correlation-request-id', - 'e1b1dcb7-987c-46a5-af11-84aa5d6bb853', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010810Z:e1b1dcb7-987c-46a5-af11-84aa5d6bb853', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'd3cfbf55-c87c-47d1-a631-0651bc629bc5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11983', - 'x-ms-correlation-request-id', - '11b17c4b-8742-472c-9d30-7eee65c1834c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010810Z:11b17c4b-8742-472c-9d30-7eee65c1834c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'c69911db-a227-4b85-b02f-19c03f43641a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11982', - 'x-ms-correlation-request-id', - '611b7a6a-b465-4b9b-913e-beb6ff66aa0e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010810Z:611b7a6a-b465-4b9b-913e-beb6ff66aa0e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '80eb4ac9-2a21-4bfc-b309-1a76a24e1743', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11981', - 'x-ms-correlation-request-id', - 'f56ef244-b0e2-446d-ba98-9c5126d3c819', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010811Z:f56ef244-b0e2-446d-ba98-9c5126d3c819', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '96341c55-1784-460f-adf0-f70873f3713e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11980', - 'x-ms-correlation-request-id', - '4f45976e-34d2-44c6-ae42-fafaf442b5e9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010811Z:4f45976e-34d2-44c6-ae42-fafaf442b5e9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'c96a7582-91cc-4c90-96ea-c04b0f86eec0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11979', - 'x-ms-correlation-request-id', - '3c2f3957-975b-44ab-b96f-5b39f860780a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010811Z:3c2f3957-975b-44ab-b96f-5b39f860780a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9c74547a-65e2-40cd-b5d1-69200694f9af', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11978', - 'x-ms-correlation-request-id', - '715685f8-2eb2-4965-be50-0c377f3c5613', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010812Z:715685f8-2eb2-4965-be50-0c377f3c5613', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e6864a36-d797-4a15-8c45-7942f15d5aff', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11977', - 'x-ms-correlation-request-id', - 'fa48befd-d8ab-4284-ac9c-222ab3c1f709', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010812Z:fa48befd-d8ab-4284-ac9c-222ab3c1f709', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:12 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '194b56d7-5810-4fc1-ae61-7d3cf9d6a200', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11976', - 'x-ms-correlation-request-id', - '0d54916b-4247-4061-9bb9-d67b7a95b561', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010813Z:0d54916b-4247-4061-9bb9-d67b7a95b561', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:12 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'afa35a98-1f20-4ad0-aa03-76719cb7e566', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11975', - 'x-ms-correlation-request-id', - '9d8829df-bee2-49e1-9d91-fe356db416ba', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010813Z:9d8829df-bee2-49e1-9d91-fe356db416ba', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '6d7f9fa2-843e-446a-8afb-acee8c819f97', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11974', - 'x-ms-correlation-request-id', - '9ee6c4b5-395f-4991-8147-95af26e33ddb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010813Z:9ee6c4b5-395f-4991-8147-95af26e33ddb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '4136dbf1-e57d-4083-9745-5c24812684da', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11973', - 'x-ms-correlation-request-id', - '9e5343d5-aba5-407f-aae1-0372a8b1b327', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010814Z:9e5343d5-aba5-407f-aae1-0372a8b1b327', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '91a0fd99-98de-4c61-abcc-4c9b1218e0da', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11972', - 'x-ms-correlation-request-id', - 'a6d9ed92-eb20-4983-8fd5-d726ee53fc7a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010814Z:a6d9ed92-eb20-4983-8fd5-d726ee53fc7a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e9e02f84-4cef-405e-b463-3d7345caa2d0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11971', - 'x-ms-correlation-request-id', - 'c0f8678b-5c55-4295-97a3-2645634180fc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010814Z:c0f8678b-5c55-4295-97a3-2645634180fc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'db7c3426-1c0d-4759-906d-8431ed3956cf', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11970', - 'x-ms-correlation-request-id', - '2c66ba4a-0a50-43c3-b829-d321dbbe8f04', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010815Z:2c66ba4a-0a50-43c3-b829-d321dbbe8f04', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e0b9c5a0-5e22-487f-bbe7-ff5a55662add', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11969', - 'x-ms-correlation-request-id', - 'ba57a9c1-a098-4af2-8642-f509246fde6c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010815Z:ba57a9c1-a098-4af2-8642-f509246fde6c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b4924b1b-d5ca-478f-9d5b-03c204b537dc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11968', - 'x-ms-correlation-request-id', - '17eef50f-7bd2-4d32-b5eb-690a1c116ade', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010815Z:17eef50f-7bd2-4d32-b5eb-690a1c116ade', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '31b5c1d9-cd5f-46bc-a8ac-02182791a497', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11967', - 'x-ms-correlation-request-id', - '78f72d20-84ad-4f7c-ae88-0a124a270956', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010816Z:78f72d20-84ad-4f7c-ae88-0a124a270956', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '704b7158-a4d1-4587-bd21-d51dcedd38aa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11966', - 'x-ms-correlation-request-id', - 'dcfac6b1-56f5-47ff-9cee-d9ccce1d8bde', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010816Z:dcfac6b1-56f5-47ff-9cee-d9ccce1d8bde', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'd58ba0c5-4fb1-4a08-afe5-a9b6057b4222', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11965', - 'x-ms-correlation-request-id', - '18f7119d-c516-464d-9a29-5599d610e3ee', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010816Z:18f7119d-c516-464d-9a29-5599d610e3ee', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '5dbb6cc4-7962-47e2-b072-78aa89efbdf0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11964', - 'x-ms-correlation-request-id', - 'b8dc5050-7af3-4e58-8a19-3140400d1739', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010817Z:b8dc5050-7af3-4e58-8a19-3140400d1739', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'd73c64c5-2295-43ce-8ee5-a1b69a854f4f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11963', - 'x-ms-correlation-request-id', - '1c0175fa-f4db-4518-aa6c-11befca9a1ed', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010817Z:1c0175fa-f4db-4518-aa6c-11befca9a1ed', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '1defae60-1670-4585-944b-42fae2d44328', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11962', - 'x-ms-correlation-request-id', - '125f518b-dbce-4a54-8e31-99df61bbc885', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010817Z:125f518b-dbce-4a54-8e31-99df61bbc885', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b874524a-d8de-46f0-86b9-c2a5ad44836f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11961', - 'x-ms-correlation-request-id', - '72f2546d-deda-4b23-985b-e3062fb203ed', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010818Z:72f2546d-deda-4b23-985b-e3062fb203ed', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'cc196d36-4252-4240-bbcd-72928c663fe3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11960', - 'x-ms-correlation-request-id', - '378bd28a-27b6-4008-a273-865e99820aa6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010818Z:378bd28a-27b6-4008-a273-865e99820aa6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'ecf34875-67fe-445e-a5af-6dd7d22af105', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11959', - 'x-ms-correlation-request-id', - '2c7bd00e-71ed-4ea4-a253-a75c07ecbed9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010818Z:2c7bd00e-71ed-4ea4-a253-a75c07ecbed9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'f257284b-33a3-48c6-89f8-7ec5083e5c2b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11958', - 'x-ms-correlation-request-id', - 'df5845e7-b8ff-4c0c-b157-0fdbfb373c80', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010819Z:df5845e7-b8ff-4c0c-b157-0fdbfb373c80', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '4ba1db53-03ba-4110-a4b4-3c00b04b09b2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11957', - 'x-ms-correlation-request-id', - '26d3d8d5-3020-4409-bd9c-bc3a8dbe836f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010819Z:26d3d8d5-3020-4409-bd9c-bc3a8dbe836f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '2039b225-57b6-4176-a812-cbca52663ba5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11956', - 'x-ms-correlation-request-id', - '7f4fcfba-3ebb-4b01-a561-3f16c8d61131', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010819Z:7f4fcfba-3ebb-4b01-a561-3f16c8d61131', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '243898fe-b58a-4258-b582-6b922ebf6351', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11955', - 'x-ms-correlation-request-id', - '42b68fa3-2abe-497c-a329-0337dbcb4497', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010820Z:42b68fa3-2abe-497c-a329-0337dbcb4497', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'c4d8db0b-fe5e-4155-b34f-9e6fef0fa50d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11954', - 'x-ms-correlation-request-id', - '5339b4b0-88a5-4198-8993-e95f575650f3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010820Z:5339b4b0-88a5-4198-8993-e95f575650f3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9acc66d6-a012-45b5-9931-f366a4fca392', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11953', - 'x-ms-correlation-request-id', - '1e1d8d99-2bb3-49b0-8f0d-212783c3c4bc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010820Z:1e1d8d99-2bb3-49b0-8f0d-212783c3c4bc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b3b74211-73b9-4060-ad39-027823e76a64', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11952', - 'x-ms-correlation-request-id', - '5a0407e7-31a6-42bf-a0c0-bc82e9f4da23', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010821Z:5a0407e7-31a6-42bf-a0c0-bc82e9f4da23', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/eastus/asyncoperations/baa6cc39-873b-46b0-bbfb-6685281dcf3b') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5ecf7fffcd5eb8f461fb5455e7b9f7ef44b461fbd2d9633fea8aab38bfc27f7a855810fee36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7dae1dd467e1e4fa7d57ad9e225fd24934faeafaf09251d4efccbf67a852f6f844d4dcb6a9a6140d43ccf9a768dcfdaeca201c9dee6d7bbf4f96556aef35dfa9cfede337fef8154348c555e130d4df3933a67686f0a60c71f01c2decedeeef6eedef6deee9b9ddd473b078f76ee8df7eeed7cba7befe14f39b81b5b716fc565d6e6a7cbd9aa2a96ed49b55ce653f446bd7feffba38f16c5b258ac176fcae62789b2f439c17cf3fcf5eeefbf437d6465595d3d29abc9cbf5a42ca64481bca1f7da7a9d1331f3f6aaaadf1e4f4bfae8177f34b95e65f8f2a3e31facebfc755e5f16d49a805c1675bbceca17d2fcd5baa44fb9eb62e5fd31cbcfb375d91e336e8082ae318066bd5a5575db7cbb6d57cd9b3a3b3f2fa65f2ecb6b8346be9cd6d7cc5ec0a231fdd2efe74569e8f946e69606802924a4f265362973e2500152d22c9eca47320b37d2754254f959024ed009ea6b96016adc6348744f9c4b53f14604f1db157a25beba2c3083c5f28244b3c5bbafd7d42e9f112ea38fa6019b4570d81b3fd8dd7ff860ef01d88bf86691d5d7866f98a0b373faf1d11c13f1e86e4cc4c6d4623cadea7c7c45faa0ba6ac6c4247709da554ec4daf8e60f76ef8da955f46da1f5c6d7d124faee2f5ae76b0c77d3cbdc26fa768b59bbe16d6e137d5b1870e3cb68127997665827e07944d53434bbebe6cbf397d284beca2eb3a2041ef8369f56d0cbfeab57a43f83575f9b46f4a57bf997fc","92ff075e0e8bbdfa050000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '153979dd-8ab4-4c19-b082-51f092d70790', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11951', - 'x-ms-correlation-request-id', - 'd4e38a64-5708-46a9-8b17-538753993e80', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010821Z:d4e38a64-5708-46a9-8b17-538753993e80', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx', {"location":"eastus","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard","tier":"Standard"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'fbd3276c-7af9-403e-93e8-2f25b58c9129_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - 'a29275c7-be6b-4f20-afcc-0434439ee82e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010828Z:a29275c7-be6b-4f20-afcc-0434439ee82e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'db440cfb-81a2-4a8a-b99c-261dea3ff1ce_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11950', - 'x-ms-correlation-request-id', - 'c967851b-704c-43c4-b0db-88651027c620', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010829Z:c967851b-704c-43c4-b0db-88651027c620', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'e2043ea5-33ea-48ab-b4a7-5e0cda31cbe2_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11949', - 'x-ms-correlation-request-id', - '56123883-630f-459c-b275-8103dbf152c8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010831Z:56123883-630f-459c-b275-8103dbf152c8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '7868e631-b20a-4c24-ae80-57c63e578b2d_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11948', - 'x-ms-correlation-request-id', - '7d5ffcb6-6354-4494-8a8a-834a5fbcf6a0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010833Z:7d5ffcb6-6354-4494-8a8a-834a5fbcf6a0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '6018ad9b-1042-426e-94be-8e52aa962cc0_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11947', - 'x-ms-correlation-request-id', - '92c20c7c-7218-4081-b6d5-b4b78b966cd0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010836Z:92c20c7c-7218-4081-b6d5-b4b78b966cd0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:36 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '94d96a81-966d-4cc1-8ad4-615d513e7f9f_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11946', - 'x-ms-correlation-request-id', - '67345c60-4453-43fa-ae88-aff442a0e239', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010839Z:67345c60-4453-43fa-ae88-aff442a0e239', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'b29c45c9-327f-482e-8021-4e91c251a1a7_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11945', - 'x-ms-correlation-request-id', - '0dec4b78-3854-4cb1-b900-ce17434f320f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010842Z:0dec4b78-3854-4cb1-b900-ce17434f320f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'e76ba989-2bb3-4046-9089-e7042cc3adcb_M10CH3_M10CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11944', - 'x-ms-correlation-request-id', - '4a65c510-cc64-40f6-a21c-a84b55ceb81a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010844Z:4a65c510-cc64-40f6-a21c-a84b55ceb81a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:43 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '066bcc7c-c726-47a6-abbf-ec9541b6d1be_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11943', - 'x-ms-correlation-request-id', - 'ef1bd61d-6835-4b93-9a48-a95d14fcab42', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010847Z:ef1bd61d-6835-4b93-9a48-a95d14fcab42', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:47 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '5693d32b-18f9-4142-8e19-883c764f570d_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11942', - 'x-ms-correlation-request-id', - 'fe2e99eb-150b-42c3-8949-4d1a0872e944', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010850Z:fe2e99eb-150b-42c3-8949-4d1a0872e944', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:49 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '1bfaa98b-06db-47f7-a1c9-6422001e3dfc_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11941', - 'x-ms-correlation-request-id', - 'ab2ce24f-a391-40d5-a087-6b630803acec', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010852Z:ab2ce24f-a391-40d5-a087-6b630803acec', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:52 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '4a6e8b2b-3f55-4821-b220-a83d8d68f02a_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11940', - 'x-ms-correlation-request-id', - '3bbc9671-11c2-4630-8847-cfe839756eb1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010856Z:3bbc9671-11c2-4630-8847-cfe839756eb1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:56 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '324114aa-4853-4d63-b22c-35177ef6a2ac_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11939', - 'x-ms-correlation-request-id', - 'cab82b6f-660f-4f66-a82f-838295c5e841', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010900Z:cab82b6f-660f-4f66-a82f-838295c5e841', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:08:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '405864a0-05c4-458f-ba89-61a4dabe1515_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11938', - 'x-ms-correlation-request-id', - '193093c0-ec2d-4698-8e4f-00fbe5ed735b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010903Z:193093c0-ec2d-4698-8e4f-00fbe5ed735b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '15d606d9-5159-40c6-a092-7bfcd944247b_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11937', - 'x-ms-correlation-request-id', - '175888bf-9bf9-46bf-ba45-2ef1fb77e52e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010905Z:175888bf-9bf9-46bf-ba45-2ef1fb77e52e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '66a197bd-76a2-4394-a2ba-87d680c695ce_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11936', - 'x-ms-correlation-request-id', - '0db48c1d-3605-4b6d-9f20-3a11a4df7310', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010908Z:0db48c1d-3605-4b6d-9f20-3a11a4df7310', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518fa499dd32f98bb45ded6c5f48c5a7f749b497ad423e654401d13f21fededeced6eefee6defedbed9d97db473f0686f7f7cffd39fa256ebd5ec16ad9abcbe2ca6f9937573ba9cadaa0214f968deb6abe6d1ddcef48eb5ed64dd8caf8ae5acba6ac6cbbc7db4bf7fef2e20d140d744938f8ea76d7149d3b8bcf8e897fc","92ff07d887b4ecd6020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '1d3d8017-c8a2-4a00-aa30-54dc9f216e0a_M7SN1_M7SN1', - 'Server-SB', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Service-Bus-Resource-Provider/SN1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11935', - 'x-ms-correlation-request-id', - 'dc3bbca0-5cc4-4bb5-ad28-b207363b4e83', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010911Z:dc3bbca0-5cc4-4bb5-ad28-b207363b4e83', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:10 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5eca3d1476d91d7e127d36c954d8bf6faa347bbbf64f45131a36fef36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7a797f9b2fdf67a7217f835d47d8e17ec1fefdebd23bcf027e1d2fbbcbd5ee1f308b417a66143cdca6a9a017d6a7a9a356dfad56bfab0cd2e1ad0857eeed2179759b9ce77e5f33df3f7de474406c27a95d7442c6e3e2b9a6c52e6cf096479bc6ee71f3d3acfca261f7df4836a99bfca676ba2e5b2b59f160d35aace96e765d6e6a74bbc4a54d52f17d9bb62b15ebc99139d2ee6ab75fbd5b268a9979dd1476fb3f3b7996ddfd66b6a4e885c160d8da3585ed0a4b518faebf5749ae7336a44e0f2b62ea667d4fea3db4cd3a31e39a7754e5067c784fe477b3b7bbbdbbb7bdb7bbb6f76761fed1c3cdadb1fdffff4a7a8d57a351b6af5f0d1eedef8febd7b68d6e4f56531cd9fac9bd3e56c551520ca47f3b65d358fee766678ac6d27eb667c552c67d555335ee6eda3fdfd7b770189c6ba26b27c743c6d8bcbfca35ff24b","fe1f39da6550d5020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'cd6ffe93-64ad-4e22-83d3-d1218da78663_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11934', - 'x-ms-correlation-request-id', - '7cf20872-5b95-4863-b0c5-c367b39aa87e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010914Z:7cf20872-5b95-4863-b0c5-c367b39aa87e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/authorizationRules/myauthorizationRulexxx', {"properties":{"rights":["Listen","Send","Manage"]}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fcf3ba5aaf9abb8beb9f6edabc69efaeeaeab298e57573f78b625a574d75de8e4f2ff365fbedf5e4ee325be4cd2a9be678c1fef1eeddbbbbd9ba9d5775f1830c28bc5a97dca2f721b5fc68f4115e24ac07bf6faf57f83ed2ff0b7a93bb6cee1e77df6de8cdb29af2dff4f669d6b4e957afe9431ad12aafdb825a3cfac51fd5c5c5bca5dfbef7d1f38246bca406aff3e58c7e7c912db38bfca3efff925f","f2ff008a15baa857010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '6f70af00-4c42-454f-bd91-12b62f8108ca_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1197', - 'x-ms-correlation-request-id', - 'e2b77eed-c768-4583-879c-edf6769579cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010923Z:e2b77eed-c768-4583-879c-edf6769579cf', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:22 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/eventhubs/myeventhubxxx', {"properties":{"messageRetentionInDays":4,"partitionCount":4,"status":"Active","captureDescription":{"enabled":true,"encoding":"Avro","intervalInSeconds":120,"sizeLimitInBytes":10485763,"destination":{"name":"EventHubArchive.AzureBlockBlob","properties":{"storageAccountResourceId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/mystorageaccountyyy","blobContainer":"container","archiveNameFormat":"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fcf3ba5aaf9abb8beb9f6edabc69efaeeaeab298e57573f78b625a574d75de8e4f2ff365fbedf5e4ee325be4cd2a9be678c1fef1eeddbbbb399acc090dfac2fc4e9f7f34fa08cd08c7eec7edf50a1f473a79412f30dce6aef9aca117ca6a9a617cf4d269d6b4e957afe943c27695d76d91371f3dfac51fd17b4d7691bfca5b7a8d9a9e2d9f66d7f4cd3e35cca8153e3ba9d6cb963f6adaac5dd3b71f1d4fdbe2322768d33acfda7c764cdf7fb4b7b3b7bbbdbbb7bdb7fb6667f7d1cec3477b9f8eef7ffa53d46abd9a6d6c7570700fcd6c8f6733eae47b1fedd067bbf4ff3dfaffbd8fbe4fbd65ab765de74f733b751843becc26654eb3dad6eb7c447f4eab59b1bca0be8e2feb8ade9dd12c154b25c52f36e435943aaea7731accf8f80704fa09d1ec2dfd33a1d7424a356d5513a58ea75390e395f2c21975fbb3ce4cafa5ebbb210a78493fc9e493ebeb6b427b42d89f54cb362b96794dd84dedefa38f32192bf8e559552f324cc82fc65fcc3dbfe4ee2f3644a15f5fbad9a0bf7e9f3cabe9c717046c4e3f894be8df6fd310e8c717c572dde2edd7397536fb251ffd925f32faa858b6797d9995674bf99488b8bbb7433c54fc207f5e2c8af66cf9e49a864c1fefec1fdc7ff0e9bd5ff24b7e","c9ff03ebbaa4059e030000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '1bea7f27-4643-42e1-9864-7192ad1d4450_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1196', - 'x-ms-correlation-request-id', - '97e06ba6-5a50-4fd0-a339-28f4906ec33f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010927Z:97e06ba6-5a50-4fd0-a339-28f4906ec33f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.OperationalInsights/workspaces/myworkspacexxx', {"tags":{"tag1":"value1"},"location":"eastus","properties":{"sku":{"name":"PerNode"},"retentionInDays":30}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947abba5ae5755be4cd478f52fe883e6caa753dcde9838f8e7fb0aef38f46faf974ddb4d522afcf66f8eec1defe24db9d9c6fdf3bc8f7b7f71fec4cb70feee7bbdbf9debdecfec1f4e0dec38707f655eae7b2688a6a592c2f5eb759cbd05fafa7d33c9fe533dbac79bba62f140ffa7b992db825e17831d9dbd9b500e9bb326bdad76fd75fad660aee8b6a394af776d2a7f9947eeceda63b0f1fdddf7974ffd3f4f32fde7c24effd127dffa33a6ff3654b089d2d9f66d718fdbd1df3dd799eb5346e7ce85029f38b6c7a4d1f9966f4599367f574fe93798d91d157bbeeab7c994dcafc7975714c636c9aaf1a1af897cbf2fa552ed47d99d78ba2c17be8a6add7b9bc6a11bcaaeab7cd2a9be627d96a452f532b87cc2c2bcaeb9f58576df6f984bed8de1d7b58fd227cfe227fd7525f79fba61012be59e7449d5d8f3af71eedecd0ff983aee6da26676b6bcc81b100753b506821f11ac553e6db9cf2e2d57eb49594c5fe42d7096f13eab6a0b04af9f3239dc44c75ff989755e83c4bde6d39aa6249f3da57ff0f5e699362f2daa59715eb8b7fa14d87db4f3e9a3bd037e0b2fc9883e2a98bfef36eb4933ad8b15c6d0dc7db877fef0feec80d87dfae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff72e310dcfee455dad57cdddc5f54f372d11e12eb3ff8cf8e4eea298d655539db763085e06d859592c9be262de3677410d9e746a786dff78f7ee9d0ccaca43f4cbf67ac55f7e61bbf8d27571d6ef425f2bab29b7c1ab39c914cdb77cd16617987ae53afcb94b7f7e749995eb7c57e8f51b27bf","e4ff01787df38c48040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '466e0ff0-a615-4481-bb04-9de9dfc0ccb5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Server', - 'Microsoft-IIS/10.0', - 'Server', - 'Microsoft-IIS/10.0', - 'X-Powered-By', - 'ASP.NET', - 'X-Powered-By', - 'ASP.NET', - 'x-ms-ratelimit-remaining-subscription-writes', - '1195', - 'x-ms-correlation-request-id', - 'b3d091b9-b02b-469b-be4a-c03d70b354c5', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010936Z:b3d091b9-b02b-469b-be4a-c03d70b354c5', - 'Date', - 'Tue, 21 Dec 2021 01:09:36 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_delete_parameters_for_diagnosticsettings.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_delete_parameters_for_diagnosticsettings.js deleted file mode 100644 index 7aa1b1a6816f..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_delete_parameters_for_diagnosticsettings.js +++ /dev/null @@ -1,1515 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "6ad9e1d53be216c62c5ec5d0c50d467c"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f480e226-70a1-4283-a533-9f5ebcea0900', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AoY-1PX7oHhLiw8axASjWRQ; expires=Thu, 20-Jan-2022 01:09:58 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrkuj23ZxsIV-iceKOULwiB6FFSSaj89-uhESXyaEZ6dlDQzR1yBS_-_GJhNOWr0uvfXp8fD0h9ds-45KWn1rmY_eyUVDTgMzvk1mpcktW28ZW7nv1cH2Qis_JaHYt2SAX-hlgP_Psd8wd_8zx0OiWsVDIJFWrpAnRHFpm9CcpgaEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:58 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcf78e20d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AgDPl1uH6CNGjftdEfqq5j0; expires=Thu, 20-Jan-2022 01:09:58 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGuCB1ODPdGG-3hADCdx_opNybMuxB_wQVEVvPw1zoXtZPEJGD76zbY5vbb2OKVLUULzvVcfHD2dxrp2_FR1s7ZN83boynKv_BloO1osF_-F_yD5-qbpXmwFlQRC3et-Ihrex0vb_BeR1txNBoK5IqSb1KQkJYWG21JgHljjbxGkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:58 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=b1d96b53-5e7a-44b9-8a1b-0636aff506bc&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '308adc6f-5ac2-4a02-b79a-da3325660000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ag3SUNHvmtFIgp7tSTR6XO7Lj78gAQAAAGYgU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:58 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:58 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-request-id', - 'eastus:ce6a4bf1-9cfb-4f79-86e4-ce56008318c8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-correlation-request-id', - '0b86ac75-8e8d-45f8-9176-0d0816000ebf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011005Z:0b86ac75-8e8d-45f8-9176-0d0816000ebf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:05 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/mystorageaccountyyy') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'x-ms-request-id', - '3a743b4b-0a53-422a-a35d-802febd9f118', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - '70b361a7-559a-49ad-9fbe-05f334e964c2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011011Z:70b361a7-559a-49ad-9fbe-05f334e964c2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'x-ms-request-id', - 'c5d34695-407b-4f6d-abd6-b10f4e6297d7_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14997', - 'x-ms-correlation-request-id', - 'ae8d2155-b39d-41a3-a64f-cb65083a20e1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011014Z:ae8d2155-b39d-41a3-a64f-cb65083a20e1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8eb09d8b-637b-4b46-9e8f-d3cd3c50d6da_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11933', - 'x-ms-correlation-request-id', - '25562576-ed1c-444d-9575-751de9242832', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011015Z:25562576-ed1c-444d-9575-751de9242832', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '098b1966-522d-47f5-9843-b83666c31812_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11932', - 'x-ms-correlation-request-id', - 'aee6eabf-b688-47be-bb31-dc28aa97df1f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011015Z:aee6eabf-b688-47be-bb31-dc28aa97df1f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:15 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'cbcee6b3-cc1a-48e5-b8db-a71f31b949cc_M1CH3_M1CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11931', - 'x-ms-correlation-request-id', - 'f6c88cb5-d74e-49e3-866b-8dcfffef77f6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011016Z:f6c88cb5-d74e-49e3-866b-8dcfffef77f6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:15 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'eaca589f-ff36-40c7-9548-68a27551a3ab_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11930', - 'x-ms-correlation-request-id', - '20338e79-aafb-4955-a5ac-cf406f3e684d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011016Z:20338e79-aafb-4955-a5ac-cf406f3e684d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '33fb2cd0-51b2-46b6-b3bc-39e582600a3c_M7CH3_M7CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11929', - 'x-ms-correlation-request-id', - 'f9e3aabd-9441-46d1-8a84-8690701c612d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011017Z:f9e3aabd-9441-46d1-8a84-8690701c612d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:17 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '1dc4dd45-965a-436a-9b1d-50e9afbbc8f9_M10CH3_M10CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11928', - 'x-ms-correlation-request-id', - '7a639624-814b-4f9d-b6d0-787cc683abd8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011018Z:7a639624-814b-4f9d-b6d0-787cc683abd8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:17 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3f58f7b7-f087-45aa-afff-a96938dd565f_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11927', - 'x-ms-correlation-request-id', - 'a50212f3-1860-488e-88cb-9ce0c5c05b19', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011018Z:a50212f3-1860-488e-88cb-9ce0c5c05b19', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b57e4bee-0ae8-4190-a75b-a4c90e9b3e2f_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11926', - 'x-ms-correlation-request-id', - '816b3a15-a6fa-456b-beb2-62cd6fd05e83', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011019Z:816b3a15-a6fa-456b-beb2-62cd6fd05e83', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a7820b91-9ed5-40d7-aa90-9b08a32adf4c_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11925', - 'x-ms-correlation-request-id', - '320de92e-3286-4793-ba19-70482a0dcfc5', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011019Z:320de92e-3286-4793-ba19-70482a0dcfc5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'edfbf0eb-dfd3-4814-bde5-e918636f6c8a_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11924', - 'x-ms-correlation-request-id', - 'd859e9ad-f139-491d-96ad-0f072a2d83ce', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011020Z:d859e9ad-f139-491d-96ad-0f072a2d83ce', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '5185c5a9-96d7-41df-9500-0e0c4b0cb6f2_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11923', - 'x-ms-correlation-request-id', - '29e2dd1a-0b2b-408d-97ed-a5fee9e107a6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011020Z:29e2dd1a-0b2b-408d-97ed-a5fee9e107a6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '31ff4812-11c2-4289-83a9-3d3becfd9ef6_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11922', - 'x-ms-correlation-request-id', - '2b8a77ca-1279-489e-a03b-f47caaecb7c9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011021Z:2b8a77ca-1279-489e-a03b-f47caaecb7c9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a9033657-084a-4a2b-a794-022e33e6029c_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11921', - 'x-ms-correlation-request-id', - '8ebf76d5-884b-4edd-ab36-9d1a96c11277', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011021Z:8ebf76d5-884b-4edd-ab36-9d1a96c11277', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '2d1f7cdb-ac56-4d6c-aa09-75d5f9add38b_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11920', - 'x-ms-correlation-request-id', - '104f0898-650c-41ed-b7ca-56c2e6992310', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011022Z:104f0898-650c-41ed-b7ca-56c2e6992310', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a8202ae0-fe71-4e44-b64c-edec309c0765_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11919', - 'x-ms-correlation-request-id', - '413000c2-8908-4ec7-83e8-35c955efe662', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011023Z:413000c2-8908-4ec7-83e8-35c955efe662', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:22 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e9965a08-716a-45eb-acee-801d7f6e11e2_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11918', - 'x-ms-correlation-request-id', - 'a0b11385-ec32-42ef-9106-ed888aa39237', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011028Z:a0b11385-ec32-42ef-9106-ed888aa39237', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '500e4043-a8b0-411b-8078-b87ddf334409_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11917', - 'x-ms-correlation-request-id', - '62aba6e3-f5a2-4fc5-9074-cd669a641def', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011028Z:62aba6e3-f5a2-4fc5-9074-cd669a641def', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '60adf7e6-e3d1-4597-bf9e-8d558a2adc61_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11916', - 'x-ms-correlation-request-id', - 'feba902d-b544-4d23-b58e-d11763deacd8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011029Z:feba902d-b544-4d23-b58e-d11763deacd8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3e1996f1-5ced-423e-911b-f9f945c30e4b_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11915', - 'x-ms-correlation-request-id', - 'f099f1cc-c8f5-4b67-87ed-1a2159772787', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011029Z:f099f1cc-c8f5-4b67-87ed-1a2159772787', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:29 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '79f81a6d-f4d6-475d-b415-9cfbe3015fc7_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11914', - 'x-ms-correlation-request-id', - '739e93eb-7a19-4190-ba55-91d3a96afc91', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011029Z:739e93eb-7a19-4190-ba55-91d3a96afc91', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:29 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '61a7fba4-61c8-49f5-a753-cb6f58e27ae5_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11913', - 'x-ms-correlation-request-id', - '0d9ab8c1-3df5-4d9f-aca1-da431e3da4a0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011030Z:0d9ab8c1-3df5-4d9f-aca1-da431e3da4a0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e8551c1a-6c00-460c-91e5-6e8b7a6129e1_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11912', - 'x-ms-correlation-request-id', - '23460a87-5e17-4f73-ab77-ebf0c4b7fa00', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011031Z:23460a87-5e17-4f73-ab77-ebf0c4b7fa00', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'cd73b224-835c-44ff-8c3f-cf3c25e2468d_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11911', - 'x-ms-correlation-request-id', - '0c016692-6639-4165-89b9-9023a7ff5af7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011032Z:0c016692-6639-4165-89b9-9023a7ff5af7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '91fa7d61-bfec-4b5d-8ea6-114d01484ef3_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11910', - 'x-ms-correlation-request-id', - '85dc1a3c-5bbc-4c49-801d-0f5902164fc7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011032Z:85dc1a3c-5bbc-4c49-801d-0f5902164fc7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e6d9f381-34de-4ef7-85e1-e94126780259_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11909', - 'x-ms-correlation-request-id', - 'a399bb3c-2867-4a5f-8d8d-1a88004f75c3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011033Z:a399bb3c-2867-4a5f-8d8d-1a88004f75c3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '0156884b-1656-4ee1-b9b7-4708574cf691_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11908', - 'x-ms-correlation-request-id', - 'db708acf-73b5-4a08-8548-c19f71e97cf3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011033Z:db708acf-73b5-4a08-8548-c19f71e97cf3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3a42b869-e6ca-453e-8355-e9b8d51ad4b6_M4CH3_M4CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11907', - 'x-ms-correlation-request-id', - 'b3a20d25-b783-42a8-aeaf-25d472f7ad9c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011033Z:b3a20d25-b783-42a8-aeaf-25d472f7ad9c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '357954f6-f5d5-4df5-895d-29d56afcfac9_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11906', - 'x-ms-correlation-request-id', - '78cee178-5f9c-4039-8925-78cbac053f0a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011034Z:78cee178-5f9c-4039-8925-78cbac053f0a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '900924dd-9ab4-40f7-9291-7fe2799842f4_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11905', - 'x-ms-correlation-request-id', - '014e348c-d95e-4742-9ceb-33eba079629d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011034Z:014e348c-d95e-4742-9ceb-33eba079629d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8d238ec0-3aae-46a6-9539-6b77745f6e4a_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11904', - 'x-ms-correlation-request-id', - 'd0bd5ddc-a83f-45ac-adf4-65986924d3b2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011035Z:d0bd5ddc-a83f-45ac-adf4-65986924d3b2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(202, {"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx","name":"mynamespacexxx","type":"Microsoft.EventHub/Namespaces","location":"East US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"disableLocalAuth":false,"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"azure_subscription_id:mynamespacexxx","createdAt":"2021-12-21T01:08:24.56Z","updatedAt":"2021-12-21T01:10:14.533Z","serviceBusEndpoint":"https://mynamespacexxx.servicebus.windows.net:443/","status":"Removing"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '727', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx?api-version=2021-11-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e90cbf37-8a3f-4e1e-9f61-8c6194acf683_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11903', - 'x-ms-correlation-request-id', - '317423b1-dc98-4891-8623-7499776ead23', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011035Z:317423b1-dc98-4891-8623-7499776ead23', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:35 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/operationresults/mynamespacexxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-request-id', - '554176be-1198-44a4-80f0-eb0d47920835_M0CH3_M0CH3', - 'Server-SB', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Service-Bus-Resource-Provider/CH3', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11902', - 'x-ms-correlation-request-id', - '6b62b077-9544-4db2-85ce-4d2af8b7b789', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011036Z:6b62b077-9544-4db2-85ce-4d2af8b7b789', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:36 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.OperationalInsights/workspaces/myworkspacexxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'x-ms-request-id', - '1e5fe01b-4237-4e1c-aa7b-53340d9e6b96', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Server', - 'Microsoft-IIS/10.0', - 'Server', - 'Microsoft-IIS/10.0', - 'X-Powered-By', - 'ASP.NET', - 'X-Powered-By', - 'ASP.NET', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14996', - 'x-ms-correlation-request-id', - 'f69a055c-7d92-4a9d-b7b7-3d1537a9e077', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011042Z:f69a055c-7d92-4a9d-b7b7-3d1537a9e077', - 'Date', - 'Tue, 21 Dec 2021 01:10:41 GMT', - 'Content-Length', - '0' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_create_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_create_test.js deleted file mode 100644 index 20da2ee82006..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_create_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "be8b70b1cabdd7abecf0ed222b77007a"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f480e226-70a1-4283-a533-9f5e47ea0900', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AimzkkBKk7NHmHJ4OAV5JMo; expires=Thu, 20-Jan-2022 01:09:36 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwdEzVP5bFTb0k6gEt_sA2ylhp2w7OATp8Urp9wWF2G0LKc8mfFUqdKdh1QHmF4Y8Hsu35Xy96bFrTYUu4Wunqh_FhYfAv7tVJrc5N2xPCb4x-q3cTQTCMgBSDMTHpMweGcWYBYwUcaUDKNwtXhBYi5YNNxFanfv_W-B333WtLRUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:36 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'c7025f87-5230-4b1b-a3d3-5a8e72c80d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AgvBMZONOZZNjkpXLCDzi8s; expires=Thu, 20-Jan-2022 01:09:37 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrz1h4_Cp_cZgEaEVRgYkZ8YNEzB-iDm3bA-SSSbKyefqCOnv3M1b9y4Zog8VGsq58nl_LX3I974_j2vWIm0SRKklNK_P-LBvhDTiphC62HMNQpyJT1Mr_BLEFAmsGOyqCuQE4sVOqSu4LTNB4mdWiJ9-jhhLWmahqxVXuipB0EOwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:37 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=3ca54be3-fdd9-43af-b166-0aad51bb1e54&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f9d8b77c-5495-4058-a16d-afdd5f9a0a00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AuMP2tykBOxBsud3GV31tlbLj78gAQAAAFAgU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:37 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:37 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('//subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx/providers/Microsoft.Insights/diagnosticSettings/mydiagnosticxxxx', {"properties":{"storageAccountId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/mystorageaccountyyy","eventHubAuthorizationRuleId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventHub/namespaces/mynamespacexxx/authorizationRules/myauthorizationRulexxx","eventHubName":"myeventhubxxx","metrics":[],"logs":[{"category":"WorkflowRuntime","enabled":true,"retentionPolicy":{"enabled":false,"days":0}}],"workspaceId":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myworkspacexxx"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c66794d1f15d3ba6aaaf3765c5617c5f4ee5555bf3d2fab2bfae6dafcfeeeddbbe81bc5b2292ee66d7377566417cbaa698be9ebbc6d8be505b5ba761fd2fbef3e1a7dd45eaf721ac717f6fdb3e1f7a9f9325ba0790450594d3310e1a347cb75598e3e7a5b2c8940f27b9bd1cbfa3be1bccaebb6c8e9935ffc51d3567576911f4fa7d57ad99ed11b1f44d2cf0749ea06f85ababc1b768d97f4934c3eb9bebea66135797d594cf327ebe6d5bacc81a00c03d3d0acb2297ff44138df860d4032a66e56daf9b5185043e60afe432623bfcc97edb7d793e3753bafeae207fcae19c007617b1b0a9f6aef77c12d8c155eb07f108a77b32e6268d1fb905a7a8379410008fbc5357f305f4fe4eb45ded6c594b8e97bdf071782d3bef78b3f2266cc2faafa9a5ef82ed10612f38a26b5201023fb250fc6cc68becc26654ef469eb753efaa8ce5bea8510795995c594e0fc62d7e23c2b1b6a32cbaea9b39d5ff24ba4e3639a9d6b1288e62911a658f228deb078a1835f32228d01882dc1e20f","fe1ffd84939e43040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3673d1eb-6c44-4670-9975-3d54d4dc52d5', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '149', - 'x-ms-correlation-request-id', - '3519146d-a248-46a0-9a15-94551eb3f81c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010945Z:3519146d-a248-46a0-9a15-94551eb3f81c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:45 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_delete_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_delete_test.js deleted file mode 100644 index 82393338d6c9..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_delete_test.js +++ /dev/null @@ -1,141 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f2b5c9e7e531ccd40203b4a85e21f039"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7777f699-653d-4eb0-b230-12e51c680000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AraAIsU_hcBEsxudktyx0IA; expires=Thu, 20-Jan-2022 01:09:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4mZI5dhpuLkhF6UImi_UlbJyu70aC4XfhYZ5O4qvFQvzGZQuc2JLDFPLBAtRFk4HtHW7_OJLsdf1leseSBdpbfAAZ9w3uUWuNzNl53-4r5j1daEdnYwH2Q5N2GayYYRbGz76Qv1OVP9MJbJ9nu8urcZazuA_cvjUQTiwzOybAlogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:48 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '32ea23f5-8af6-4214-946f-0c696a1e0800', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Aufs7dfYz0BJgafRds9cQFA; expires=Thu, 20-Jan-2022 01:09:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQKR4oxFXcuY_jIr2Y-Os5v5NyQR3ptmdyUDZiVNupbgm2ronzGE6xdZ9vnXD36Qro0_8gkZAZYjagHI184xIQ_8_4xjRujrScaGc7YOepDwPklEMvMhuzNUCCUxmGvEhl4OhnzFZ_MVjmZyrKNu6wIzkpsW6gQiv6M6rLjpK_08gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:48 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=7bee6459-1567-453a-a245-b3bbb181a2f9&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '308adc6f-5ac2-4a02-b79a-da33d7650000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ArgrK9RphX5MtPOaEvdgatDLj78gAQAAAFsgU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:48 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('//subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx/providers/Microsoft.Insights/diagnosticSettings/mydiagnosticxxxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b0cb5e28-43e7-4578-95a7-ccd2bf0dbc91', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-correlation-request-id', - '789f9e21-79c5-45e4-a3f5-e7c22ce87115', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010951Z:789f9e21-79c5-45e4-a3f5-e7c22ce87115', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:51 GMT', - 'Content-Length', - '0' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_get_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_get_test.js deleted file mode 100644 index 26c7d3726b10..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_get_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "5a8754ebee23b7c4fd673a1551927580"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '65eed48d-5688-4f85-96c3-e74025100000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AmDIXkyL5U9ImVSQf-NiokM; expires=Thu, 20-Jan-2022 01:09:45 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8TAjbuxIU8tmGsaqp7ROyB_syPyz2YcGkJrmpCcTMb0Mc3oso93TrYEM0g95lgbFe1_GEauTSlhD1ow7OFWtzFf5_iRRyWdB4PcCswQu8Cw5v1SilYQv1sQ990hB0c-kroyd8kxalEQD3BvsqKA8U0VzadWStTS9sws5Iy7zctEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:45 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f9d8b77c-5495-4058-a16d-afdd979a0a00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AmBS43sV12JPomZu7CvpPB4; expires=Thu, 20-Jan-2022 01:09:46 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8bwUV9Bp8lRTM4-J-nWzNQPQALgY9HqlHxDHtvzTQORsIOQAZIhdZSD7-CKAVB8jSRHFkAtV30p_ZeVY_Wndpam5A5N1q9HCDH4eUe94v9rszSqt1jTCULoec6VrUSLmqCZ1vtZVtXmYYz9yBR4syCvncwRFn6IK-x988FEagnEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:46 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=c1f1d8d9-f6eb-4fca-ada8-39ae697e76f7&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7777f699-653d-4eb0-b230-12e50e680000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AvbGyLYa7oBIrYmxhjlG6sXLj78gAQAAAFogU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:46 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:46 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('//subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx/providers/Microsoft.Insights/diagnosticSettings/mydiagnosticxxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c66794d1f15d3ba6aaaf3765c5617c5f4ee5555bf3d2fab2bfae6dafcfeeeddbbe81bc5b2292ee66d7377566417cbaa698be9ebbc6d8be505b5ba761fd2fbef3e1a7dd45eaf721ac717f6fdb3e1f7a9f9325ba0790450594d3310e1a347cb75598e3e7a5b2c8940f27b9bd1cbfa3be1bccaebb6c8e9935ffc51d3567576911f4fa7d57ad99ed11b1f44d2cf0749ea06f85ababc1b768d97f4934c3eb9bebea66135797d594cf327ebe6d5bacc81a00c03d3d0acb2297ff44138df860d4032a66e56daf9b5185043e60afe432623bfcc97edb7d793e3753bafeae207fcae19c007617b1b0a9f6aef77c12d8c155eb07f108a77b32e6268d1fb905a7a8379410008fbc5357f305f4fe4eb45ded6c594b8e97bbff82362c1fca2aaafa9d971597ea1df1088653629731afb795636f9e8a33a6f0904f5f2b22a8b2935ffc5bd26b3ec9a60eefc925ff27df036f83784ff5da238e4f015b14a41888dec974c22c327166c5baf09eafb777c4c737e4d62d63c2572174ba6cd1b165a74f04b46a48700b12558","fcc1ff03eb189dfd99040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5f551377-df00-4293-a443-86d43e9a22d4', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '71b171b7-5a44-49f0-ae6e-e47ec4f5e63f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010947Z:71b171b7-5a44-49f0-ae6e-e47ec4f5e63f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:46 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_list_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_list_test.js deleted file mode 100644 index beac0996fcfa..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_diagnosticsettings_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7cf4fbdc9b57dfb28a2aee73be78bc47"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '308adc6f-5ac2-4a02-b79a-da33cd650000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=At3bm6_Oh5tOmljgfI91-_I; expires=Thu, 20-Jan-2022 01:09:47 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruXPZLszYr0_cw9Z9lr53hdmPdnj4Y8299bjF_0UOGM3QIwELGgKpUZoVy9q9PhIPExVR3_fMhZyaFIOoXe8dZ-GZN9E30mIXCDCX5wdd7hq1mXJgFoYuXPM5LdSpjEy7E7DIpQ1YYCfh_pSwrbdLQaeLY9KCOzxy6V1dkGEyUJcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:47 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7777f699-653d-4eb0-b230-12e513680000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Auix_QK-iHdBpOvQOOaVKic; expires=Thu, 20-Jan-2022 01:09:47 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8giCshtSkGIvGXsVWszEZ8O7sraR9YeSj8h23oa_NxCaYTf8NXwbzfv5axWEJuJIMp5Yp76ggUFPati2Kjfq7Gj9vc3ngAfiCOhjmvwN8IqKZnth8SVSslt8uHTzds0PKZhk67L8ZD3ICzmqNRWPiPZlq31s2tiWYCWhC7j_WOggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:47 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=8de68596-6fe3-43c7-9f84-33497b08148f&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '308adc6f-5ac2-4a02-b79a-da33cf650000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AlBUA6dquvZGpfxFke3DZszLj78gAQAAAFogU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:47 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:47 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('//subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Logic/workflows/myworkflowxxx/providers/Microsoft.Insights/diagnosticSettings') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534bfa8abf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595ed347c5b4ae9aeabc1d97d54531bd7b55d56fcfcbea8abeb936bfbf7bf72efa46b16c8a8b79dbdc9d15d9c5b26ada62fa3a6fdb627941adaedd87f4febb8f461fb5d72b1ace475fd8f7cf86dfa7e6cb6c81e611406535cd40848f1e2dd76539fae86db12402c9ef6d462febef84f32aafdb22a74f7ef1474d5bd5d9457e3c9d56eb657b466f7c10493f1f24a91be06be9f26ed8355ed24f32f9e4fafa9a86d5e4f56531cd9fac9b57eb320782320c4c43b3caa6fcd107e17c1b3600c998ba5969e7d762400d992bf80f998cfc325fb6df5e4f8ed7edbcaa8b1ff0bb66001f84ed6d287caabddf05b7305678c1fe4128decdba88a145ef436ae90de6050120ec17d7fcc17c3d91af17795b1753e2a6ef7d1f5c084e23e92466cc2faafa9a5ef82ed10612f38a26b5201023fb250fc6cc68becc26654ef469eb753efaa8ce5bea8510795995c594e0fc62d7e23c2b1b6a32cbaea9b39d5ff24ba4e3639a9d6b1288e62911a658f228deb078a1835f32228d01882dc1e20fbeff4b","fe1fc6e841354f040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7ff81124-18ae-4d76-809e-18dbb61029ca', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'af6cab94-4448-4ac6-be63-271c4b683bcf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010948Z:af6cab94-4448-4ac6-be63-271c4b683bcf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:48 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_create_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_create_test.js deleted file mode 100644 index 64fb4cf684a8..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_create_test.js +++ /dev/null @@ -1,183 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f50f0a93cb0fc2a82e3f58d8ce41030c"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcf46e20d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AqPuYC9CKvFBkCbNqrU2u_E; expires=Thu, 20-Jan-2022 01:09:51 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfqQSXc0T-D6Vc4eR_jhEOJPpeqDjbyytFDST010mWp8UYv6yd2TFdivRXZ6W40klopvip1EDjB4WNn5AKw-2clRga8oGS2Lq5ylLFLthWV85JLXUCTdSizfWB1rfogJPAdtLRJi1mJVwip50C6eFlL5WoZIwrqzx4UrbJWAicvQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:51 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f480e226-70a1-4283-a533-9f5e92ea0900', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvqS6beB4itEqe30P_GLiYc; expires=Thu, 20-Jan-2022 01:09:51 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZR_v4DTfH4ksUDupZx4bys1yu1z6uzBdu-SfFlSdH-1fknbQ3fdxuxz-lbtt9fxYaUfJ0rff2tDGBYuNa5H6TQlXzzPj05SNAeXmwyUrdA5ThSMsyaX3LCgh1k2hhHWSLOsBVB3PYMQFmH5FLfeVfkjBnFwT4ZXWI_5CFyLR2ZQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:51 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=81dc69b2-7a4f-43e0-abd6-eeb23e9a85cd&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '32ea23f5-8af6-4214-946f-0c69781e0800', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AtShQFY14QlDmjRBa8LETH7Lj78gAQAAAF8gU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:51 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:51 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e4d8f6c0-85d1-4073-a2bb-2fe4170c6e05', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - 'cc7a1d1b-cf3d-4abb-a77b-3c78f7c3b2b2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010952Z:cc7a1d1b-cf3d-4abb-a77b-3c78f7c3b2b2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:52 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles/mylogProfilexxx', {"location":"","properties":{"storageAccountId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/mystorageaccountyyy","locations":["global"],"categories":["Write","Delete","Action"],"retentionPolicy":{"enabled":true,"days":3}}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefde5dd5d56531cbebe6eea298d655539db7e362d91417f3b6b95b5617f4fd7951e6f4f535fdf552fe7af7eedd47a38fdaeb55fed1a3e5ba2c471f2db305fdfe51bf51594d33a0435fd25f6f8b25212aafb4d945637ea75e5679dd16397df28b3f6adaaace2ef2e3e9b45a2fdb337ae36b0dadce9b6a5d4ff3cfeb6abdc2007eba69f3a6f586fc851df26be9f26ed8355ed24f32f9e4fafa9a86d1e4f56531cd9fac9b57eb320782320c33581ac5f73eba28ab49567ef4fdd147f4617e51d53cbaef7df4ddba687302f2342f73fee5788a77d0b0a60f96f8e3655516d36bd0225f669332a71eda7a9d8f3e9a65d704e4de2ff925239a72b46da9153aff","25ff0fc8e4c52804020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd28d107e-7e36-42d5-a4af-83afbd6efea9', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '1c56e16f-c9d3-492d-a4ad-401f34f2ea41', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010955Z:1c56e16f-c9d3-492d-a4ad-401f34f2ea41', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:55 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_delete_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_delete_test.js deleted file mode 100644 index 35b7bf044e79..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_delete_test.js +++ /dev/null @@ -1,177 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "54e0652050f188da606aca236328130c"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcffae30d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AkzWJ4-n5XZHkVI8CmhqEDc; expires=Thu, 20-Jan-2022 01:10:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEma5ODf0A0asMw0diHScqMioiwW70zbqo80pFBbKOUfEVtLbiHXAPpZhK1txDlGN1Y9kmxNLMqJaghnRbZJeQSC3z7s0Wwnn6M4yHI3GECOYUflFBnut2BfMW-qMRUfLEpRdg9kGeaVIgXZOqvtlYpupC8dlp3bvHnW1ALbxD5IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:10:42 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7777f699-653d-4eb0-b230-12e59e690000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AnLCIqJx3GZOpkcWWz7BIHE; expires=Thu, 20-Jan-2022 01:10:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhuUJUgXxz3higrKHGJjsmcRiyWv25rqqicJkAkzanm2vzyEuivk_1lxIL3iNBAbxBCERNLOBRGGAZ51YGN8p_Gr9nsig5pLlSq3WDkKX8_Ec49XNPK1DcmYpSU66sAmcwtLX0_lvQFMHlx-2xjzzcF-8L7SXE_LxRjiw8G8xVhYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:10:42 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=af6e8a47-96f0-43b3-8114-cfcbcb4440a2&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7777f699-653d-4eb0-b230-12e5a0690000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AqiquvZIiBFIogIGgj95KAHLj78gAQAAAJEgU9kOAAAA; expires=Thu, 20-Jan-2022 01:10:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:10:42 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles/mylogProfilexxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '43403d68-5160-48d7-8d3f-a624301a564b', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - 'c8030238-4a5d-4d15-9e1f-faf9a6e1f741', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011044Z:c8030238-4a5d-4d15-9e1f-faf9a6e1f741', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:43 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb7757757559ccf2bab9bb28a675d554e7edb85836c5c5bc6dee96d5057d7f5e94397d7dedfe7af7eedd47a38fdaeb1575be5c97e5e8a365b6a0df3fea372aab6906744cc3b7c5925095dfdbeca231bfd34babbc6e8b9c3ef9c51f356d556717f9f1745aad97ed19bdf1b50657e74db5aea7f9e775b55e61083fddb479d37a83fec20efab5747937ec1a2fe927997c727d7d4dc36af2fab298e64fd6cdab759903411986192e8de27b1f5d94d5242b3ffafee823fa30bfa86a1eddf73efa6e5db43901799a9739ff723cc53b6858d3074bfcf1b22a8be93568912fb34999530f6dbdce471fcdb26b0272ef97fc92114d3adab6d40a9dff92efff","92ff0705693e3812020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '9fb7f576-41e5-4f64-bc50-27a6eb795380', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - '218dd1c5-f932-4759-b857-4878d1a49ec7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T011044Z:218dd1c5-f932-4759-b857-4878d1a49ec7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:10:44 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_get_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_get_test.js deleted file mode 100644 index 73d276a49f54..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_get_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "251acfbf914de4e1222908427cd4e7f6"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcf5de20d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AruvSSUHOU9PmRcmcr8p2F0; expires=Thu, 20-Jan-2022 01:09:55 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrMn11AyV4fz5S86ZnI_XV8p6AtXOpoD6R2YxKamqPikNfaG41Q3T3_SgHTg8HnSTVLtBnDMa_Y473JN7NiSip3nZgGsha1Pv94D3WXJwVQfdQJf8EbiBUzIvaqy4qblu6Oqgsi-Lq0lL84Fx8ebot4TFhpVTwLcVLoJ_4mN5dabYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:55 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcf60e20d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AprAqq2wP_hCrdLT3Glhf7c; expires=Thu, 20-Jan-2022 01:09:55 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdB-VktVrPY5oEMnVgXRDb5EWUnlq9U-Gb5ZSkwQpWMGjs24VvAEKpk8a0Vg1UM_X0xNw7X4uhICVT0et6r3gptzYoJS4A6F6rL69wKOBZtkk-UpG5HXwpAwZMLWCkcvQMejv_hUMlsKbKjva3Ayd5Ns5MCOndiQhS0P12PbjFVwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:55 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=cddd46a6-588d-4ac2-85fe-659ca5ff73d8&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '65eed48d-5688-4f85-96c3-e74056100000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AlraLCO4H35MsZKtIyZYhbTLj78gAQAAAGMgU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:55 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles/mylogProfilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefde5dd5d56531cbebe6eea298d655539db7e362d91417f3b6b95b5617f4fd7951e6f4f535fdf552fe7af7eedd47a38fdaeb55fed1a3e5ba2c471f2db305fdfe51bf51594d33a0631abe2d9684aafcde66178df99dfa59e5755be4f4c92ffea869ab3abbc88fa7d36abd6ccfe88daf35b83a6faa753dcd3fafabf50a43f8e9a6cd9bd61bf41776d0afa5cbbb61d778493fc9e493ebeb6b1a5693d797c5347fb26e5eadcb1c08ca30cc706914dffbe8a2ac2659f9d1f7471fd187f94555f3e8bef7d177eba2cd09c8d3bcccf997e329de41c39a3e58e28f9755594caf418b7c994dca9c7a68eb753efa68965d13907bbfe4978c68d2d1b6a556e8fc","97fc3f79f5843106020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '54634d34-4e10-43dd-a3e8-51bb845f586e', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - '52e59238-649b-4e9e-a362-023156656e3c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010956Z:52e59238-649b-4e9e-a362-023156656e3c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:56 GMT' -]); diff --git a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_list_test.js b/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_list_test.js deleted file mode 100644 index 302946515b39..000000000000 --- a/sdk/monitor/arm-monitor/recordings/node/monitor_test/recording_logprofiles_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2e5adf68a7c814d701c68d451fb72ac4"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f9d8b77c-5495-4058-a16d-afdddc9a0a00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqfpWIn5KodBjLlsIV9oMQE; expires=Thu, 20-Jan-2022 01:09:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9GxiW8WfbCBGXeMW1SPIGpZGyFQKdH4iWtTi0oOMeMV_wATtcvIHj84vrIcJ6vYnKSsTbUAQeQyTQ18MZUqA7anzR7mH4axHNvT-RX0Zi7FP43fCpmz2JmvgjP6rQ5mSHpcESIjGsQCQGdljCUmyH1EXlo5cUM2Njc5aFOecM4MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:56 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1bd63f88-8ecd-4df1-9d86-9bcf6fe20d00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Akrxfx1wNkVKsVQ22i-lnu0; expires=Thu, 20-Jan-2022 01:09:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPFHASVSHMBOLLsMXNCEiRyvK3AMY8_2A9a91DdkkSLZuXSRLbOzD9L5NRb0M85bZBse3pKEr_c4saoE1XRzieC0xOXJTR7HwZWvHZqaSR9azX9NGTgaU6rJRd_KydWxpPQByhVyYTVHGkBuF6ORI9zarAbLai7JKEc75wMIQ3vcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:57 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=581a2153-09b7-463a-8f32-4defbe05f080&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '65eed48d-5688-4f85-96c3-e7405b100000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ArLI4QTpO-5DifglHYs-YpvLj78gAQAAAGUgU9kOAAAA; expires=Thu, 20-Jan-2022 01:09:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 21 Dec 2021 01:09:57 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Insights/logprofiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb7757757559ccf2bab9bb28a675d554e7edb85836c5c5bc6dee96d5057d7f5e94397d7dedfe7af7eedd47a38fdaeb1575be5c97e5e8a365b6a0df3fea372aab6906744cc3b7c5925095dfdbeca231bfd34babbc6e8b9c3ef9c51f356d556717f9f1745aad97ed19bdf1b50657e74db5aea7f9e775b55e61083fddb479d37a83fec20efab5747937ec1a2fe927997c727d7d4dc36af2fab298e64fd6cdab759903411986192e8de27b1f5d94d5242b3ffafee823fa30bfa86a1eddf73efa6e5db43901799a9739ff723cc53b6858d3074bfcf1b22a8be93568912fb34999530f6dbdce471fcdb26b0272ef97fc92114d3adab6d40a9dff92efff","92ff0705693e3812020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e3da8a3f-ccf6-461c-8952-08d6823e229f', - 'Server', - 'Microsoft-IIS/10.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - '601764b9-a92e-4eed-8bff-4e38c6490074', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211221T010958Z:601764b9-a92e-4eed-8bff-4e38c6490074', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 21 Dec 2021 01:09:57 GMT' -]); diff --git a/sdk/monitor/arm-monitor/review/arm-monitor.api.md b/sdk/monitor/arm-monitor/review/arm-monitor.api.md index d52a01ce9267..c304f852b1bc 100644 --- a/sdk/monitor/arm-monitor/review/arm-monitor.api.md +++ b/sdk/monitor/arm-monitor/review/arm-monitor.api.md @@ -25,6 +25,14 @@ export interface ActionDetail { subState?: string; } +// @public +export interface ActionGroup { + actionGroupId: string; + webhookProperties?: { + [propertyName: string]: string; + }; +} + // @public export interface ActionGroupList { nextLink?: string; @@ -129,64 +137,31 @@ export interface ActionGroupsUpdateOptionalParams extends coreClient.OperationOp // @public export type ActionGroupsUpdateResponse = ActionGroupResource; -// @public (undocumented) -export type ActionUnion = Action | AlertingAction | LogToMetricAction; - // @public -export interface ActivityLogAlertActionGroup { - actionGroupId: string; - webhookProperties?: { - [propertyName: string]: string; - }; -} - -// @public -export interface ActivityLogAlertActionList { - actionGroups?: ActivityLogAlertActionGroup[]; +export interface ActionList { + actionGroups?: ActionGroup[]; } -// @public -export interface ActivityLogAlertAllOfCondition { - allOf: ActivityLogAlertLeafCondition[]; -} - -// @public -export interface ActivityLogAlertLeafCondition { - equals: string; - field: string; -} - -// @public -export interface ActivityLogAlertList { - nextLink?: string; - value?: ActivityLogAlertResource[]; -} - -// @public -export interface ActivityLogAlertPatchBody { - enabled?: boolean; - tags?: { - [propertyName: string]: string; - }; -} +// @public (undocumented) +export type ActionUnion = Action | AlertingAction | LogToMetricAction; // @public -export type ActivityLogAlertResource = Resource & { +export type ActivityLogAlertResource = AzureResourceAutoGenerated & { scopes?: string[]; + condition?: AlertRuleAllOfCondition; + actions?: ActionList; enabled?: boolean; - condition?: ActivityLogAlertAllOfCondition; - actions?: ActivityLogAlertActionList; description?: string; }; // @public export interface ActivityLogAlerts { - createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlertRule: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsDeleteOptionalParams): Promise; get(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: ActivityLogAlertsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscriptionId(options?: ActivityLogAlertsListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator; - update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: ActivityLogAlertPatchBody, options?: ActivityLogAlertsUpdateOptionalParams): Promise; + update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertRulePatch: AlertRulePatchObject, options?: ActivityLogAlertsUpdateOptionalParams): Promise; } // @public @@ -207,19 +182,33 @@ export interface ActivityLogAlertsGetOptionalParams extends coreClient.Operation // @public export type ActivityLogAlertsGetResponse = ActivityLogAlertResource; +// @public +export interface ActivityLogAlertsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ActivityLogAlertsListByResourceGroupNextResponse = AlertRuleList; + // @public export interface ActivityLogAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions { } // @public -export type ActivityLogAlertsListByResourceGroupResponse = ActivityLogAlertList; +export type ActivityLogAlertsListByResourceGroupResponse = AlertRuleList; + +// @public +export interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ActivityLogAlertsListBySubscriptionIdNextResponse = AlertRuleList; // @public export interface ActivityLogAlertsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions { } // @public -export type ActivityLogAlertsListBySubscriptionIdResponse = ActivityLogAlertList; +export type ActivityLogAlertsListBySubscriptionIdResponse = AlertRuleList; // @public export interface ActivityLogAlertsUpdateOptionalParams extends coreClient.OperationOptions { @@ -264,6 +253,16 @@ export type AlertingAction = Action & { trigger: TriggerCondition; }; +// @public +export interface AlertRuleAllOfCondition { + allOf: AlertRuleAnyOfOrLeafCondition[]; +} + +// @public +export type AlertRuleAnyOfOrLeafCondition = AlertRuleLeafCondition & { + anyOf?: AlertRuleLeafCondition[]; +}; + // @public export interface AlertRuleIncidents { get(resourceGroupName: string, ruleName: string, incidentName: string, options?: AlertRuleIncidentsGetOptionalParams): Promise; @@ -284,6 +283,27 @@ export interface AlertRuleIncidentsListByAlertRuleOptionalParams extends coreCli // @public export type AlertRuleIncidentsListByAlertRuleResponse = IncidentListResult; +// @public +export interface AlertRuleLeafCondition { + containsAny?: string[]; + equals?: string; + field?: string; +} + +// @public +export interface AlertRuleList { + nextLink?: string; + value?: ActivityLogAlertResource[]; +} + +// @public +export interface AlertRulePatchObject { + enabled?: boolean; + tags?: { + [propertyName: string]: string; + }; +} + // @public export type AlertRuleResource = Resource & { namePropertiesName: string; @@ -546,6 +566,17 @@ export interface AzureResource { readonly type?: string; } +// @public +export interface AzureResourceAutoGenerated { + readonly id?: string; + location?: string; + readonly name?: string; + tags?: { + [propertyName: string]: string; + }; + readonly type?: string; +} + // @public export interface BaselineMetadata { name: string; @@ -1122,6 +1153,12 @@ export interface ErrorResponse { message?: string; } +// @public +export interface ErrorResponseAutoGenerated { + readonly code?: string; + readonly message?: string; +} + // @public export type ErrorResponseCommon = ErrorResponse & { readonly details?: ErrorResponseCommon[]; diff --git a/sdk/monitor/arm-monitor/src/models/index.ts b/sdk/monitor/arm-monitor/src/models/index.ts index 34e82344e627..310b82a20735 100644 --- a/sdk/monitor/arm-monitor/src/models/index.ts +++ b/sdk/monitor/arm-monitor/src/models/index.ts @@ -1436,45 +1436,90 @@ export interface ScopedResourceListResult { readonly nextLink?: string; } -/** An Activity Log alert condition that is met when all its member conditions are met. */ -export interface ActivityLogAlertAllOfCondition { - /** The list of activity log alert conditions. */ - allOf: ActivityLogAlertLeafCondition[]; +/** An Activity Log Alert rule condition that is met when all its member conditions are met. */ +export interface AlertRuleAllOfCondition { + /** The list of Activity Log Alert rule conditions. */ + allOf: AlertRuleAnyOfOrLeafCondition[]; } -/** An Activity Log alert condition that is met by comparing an activity log field and value. */ -export interface ActivityLogAlertLeafCondition { - /** The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'. */ - field: string; - /** The field value will be compared to this value (case-insensitive) to determine if the condition is met. */ - equals: string; +/** + * An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event. + * This condition must contain 'field' and either 'equals' or 'containsAny'. + */ +export interface AlertRuleLeafCondition { + /** + * The name of the Activity Log event's field that this condition will examine. + * The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'. + */ + field?: string; + /** The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met. */ + equals?: string; + /** The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met. */ + containsAny?: string[]; } -/** A list of activity log alert actions. */ -export interface ActivityLogAlertActionList { - /** The list of activity log alerts. */ - actionGroups?: ActivityLogAlertActionGroup[]; +/** A list of Activity Log Alert rule actions. */ +export interface ActionList { + /** The list of the Action Groups. */ + actionGroups?: ActionGroup[]; } /** A pointer to an Azure Action Group. */ -export interface ActivityLogAlertActionGroup { - /** The resourceId of the action group. This cannot be null or empty. */ +export interface ActionGroup { + /** The resource ID of the Action Group. This cannot be null or empty. */ actionGroupId: string; /** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */ webhookProperties?: { [propertyName: string]: string }; } -/** An activity log alert object for the body of patch operations. */ -export interface ActivityLogAlertPatchBody { - /** Resource tags */ +/** An Azure resource object. */ +export interface AzureResourceAutoGenerated { + /** + * The resource Id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * The type of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */ + location?: string; + /** The tags of the resource. */ tags?: { [propertyName: string]: string }; - /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */ +} + +/** The error response. */ +export interface ErrorResponseAutoGenerated { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message indicating why the operation failed. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; +} + +/** An Activity Log Alert rule object for the body of patch operations. */ +export interface AlertRulePatchObject { + /** The resource tags */ + tags?: { [propertyName: string]: string }; + /** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */ enabled?: boolean; } -/** A list of activity log alerts. */ -export interface ActivityLogAlertList { - /** The list of activity log alerts. */ +/** A list of Activity Log Alert rules. */ +export interface AlertRuleList { + /** The list of Activity Log Alert rules. */ value?: ActivityLogAlertResource[]; /** Provides the link to retrieve the next set of elements. */ nextLink?: string; @@ -2124,20 +2169,6 @@ export type MetricAlertResource = Resource & { readonly isMigrated?: boolean; }; -/** An activity log alert resource. */ -export type ActivityLogAlertResource = Resource & { - /** A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item. */ - scopes?: string[]; - /** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */ - enabled?: boolean; - /** The condition that will cause this alert to activate. */ - condition?: ActivityLogAlertAllOfCondition; - /** The actions that will activate when the condition is met. */ - actions?: ActivityLogAlertActionList; - /** A description of this activity log alert. */ - description?: string; -}; - /** The resource management error response. */ export type ErrorResponseCommon = ErrorResponse & { /** @@ -2444,6 +2475,35 @@ export type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & { readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; +/** + * An Activity Log Alert rule condition that is met when all its member conditions are met. + * Each condition can be of one of the following types: + * __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition. + * * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'. + * _Please note, 'anyOf' should __not__ be set in a Leaf Condition._ + * * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions). + * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._ + * + */ +export type AlertRuleAnyOfOrLeafCondition = AlertRuleLeafCondition & { + /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */ + anyOf?: AlertRuleLeafCondition[]; +}; + +/** An Activity Log Alert rule resource. */ +export type ActivityLogAlertResource = AzureResourceAutoGenerated & { + /** A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item. */ + scopes?: string[]; + /** The condition that will cause this alert to activate. */ + condition?: AlertRuleAllOfCondition; + /** The actions that will activate when the condition is met. */ + actions?: ActionList; + /** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */ + enabled?: boolean; + /** A description of this Activity Log Alert rule. */ + description?: string; +}; + /** Resource properties. */ export type DataCollectionEndpointResourceProperties = DataCollectionEndpoint & {}; @@ -3936,14 +3996,28 @@ export interface ActivityLogAlertsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionId operation. */ -export type ActivityLogAlertsListBySubscriptionIdResponse = ActivityLogAlertList; +export type ActivityLogAlertsListBySubscriptionIdResponse = AlertRuleList; /** Optional parameters. */ export interface ActivityLogAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroup operation. */ -export type ActivityLogAlertsListByResourceGroupResponse = ActivityLogAlertList; +export type ActivityLogAlertsListByResourceGroupResponse = AlertRuleList; + +/** Optional parameters. */ +export interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionIdNext operation. */ +export type ActivityLogAlertsListBySubscriptionIdNextResponse = AlertRuleList; + +/** Optional parameters. */ +export interface ActivityLogAlertsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ActivityLogAlertsListByResourceGroupNextResponse = AlertRuleList; /** Optional parameters. */ export interface DataCollectionEndpointsListByResourceGroupOptionalParams diff --git a/sdk/monitor/arm-monitor/src/models/mappers.ts b/sdk/monitor/arm-monitor/src/models/mappers.ts index 1e57aafe18fc..20acacd99f54 100644 --- a/sdk/monitor/arm-monitor/src/models/mappers.ts +++ b/sdk/monitor/arm-monitor/src/models/mappers.ts @@ -3984,10 +3984,10 @@ export const ScopedResourceListResult: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertAllOfCondition: coreClient.CompositeMapper = { +export const AlertRuleAllOfCondition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertAllOfCondition", + className: "AlertRuleAllOfCondition", modelProperties: { allOf: { serializedName: "allOf", @@ -3997,7 +3997,7 @@ export const ActivityLogAlertAllOfCondition: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ActivityLogAlertLeafCondition" + className: "AlertRuleAnyOfOrLeafCondition" } } } @@ -4006,33 +4006,42 @@ export const ActivityLogAlertAllOfCondition: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertLeafCondition: coreClient.CompositeMapper = { +export const AlertRuleLeafCondition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertLeafCondition", + className: "AlertRuleLeafCondition", modelProperties: { field: { serializedName: "field", - required: true, type: { name: "String" } }, equals: { serializedName: "equals", - required: true, type: { name: "String" } + }, + containsAny: { + serializedName: "containsAny", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const ActivityLogAlertActionList: coreClient.CompositeMapper = { +export const ActionList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertActionList", + className: "ActionList", modelProperties: { actionGroups: { serializedName: "actionGroups", @@ -4041,7 +4050,7 @@ export const ActivityLogAlertActionList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ActivityLogAlertActionGroup" + className: "ActionGroup" } } } @@ -4050,10 +4059,10 @@ export const ActivityLogAlertActionList: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertActionGroup: coreClient.CompositeMapper = { +export const ActionGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertActionGroup", + className: "ActionGroup", modelProperties: { actionGroupId: { serializedName: "actionGroupId", @@ -4073,10 +4082,77 @@ export const ActivityLogAlertActionGroup: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertPatchBody: coreClient.CompositeMapper = { +export const AzureResourceAutoGenerated: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureResourceAutoGenerated", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + location: { + defaultValue: "global", + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const ErrorResponseAutoGenerated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertPatchBody", + className: "ErrorResponseAutoGenerated", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + type: { + name: "String" + } + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const AlertRulePatchObject: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AlertRulePatchObject", modelProperties: { tags: { serializedName: "tags", @@ -4096,10 +4172,10 @@ export const ActivityLogAlertPatchBody: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertList: coreClient.CompositeMapper = { +export const AlertRuleList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityLogAlertList", + className: "AlertRuleList", modelProperties: { value: { serializedName: "value", @@ -5773,54 +5849,6 @@ export const MetricAlertResource: coreClient.CompositeMapper = { } }; -export const ActivityLogAlertResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ActivityLogAlertResource", - modelProperties: { - ...Resource.type.modelProperties, - scopes: { - serializedName: "properties.scopes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - enabled: { - defaultValue: true, - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - }, - condition: { - serializedName: "properties.condition", - type: { - name: "Composite", - className: "ActivityLogAlertAllOfCondition" - } - }, - actions: { - serializedName: "properties.actions", - type: { - name: "Composite", - className: "ActivityLogAlertActionList" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - export const ErrorResponseCommon: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6740,6 +6768,76 @@ export const AzureMonitorPrivateLinkScope: coreClient.CompositeMapper = { } }; +export const AlertRuleAnyOfOrLeafCondition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AlertRuleAnyOfOrLeafCondition", + modelProperties: { + ...AlertRuleLeafCondition.type.modelProperties, + anyOf: { + serializedName: "anyOf", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AlertRuleLeafCondition" + } + } + } + } + } + } +}; + +export const ActivityLogAlertResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActivityLogAlertResource", + modelProperties: { + ...AzureResourceAutoGenerated.type.modelProperties, + scopes: { + serializedName: "properties.scopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + condition: { + serializedName: "properties.condition", + type: { + name: "Composite", + className: "AlertRuleAllOfCondition" + } + }, + actions: { + serializedName: "properties.actions", + type: { + name: "Composite", + className: "ActionList" + } + }, + enabled: { + defaultValue: true, + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + } + } + } +}; + export const DataCollectionEndpointResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/monitor/arm-monitor/src/models/parameters.ts b/sdk/monitor/arm-monitor/src/models/parameters.ts index 02e16f2df062..bab0fbba01b8 100644 --- a/sdk/monitor/arm-monitor/src/models/parameters.ts +++ b/sdk/monitor/arm-monitor/src/models/parameters.ts @@ -32,7 +32,7 @@ import { PrivateEndpointConnection as PrivateEndpointConnectionMapper, ScopedResource as ScopedResourceMapper, ActivityLogAlertResource as ActivityLogAlertResourceMapper, - ActivityLogAlertPatchBody as ActivityLogAlertPatchBodyMapper, + AlertRulePatchObject as AlertRulePatchObjectMapper, DataCollectionEndpointResource as DataCollectionEndpointResourceMapper, ResourceForUpdate as ResourceForUpdateMapper, DataCollectionRuleAssociationProxyOnlyResource as DataCollectionRuleAssociationProxyOnlyResourceMapper, @@ -619,8 +619,8 @@ export const parameters9: OperationParameter = { mapper: ScopedResourceMapper }; -export const activityLogAlert: OperationParameter = { - parameterPath: "activityLogAlert", +export const activityLogAlertRule: OperationParameter = { + parameterPath: "activityLogAlertRule", mapper: ActivityLogAlertResourceMapper }; @@ -638,7 +638,7 @@ export const activityLogAlertName: OperationURLParameter = { export const apiVersion11: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2017-04-01", + defaultValue: "2020-10-01", isConstant: true, serializedName: "api-version", type: { @@ -647,9 +647,9 @@ export const apiVersion11: OperationQueryParameter = { } }; -export const activityLogAlertPatch: OperationParameter = { - parameterPath: "activityLogAlertPatch", - mapper: ActivityLogAlertPatchBodyMapper +export const activityLogAlertRulePatch: OperationParameter = { + parameterPath: "activityLogAlertRulePatch", + mapper: AlertRulePatchObjectMapper }; export const apiVersion12: OperationQueryParameter = { diff --git a/sdk/monitor/arm-monitor/src/monitorClient.ts b/sdk/monitor/arm-monitor/src/monitorClient.ts index dcc607f19fb1..6379de27a6df 100644 --- a/sdk/monitor/arm-monitor/src/monitorClient.ts +++ b/sdk/monitor/arm-monitor/src/monitorClient.ts @@ -101,7 +101,7 @@ export class MonitorClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-monitor/7.0.0`; + const packageDetails = `azsdk-js-arm-monitor/8.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/monitor/arm-monitor/src/operations/activityLogAlerts.ts b/sdk/monitor/arm-monitor/src/operations/activityLogAlerts.ts index d8ea0ff086d6..5796a784a4c2 100644 --- a/sdk/monitor/arm-monitor/src/operations/activityLogAlerts.ts +++ b/sdk/monitor/arm-monitor/src/operations/activityLogAlerts.ts @@ -14,18 +14,22 @@ import * as Parameters from "../models/parameters"; import { MonitorClient } from "../monitorClient"; import { ActivityLogAlertResource, + ActivityLogAlertsListBySubscriptionIdNextOptionalParams, ActivityLogAlertsListBySubscriptionIdOptionalParams, + ActivityLogAlertsListByResourceGroupNextOptionalParams, ActivityLogAlertsListByResourceGroupOptionalParams, ActivityLogAlertsCreateOrUpdateOptionalParams, ActivityLogAlertsCreateOrUpdateResponse, ActivityLogAlertsGetOptionalParams, ActivityLogAlertsGetResponse, ActivityLogAlertsDeleteOptionalParams, - ActivityLogAlertPatchBody, + AlertRulePatchObject, ActivityLogAlertsUpdateOptionalParams, ActivityLogAlertsUpdateResponse, ActivityLogAlertsListBySubscriptionIdResponse, - ActivityLogAlertsListByResourceGroupResponse + ActivityLogAlertsListByResourceGroupResponse, + ActivityLogAlertsListBySubscriptionIdNextResponse, + ActivityLogAlertsListByResourceGroupNextResponse } from "../models"; /// @@ -42,7 +46,7 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Get a list of all activity log alerts in a subscription. + * Get a list of all Activity Log Alert rules in a subscription. * @param options The options parameters. */ public listBySubscriptionId( @@ -67,6 +71,12 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { ): AsyncIterableIterator { let result = await this._listBySubscriptionId(options); yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listBySubscriptionIdNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } } private async *listBySubscriptionIdPagingAll( @@ -78,7 +88,7 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Get a list of all activity log alerts in a resource group. + * Get a list of all Activity Log Alert rules in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -106,6 +116,16 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { ): AsyncIterableIterator { let result = await this._listByResourceGroup(resourceGroupName, options); yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } } private async *listByResourceGroupPagingAll( @@ -121,28 +141,33 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Create a new activity log alert or update an existing one. + * Create a new Activity Log Alert rule or update an existing one. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. - * @param activityLogAlert The activity log alert to create or use for the update. + * @param activityLogAlertName The name of the Activity Log Alert rule. + * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, activityLogAlertName: string, - activityLogAlert: ActivityLogAlertResource, + activityLogAlertRule: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, activityLogAlertName, activityLogAlert, options }, + { + resourceGroupName, + activityLogAlertName, + activityLogAlertRule, + options + }, createOrUpdateOperationSpec ); } /** - * Get an activity log alert. + * Get an Activity Log Alert rule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. + * @param activityLogAlertName The name of the Activity Log Alert rule. * @param options The options parameters. */ get( @@ -157,9 +182,9 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Delete an activity log alert. + * Delete an Activity Log Alert rule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. + * @param activityLogAlertName The name of the Activity Log Alert rule. * @param options The options parameters. */ delete( @@ -174,24 +199,25 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate - * method. + * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the + * Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate + * operation. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. - * @param activityLogAlertPatch Parameters supplied to the operation. + * @param activityLogAlertName The name of the Activity Log Alert rule. + * @param activityLogAlertRulePatch Parameters supplied to the operation. * @param options The options parameters. */ update( resourceGroupName: string, activityLogAlertName: string, - activityLogAlertPatch: ActivityLogAlertPatchBody, + activityLogAlertRulePatch: AlertRulePatchObject, options?: ActivityLogAlertsUpdateOptionalParams ): Promise { return this.client.sendOperationRequest( { resourceGroupName, activityLogAlertName, - activityLogAlertPatch, + activityLogAlertRulePatch, options }, updateOperationSpec @@ -199,7 +225,7 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Get a list of all activity log alerts in a subscription. + * Get a list of all Activity Log Alert rules in a subscription. * @param options The options parameters. */ private _listBySubscriptionId( @@ -212,7 +238,7 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { } /** - * Get a list of all activity log alerts in a resource group. + * Get a list of all Activity Log Alert rules in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -225,13 +251,45 @@ export class ActivityLogAlertsImpl implements ActivityLogAlerts { listByResourceGroupOperationSpec ); } + + /** + * ListBySubscriptionIdNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method. + * @param options The options parameters. + */ + private _listBySubscriptionIdNext( + nextLink: string, + options?: ActivityLogAlertsListBySubscriptionIdNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionIdNextOperationSpec + ); + } + + /** + * ListByResourceGroupNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. + * @param options The options parameters. + */ + private _listByResourceGroupNext( + resourceGroupName: string, + nextLink: string, + options?: ActivityLogAlertsListByResourceGroupNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listByResourceGroupNextOperationSpec + ); + } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}", httpMethod: "PUT", responses: { 200: { @@ -241,10 +299,10 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ActivityLogAlertResource }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, - requestBody: Parameters.activityLogAlert, + requestBody: Parameters.activityLogAlertRule, queryParameters: [Parameters.apiVersion11], urlParameters: [ Parameters.$host, @@ -258,14 +316,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { }; const getOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}", httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.ActivityLogAlertResource }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, queryParameters: [Parameters.apiVersion11], @@ -280,13 +338,13 @@ const getOperationSpec: coreClient.OperationSpec = { }; const deleteOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}", httpMethod: "DELETE", responses: { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, queryParameters: [Parameters.apiVersion11], @@ -301,17 +359,17 @@ const deleteOperationSpec: coreClient.OperationSpec = { }; const updateOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts/{activityLogAlertName}", httpMethod: "PATCH", responses: { 200: { bodyMapper: Mappers.ActivityLogAlertResource }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, - requestBody: Parameters.activityLogAlertPatch, + requestBody: Parameters.activityLogAlertRulePatch, queryParameters: [Parameters.apiVersion11], urlParameters: [ Parameters.$host, @@ -325,14 +383,14 @@ const updateOperationSpec: coreClient.OperationSpec = { }; const listBySubscriptionIdOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts", + "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/activityLogAlerts", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ActivityLogAlertList + bodyMapper: Mappers.AlertRuleList }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, queryParameters: [Parameters.apiVersion11], @@ -342,14 +400,14 @@ const listBySubscriptionIdOperationSpec: coreClient.OperationSpec = { }; const listByResourceGroupOperationSpec: coreClient.OperationSpec = { path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.ActivityLogAlertList + bodyMapper: Mappers.AlertRuleList }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponseAutoGenerated } }, queryParameters: [Parameters.apiVersion11], @@ -361,3 +419,44 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const listBySubscriptionIdNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AlertRuleList + }, + default: { + bodyMapper: Mappers.ErrorResponseAutoGenerated + } + }, + queryParameters: [Parameters.apiVersion11], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AlertRuleList + }, + default: { + bodyMapper: Mappers.ErrorResponseAutoGenerated + } + }, + queryParameters: [Parameters.apiVersion11], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/monitor/arm-monitor/src/operationsInterfaces/activityLogAlerts.ts b/sdk/monitor/arm-monitor/src/operationsInterfaces/activityLogAlerts.ts index d35ac04a99e4..775a56fb1c9f 100644 --- a/sdk/monitor/arm-monitor/src/operationsInterfaces/activityLogAlerts.ts +++ b/sdk/monitor/arm-monitor/src/operationsInterfaces/activityLogAlerts.ts @@ -16,7 +16,7 @@ import { ActivityLogAlertsGetOptionalParams, ActivityLogAlertsGetResponse, ActivityLogAlertsDeleteOptionalParams, - ActivityLogAlertPatchBody, + AlertRulePatchObject, ActivityLogAlertsUpdateOptionalParams, ActivityLogAlertsUpdateResponse } from "../models"; @@ -25,14 +25,14 @@ import { /** Interface representing a ActivityLogAlerts. */ export interface ActivityLogAlerts { /** - * Get a list of all activity log alerts in a subscription. + * Get a list of all Activity Log Alert rules in a subscription. * @param options The options parameters. */ listBySubscriptionId( options?: ActivityLogAlertsListBySubscriptionIdOptionalParams ): PagedAsyncIterableIterator; /** - * Get a list of all activity log alerts in a resource group. + * Get a list of all Activity Log Alert rules in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -41,22 +41,22 @@ export interface ActivityLogAlerts { options?: ActivityLogAlertsListByResourceGroupOptionalParams ): PagedAsyncIterableIterator; /** - * Create a new activity log alert or update an existing one. + * Create a new Activity Log Alert rule or update an existing one. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. - * @param activityLogAlert The activity log alert to create or use for the update. + * @param activityLogAlertName The name of the Activity Log Alert rule. + * @param activityLogAlertRule The Activity Log Alert rule to create or use for the update. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, activityLogAlertName: string, - activityLogAlert: ActivityLogAlertResource, + activityLogAlertRule: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams ): Promise; /** - * Get an activity log alert. + * Get an Activity Log Alert rule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. + * @param activityLogAlertName The name of the Activity Log Alert rule. * @param options The options parameters. */ get( @@ -65,9 +65,9 @@ export interface ActivityLogAlerts { options?: ActivityLogAlertsGetOptionalParams ): Promise; /** - * Delete an activity log alert. + * Delete an Activity Log Alert rule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. + * @param activityLogAlertName The name of the Activity Log Alert rule. * @param options The options parameters. */ delete( @@ -76,17 +76,18 @@ export interface ActivityLogAlerts { options?: ActivityLogAlertsDeleteOptionalParams ): Promise; /** - * Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate - * method. + * Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the + * Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate + * operation. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param activityLogAlertName The name of the activity log alert. - * @param activityLogAlertPatch Parameters supplied to the operation. + * @param activityLogAlertName The name of the Activity Log Alert rule. + * @param activityLogAlertRulePatch Parameters supplied to the operation. * @param options The options parameters. */ update( resourceGroupName: string, activityLogAlertName: string, - activityLogAlertPatch: ActivityLogAlertPatchBody, + activityLogAlertRulePatch: AlertRulePatchObject, options?: ActivityLogAlertsUpdateOptionalParams ): Promise; } diff --git a/sdk/monitor/arm-monitor/test/monitor_examples.ts b/sdk/monitor/arm-monitor/test/monitor_examples.ts deleted file mode 100644 index b3119e10159b..000000000000 --- a/sdk/monitor/arm-monitor/test/monitor_examples.ts +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - env, - record, - RecorderEnvironmentSetup, - Recorder, - delay, - isPlaybackMode -} from "@azure-tools/test-recorder"; -import * as assert from "assert"; -import { ClientSecretCredential } from "@azure/identity"; -import { MonitorClient } from "../src/monitorClient"; -import { LogicManagementClient } from "@azure/arm-logic"; -import { StorageManagementClient } from "@azure/arm-storage"; -import { EventHubManagementClient } from "@azure/arm-eventhub"; -import { OperationalInsightsManagementClient } from "@azure/arm-operationalinsights"; - -const recorderEnvSetup: RecorderEnvironmentSetup = { - replaceableVariables: { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" - }, - customizationsOnRecordings: [ - (recording: any): any => - recording.replace( - /"access_token":"[^"]*"/g, - `"access_token":"access_token"` - ) - ], - queryParametersToSkip: [] -}; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("Monitor test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: MonitorClient; - let location: string; - let resourceGroup: string; - let workflowName: string; - let storageAccountName: string; - let namespaceName: string; - let authorizationRuleName: string; - let eventhubName: string; - let workspaceName: string; - let logProfileName: string; - let diagnosticName: string; - let logic_client: LogicManagementClient; - let storage_client: StorageManagementClient; - let eventhub_client: EventHubManagementClient; - let op_client: OperationalInsightsManagementClient; - let workflowsId: string; - let storageId: string; - let authorizationId: string; - let workspaceId: string; - - beforeEach(async function() { - recorder = record(this, recorderEnvSetup); - subscriptionId = env.SUBSCRIPTION_ID; - // This is an example of how the environment variables are used - const credential = new ClientSecretCredential( - env.AZURE_TENANT_ID, - env.AZURE_CLIENT_ID, - env.AZURE_CLIENT_SECRET - ); - client = new MonitorClient(credential, subscriptionId); - logic_client = new LogicManagementClient(credential,subscriptionId); - storage_client = new StorageManagementClient(credential,subscriptionId); - eventhub_client = new EventHubManagementClient(credential,subscriptionId); - op_client = new OperationalInsightsManagementClient(credential,subscriptionId); - location = "eastus"; - resourceGroup = "myjstest"; - workflowName = "myworkflowxxx"; - storageAccountName = "mystorageaccountyyy"; - namespaceName = "mynamespacexxx"; - eventhubName = "myeventhubxxx"; - workspaceName = "myworkspacexxx"; - authorizationRuleName = "myauthorizationRulexxx"; - logProfileName = "mylogProfilexxx"; - diagnosticName = "mydiagnosticxxxx"; - }); - - afterEach(async function() { - await recorder.stop(); - }); - - it("create parameters for diagnosticSettings", async function() { - //workflows.createOrUpdate - const res = await logic_client.workflows.createOrUpdate(resourceGroup,workflowName,{ - location: location, - definition: { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - } - }) - workflowsId = res.id || ""; - - //storageAccounts.beginCreateAndWait - const storageaccount = await storage_client.storageAccounts.beginCreateAndWait(resourceGroup,storageAccountName,{ - sku: { - name: "Standard_GRS", - }, - kind: "StorageV2", - location: "eastus", - encryption: { - services: { - file: { - keyType: "Account", - enabled: true, - }, - blob: { - keyType: "Account", - enabled: true, - }, - }, - keySource: "Microsoft.Storage", - }, - tags: { - key1: "value1", - key2: "value2", - } - }); - storageId = storageaccount.id || ""; - - //namespaces.beginCreateOrUpdateAndWait - const namespaces = await eventhub_client.namespaces.beginCreateOrUpdateAndWait(resourceGroup,namespaceName,{sku: { - name: "Standard", - tier: "Standard", - }, - location: location, - tags: { - tag1: "value1", - tag2: "value2", - }}) - //namespaces.createOrUpdateAuthorizationRule - const authorization = await eventhub_client.namespaces.createOrUpdateAuthorizationRule(resourceGroup,namespaceName,authorizationRuleName,{rights: [ "Listen","Send","Manage"]}); - //eventHubs.createOrUpdate - const eventhub = await eventhub_client.eventHubs.createOrUpdate(resourceGroup,namespaceName,eventhubName,{ - messageRetentionInDays: 4, - partitionCount: 4, - status: "Active", - captureDescription: { - enabled: true, - encoding: "Avro", - intervalInSeconds: 120, - sizeLimitInBytes: 10485763, - destination: { - name: "EventHubArchive.AzureBlockBlob", - storageAccountResourceId:"/subscriptions/" +subscriptionId +"/resourceGroups/" +resourceGroup +"/providers/Microsoft.Storage/storageAccounts/" + storageAccountName, - blobContainer: "container", - archiveNameFormat: "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}", - } - } - }); - authorizationId = authorization.id || ""; - - //workspaces.beginCreateOrUpdateAndWait - const workspace = await op_client.workspaces.beginCreateOrUpdateAndWait(resourceGroup,workspaceName,{ - sku: { - name: "PerNode" - }, - retentionInDays: 30, - location: location, - tags: { - tag1: "value1" - } - }) - workspaceId = workspace.id || ""; - }); - - it("diagnosticSettings create test", async function() { - if(isPlaybackMode()) { - this.skip(); - } - const res = await client.diagnosticSettings.createOrUpdate(workflowsId,diagnosticName,{ - storageAccountId: storageId, - workspaceId: workspaceId, - eventHubAuthorizationRuleId: authorizationId, - eventHubName: eventhubName, - metrics: [], - logs: [ - { - category: "WorkflowRuntime", - enabled: true, - retentionPolicy: { - enabled: false, - days: 0 - } - } - ] - }) - assert.equal(res.name,diagnosticName); - }); - - it("diagnosticSettings get test", async function() { - const res = await client.diagnosticSettings.get(workflowsId,diagnosticName); - assert.equal(res.name,diagnosticName); - }); - - it("diagnosticSettings list test", async function() { - const res = await client.diagnosticSettings.list(workflowsId); - }); - - it("diagnosticSettings delete test", async function() { - const res = await client.diagnosticSettings.delete(workflowsId,diagnosticName); - }); - - it("logProfiles create test", async function() { - if(isPlaybackMode()) { - this.skip(); - } - //delete sample logfile - const resArray = new Array(); - for await (let item of client.logProfiles.list()){ - resArray.push(item); - } - if(resArray.length >=1){ - await client.logProfiles.delete("sample-log-profile") - } - const res = await client.logProfiles.createOrUpdate(logProfileName,{ - location: "", - locations: [ - "global" - ], - categories: [ - "Write", - "Delete", - "Action" - ], - retentionPolicy: { - enabled: true, - days: 3 - }, - storageAccountId: storageId - }) - assert.equal(res.name,logProfileName); - }); - - it("logProfiles get test", async function() { - const res = await client.logProfiles.get(logProfileName); - assert.equal(res.name,logProfileName); - }); - - it("logProfiles list test", async function() { - const resArray = new Array(); - for await (let item of client.logProfiles.list()){ - resArray.push(item); - } - assert.equal(resArray.length,1); - }); - - it("delete parameters for diagnosticSettings", async function() { - const workflowDlete = await logic_client.workflows.delete(resourceGroup,workflowName); - const storageDelete = await storage_client.storageAccounts.delete(resourceGroup,storageAccountName); - const namespaceDelete = await eventhub_client.namespaces.beginDeleteAndWait(resourceGroup,namespaceName); - const workspaceDelete = await op_client.workspaces.beginDeleteAndWait(resourceGroup,workspaceName); - }); - - it("logProfiles delete test", async function() { - const res = await client.logProfiles.delete(logProfileName); - const resArray = new Array(); - for await (let item of client.logProfiles.list()){ - resArray.push(item); - } - assert.equal(resArray.length,1); //still exist sample logfile - }); -}); diff --git a/sdk/monitor/arm-monitor/test/sampleTest.ts b/sdk/monitor/arm-monitor/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/monitor/arm-monitor/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +});