diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index a31435d5352d..7bba15c81601 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -439,6 +439,21 @@ packages: - supports-color dev: false + /@azure/arm-network/26.0.0: + resolution: {integrity: sha512-Hp0Q4ZzChs8C0DUdGZOChWKMrhzZ53V0Q681puREZ9S1E6o2yWM0Vb+cYuWoyPOylwuzP2fjNjJZGtB7WuFd3w==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.3.3 + '@azure/core-lro': 2.2.2 + '@azure/core-paging': 1.2.0 + '@azure/core-rest-pipeline': 1.3.2 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + /@azure/communication-common/1.1.0: resolution: {integrity: sha512-vqTtzDtb4NG3LWoWoqlOOJApZRRIIImNUKlGyTa6c1YC+v5A7UEOL9TX8NRDxvFVUF2wDHsSnkhLBVBgkcAhIQ==} engines: {node: '>=12.0.0'} @@ -1424,6 +1439,7 @@ packages: /@opentelemetry/node/0.22.0_@opentelemetry+api@1.0.3: resolution: {integrity: sha512-+HhGbDruQ7cwejVOIYyxRa28uosnG8W95NiQZ6qE8PXXPsDSyGeftAPbtYpGit0H2f5hrVcMlwmWHeAo9xkSLA==} engines: {node: '>=8.0.0'} + deprecated: Package renamed to @opentelemetry/sdk-trace-node peerDependencies: '@opentelemetry/api': ^1.0.0 dependencies: @@ -8189,10 +8205,11 @@ packages: dev: false file:projects/arm-compute.tgz: - resolution: {integrity: sha512-zk0xILY5nmiZpZZiPD05eJEXDKOzYLSQO7j5lE9SFmtEQg7Toc5DfoXXEvpCCOx0AqmCDj9G0V9g3eXUn+d8pg==, tarball: file:projects/arm-compute.tgz} + resolution: {integrity: sha512-mUWGdvcleVg21qvvDGSiTlafijy84E4IlfMmHJ6x8yr/JdHV2b4yfcwev3Etvo2uGw8IPuVeilOtxP6iTz4Tkg==, tarball: file:projects/arm-compute.tgz} name: '@rush-temp/arm-compute' version: 0.0.0 dependencies: + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.2 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8207,6 +8224,8 @@ packages: tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.14.5 + transitivePeerDependencies: + - supports-color dev: false file:projects/arm-consumption.tgz: @@ -8416,10 +8435,11 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-cWryEMqcziFmqSkDI9ZMhEhjBmX3UEdauByCW1fFHAJ9XGHISFxr8jpJ1hKOj+c6mbp5JBD0UIU2MyceWk/OMg==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-ZMNIWom4QHGKA3dCguAK1lNPHY+ujrSpZJuVLaNZEQDLfBjqRB55k9N5AJl2+DrMHP93qy7QlEEnSxUHw1aJpw==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.2 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8434,6 +8454,8 @@ packages: tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.14.5 + transitivePeerDependencies: + - supports-color dev: false file:projects/arm-extendedlocation.tgz: @@ -8891,10 +8913,11 @@ packages: dev: false file:projects/arm-rediscache.tgz: - resolution: {integrity: sha512-aOAyRJHWE7GUOtUWaHTiFCa3SurFmsvsG3u8DDDBAGlXVxSc0OCKPfyr0RkqL8k+N2dsS1s5qVzSWPfKuaP1mA==, tarball: file:projects/arm-rediscache.tgz} + resolution: {integrity: sha512-9uCdadMEY0g5ab+7LuuNJt7c6irmn1uae0gzHyDnkXRGc0nsfFQD8w77VthvP1HzW4M4nPVSXVFAcRKOxfoSQA==, tarball: file:projects/arm-rediscache.tgz} name: '@rush-temp/arm-rediscache' version: 0.0.0 dependencies: + '@azure/arm-network': 26.0.0 '@microsoft/api-extractor': 7.19.2 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8909,6 +8932,8 @@ packages: tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.14.5 + transitivePeerDependencies: + - supports-color dev: false file:projects/arm-relay.tgz: @@ -11793,7 +11818,7 @@ packages: dev: false file:projects/perf-keyvault-secrets.tgz: - resolution: {integrity: sha512-avhQXwbltqT5pi+VKaxXD93vUueYplVEVFqdkoP/5AwtflINKPXdvV17z+T88UolGILztw0rp2eylPU+Ug+Tig==, tarball: file:projects/perf-keyvault-secrets.tgz} + resolution: {integrity: sha512-6PXCroWdlod0WXXgBFQxJqbvFl5g6rQhpzVViP+tyYi68/SczLCtrSoT3jBfWt749Z0SM3R30CsdvBeLLgwx5A==, tarball: file:projects/perf-keyvault-secrets.tgz} name: '@rush-temp/perf-keyvault-secrets' version: 0.0.0 dependencies: diff --git a/sdk/network/arm-network/CHANGELOG.md b/sdk/network/arm-network/CHANGELOG.md deleted file mode 100644 index 2f51a4fc784e..000000000000 --- a/sdk/network/arm-network/CHANGELOG.md +++ /dev/null @@ -1,21 +0,0 @@ -# Release History - -## 26.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 26.0.0 (2021-12-06) - -The package of @azure/arm-network is using our next generation design principles since version 26.0.0, which contains breaking changes. - -To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). - -To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide). - -To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/network/arm-network/_meta.json b/sdk/network/arm-network/_meta.json index ee7107f7c5e6..ae7eac8094b1 100644 --- a/sdk/network/arm-network/_meta.json +++ b/sdk/network/arm-network/_meta.json @@ -1,7 +1,7 @@ { - "commit": "3b2f85d320fac5b282bc80240f9e5c2c57753bad", + "commit": "cf0e6775f8e1276f12937f6c5b1a9f394b30f158", "readme": "specification/network/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/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.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/network/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.20211130.1" } \ No newline at end of file diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index 56e9f631f085..151d5be46e09 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -3,10 +3,8 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for NetworkManagementClient.", - "version": "26.0.1", - "engines": { - "node": ">=12.0.0" - }, + "version": "1.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", @@ -49,9 +41,7 @@ "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/network/arm-network/recordings/node/my_test/recording_ipgroups_begindeleteandwait_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_begindeleteandwait_test.js deleted file mode 100644 index e3225ab610f9..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_begindeleteandwait_test.js +++ /dev/null @@ -1,175 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "3cc9d847398277b869a7de91937d3ace"; - -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', - '35148c58-1bf3-42ce-a6dd-66d123932300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqN3ZiiyKJ1Lsy0-WEKrIBc; expires=Thu, 02-Dec-2021 06:36:09 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTgg-3YHNwUHBsTcrl2dfsbRz1jUD9xOfsDJFDtAuhs6so1Rs40XKlgBO07Rk0uU0Rlj6kLCvnreOR_VlPc8DXEyn0GYIcpbqVtzozRFZCMuRHXpBy6trfYT5f7K3MduAIbKXosgMmyZ7r90Yppmbcb2ff4LxD4c4A6FZOPWw32UgAA; 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, 02 Nov 2021 06:36:08 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', - '95165a8d-fad7-423b-8e92-c14342062300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Av0x31wOrUZOlIb8cCiBQAA; expires=Thu, 02-Dec-2021 06:36:09 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPCsLWvEr66nZH3weazOSA9Wm2-aQrOH4jcnEf1n7RJDNXPbEcCL9aGyuXdYEj9IhNtEsjyJ7SnwRYcl1EktP6Nh8Llwdktq8iNoFxrHTBXy78ODiPh8S_GEP83B6giH-4YcehDK4o7let5LTq92hcS25Eecx6f8TVgYj7esapdYgAA; 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, 02 Nov 2021 06:36:08 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.3.2&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=57547074-68d4-4235-8e75-6b94073e6586&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', - '7c341d3b-9675-4cf7-a730-8bf27e6a0100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ah2ayQbweaVIvOgK-jqZDeoWPr5BAQAAAFjTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:09 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, 02 Nov 2021 06:36:09 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups/virtualnetworkzzz') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-request-id', - 'c117ee9e-07a3-49eb-9d5c-ae6f1eeea354', - 'x-ms-correlation-request-id', - 'c117ee9e-07a3-49eb-9d5c-ae6f1eeea354', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063612Z:c117ee9e-07a3-49eb-9d5c-ae6f1eeea354', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:12 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-request-id', - 'f062c33d-7953-40b0-b708-0945f4a4cf3f', - 'x-ms-correlation-request-id', - 'f062c33d-7953-40b0-b708-0945f4a4cf3f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063612Z:f062c33d-7953-40b0-b708-0945f4a4cf3f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:12 GMT', - 'Content-Length', - '133' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_create_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_create_test.js deleted file mode 100644 index 01be9cd36257..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_create_test.js +++ /dev/null @@ -1,183 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "9b718a07f8906082e03f6e0a0f617885"; - -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', - 'e60621a1-144f-4eab-b75c-1a6dcd232000', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ArrkTBYxMOxCoBzi2GDaVm0; expires=Thu, 02-Dec-2021 06:35:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCi5YzDN4wuZgKF6VkIszk_FizxAptv3q4O4V8RWwySYaF4x3JHKtrriMV2CZpQadP11wlfdC53lGgU9u7vn7uWPgWbm7dM4o9g1H0C1ADzWk2_-AuSTYR123SgSo0utpXOi_0WP0p8t5GUml1cqhZTkIjlB5sFNlyfsNLjgvGoYgAA; 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, 02 Nov 2021 06:35: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', - 'e60621a1-144f-4eab-b75c-1a6dd0232000', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AvOtI71bOFVFiva99Bbif2Y; expires=Thu, 02-Dec-2021 06:35:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBGTui3cwGx0ofjYqa2oH7JCguxSJ2RCnXitkI2kpWXqYPGdI2PXLtciw-gVexHRom0-PUo6NsX8o6sJdNrSAmareNdBX59dLquSbqWGsJ8hG3Qm2yuFx7n9iHQqAyZaCzU1XWXdrF-aicg-I-V7ULZU2XdzxKZl2qa6VfKf18pcgAA; 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, 02 Nov 2021 06:35:49 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.3.2&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=84dd5739-1bfa-4ec3-af65-d31ac77d2d82&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', - 'ca3a62ba-c5cb-4298-8f87-a7df48162100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AitQ7uCXrtFMgZXcbhqiKJ4WPr5BAQAAAEXTEtkOAAAA; expires=Thu, 02-Dec-2021 06:35: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, 02 Nov 2021 06:35:49 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups/virtualnetworkzzz', {"location":"eastus","tags":{"key1":"value1"},"properties":{"ipAddresses":["13.64.39.16/32","40.74.146.80/31","40.74.147.32/28"]}}) - .query(true) - .reply(201, {"properties":{"firewalls":[],"firewallPolicies":[],"ipAddresses":["13.64.39.16/32","40.74.146.80/31","40.74.147.32/28"],"provisioningState":"Updating"},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups/virtualnetworkzzz","name":"virtualnetworkzzz","type":"Microsoft.Network/IpGroups","etag":"6af0296a-c9cd-4a54-a2ac-9c4cb113d269","location":"eastus","tags":{"key1":"value1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '555', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '10', - 'x-ms-request-id', - 'b50749d9-f763-4f0e-932c-e0b4727d44a5', - 'x-ms-correlation-request-id', - '8bf0eff2-3790-4e28-8a7c-8718ab23b4ae', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/nfvOperations/b50749d9-f763-4f0e-932c-e0b4727d44a5?api-version=2021-05-01', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1197', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063556Z:8bf0eff2-3790-4e28-8a7c-8718ab23b4ae', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/nfvOperations/b50749d9-f763-4f0e-932c-e0b4727d44a5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bb5ebe6a347e947afd7d3699ecff2d947bf71f24b","fe1f4f9490471d000000"], [ - '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', - '80bcd895-966b-4d59-9cc0-19b0bca40902', - 'x-ms-correlation-request-id', - 'e4753458-0434-4bc8-9873-a9f72bcd7a93', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063556Z:e4753458-0434-4bc8-9873-a9f72bcd7a93', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:56 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_get_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_get_test.js deleted file mode 100644 index dc52830b9bcb..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2053bc3f22a51933dcfd4617cdb6a95e"; - -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', - '35148c58-1bf3-42ce-a6dd-66d1d9922300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Arn6IrKHhKlDn9CtleApQv4; expires=Thu, 02-Dec-2021 06:36:00 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9dGaq4tb5UwonlQvpQxQGQI2vxQ6Jy839MS5O0vsPUBndNOeknrNmZXnL7KfBUUS6H0RkuPZsqYTgzbNS8zid5_epS4TywzCbslTzg44ezo88ghTcEI7yosquA2rOw4dUzZwfWFzF0em7Um7OqbF9zeBhRDzs0qyQj-n-aO_8p8gAA; 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, 02 Nov 2021 06:36:00 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', - '95165a8d-fad7-423b-8e92-c143ff052300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AsmoYUeHcNFBmni8dcqUeLM; expires=Thu, 02-Dec-2021 06:36:01 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYjBbKfkgNJnnAeAV55jz0xMm62pv_bf6o2kuuO1jFeAbuoGUBskfCVnn6kuBemsNJBXPFoPrkBLGhGWteNSQC6ftN3JZSrJxNCP4ngcLtkOth78t0dysg6AkQXxbHZDp1hr7kO6VoocJl-kmSDcktM5XwYGrngWMeHTgNybeXa4gAA; 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, 02 Nov 2021 06:36:00 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.3.2&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=5adc15df-9ae9-4f04-9351-da70ad4f240d&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', - 'e60621a1-144f-4eab-b75c-1a6d42242000', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AshSZI9bOvVBvNbuqddnkb4WPr5BAQAAAFDTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:01 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, 02 Nov 2021 06:36:01 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups/virtualnetworkzzz') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947abba5ae5755be4cd478f52fe883e3c2feafc2a2b4b7cf6bdef8f3a9fbeacca622a2fb82f8bd5f16c56e74d239fcba7f4f9eebdf1a7fbe37b0fc7bb9fdebdb7f79136a72ff677c60ff6c7bbfb9f8e0f76eededb8d7cf3607c6fefeedec147f285ed8930be2c9aa25a16cb8bd76dd6e6d4df47afd7d3699ecff219b7fe25dcf6a36286afee36eb4933ad8b554bef34771fee9d3fbc3f3b38dfbe37fdf4c1f6feeedefef6c3dde983ed83e9f9ce83e96c72beb7bf7b970652adeb69fe795dad57cdddc5f54f376ddeb477b9ef595e3777bf28a675d554e7edf845de5e55f5dbbbc54a5b5f1675bbcecaa57cfe831ffc40c6f6d1325b30ae43dfb7d72bfebe0ffa4c416bc3bccd2ed0f0d3ec7c67efe1a7d9f6f4e174b6bd9fdddfdfcef6b2e9f6c3e9fe74b2bb7b6fb6f7e9437da5aca619c68fd7f2ac69d7061681c28499997f9b5fefd29f1f5d66e53adf1562fec6c92f","f97f006dc0ea5f2c020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'ETag', - '"6af0296a-c9cd-4a54-a2ac-9c4cb113d269"', - 'Vary', - 'Accept-Encoding', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-request-id', - '48081207-cb78-4bbe-a52b-59e21f0f4a20', - 'x-ms-correlation-request-id', - '48081207-cb78-4bbe-a52b-59e21f0f4a20', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063601Z:48081207-cb78-4bbe-a52b-59e21f0f4a20', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:01 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_list_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_list_test.js deleted file mode 100644 index 4cee0860ad4c..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_ipgroups_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f2e12d49d61c8131b50ed5a2fbea5d9e"; - -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', - '35148c58-1bf3-42ce-a6dd-66d1f5922300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AiUxYUtoVDZAqtIbmShqSwk; expires=Thu, 02-Dec-2021 06:36:04 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGS9zZxf9aK8mayCSShZJWuz9e9NWZbl5EEQxRMH5PnbRi4kIW6TF5HURiae1uHFpxCyr1gJQfg9PLhT3F36sFg1g6nN3Qu1Lif-jIZ3-Xl-3hNT_Jjiw1CRwGObnCyUOnVJ1_UeT6dsHjdiXkutfgFN8SjJ3lgE4w9RW5kjmYhYgAA; 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, 02 Nov 2021 06:36:03 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', - '95165a8d-fad7-423b-8e92-c1431c062300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ApHXqfz38QhDhdGcyMOVcLg; expires=Thu, 02-Dec-2021 06:36:04 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbNhok7tRMT9854Tg8jOj8ABrnZsnU4ALxVHbtHRW3anPmIBCkj6Jp5xu8fRLQrB6OyWzBJojZgCP_nzwxYIISCwDpEDxgkbkQQ-KBH-8GoSaJ5Q5l0XT4LVJdPpuv4FM_C1_F3KCiRMTJPRq98_SJrd4_GenRUxxfrazVvt_YtsgAA; 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, 02 Nov 2021 06:36:03 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.3.2&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=44022ae4-aba1-493e-9b20-520b5ab00251&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', - '95165a8d-fad7-423b-8e92-c14320062300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AsxJDfF6ZIFEg14B7MiZ8DIWPr5BAQAAAFTTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:04 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, 02 Nov 2021 06:36:04 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/ipGroups') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9479759b9ce3f7a947e0f7fa5297f88e7a3555dadf2ba2df286beb51fd317e7459d5f656589cfbff7fd51e49b9755594ce5c5b041b13a9ecdeabc69e43bf70d7db77b6ffce9fef8dec3f1eea777efed7de4bd465feeef8c1fec8f77f73f1d1fecdcbdb73bf0ed83f1bdbdbb7b071fb92f83de694497455354cb6279f1bacd5a0cfba3d7ebe934cf67f9ccbef54bec3b1f153334b9dbac27cdb42e562dbddbdc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeee5d1a64b5aea7f9e775b55e357717d73fddb479d3de651c6679dddcfda298d655539db7e317797b55d56fef162b6d7d59d4ed3a2b97f2f90f7ef00337de8f96d982f1ded4a6bd5e719b7e1767da85d7386fb30b34fe343bdfd97bf869b63d7d389d6def67f7f7b7b3bd6cbafd70ba3f9deceede9bed7dfad07badaca619e88157f3ac69d73e4c028909f6b9e66d7ebd4b1f09bfed3a62cb2ffce3fbbf71f24b","fe1f1bb05f1295020000"], [ - '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', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-request-id', - 'd23eb292-fb52-4725-9af6-221d67f9a2f8', - 'x-ms-correlation-request-id', - 'd23eb292-fb52-4725-9af6-221d67f9a2f8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063604Z:d23eb292-fb52-4725-9af6-221d67f9a2f8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:04 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_begindeleteandwait_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_subnets_begindeleteandwait_test.js deleted file mode 100644 index 45b5194daa44..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_begindeleteandwait_test.js +++ /dev/null @@ -1,231 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "c2778b21157e6285493206b84b637ba3"; - -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', - 'ca3a62ba-c5cb-4298-8f87-a7df1d172100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Auk-Kg0fQ8lLlhJLKmJt7uM; expires=Thu, 02-Dec-2021 06:36:13 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr3c_p61zCvFOxeyl4OZsnDdqKtuoHjYdA1NL3Vu2pZqKUlsOd32hKxHc_b4MMg3mLxknB4wgitWhzY2Ved81jn-0SPRyYASW3xs3z6uDDY6Cn7cQiiCAcXRHxzq3-Et3P-MfoD5cq-6_BZltzgCRD-ijo_uF361gYkjlrzZ9KDiQgAA; 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, 02 Nov 2021 06:36:12 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', - '16e703d7-6fbf-4e85-84ae-5ef089102000', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Av5OAvf70pNCijT590tFuB8; expires=Thu, 02-Dec-2021 06:36:13 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKmMhs_Qrha6kG9-kaM-XpVw9ExfOzJmEuOrILk4OiLMTAb2NPDIFJCaIek7lqjTdryIXyLCK0oHM_8UVCokVCFPSbUXIT07ufy-DNIWrFqPPRwbOCipiSVRwWW31hMAjHLCTpstGjwwlTfcgRKmBlEtJOekVsleJdcVyVaQ-yVIgAA; 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, 02 Nov 2021 06:36:13 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.3.2&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=24f32ff4-5e53-4657-9ba8-8a05453aa5e8&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', - 'ca3a62ba-c5cb-4298-8f87-a7df20172100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AqhO1Ua3RbxPugUV0le8Bm4WPr5BAQAAAF3TEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:13 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, 02 Nov 2021 06:36:13 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets/subnetzzz') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/a2332068-7b56-4894-bd61-dcbb819dab5e?api-version=2021-05-01', - 'Retry-After', - '10', - 'x-ms-request-id', - 'a2332068-7b56-4894-bd61-dcbb819dab5e', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/a2332068-7b56-4894-bd61-dcbb819dab5e?api-version=2021-05-01', - 'x-ms-correlation-request-id', - '29eec3f1-8613-4726-a923-e7afc93baa8e', - 'x-ms-arm-service-request-id', - 'c540a755-b7f4-4b58-9b51-7684f6792235', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063614Z:29eec3f1-8613-4726-a923-e7afc93baa8e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/a2332068-7b56-4894-bd61-dcbb819dab5e') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bb5ebe6a347e947afd7d3699ecff2d947bf71f24b","fe1f4f9490471d000000"], [ - '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', - 'cec10c92-8adc-4142-8611-c22128aa5fd1', - 'x-ms-correlation-request-id', - '6152e9cf-945a-409e-9c53-d537445736c3', - 'x-ms-arm-service-request-id', - '55f900ec-907f-48a6-b637-c295c3c6cf9b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063614Z:6152e9cf-945a-409e-9c53-d537445736c3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9479759b9ce3f7a947eeffbbf71f24b","fe1f5bd2319513000000"], [ - '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', - '1aa553e4-271c-4673-a26a-ff215fdebbd7', - 'x-ms-correlation-request-id', - '4fdf2192-3a5f-4169-a65d-e759eb624310', - 'x-ms-arm-service-request-id', - '58e84815-751d-4347-b8d7-1e91eeac71a1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063614Z:4fdf2192-3a5f-4169-a65d-e759eb624310', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:14 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_create_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_subnets_create_test.js deleted file mode 100644 index e450b8494a9b..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_create_test.js +++ /dev/null @@ -1,191 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "5fdd6ace173d180542e99b73a8988085"; - -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', - '7c341d3b-9675-4cf7-a730-8bf2a7690100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AkrXHbrx9p1CigjxnDmathY; expires=Thu, 02-Dec-2021 06:35:45 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHezRh5qkPUwJtNxbZVH-hRa81HytcO_XB8FKA2EysPbX4FOI2wismik-jPBxG1-HpuSWVfbGFWyuAOGgRWZ9aZqfpS6b1bfsuzb0i5DokxUN37DsKTBADwMkymklChWkd5l5sJjajuV8bWdEhAlPkZZ3kMHpN2hhirm-56LNg5MgAA; 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, 02 Nov 2021 06:35: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', - 'ca3a62ba-c5cb-4298-8f87-a7df1c162100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Arow_NgdcXNOhQuIqtRFoEo; expires=Thu, 02-Dec-2021 06:35:45 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrR-X4QCwloSj-l7lX4e9sqB80vlpNaImPzwUp8B_Ck0TPz17D3FhhSwTnxsDE2hJuh0bFeEJ9z9zCZvAXSdznQEpsP-HKKPXQkkaQnr30ySN3ToYRDGDhPlniSqcYa-GnYY9lYZyfbOKP1As1iw3zzKzEjZL90IfjR2c7pV2szwUgAA; 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, 02 Nov 2021 06:35:45 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.3.2&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=b34adb14-27a1-4c36-849f-65ca8178a192&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', - 'e1d52355-3b41-4b32-9463-4c3fdd441e00', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AoLjlGaanxVInI7P5Z0g5nsWPr5BAQAAAEHTEtkOAAAA; expires=Thu, 02-Dec-2021 06:35:45 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, 02 Nov 2021 06:35:45 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets/subnetzzz', {"properties":{"addressPrefix":"10.0.0.0/24"}}) - .query(true) - .reply(201, {"name":"subnetzzz","id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets/subnetzzz","etag":"W/\"4356ed8d-b5b9-4d62-9f32-47b6e838ebd5\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","delegations":[],"privateEndpointNetworkPolicies":"Enabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '534', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '3', - 'x-ms-request-id', - 'e6d3890f-57bb-4edf-877c-a627aa039681', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e6d3890f-57bb-4edf-877c-a627aa039681?api-version=2021-05-01', - 'x-ms-correlation-request-id', - 'b2f9ff41-5c14-4975-8f5e-49448876d0b8', - 'x-ms-arm-service-request-id', - 'b87c55e0-0b7d-4314-bea7-a2da3ca0daf3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1198', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063546Z:b2f9ff41-5c14-4975-8f5e-49448876d0b8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e6d3890f-57bb-4edf-877c-a627aa039681') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bb5ebe6a347e947afd7d3699ecff2d947bf71f24b","fe1f4f9490471d000000"], [ - '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', - 'e5217c36-085b-4200-a347-942debf01763', - 'x-ms-correlation-request-id', - '8d0a007a-4747-40b0-9917-46670442c231', - 'x-ms-arm-service-request-id', - '1f2fe8be-8623-4bdb-963b-882e50d5fa9e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063546Z:8d0a007a-4747-40b0-9917-46670442c231', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:46 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_get_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_subnets_get_test.js deleted file mode 100644 index 41137c453fe0..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_get_test.js +++ /dev/null @@ -1,153 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f047f82e2b356c332fae49a5b68dee05"; - -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', - 'e1d52355-3b41-4b32-9463-4c3f42451e00', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AjLCnoH6jx5MrvB2SCXnCXA; expires=Thu, 02-Dec-2021 06:35:59 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVnJuDGt2wVSLi3heRQz8pUvKVwuctwEdQl0z2jwZKn1C0qRqiFwFpX1aQXCqYkHaFUkIFHufIXlJwwx5S_iDNAOuYExkQSzQpyLtSeGcqfGGZywLJ8yr2MnXKRhoCFmhtP6-DyoAZJ0ScWu6baMxgKlU_J7yoaQ5g2kTtxPdHKMgAA; 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, 02 Nov 2021 06:35:59 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', - '95165a8d-fad7-423b-8e92-c143f3052300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AnIGm_08DWNKoxk0Prz3HRg; expires=Thu, 02-Dec-2021 06:36:00 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-6bxtTjxks8VBhTd9OlX7r3ca1NF5GNQk9ErwS8-WMRaCjKh9sr5v72jAvRezcD4g_eOm1Lhl0CDwjYPu4pUsZGpMnDd1b6oEvLWz21f11IEaiJ4UfugsXdxCkPG07n4IfqEXP8HWziFAKXywOwFiwTUGWC5nU2H4npPGb4bBjMgAA; 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, 02 Nov 2021 06:35:59 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.3.2&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=8492d3f2-952d-4740-a209-ccbc405738ca&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', - '35148c58-1bf3-42ce-a6dd-66d1d5922300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AlJ6J9VDEw1CkznssX9EWUwWPr5BAQAAAE_TEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:00 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, 02 Nov 2021 06:36:00 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets/subnetzzz') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fda8594f9679fb831ffce0a3117f5eccf0e95dfab899d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e317797b55d56fef5e1675bbce4afdb3317f1346f89bb0ba4b88d05f8dfea44f14cfbccd2e80e977effebe1f3d98cc1ee4b3f3ddedd9a793f3edfd839d7bdbd9c37cba7d6f676f3acdf7f67677ce777edf8ff445426795d76d9137f43ad3423ebc2c1a1a6bb1bc78dd662d93e6f59adece67f94cdea466d96c46a36c5ed6f979f10e4d7677c6fcdfddbd7ddb689697f945c684a326dffbbef97c55179704f974395b55c5b2d531bfacca622ac87c74bacc26a5d79dbef1bc58be7d9dd797c534dff012def925fce647edf58a077033bd85aa0dbdfc4b","fe1fd69f2a2817020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'ETag', - 'W/"7bd7edf1-d6bf-4803-a9ec-302cce2210f0"', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'f7fb4071-fac5-4642-bfd1-378b2e906291', - 'x-ms-correlation-request-id', - '1eed1f9c-5363-42aa-84dd-d32ccc1872d5', - 'x-ms-arm-service-request-id', - '21e53d0c-6fb4-41d6-b185-e87e7c700588', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063600Z:1eed1f9c-5363-42aa-84dd-d32ccc1872d5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:00 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_list_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_subnets_list_test.js deleted file mode 100644 index 46bb715ed0fb..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_subnets_list_test.js +++ /dev/null @@ -1,151 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "4195050580ae5446c247f2f52b7c0452"; - -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', - '9b6453e2-2646-4a34-ae4f-538306bb1f00', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Atx8BinT9IxItLfi9hTkk24; expires=Thu, 02-Dec-2021 06:36:02 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFrnbhyCyYCeLWrBma2c7xJowbVlCyt9D0MdN7mc6HIv46GX9Toa8UeXHju1rwJUopD8z8HXeyik9bNVyI66neX2Z5qT0Q2tCKwPoqCmbFmasxkaXPn9RaFe9PjHqzAGIKehdso0w3gPzInYHwjWUoKQzL2Q5aGhjSAsb0uLbCRIgAA; 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, 02 Nov 2021 06:36:02 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', - '7c341d3b-9675-4cf7-a730-8bf2486a0100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvcRhTgr8-hMsuYdhlCs4WY; expires=Thu, 02-Dec-2021 06:36:03 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruVDc7QNEozhyFhEGpI49OypSFYG4pdybqi-gjj75zDXr7L7a0R82iRswmG-O7Fi5P6PxHvbK3rTVB9Z5mrZXvfWwKDyd_rdJ6mZEvediLAlkQhFw161ZH-egwDlxGDAC7a5C3vRnn60RVHhCr7M4ZPA7obR54YGLO3mtINs5sLogAA; 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, 02 Nov 2021 06:36:03 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.3.2&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=8ca944b3-c292-4f28-ab54-1e237c20237c&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', - 'e1d52355-3b41-4b32-9463-4c3f5c451e00', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Agmrhljq4RdJkRqlOPzxrqoWPr5BAQAAAFLTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:03 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, 02 Nov 2021 06:36:03 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz/subnets') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9479759b9ce3f7a947e0f7fa5297f88e7a365b6c0e71f35ebc9326f7ff0831f7c34b2df15337c7397be6aa675b16a8b6ad9dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd3a6faa753dcd3fafabf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf845de5e55f5dbbb9745ddaeb352ff6cccdf8415fe26ccee1222f457a33fe9130fd7bccd2e80ed77effebe1f3d98cc1ee4b3f3ddedd9a793f3edfd839d7bdbd9c37cba7d6f676f3acdf7f67677ce777edf8fbc9709ad555eb745de10084b1bf9e2b26868dcc5f2e2759bb54caad76b8292cff29983404db3d98c46ddbcacf3f3e21d9aedee8cf9bfbb7bfb41c3595ee6171913939a7deffbfe77abbab8a45e4e97b355552c5ba5c5cbaa2ca682dc47a7cb6c5276bad6b79e17cbb7aff3fab298e61b5e34effd120be1a3f67ac503bb794e84f28d02f925f8f1fddf38f925","ff0f704086e964020000"], [ - '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', - '1e493aa1-e07f-4976-8839-daf7d7f9dcba', - 'x-ms-correlation-request-id', - 'ad278eff-dfb0-4f1d-a2fe-fc048511f9c5', - 'x-ms-arm-service-request-id', - 'f980a0d8-22aa-4f36-9073-4b85da6ba619', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063603Z:ad278eff-dfb0-4f1d-a2fe-fc048511f9c5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:03 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_begindeleteandwait_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_begindeleteandwait_test.js deleted file mode 100644 index 545702740abc..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_begindeleteandwait_test.js +++ /dev/null @@ -1,233 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "0ecea02079d60847709292b01fcdf095"; - -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', - '4212c40b-2185-4860-9f88-847504392200', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvjfZg4TiepModQCMPRy1uw; expires=Thu, 02-Dec-2021 06:36:15 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrN-J2x_xnPBfkfPY5Vt1rjnN9xTvBcFaoCMprF-F6queFqdq0pBAhDhT9BZUi8eMs7pJAVGf9XKKwatslS3aObrasSbMXKhyJGd4pmdtJrd3rymae-6ZI7MUyuqrB98UBqU5q2IqDYFqK5EJvOZSB7EMCL1vDY4s8fm9h2M3IYv4gAA; 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, 02 Nov 2021 06:36:14 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', - 'da72c021-5610-4913-b51e-bdcf2d3c2000', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Aieeq-y1oY9Lnxq2TL8ivaU; expires=Thu, 02-Dec-2021 06:36:15 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzFUiwWMKDMp3MekOPGuPtN3ZMw5ammiqhoAr9YTGx5upLM9DkUFvVhjiWZG9ms7oBNPGresuSNLJhkdJuYt6QMtTBbbKw_tNufUt52BpN1TI6prP_DDe8qpdk2WiajI_jzcOCc3iHudiKYelPdeI2gevSCvdUSD1-2Wye12zDWogAA; 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, 02 Nov 2021 06:36:14 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.3.2&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=5f452d2f-ea69-4767-81ca-0b1922469786&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', - 'da72c021-5610-4913-b51e-bdcf303c2000', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Av2SHG4U6T1HogXwTr3pzgwWPr5BAQAAAF_TEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:15 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, 02 Nov 2021 06:36:15 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/1e7d15a3-34e3-4c5c-9ae5-0ce8cb748611?api-version=2021-05-01', - 'Retry-After', - '10', - 'x-ms-request-id', - '1e7d15a3-34e3-4c5c-9ae5-0ce8cb748611', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/1e7d15a3-34e3-4c5c-9ae5-0ce8cb748611?api-version=2021-05-01', - 'x-ms-correlation-request-id', - '2598bb0d-c95c-4ab2-bdde-7998735c8d8f', - 'Azure-AsyncNotification', - 'Enabled', - 'x-ms-arm-service-request-id', - '83d9c9c2-ad5f-43d0-b666-081e4dc8f2bf', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14997', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063616Z:2598bb0d-c95c-4ab2-bdde-7998735c8d8f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/1e7d15a3-34e3-4c5c-9ae5-0ce8cb748611') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bb5ebe6a347e947afd7d3699ecff2d947bf71f24b","fe1f4f9490471d000000"], [ - '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', - 'fe1e8862-2705-4356-af18-8ead479fba63', - 'x-ms-correlation-request-id', - '17e2a534-4843-419f-8e81-8308f6567a70', - 'x-ms-arm-service-request-id', - 'a6f4bbec-9cfe-4b4e-8df6-7726f40a4ca5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063616Z:17e2a534-4843-419f-8e81-8308f6567a70', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9479759b9ce3f7a947eeffbbf71f24b","fe1f5bd2319513000000"], [ - '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', - 'ad0dbf32-0196-4ea3-b1a0-1683e4d7fa81', - 'x-ms-correlation-request-id', - '4f31d3cd-856f-464d-b999-3767e74bdd48', - 'x-ms-arm-service-request-id', - 'ad5b8cf8-4767-4b52-aa78-11b20fce1c9e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063617Z:4f31d3cd-856f-464d-b999-3767e74bdd48', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:16 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_create_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_create_test.js deleted file mode 100644 index ca5625dcaa47..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_create_test.js +++ /dev/null @@ -1,193 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "44bbd95c5d9a09c384087f37da822530"; - -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', - '4212c40b-2185-4860-9f88-8475cd372200', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AjXVmfRZfEdGsMgcqLqFREg; expires=Thu, 02-Dec-2021 06:35:34 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5wjJrZy1Emn9UC07bWZhG3ODaJYzmIEinE3iJkQXa4ayzPNYgKsIkd7pjf5tuSLV1CpFMoor3e8FafDFrBI5lrPitGoCS8Zs82FveMnTpoojZthBsGNBNfqsUIPzlqb7kEq-mI4LK0FKzJuV8Y7oScm_UutV-wVBrawDDt45AjsgAA; 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, 02 Nov 2021 06:35:34 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', - '95165a8d-fad7-423b-8e92-c143f8042300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqwRBqEmXZxDp4l_iPo0E1k; expires=Thu, 02-Dec-2021 06:35:34 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPbF7UEq-WWAs0cw6TJtcd4VZNYZmm8oKRYvM4g6VTdLl5O6Ep0VCvzzvooqVxTJCs0CqCl07WxgHfqtCSUa32QivoO3HAuqrHcthNCCbnarPfeW2u-aydLQmthuOk1t2g_w2kglehiiNgAgpZYAzLGGhb08SE7n3YDrPiWVz4xggAA; 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, 02 Nov 2021 06:35:34 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.3.2&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=8a45e13a-3f19-472e-a5d5-06aad62f8fb2&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', - '95165a8d-fad7-423b-8e92-c143fb042300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AvqUIuWBHoFGpeXF6HMLsHwWPr5BAQAAADbTEtkOAAAA; expires=Thu, 02-Dec-2021 06:35:35 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, 02 Nov 2021 06:35:34 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz', {"location":"eastus","properties":{"addressSpace":{"addressPrefixes":["10.0.0.0/16"]}}}) - .query(true) - .reply(201, {"name":"virtualnetworkzzz","id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz","etag":"W/\"b8700557-38d2-4aa4-8e9e-cbf41fc49ca1\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Updating","resourceGuid":"a5e127fb-797a-4663-a104-5af1cf8ff99d","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '620', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '3', - 'x-ms-request-id', - 'bc604646-7598-4a42-a26a-38d07cab72cc', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/bc604646-7598-4a42-a26a-38d07cab72cc?api-version=2021-05-01', - 'x-ms-correlation-request-id', - '5c660e40-c9aa-4249-b1b7-a090d41e07ed', - 'Azure-AsyncNotification', - 'Enabled', - 'x-ms-arm-service-request-id', - '38c446e9-a6aa-4574-96a5-ea6b6289c820', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063542Z:5c660e40-c9aa-4249-b1b7-a090d41e07ed', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/bc604646-7598-4a42-a26a-38d07cab72cc') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bb5ebe6a347e947afd7d3699ecff2d947bf71f24b","fe1f4f9490471d000000"], [ - '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', - 'dc7d21cc-4110-4235-84ec-0e16fe0b0c7f', - 'x-ms-correlation-request-id', - 'f6dc4404-b0a0-43ec-af85-3530cf48155a', - 'x-ms-arm-service-request-id', - 'e3f72423-9c8c-4419-a9af-f434823e26b5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063543Z:f6dc4404-b0a0-43ec-af85-3530cf48155a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:42 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_get_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_get_test.js deleted file mode 100644 index 21420fe46968..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_get_test.js +++ /dev/null @@ -1,153 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "c949a802b1ef34ee1123cf022964eeee"; - -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', - 'e1d52355-3b41-4b32-9463-4c3f39451e00', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AkkjX3wDs81PoFxl3XdFE5I; expires=Thu, 02-Dec-2021 06:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFJRNILoWkERLWMHRCvPZtvuz7vRb3L32hP45n7I73v8N1flhnCFMdY2e9R277a6Mu1HsbtnGsvbqHr5EE-mIu9-mBSdZ8VUv2S0oGRrBOtp2_Hb6RW2bPuZuAvzdkDkpJkv3ZQsq7JwOptAv1RnBHoFTvw0gPBTlBTtqjBpXzI8gAA; 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, 02 Nov 2021 06:35: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', - 'da72c021-5610-4913-b51e-bdcf9c3b2000', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Amneho2sPyVOuAu8nbG-ieI; expires=Thu, 02-Dec-2021 06:35:59 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryZ9Ww0NZyxlGziJBomBB4AnJggBgP4cCN-Pvj0JuO2S93jBxZbsxv1LQVvqoSeskIoAWR_uuYH-bto6U5pHvDsCdFtEOgPX0Q4ewitKn83JiGbqlJpyRB9gbLy8m3HHvwoFEYorolbrCFh_lhNpNasxelLPFkjONPfp0ya-LKiQgAA; 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, 02 Nov 2021 06:35: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.3.2&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=5449f48c-1a68-4eb9-8fb4-102183ee61c1&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', - 'da72c021-5610-4913-b51e-bdcfa13b2000', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Av6OjOHG0IdJnZiJwDEshNYWPr5BAQAAAE7TEtkOAAAA; expires=Thu, 02-Dec-2021 06:35:59 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, 02 Nov 2021 06:35:59 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fde8b2a8db75562ef3f6aaaadffee0073ff868c4df17337c7bb7594f9a695dacdaa25a36771fee9d3fbc3f3b38dfbe37fdf4c1f6feeedefef6c3dde983ed83e9f9ce83e96c72beb7bf7bb7ce9b6a5d4ff3cfeb6abd6aee2eae7fba69f3a6bdbbaaabcb6296d7cddd2f8a695d35d5793b7e21ddde552cf4cfc6fcddc32a6fb30be0f5ddbbbfef470f26b307f9ec7c777bf6e9e47c7bff60e7de76f6309f6edfdbd99b4ef3bdbddd9df39ddff7237db1bd5ef1706fec5adb97d534c398f14e9e35edda7c41a358e5755be40d7dc5a4940f2f8b869a17cb8bd76dd67257afd784463ecb67f22635b394590b75b3fbf9eede83f3c9f683870fb2edfd4f3fa511eceeec6fdfcfce77a7e707e7e70f1fba97b3d98cde6f5eafb229c06bd7ee8b97757e5ebc63b4be67bea36f7777c6fcdfdddd4f3f321f7f5f7ef92506344d32513a78d382a7af0dab48333b19f2fcbf8d51ee1222f457a33fe99300dbafcb40f260a27bb32f0fbeba050fc813ce191ada69dadbef349de5657ec1bc883ebff7fdf0db555d5c525fa7cbd9aa2a96add2e56555165341f2a3d36536297b08e87bcf8be5dbd7797d594cf30dafba370dcbe0b9bd4ce95c3416d02f915fcc588c12d2f62ff3bc262202053bdc8f72c6e5e9ac22a2556d3e0541a8c1795636399a10c8","5ff2ff0058f53310da040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'ETag', - 'W/"7bd7edf1-d6bf-4803-a9ec-302cce2210f0"', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '04107583-e2cf-45b8-832a-417431c8cefc', - 'x-ms-correlation-request-id', - '6a598cdc-602d-4f8e-8eff-efa24985c933', - 'x-ms-arm-service-request-id', - 'a36dc09f-58d4-4f93-aa4f-476d89b7efb1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063559Z:6a598cdc-602d-4f8e-8eff-efa24985c933', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:35:59 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_list_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_list_test.js deleted file mode 100644 index ae16cf4fc7e5..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_list_test.js +++ /dev/null @@ -1,151 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "0f6f7355e76b4c0bd98f21a6e15d7fb5"; - -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', - '35148c58-1bf3-42ce-a6dd-66d1e4922300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Ai2dsgrHOrRKsHvQjo9VAQY; expires=Thu, 02-Dec-2021 06:36:01 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJutMDWogU3YzfocxmqB01hWFaQLLzAMMJeex04q__689zD0zuWh9eyhMMi4aSxu9ensMb9DoL5x405q3YFuztw2FFDIdAdFEgwGyzBa-7XFsale0i4kFtXviAqLS5lFA32wLh-bAPAaN14ze5wl6VShGTrn-gm3dxLzaDdDqK-AgAA; 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, 02 Nov 2021 06:36:01 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', - 'e1d52355-3b41-4b32-9463-4c3f50451e00', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AjAc10HYaSBJvXHPZxy38IE; expires=Thu, 02-Dec-2021 06:36:02 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevravqQbv-g1UBwsxLeps5CQYZwztBOu6GpVKFtoPU2lY46ynOIspX6KnNkC6rTD-Gcfx13f5YFB_xwJiqnk1-ZFFFTwf6k6eZpWSj8QwkvwPRWSmuipu2C_x2gc-En_zNhJDnoW_XtBIXHPNZ8Fbjm5ZoQ9dGmNM34ljWmH5U7ZxwgAA; 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, 02 Nov 2021 06:36:01 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.3.2&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=0de0ac92-8900-4fde-aad5-f5b8c0b57eed&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', - 'e60621a1-144f-4eab-b75c-1a6d4e242000', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Av_lYSYM0apFi4-H_je5MnMWPr5BAQAAAFHTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:02 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, 02 Nov 2021 06:36:02 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9479759b9ce3f7a947e0f7fa5297f88e7a365b6c0e71f5d1675bbceca65de5e55f5db1ffce0071f8d6c9b628616779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e317d2f55dc544ff6cccdf51ccf236bb006edfbdfbfb7ef460327b90cfce77b7679f4eceb7f70f76ee6d670ff3e9f6bd9dbde934dfdbdbdd39dff97d3ff25e6eaf573cf41b51f0de29ab6986f1e3bd3c6bdab5ff258d6a95d76d9137f4b525b17c715934f45ab1bc78dd662d77fb7a4d68e5b37ce62050534bb1b5503dbb9fefee3d389f6c3f78f820dbdefff4531ad5eecefef6fdec7c777a7e707efef06108209bcd0846f37a954dd18d8786fbf2659d9f17ef184d6508f37cb4bb33e6ffeeee7efa91ffd5f7dd1fbfc4ef8e988266a60729e8969a193693e6c124caf3ff3626bb4b88d05f8dfea44f7a187f08f3c903c688728c3cf8fa967c234f38bf686ca7736f3fd27c9697f905f333faffdef7fb2d56757149fd9e2e67abaa58b64aaf9755594c05e98f4e97d9a48c22a3ef3e2f966f5fe7f56531cd37bc1ebeedb3189edbcbaace571300fc25ee0f7f8c46e9e9bb2ff3bc264203ad80141fe58ce3d3594584adda7c0a8251a3f3ac6c72d34cbbe01f242b","bfe4ff012e22adba77050000"], [ - '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', - '5c355ad3-971f-4b4f-930a-01244b4f47e2', - 'x-ms-correlation-request-id', - 'fbdc3520-98dd-4853-8bb2-e3a0b089219e', - 'x-ms-arm-service-request-id', - 'e8481b80-d031-453c-b772-6767d7e8d758', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063602Z:fbdc3520-98dd-4853-8bb2-e3a0b089219e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:02 GMT' -]); diff --git a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_updatetags_test.js b/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_updatetags_test.js deleted file mode 100644 index d7e35d4d356d..000000000000 --- a/sdk/network/arm-network/recordings/node/my_test/recording_virtualnetworks_updatetags_test.js +++ /dev/null @@ -1,153 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "ccda8012da16b9a68cf6918badd27dea"; - -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', - '9b6453e2-2646-4a34-ae4f-538318bb1f00', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqIZp66gOLhJqawE9eBZ_bI; expires=Thu, 02-Dec-2021 06:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1PWe_6YsDG1HBwY0nfTPxkr1r9MvbG5HBn6B9M-K71d6E0BWjXoFDyBlw11eaBmWsa-11lg0SEXkXMIRuMdRfSA0ivH9XtC29KiicIBnAytbGmWpeDNw73MPZPkXcKTSD5TyGbu0ztVH-y-en1UGqLUiyd-Ln8Z8Cz-tSTve1lEgAA; 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, 02 Nov 2021 06:36:04 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', - 'c0265dfa-9ba1-4056-88f9-b49371ad2100', - 'x-ms-ests-server', - '2.1.12171.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AiCkOHiz2wtJhtmyhXezMlw; expires=Thu, 02-Dec-2021 06:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLA4yoiIdx9tGK1TZP67RFh1klCxUYh17lrbwW0QbjXmghldTRxjlfCjSMM1C_emVQ24dx6o_1f8aAckn6JCn-0AwEGoMr-PJ_QAa2VtZNzFnO3tXUypLd0Ch3zWgZ8gywm37yxw9Ff2dsbG7FBtwTJvJujpJYku62x53U0Cs8P8gAA; 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, 02 Nov 2021 06:36:05 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.3.2&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=88a65814-dfd7-4203-8af2-6fa38a1818af&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', - '95165a8d-fad7-423b-8e92-c14329062300', - 'x-ms-ests-server', - '2.1.12171.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AhpidNzZZqFBgj4hQHEqReMWPr5BAQAAAFXTEtkOAAAA; expires=Thu, 02-Dec-2021 06:36:05 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, 02 Nov 2021 06:36:05 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkzzz', {"tags":{"tag1":"value1","tag2":"value2"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fde8b2a8db75562ef3f6aaaadffee0073ff868c4df17337c7bb7594f9a695dacdaa25a36771fee9d3fbc3f3b38dfbe37fdf4c1f6feeedefef6c3dde983ed83e9f9ce83e96c72beb7bf7bb7ce9b6a5d4ff3cfeb6abd6aee2eae7fba69f3a6bdbbaaabcb6296d7cddd2f8a695d35d5793b7e21ddde552cf4cfc6fcddc32a6fb30be0f5ddbbbfef47e7bbd3fdc9fef47c7b6f3f236426bbbbdbd9fe83d9767630399f66070f67e7f9bddff7237db1bd5ef1706fec5adb97d534c398f14e9e35edda7c410834f4211351fedca53f3fbaccca75be2b6de4e33dfbf1de47f8f497f0771f11155679dd16b90f853ebc2c1aeaae585ebc6eb396517dbd9e4ef37c96cf2c544bd9b5cc4e763fdfdd7b703ed97ef0f041b6bdffe9a7f7b6b3dd9dfdedfb19d1e6fce0fcfce143f772369bd1fbcdeb55360578edda7df1b2cecf8b778cd6f7cc77f4edeece98ffbbbbfb290f03cff7e5171911b52126a1990adeb4e0e96bc36ad2cc4ea63cff6f63b4bb8408fdd5e84ffa24c0f6eb32a03c98e8deeccb83af6ec103f284738686769af6f63b4d6779995f302fa3cfef7d3ffc76551797d4d7e972b6aa8a65ab74795995c55490fce874994dca1e02fadef362f9f6755e5f16d37cc3abee4dc332786e2f933a178d05f44be4173316a3c4b4fdcb3caf898840c10ef7a39c71793aab8868559b4f41106a709e954d8e2604f297","fc3fb033fba01a050000"], [ - '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', - '29db0728-2037-46a9-a492-3e7cfe64aa72', - 'x-ms-correlation-request-id', - '7da76628-efe7-4161-bb4b-04266e9b5894', - 'Azure-AsyncNotification', - 'Enabled', - 'x-ms-arm-service-request-id', - 'ea730502-c1ce-45e2-a3f5-79c1cec3a36b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1196', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211102T063608Z:7da76628-efe7-4161-bb4b-04266e9b5894', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 02 Nov 2021 06:36:08 GMT' -]); diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index 86d87cc2dbfe..0dde6182eee1 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -307,7 +307,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-network/26.0.0`; + const packageDetails = `azsdk-js-arm-network/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/network/arm-network/test/network_examples.ts b/sdk/network/arm-network/test/network_examples.ts deleted file mode 100644 index d358e34a879c..000000000000 --- a/sdk/network/arm-network/test/network_examples.ts +++ /dev/null @@ -1,165 +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 { NetworkManagementClient } from "../src/networkManagementClient"; - -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("My test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: NetworkManagementClient; - let location: string; - let resourceGroupName: string; - let virtualNetworkName: string; - let subnetName: string; - let ipGroupName: 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 NetworkManagementClient(credential, subscriptionId); - location = "eastus"; - resourceGroupName = "myjstest"; - virtualNetworkName = "virtualnetworkzzz"; - subnetName = "subnetzzz"; - ipGroupName = "ipgroupyyy"; - }); - - afterEach(async function() { - await recorder.stop(); - }); - - it("virtualNetworks create test", async function() { - const res = await client.virtualNetworks.beginCreateOrUpdateAndWait(resourceGroupName,virtualNetworkName,{ - addressSpace: { - addressPrefixes: ["10.0.0.0/16"], - }, - location: "eastus", - },testPollingOptions) - }); - - it("subnets create test", async function() { - const res = await client.subnets.beginCreateOrUpdateAndWait(resourceGroupName,virtualNetworkName,subnetName,{addressPrefix: "10.0.0.0/24"},testPollingOptions); - }); - - it("ipGroups create test", async function() { - const res = await client.ipGroups.beginCreateOrUpdateAndWait(resourceGroupName,virtualNetworkName,{ - tags: { - key1: "value1", - }, - location: "eastus", - ipAddresses: ["13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28"], - },testPollingOptions); - }); - - it("virtualNetworks get test", async function() { - const res = await client.virtualNetworks.get(resourceGroupName,virtualNetworkName); - assert.equal(res.name,virtualNetworkName); - }); - - it("subnets get test", async function() { - const res = await client.subnets.get(resourceGroupName,virtualNetworkName,subnetName); - assert.equal(res.name,subnetName); - }); - - it("ipGroups get test", async function() { - const res = await client.ipGroups.get(resourceGroupName,virtualNetworkName); - assert.equal(res.type,"Microsoft.Network/IpGroups"); - }); - - it("virtualNetworks list test", async function() { - const resArray = new Array(); - for await (let item of client.virtualNetworks.list(resourceGroupName)){ - resArray.push(item); - }; - assert.equal(resArray.length,1); - }); - - it("subnets list test", async function() { - const resArray = new Array(); - for await (let item of client.subnets.list(resourceGroupName,virtualNetworkName)){ - resArray.push(item); - }; - assert.equal(resArray.length,1); - }); - - it("ipGroups list test", async function() { - const resArray = new Array(); - for await (let item of client.ipGroups.listByResourceGroup(resourceGroupName)){ - resArray.push(item); - }; - assert.equal(resArray.length,1); - }); - - it("virtualNetworks updatetags test", async function() { - const res = await client.virtualNetworks.updateTags(resourceGroupName,virtualNetworkName,{tags: {tag1: "value1",tag2: "value2"}}); - assert.equal(res.name,virtualNetworkName); - }); - - it("ipGroups beginDeleteAndWait test", async function() { - const res = await client.ipGroups.beginDeleteAndWait(resourceGroupName,virtualNetworkName,testPollingOptions); - const resArray = new Array(); - for await (let item of client.ipGroups.listByResourceGroup(resourceGroupName)){ - resArray.push(item); - }; - assert.equal(resArray.length,0); - }); - - it("subnets beginDeleteAndWait test", async function() { - const res = await client.subnets.beginDeleteAndWait(resourceGroupName,virtualNetworkName,subnetName,testPollingOptions); - const resArray = new Array(); - for await (let item of client.subnets.list(resourceGroupName,virtualNetworkName)){ - resArray.push(item); - }; - assert.equal(resArray.length,0); - }); - - it("virtualNetworks beginDeleteAndWait test", async function() { - const res = await client.virtualNetworks.beginDeleteAndWait(resourceGroupName,virtualNetworkName,testPollingOptions); - const resArray = new Array(); - for await (let item of client.virtualNetworks.list(resourceGroupName)){ - resArray.push(item); - }; - assert.equal(resArray.length,0); - }); -}); diff --git a/sdk/network/arm-network/test/sampleTest.ts b/sdk/network/arm-network/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/network/arm-network/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!"); + }); +});