diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 3f9e44fc1016..9d8459d3e26f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -11291,7 +11291,7 @@ packages: dev: false file:projects/arm-imagebuilder.tgz: - resolution: {integrity: sha512-SWgT4EK3bJJdP3uikpKQTSRhEgRw9cnMqp6NUwdYNzhgnVTV3OmHYmbOfrY67TSnWB/FbiEBoye3Yb6SBAxivA==, tarball: file:projects/arm-imagebuilder.tgz} + resolution: {integrity: sha512-/+cDQGr6KaQWlAlnlCwXn6SQ7DACFnnnJd+T9PZ7tQPetMAZrcE2V9UFcmK6/ckODkKswXsOpEeMcjjLzfjZ+w==, tarball: file:projects/arm-imagebuilder.tgz} name: '@rush-temp/arm-imagebuilder' version: 0.0.0 dependencies: @@ -11305,19 +11305,21 @@ packages: '@rollup/plugin-json': 4.1.0_rollup@2.73.0 '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + '@types/chai': 4.3.1 '@types/node': 12.20.52 + chai: 4.3.6 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 rollup: 2.73.0 - rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - - encoding - supports-color dev: false diff --git a/sdk/imagebuilder/arm-imagebuilder/CHANGELOG.md b/sdk/imagebuilder/arm-imagebuilder/CHANGELOG.md index a299c8cb023b..7cdccf9c2704 100644 --- a/sdk/imagebuilder/arm-imagebuilder/CHANGELOG.md +++ b/sdk/imagebuilder/arm-imagebuilder/CHANGELOG.md @@ -1,15 +1,30 @@ # Release History + +## 2.0.0 (2022-06-06) + +**Features** -## 1.0.3 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Interface ImageTemplateInVMValidator + - Added Interface ImageTemplatePropertiesValidate + - Added Type Alias ImageTemplateInVMValidatorUnion + - Added Type Alias ImageTemplatePowerShellValidator + - Added Type Alias ImageTemplateShellValidator + - Added Type Alias ProxyResource + - Interface Resource has a new optional parameter systemData + - Add parameters of ProxyResource to TypeAlias RunOutput + - Type Alias ImageTemplate has a new parameter validate + - Type Alias ImageTemplate has a new parameter stagingResourceGroup + - Type Alias ImageTemplate has a new parameter exactStagingResourceGroup + - Enum KnownProvisioningErrorCode has a new value BadStagingResourceGroup + - Enum KnownProvisioningErrorCode has a new value BadValidatorType + - Enum KnownProvisioningErrorCode has a new value NoValidatorScript + - Enum KnownProvisioningErrorCode has a new value UnsupportedValidatorType + +**Breaking Changes** + + - Delete parameters of SubResource in TypeAlias RunOutput + - Type Alias ImageTemplate no longer has parameter systemData + ## 1.0.2 (2022-04-26) **Features** diff --git a/sdk/imagebuilder/arm-imagebuilder/_meta.json b/sdk/imagebuilder/arm-imagebuilder/_meta.json index e88c318662a3..1ae6ed1406ec 100644 --- a/sdk/imagebuilder/arm-imagebuilder/_meta.json +++ b/sdk/imagebuilder/arm-imagebuilder/_meta.json @@ -1,8 +1,8 @@ { - "commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a", - "readme": "specification\\frontdoor\\resource-manager\\readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\frontdoor\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", + "commit": "078b90617e5e08137d0395963bd4119f4561a910", + "readme": "specification/imagebuilder/resource-manager/readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\imagebuilder\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", - "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-beta.20" } \ No newline at end of file diff --git a/sdk/imagebuilder/arm-imagebuilder/package.json b/sdk/imagebuilder/arm-imagebuilder/package.json index 983d6eceeae3..2032e3d1a118 100644 --- a/sdk/imagebuilder/arm-imagebuilder/package.json +++ b/sdk/imagebuilder/arm-imagebuilder/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ImageBuilderClient.", - "version": "1.0.3", + "version": "2.0.0", "engines": { "node": ">=12.0.0" }, @@ -40,9 +40,13 @@ "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", - "@azure-tools/test-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^2.0.0", + "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", + "@types/chai": "^4.2.8", + "chai": "^4.2.0", "cross-env": "^7.0.2", + "@azure/dev-tool": "^1.0.0", "@azure/arm-compute": "^17.0.0", "@azure/arm-msi": "^2.0.0", "@types/node": "^12.0.0" @@ -96,7 +100,7 @@ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", "integration-test:browser": "echo skipped", "docs": "echo skipped" }, diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.js deleted file mode 100644 index 7c60f4a65a10..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.js +++ /dev/null @@ -1,685 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2d17776248a6b03730757de132d13649"; - -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', - 'd520a97a-ddb7-43bb-9fc5-d3d747d50200', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqLfLOFke19ClAJ_zqnTdiU; expires=Sat, 05-Feb-2022 03:01:10 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwq3mFGMB9byJcnHMGESz7ro_3wXkJJoUmIW10WjmgCXKJiM-bRWUKkfd2two3jhwcECNUPlvooqX2k9LczbsIr-PELQRXzWiJPOWmOeYq81ot8NGvEslha2g-IuCWG5o1VDlBk88Sec1W5hiVif46MaD0kx-lKweAoH8TUmgt7EgAA; 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', - 'Thu, 06 Jan 2022 03:01:10 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', - 'c11f8f9a-6879-4d56-8cc3-1fb27ce68400', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AtKOtoa3QRlJq_uxktCnNUo; expires=Sat, 05-Feb-2022 03:01:11 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrT0NdByZ9u3_7KCXq-E6SlpbqbtrCC7DTAZ8D5ocVIQnNgbZL65yU-R03Yc8zrwrNcKPAbj8xs4f3NqelrVtyGg4IAiRqVbaJWh_Z5iZ8oBqYwO7-g6Mm_Epx9vN2kroSgXw5c4N8PnKhEeAE86ffpHsaYDzIbB-hP91jJZxKiR4gAA; 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', - 'Thu, 06 Jan 2022 03:01:10 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=0c91b555-66c0-4909-9f27-599fe92d1383&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', - '9dd0c33e-2a73-4b99-a0e0-506faa8c8300', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkMc0sIhwThNs9qa1vm30v3Lj78gAQAAAHZSaNkOAAAA; expires=Sat, 05-Feb-2022 03:01:11 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', - 'Thu, 06 Jan 2022 03:01:10 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa', {"location":"eastus"}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa","name":"mymsiaaa","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"eastus","tags":{},"properties":{"tenantId":"88888888-8888-8888-8888-888888888888","principalId":"1fd4c4d5-1c5c-41c6-8010-01776c52c7ec","clientId":"b62fef0e-e59f-46aa-a612-7f98abcd5825"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '426', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - '/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-request-id', - 'd676bc2b-ae6f-4f3f-9f12-35a493d2b944', - 'x-ms-correlation-request-id', - 'd676bc2b-ae6f-4f3f-9f12-35a493d2b944', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030119Z:d676bc2b-ae6f-4f3f-9f12-35a493d2b944', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa', {"location":"eastus","properties":{"creationData":{"createOption":"Empty"},"diskSizeGB":200}}) - .query(true) - .reply(202, {"name":"mydiskaaa","location":"eastus","properties":{"creationData":{"createOption":"Empty"},"diskSizeGB":200,"provisioningState":"Updating","isArmResource":true}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '228', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/9db13725-9034-4244-818b-555eeaf07c79?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&monitor=true&api-version=2021-04-01', - 'Retry-After', - '0', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/9db13725-9034-4244-818b-555eeaf07c79?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&api-version=2021-04-01', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7998', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '9db13725-9034-4244-818b-555eeaf07c79', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1198', - 'x-ms-correlation-request-id', - 'd1526c97-f4cc-4808-bb5f-54263f1f021b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030122Z:d1526c97-f4cc-4808-bb5f-54263f1f021b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/9db13725-9034-4244-818b-555eeaf07c79') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3edadb1bef1eec3eb87fb0fbc9cecea39d9d8f46fc52be9c6d7ae5decea70feedffb347885fa69d70dde78bd9e4ef37c96cff49b555dadf2ba2d727ccb48d187d5ba5dad5bf3c147cb4c7a5b5ccf8ae66d9665fa6e31c3a7779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabb84cd6531cbebe6ee17c5b4ae9aeabc1d9f540b4226bf8bbed1143f1d0eedf58a711b68afadca6a9a013db4ccb306b4902f9ab76bfa8c87497f9981be6eb3e52cab67bffff357afa5217d4934aafd2f3fc2e7bf84bf8d53715ae7dce9d3accddcc7e68bfc4b26187df1d1e962d55e333803901a01fdd7c50ff2cf9f5093bd9d1dfff3b32f5fbe7e9567b3efd6450b84ef875f7ff164d5f85f7f6abfcd97d3fadaf4eb1032443cb55f1fb7af683ebe5bb4f39765d69e57f5e2f7ca7b282ef3f6aaaadf1e134735cdcbaa2ca6d780725c96d515fd6329b75a4fe8bb177e6bb43b5d6693d23022356b89a94f9834cc5731dede7df8e0dec1a78138d08b44fdcba221ac8be505cd0e8fb9cbe8d40ca4b15f7fb5ccda369bcebbdf13c59f5c132f529bbdddfd07fb07f73edd3f70e45d2f8b5fb4cecf18c1f3fdbde9839dddd9f683d9cec1f67ebe4b4cbe439cfef0e0e1eeeefd6cefd3fdfc8049f64b7ee384fe473f198ae5b287b3c9eebd077bf7b71feedcdbdfdedfdbdfdf3ed83d986cdfbf7f3fcf3348cb8387f4fe2f","f97f008b2eb3cd2b040000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399984', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'e9cdb340-5f68-4d55-a52e-649aa57acd11', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '33c16b83-87f4-4d88-9300-ca85e4df03ca', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030122Z:33c16b83-87f4-4d88-9300-ca85e4df03ca', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fd68713d2b9ab759967d34e2cf8b193ebddbac27cdb42e566d512d9bbb0ff7ce1fde9f1d9c6fdf9b7efa607b7f776f7ffbe1eef4c1f6c1f47ce7c1743639dfdbdfbd5be74db5aea7f9e775b55e357717d73fddb479d3de5dd5d56531cbebe6ee17c5b4ae9aeabc1d9f548bd5bacdefa26f34c54f87437bbd62dc06da6babb29a66400f2df3ac69d7e68be6ed9a3ee361d25f66a0afdb6c39cbead9effffcd56b69485fb6455efb5f7e84cf7f097ffb11e1bdca6b6ad1500b036d5ae7dce9d3accddcc7e68bfc4b26187df1d1e962d55e333803901a01fdd7c50ff2cf9f5093bd9d1dfff3b32f5fbe7e9567b3efd6450b84ef875f7ff164d5f85f7f6abfcd97d3fadaf4eb1032443cb55f1fb7af683ebe5bb4f39765d69e57f5e2f7ca7b282ef3f6aaaadf1e4fa779d3bcacca627a0d28c765595dd13f9672abf584be7be1b746bbd3653629f3996dd6168bfc8449c37cb5b7b3b7b7bdb3bbbdf3e99b9d7b8f76761feded8d771f3eb877f0e9ee273b3b8f7676ec8b44fdcba221ac8be505cd0e8ff9a3d76bea289f112cd30ca4b15f7fb5ccda369bcebbdf13c59f5c132f529bbdddfd07fb07f73edd3f70e45d2f8b5fb4cecf18c1f3fdbde9839dddd9f683d9cec1f67ebe4b4cbe439cfef0e0e1eeeefd6cefd3fdfc8049f64b7ee3e497","fc3ff92787fd4a030000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39986', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '524e7ae8-1590-49f9-bb82-fa52417e5f00', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'd699ceda-1d1f-4495-a7cb-2e968b3cec32', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030125Z:d699ceda-1d1f-4495-a7cb-2e968b3cec32', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:24 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa', {"location":"eastus","properties":{"creationData":{"createOption":"Copy","sourceUri":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa"}}}) - .query(true) - .reply(202, {"location":"eastus","properties":{"creationData":{"createOption":"Copy","sourceUri":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa","sourceUniqueId":"f42c701d-7d08-4e17-80c7-989115a264e8"},"publicNetworkAccess":"Enabled","provisioningState":"Updating","isArmResource":true}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '426', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b899f8e1-c87c-461b-abd0-27a807883413?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&monitor=true&api-version=2021-04-01', - 'Retry-After', - '0', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b899f8e1-c87c-461b-abd0-27a807883413?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&api-version=2021-04-01', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;999,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7998', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'b899f8e1-c87c-461b-abd0-27a807883413', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1197', - 'x-ms-correlation-request-id', - '37f01a1c-d5ab-4bca-8f6a-e03a65c95b59', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030128Z:37f01a1c-d5ab-4bca-8f6a-e03a65c95b59', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b899f8e1-c87c-461b-abd0-27a807883413') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3eda7b307e786ff7c183fb0f3ed9d979b4b3f3d1c8bcd4ae1bbc71b67c59571775de34fad53213509383870fcf0ff2ddede9c183e9f6fea7bb93ed6c32dbd9de7b901dec3c3838b8b7bf7befa3df38f9","25ff0f6a50c22a86000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Retry-After', - '0', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399983', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '139b6b78-e252-4eb1-af54-87792605d55d', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - '11bf16f2-92c8-4205-8280-f72f884d6b3f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030128Z:11bf16f2-92c8-4205-8280-f72f884d6b3f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b899f8e1-c87c-461b-abd0-27a807883413') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3eda7b307e786ff7c183fb0f3ed9d979b4b3f3d1c8bcd4ae1bbc71b67c59571775de34fad53213509383870fcf0ff2ddede9c183e9f6fea7bb93ed6c32dbd9de7b901dec3c3838b8b7bf7befa3df38f9","25ff0f6a50c22a86000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399982', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'dec43fed-448f-4fda-ad98-6ac8fe25e00c', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - 'f647653f-8b8e-4bee-88cc-d2e3771626a0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030128Z:f647653f-8b8e-4bee-88cc-d2e3771626a0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b899f8e1-c87c-461b-abd0-27a807883413') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3eda7b307e786ff7c183fb0f3ed9d979b4b3f3d1885fca97b3e1570ec60f773fddbd7fb01bbc42fdb4eb066fbc5e4fa7793ecb67facdaaae5679dd1639be65a4e8c36addaed6adf9e0a36526bd2dae9b65b66ae6559b6599be5fccf0cddd663d69a675b16a8b6ad9dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd3a6faa753dcd3fafabf5aab9bbb8fee9a6cd9bf62e617459ccf2bab9fb4531adaba63a6fc727d58210caef9afed1dcfcee7069af578ce786f7b465594d33a08ad679d68036f245f3764d9ff1b0e92f33f0d76db69c65f5ecf77ffeeab534a42f8966b5ffe547f8fc97f0b771aa4eeb9c3b7d9ab599fbd87c917fc9c4a32f3e3aa956d7a61bfa5ac8f44ac975f64325f8ac68dea2297e5a42e351acbe5a16bf68ad389defef4d1fececceb61fcc760eb6f7f35dea7f87907878f07077f77eb6f7e97e7ec0443264222880fbbaf841fef91382b0b7b3633ecf97d3fa9a07479f3b4a99193eb55f1fb74498f6bb453b7f5966ed79552f7eaffcbadb4b41cdf345be6cb392de3ecfca26375f2df3f6aaaadf1e935434cdcbaa2ca6d7d4e4a3e3b2acaee81f33e08f56eb097df7c26f8d76a7cb6c521a61a2662d09e6094f2793a42f9f5191a61779121a1a50b1bc208e6a79981d61a5664c2ff3f557cbac6db3e9bcfb3dd1f3c9354d2db5d9dbdd7fb07f70efd3fd0347dbb5376707b3bdfb7bb39d7bdbfbb309cdd9bdece1f6e4d36cb2fd606f6f77763e79b04b23606afe92df38a1ffd14f8662256372f0f0e1f941bebb3d3d7830dddeff7477b29d4d663bdb7b0fb2839d070707f7f677efd1fb","bfe4ff0154b66e63ef040000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399980', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '18092b83-1e48-457f-9f1b-d45e1f5ca87f', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - '1de0e550-721b-4aab-9da5-2d12a094f265', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030129Z:1de0e550-721b-4aab-9da5-2d12a094f265', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fd6871dd2cb35533afda2ccb3e1af177c50cdfdc6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fcf3ba5aaf9abb8beb9f6edabc69efaeeaeab298e57573f78b625a574d75de8e4faac56adde6774dff686e7e77b8b4d72bc673c37bdab2aca6195045eb3c6bdab5f9a279bba6cf78d8f49719f8eb365bceb27af6fb3f7ff55a1ad2976d91d7fe971fe1f35fc2df7e446358e535b568a8858136ad73eef469d666ee63f345fe25138fbef8e8a45a5d9b6ee86b21d32b25d7d90f95e0b3a2798ba6f869098d47b1fa6a59fca2b5e274bebf377db0b33bdb7e30db39d8decf77a9ff1d42e2e1c1c3ddddfbd9dea7fbf90113c99089a000eeebe207f9e74f08c2dece8ef93c5f4eeb6b1e1c7dee286566f8d47e7ddc1261daef16edfc6599b5e755bdf8bdf2eb6e2f0535cf17f9b2cd4a7afb3c2b9bdc7cb5ccdbabaa7e7b3c9de64df3b22a8be93535f9e8b82cab2bfac70cf8a3d57a42dfbdf05ba3dde9329b94f9cc366b8b457ec2d3c924d9dbd9dbdbded9dddef9f4cdcebd473bbb8ff61e8c1fdedb7df0e0fe834f76761eedecd81779121a1a50b1bc208e6a7998afd7d4513e2358a619d3cb7cfdd5326bdb6c3aef7e4ff47c724d534b6df676f71fec1fdcfb74ffc0d176edcdd9c16ceffede6ce7def6fe6c4273762f7bb83df9349b6c3fd8dbdb9d9d4f1eecd208989abfe4374e","7ec9ff03d7ec26030e040000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39984', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '21cc13b4-e414-45d8-ac70-f2e9ce1472af', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - '76b5bd8b-03e7-4556-8553-744324334ad2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030129Z:76b5bd8b-03e7-4556-8553-744324334ad2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa', {"location":"eastus","properties":{"storageProfile":{"osDisk":{"snapshot":{"id":"subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa"},"osType":"Linux","osState":"Generalized"}},"hyperVGeneration":"V1"}}) - .query(true) - .reply(201, {"name":"myimagesaaa","id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa","type":"Microsoft.Compute/images","location":"eastus","properties":{"storageProfile":{"osDisk":{"osType":"Linux","osState":"Generalized","snapshot":{"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa"},"caching":"None","storageAccountType":"Standard_LRS"},"dataDisks":[]},"provisioningState":"Creating","hyperVGeneration":"V1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '725', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/a0076468-3b86-43bb-983b-a0e34e471797?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7&api-version=2021-07-01', - 'Azure-AsyncNotification', - 'Enabled', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;198', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'a0076468-3b86-43bb-983b-a0e34e471797', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1196', - 'x-ms-correlation-request-id', - '5641803d-f857-47d3-a856-f80934b77959', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030132Z:5641803d-f857-47d3-a856-f80934b77959', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/a0076468-3b86-43bb-983b-a0e34e471797') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3ebab73bdedffbf4e1c1fe273b3b8f76763e1a9977da758317ce962febeaa2ce9b46bf5a660229dbd979f0e9fea707dbf726079f6eefdf9b4cb61f1edc9b6c673bf9bdfd7cffc1ee83870f3efa8d935f","f2ff00c592e12585000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29989', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'eba83bc3-3d10-4e37-ac03-8381527fb3e5', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - '11cc72a2-15b4-4856-8e8f-6499e1e19aac', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030133Z:11cc72a2-15b4-4856-8e8f-6499e1e19aac', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/a0076468-3b86-43bb-983b-a0e34e471797') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3ebab73bdedffbf4e1c1fe273b3b8f76763e1a9977da758317ce962febeaa2ce9b46bf5a660229dbd979f0e9fea707dbf726079f6eefdf9b4cb61f1edc9b6c673bf9bdfd7cffc1ee83870f3efa8d935f","f2ff00c592e12585000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29988', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'dd085a05-7f39-4ce0-ba38-5de13fbb8a98', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - 'de5a6ad2-853e-4ddb-8e8a-1b0f7745adbc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030136Z:de5a6ad2-853e-4ddb-8e8a-1b0f7745adbc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:35 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/a0076468-3b86-43bb-983b-a0e34e471797') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedec3ebab73bdedffbf4e1c1fe273b3b8f76763e1af13bf97236fcc6a7e3fbf73efdf4e1cebde015eaa65d3778e3f57a3acdf3593ed36f969940ca76761e7cbaffe9c1f6bdc9c1a7dbfbf72693ed8707f726dbd94e7e6f3fdf7fb0fbe0e1838f7ee3e497","fc3fd846f2c8b7000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29987', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0b676460-c7fe-4a26-8108-fc6448d95755', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - '349d6bac-8440-4a90-aa6b-f9a8e5de9da1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030138Z:349d6bac-8440-4a90-aa6b-f9a8e5de9da1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e947cb6c917ff428fd68715d2cb28bbcc9b2eca3117f53ccf0f9dd663d69a675b16a8b6ad9dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd3a6faa753dcd3fafabf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf8a45aacd66d7e577aa7b6f28b43a3bd5e318243af68b3b29a6640114df3ac69d7e60bea7495d76d412d1fa53c66fab069ab9a5e7e5957e74509f0fa057d55354f8be6adff117ff846d1785e2cd7ef04b43cf4ddeb366bf9cbcff3655e6765f1837c16349911c4d7f4e9e74fa8d5dece8eff5db3cc56cdbc6ae91baf47fae2874b7f83069a9bdf31090ea55fe2633dcda6f36279010c5f54cb3c18ad12f7783aadd6cbd6108e88b49c65f5ecf77ffeeab585ea607e34cbda0c94c7347deffbf2b1f91a937859344401ea930009b55fafa7d33c9f395a7f34a7beea9f945900bdd0ea2777b9b75ff21b27bf","e4ff01567b6880f2020000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetImages3Min;359,Microsoft.Compute/GetImages30Min;1793', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '024e986a-ebc0-4d69-9d82-6d17098289d4', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - 'b794df46-43d1-4fbc-a35c-4ddd2aeae1ad', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T030140Z:b794df46-43d1-4fbc-a35c-4ddd2aeae1ad', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:01:39 GMT' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.json new file mode 100644 index 000000000000..da01b714d17a --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_create_parameter_for_virtualmachineimagetemplates_test.json @@ -0,0 +1,636 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa?api-version=2018-11-30", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-msi/2.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "fde71410-fa25-45e0-a1b4-2acc4fa776c9" + }, + "RequestBody": { + "location": "eastus" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "232f2dc8-7669-41de-ab37-220d03274bfa", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "232f2dc8-7669-41de-ab37-220d03274bfa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073047Z:232f2dc8-7669-41de-ab37-220d03274bfa" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa", + "name": "mymsiaaa", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus", + "tags": {}, + "properties": { + "tenantId": "88888888-8888-8888-8888-888888888888", + "principalId": "88888888-8888-8888-8888-888888888888", + "clientId": "88888888-8888-8888-8888-888888888888" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa?api-version=2021-12-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "93", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "9f0a35b9-b44d-49c2-ab9e-a61970af085a" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 200 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/52c1d808-5649-48fa-8b00-b6cbb9f275de?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/52c1d808-5649-48fa-8b00-b6cbb9f275de?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026monitor=true\u0026api-version=2021-12-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ddfc8775-9dcb-4a76-ba39-d3e8c1ad51cd", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7999", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "52c1d808-5649-48fa-8b00-b6cbb9f275de", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073048Z:ddfc8775-9dcb-4a76-ba39-d3e8c1ad51cd", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "name": "mydiskaaa", + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 200, + "provisioningState": "Updating", + "isArmResource": true, + "colocationConstraints": {}, + "faultDomain": 0 + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/52c1d808-5649-48fa-8b00-b6cbb9f275de?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "603a13b6-b4c5-496b-826a-f0a01feb44fa" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cfd6bf91-9dd9-4771-a43d-3d2b3e77c951", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999", + "x-ms-ratelimit-remaining-subscription-reads": "11933", + "x-ms-request-id": "40d4c65d-7310-4d60-b170-a1a70a6980c3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073048Z:cfd6bf91-9dd9-4771-a43d-3d2b3e77c951", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T07:30:47.9943242\u002B00:00", + "endTime": "2022-06-06T07:30:48.1036956\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "mydiskaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 200, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2022-06-06T06:31:48.8152812\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 214748364800, + "uniqueId": "7661217a-02c9-4d28-a807-d61afd82c034" + } + } + }, + "name": "52c1d808-5649-48fa-8b00-b6cbb9f275de" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa?api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "ca1b0961-ef1b-4a3a-846d-80941dc6850c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6ce7b241-ee77-4907-9e03-583ba5218f17", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39999", + "x-ms-ratelimit-remaining-subscription-reads": "11932", + "x-ms-request-id": "a0aa2f9b-9e53-43ae-8873-5156906341de", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073049Z:6ce7b241-ee77-4907-9e03-583ba5218f17", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "name": "mydiskaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 200, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2022-06-06T06:31:48.8152812\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 214748364800, + "uniqueId": "7661217a-02c9-4d28-a807-d61afd82c034" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa?api-version=2021-12-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "194", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "9a7ef09f-925b-4f6e-9fa7-85c42a0b5242" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Copy", + "sourceUri": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/3dcad103-fecf-4dc0-b6fe-ca0120680a66?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "Cache-Control": "no-cache", + "Content-Length": "459", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/3dcad103-fecf-4dc0-b6fe-ca0120680a66?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026monitor=true\u0026api-version=2021-12-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5fd35ae9-9d52-48e3-b57a-2db19a2c3909", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;999,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7999", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "3dcad103-fecf-4dc0-b6fe-ca0120680a66", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073049Z:5fd35ae9-9d52-48e3-b57a-2db19a2c3909", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Copy", + "sourceUri": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa" + }, + "diskSizeGB": 200, + "provisioningState": "Updating", + "isArmResource": true, + "colocationConstraints": {}, + "faultDomain": 0 + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/3dcad103-fecf-4dc0-b6fe-ca0120680a66?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "75d10dc3-1737-4d5f-b6c6-2576204c9c31" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "86d7a415-e529-4d7b-ad5d-f79d603add8c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399998", + "x-ms-ratelimit-remaining-subscription-reads": "11931", + "x-ms-request-id": "90496e89-be9c-4887-b611-7487d0982139", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073050Z:86d7a415-e529-4d7b-ad5d-f79d603add8c", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T07:30:49.588066\u002B00:00", + "endTime": "2022-06-06T07:30:49.7130874\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "mysnapshotaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa", + "type": "Microsoft.Compute/snapshots", + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Copy", + "sourceResourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa", + "sourceUniqueId": "7661217a-02c9-4d28-a807-d61afd82c034" + }, + "diskSizeGB": 200, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "incremental": false, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2022-06-06T06:31:52.0497452\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 214748364800, + "uniqueId": "c37ebff8-d437-4b27-94e7-9ce8b7512007" + } + } + }, + "name": "3dcad103-fecf-4dc0-b6fe-ca0120680a66" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa?api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "e0b7db2e-8d7e-47c1-b2d1-b0462cf77057" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "29f23e5c-02ef-4866-bab0-1a908ef28af8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;4998,Microsoft.Compute/LowCostGet30Min;39998", + "x-ms-ratelimit-remaining-subscription-reads": "11930", + "x-ms-request-id": "f3fbd88b-0cbb-40e8-94b1-60f6c0fd5cfe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073050Z:29f23e5c-02ef-4866-bab0-1a908ef28af8", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "name": "mysnapshotaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa", + "type": "Microsoft.Compute/snapshots", + "location": "eastus", + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Copy", + "sourceResourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa", + "sourceUniqueId": "7661217a-02c9-4d28-a807-d61afd82c034" + }, + "diskSizeGB": 200, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "incremental": false, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2022-06-06T06:31:52.0497452\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 214748364800, + "uniqueId": "c37ebff8-d437-4b27-94e7-9ce8b7512007" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa?api-version=2021-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "263", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "453778c0-c477-432a-8641-47ec6e036832" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "storageProfile": { + "osDisk": { + "snapshot": { + "id": "subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa" + }, + "osType": "Linux", + "osState": "Generalized" + } + }, + "hyperVGeneration": "V1" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/dd679086-91a7-48f0-b8af-f5ed5d1e3db6?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d4d7ad9a-1283-425e-9e8a-bee9921d3113", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "dd679086-91a7-48f0-b8af-f5ed5d1e3db6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073051Z:d4d7ad9a-1283-425e-9e8a-bee9921d3113" + }, + "ResponseBody": { + "name": "myimagesaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "type": "Microsoft.Compute/images", + "location": "eastus", + "properties": { + "storageProfile": { + "osDisk": { + "osType": "Linux", + "osState": "Generalized", + "diskSizeGB": 200, + "snapshot": { + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa" + }, + "caching": "None", + "storageAccountType": "Standard_LRS" + }, + "dataDisks": [] + }, + "provisioningState": "Succeeded", + "hyperVGeneration": "V1" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/dd679086-91a7-48f0-b8af-f5ed5d1e3db6?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "2244d23d-d308-48c9-a767-b2e2411ed03f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "41532244-f77e-4ebe-92f0-e3c1aded465f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", + "x-ms-ratelimit-remaining-subscription-reads": "11929", + "x-ms-request-id": "61445dcf-312f-41bd-b2c7-4da3c4a737e8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073051Z:41532244-f77e-4ebe-92f0-e3c1aded465f" + }, + "ResponseBody": { + "startTime": "2022-06-06T07:30:51.023759\u002B00:00", + "endTime": "2022-06-06T07:30:51.0393796\u002B00:00", + "status": "Succeeded", + "name": "dd679086-91a7-48f0-b8af-f5ed5d1e3db6" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa?api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "135cbe90-8571-4cab-9be2-42f0257b971d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 07:30:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0de26b91-8879-4af7-b925-c2c90768b96f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetImages3Min;359,Microsoft.Compute/GetImages30Min;1797", + "x-ms-ratelimit-remaining-subscription-reads": "11928", + "x-ms-request-id": "8ab3d867-6478-4895-9906-c4933d37b7f6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073052Z:0de26b91-8879-4af7-b925-c2c90768b96f" + }, + "ResponseBody": { + "name": "myimagesaaa", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "type": "Microsoft.Compute/images", + "location": "eastus", + "properties": { + "storageProfile": { + "osDisk": { + "osType": "Linux", + "osState": "Generalized", + "diskSizeGB": 200, + "snapshot": { + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa" + }, + "caching": "None", + "storageAccountType": "Standard_LRS" + }, + "dataDisks": [] + }, + "provisioningState": "Succeeded", + "hyperVGeneration": "V1" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.js deleted file mode 100644 index 22d34e2f3a0a..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.js +++ /dev/null @@ -1,329 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "55b5a3cf987798d93e3f5fcd5d1dadc3"; - -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', - 'bd7cce1a-504f-4080-b015-662ec5310800', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AjYcG5AP6Z5Ig9PUThAYd14; expires=Sat, 05-Feb-2022 03:14:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJ0-uXxrwJlnJ8aA_xqW3gfQ-8yrKYfV7tsOlZegSyvkvdN7rEjECBG0FpJPRXcRNTZd-NkdS8gaRHWHIFhijA-HronJBeNyxeq0A8bgUHxOqnz0lcVkuMU300rIS66ZQGI_atgq20icTas1128XH8fhvnIbXWSsKJo7RMrPloS8gAA; 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', - 'Thu, 06 Jan 2022 03:14:29 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', - 'bd7cce1a-504f-4080-b015-662ec8310800', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ArInSGlKmCdJlQHrrBoC2pw; expires=Sat, 05-Feb-2022 03:14:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUlb0Bx7MSgpQhnV-FChLkzkSzv8VNPqb0euXXL4AFyitSWs8OdVZDsi4V3YofnGf4yxvTWW65NyPKdzdQl0XJqxyzzGla5wOR3VL1b5fTcN7F49lu6JUslMLhTfXUqqE_PdO8FVwVUYwPn8l-LtwCRYADYhe_9KBLgC2uWFfl2ggAA; 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', - 'Thu, 06 Jan 2022 03:14:29 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=9281122d-42fc-445d-a2da-5fe512f27c8f&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', - '4a229268-50b8-4df0-8d9c-388eab3b6c00', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Apn15HcetTpCsKALtA_c_pXLj78gAQAAAJVVaNkOAAAA; expires=Sat, 05-Feb-2022 03:14:30 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', - 'Thu, 06 Jan 2022 03:14:29 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa') - .query(true) - .reply(204, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-request-id', - 'bbc6320d-4a96-488c-8215-ef4af122d6e2', - 'x-ms-correlation-request-id', - 'bbc6320d-4a96-488c-8215-ef4af122d6e2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031431Z:bbc6320d-4a96-488c-8215-ef4af122d6e2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/f644f03e-747a-4f8d-bb43-c11077ff5864?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&monitor=true&api-version=2021-04-01', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/f644f03e-747a-4f8d-bb43-c11077ff5864?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&api-version=2021-04-01', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/DeleteDisks3Min;999,Microsoft.Compute/DeleteDisks30Min;7997', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'f644f03e-747a-4f8d-bb43-c11077ff5864', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - '5177044c-64ed-4497-a67d-f7d23446309c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031433Z:5177044c-64ed-4497-a67d-f7d23446309c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:32 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/f644f03e-747a-4f8d-bb43-c11077ff5864') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedee3fbab7377eb8b7776fe7e1bd4f76761eedec7c34e297f2e56cf8957be39d0707f73fbdb71fbc42fdb4eb066fbc5e4fa7793ecb67facd321348e79feeef9fefdccbb71fec3fc8b6f7cf0f66db93c9febdede9eeeece8307e7e7f70f3eddffe8374e7e","c9ff0369f0ba74b8000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399976', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - '9a1208a7-6c44-4e8e-970a-1ee4c0775a91', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - 'eaf21854-f7a0-41a0-bdbd-5535fe584798', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031433Z:eaf21854-f7a0-41a0-bdbd-5535fe584798', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b730958d-35bb-41d3-99a1-e18462368493?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&monitor=true&api-version=2021-04-01', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b730958d-35bb-41d3-99a1-e18462368493?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd&api-version=2021-04-01', - 'x-ms-ratelimit-remaining-resource', - 'Microsoft.Compute/DeleteDisks3Min;998,Microsoft.Compute/DeleteDisks30Min;7996', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'b730958d-35bb-41d3-99a1-e18462368493', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14997', - 'x-ms-correlation-request-id', - '7b87db1a-3b36-4174-a47e-41d41eab0f08', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031434Z:7b87db1a-3b36-4174-a47e-41d41eab0f08', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:33 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/b730958d-35bb-41d3-99a1-e18462368493') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef16f9ca4e9474d9bd5ed9b62917ff428fd686f676f6f7b67777be7d3373bf71eedee3fbab73fde7db0776f6fefe1273b3b8f76763e1af14bf972b6e9957bf71f3e78b81fbc41ddb4eb062fbc5e4fa7793ecb67facd3213409307f7761ede3f986ddfbb3f996cefefceee6d3f7c98ed6ee7bb07fb9feeddfbf460ffe1bd8f7ee3e497","fc3f3bdd0dc4b7000000"], [ - '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-ratelimit-remaining-resource', - 'Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399975', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-served-by', - '46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132720953397422156', - 'x-ms-request-id', - 'c172c4c3-57ba-4749-8154-26f770042571', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'aceab760-144e-4a4f-84eb-b2380ad60f4c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031434Z:aceab760-144e-4a4f-84eb-b2380ad60f4c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14996', - 'x-ms-request-id', - '658574b4-4f20-4fb5-a818-869586f782a1', - 'x-ms-correlation-request-id', - '658574b4-4f20-4fb5-a818-869586f782a1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031442Z:658574b4-4f20-4fb5-a818-869586f782a1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:41 GMT', - 'Content-Length', - '0' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.json new file mode 100644 index 000000000000..cf45951d5a48 --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_delete_parameter_for_virtualmachineimagetemplates_test.json @@ -0,0 +1,462 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa?api-version=2021-11-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "dd3e330a-c0b5-4c4c-9fce-8b70f80dba88" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 06 Jun 2022 06:16:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026monitor=true\u0026api-version=2021-11-01", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "80a0cbd9-ef87-46e6-929a-8001bbf3ba3f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteImages3Min;118,Microsoft.Compute/DeleteImages30Min;598", + "x-ms-ratelimit-remaining-subscription-deletes": "14993", + "x-ms-request-id": "47acd225-f0cc-45e0-976b-c9634baf08e2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061659Z:80a0cbd9-ef87-46e6-929a-8001bbf3ba3f" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "41ae9a98-24ba-4cd2-9e71-2eaf40c73bba" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:16:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "396b5eda-52a3-41bb-808a-919937f44f1d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29986", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "3c2acbb6-8f7b-457f-83a9-c3b5386c3009", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061659Z:396b5eda-52a3-41bb-808a-919937f44f1d" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:16:59.5131162\u002B00:00", + "status": "InProgress", + "name": "47acd225-f0cc-45e0-976b-c9634baf08e2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "10edee3e-59f6-4ea6-9f2f-ab85ebb69e69" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:16:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2dfb96e1-bd57-43a3-b0b4-63064e86ac92", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29985", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "bca63d9b-2db9-4bc9-a9f3-0095186c16be", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061700Z:2dfb96e1-bd57-43a3-b0b4-63064e86ac92" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:16:59.5131162\u002B00:00", + "status": "InProgress", + "name": "47acd225-f0cc-45e0-976b-c9634baf08e2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "dc16b972-0157-48c7-917c-a2216169c78e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f72b9bce-edb9-4434-892d-5b86a74cdb13", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29984", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "14296620-68da-4439-ad29-c6d4acd18762", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061702Z:f72b9bce-edb9-4434-892d-5b86a74cdb13" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:16:59.5131162\u002B00:00", + "status": "InProgress", + "name": "47acd225-f0cc-45e0-976b-c9634baf08e2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/47acd225-f0cc-45e0-976b-c9634baf08e2?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2021-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "d54707b5-4bc7-4e97-a8f2-d1b08fb44489" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "159fb2bb-0023-401e-b5cc-3b40d328b830", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29983", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-request-id": "55260318-a3f2-4e47-9975-f392540f59fa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061705Z:159fb2bb-0023-401e-b5cc-3b40d328b830" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:16:59.5131162\u002B00:00", + "endTime": "2022-06-06T06:17:04.5912215\u002B00:00", + "status": "Succeeded", + "name": "47acd225-f0cc-45e0-976b-c9634baf08e2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/snapshots/mysnapshotaaa?api-version=2021-12-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "a6df043e-3070-4cc3-902a-21c14a0ff158" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/c017126d-ebe9-46b3-a091-d61b8ab393a8?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 06 Jun 2022 06:17:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/c017126d-ebe9-46b3-a091-d61b8ab393a8?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026monitor=true\u0026api-version=2021-12-01", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "711e33a8-3f50-4db7-98d0-975838090d35", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteDisks3Min;997,Microsoft.Compute/DeleteDisks30Min;7997", + "x-ms-ratelimit-remaining-subscription-deletes": "14992", + "x-ms-request-id": "c017126d-ebe9-46b3-a091-d61b8ab393a8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061706Z:711e33a8-3f50-4db7-98d0-975838090d35", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/c017126d-ebe9-46b3-a091-d61b8ab393a8?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "a7e87029-f6de-430b-81fc-ff15f74bfb21" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "78028864-9ccc-4b26-90c5-59390b3ee157", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49981,Microsoft.Compute/GetOperation30Min;399973", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-request-id": "05b80bbf-0363-4c5c-ad09-9bad8e41d2d7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061706Z:78028864-9ccc-4b26-90c5-59390b3ee157", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:17:05.8258402\u002B00:00", + "status": "InProgress", + "name": "c017126d-ebe9-46b3-a091-d61b8ab393a8" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/c017126d-ebe9-46b3-a091-d61b8ab393a8?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "5f4c1c46-09ed-4298-ac97-ab1a97bdea8f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "20b34647-6502-4c66-b5f6-daaa7bba9676", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49980,Microsoft.Compute/GetOperation30Min;399972", + "x-ms-ratelimit-remaining-subscription-reads": "11936", + "x-ms-request-id": "af723fc7-f37c-471c-a22a-c288d0e888a6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061706Z:20b34647-6502-4c66-b5f6-daaa7bba9676", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:17:05.8258402\u002B00:00", + "endTime": "2022-06-06T06:17:06.2633499\u002B00:00", + "status": "Succeeded", + "name": "c017126d-ebe9-46b3-a091-d61b8ab393a8" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/mydiskaaa?api-version=2021-12-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "3cfdeaae-cdad-47fd-b810-52e787c3ae6f" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/224ef1dd-4768-4748-9cec-e1cf05b4736d?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 06 Jun 2022 06:17:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/224ef1dd-4768-4748-9cec-e1cf05b4736d?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026monitor=true\u0026api-version=2021-12-01", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7bb90d3d-5e23-483e-a490-3d776256eb12", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteDisks3Min;996,Microsoft.Compute/DeleteDisks30Min;7996", + "x-ms-ratelimit-remaining-subscription-deletes": "14991", + "x-ms-request-id": "224ef1dd-4768-4748-9cec-e1cf05b4736d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061707Z:7bb90d3d-5e23-483e-a490-3d776256eb12", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/224ef1dd-4768-4748-9cec-e1cf05b4736d?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "021d53b7-d994-4e9e-8d12-c82a858e26a1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "12e181d9-db37-45da-94cc-b791cc7eba9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49979,Microsoft.Compute/GetOperation30Min;399971", + "x-ms-ratelimit-remaining-subscription-reads": "11935", + "x-ms-request-id": "345ebd2d-a2ca-4f04-9ec4-dc7a397e21eb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061708Z:12e181d9-db37-45da-94cc-b791cc7eba9b", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:17:07.5601959\u002B00:00", + "status": "InProgress", + "name": "224ef1dd-4768-4748-9cec-e1cf05b4736d" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/DiskOperations/224ef1dd-4768-4748-9cec-e1cf05b4736d?p=46f2ba6c-4ad8-4d14-a912-d9914b2fcabd\u0026api-version=2021-12-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-compute/17.3.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "79e7258e-1926-4fd5-82fa-24b07697055c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 06 Jun 2022 06:17:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9e3dc025-b70b-47ee-bd1c-ecde23560e17", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49978,Microsoft.Compute/GetOperation30Min;399970", + "x-ms-ratelimit-remaining-subscription-reads": "11934", + "x-ms-request-id": "a1736a37-299b-44fd-84bd-07647cd5abf3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061708Z:9e3dc025-b70b-47ee-bd1c-ecde23560e17", + "x-ms-served-by": "46f2ba6c-4ad8-4d14-a912-d9914b2fcabd_132955080223643501" + }, + "ResponseBody": { + "startTime": "2022-06-06T06:17:07.5601959\u002B00:00", + "endTime": "2022-06-06T06:17:08.1227064\u002B00:00", + "status": "Succeeded", + "name": "224ef1dd-4768-4748-9cec-e1cf05b4736d" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa?api-version=2018-11-30", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-msi/2.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "67772eec-da3f-4bcb-9b3a-4fd95f665044" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 06 Jun 2022 06:17:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "336fed7b-435f-4ad0-bfcd-3bd808652b0f", + "x-ms-ratelimit-remaining-subscription-deletes": "14990", + "x-ms-request-id": "336fed7b-435f-4ad0-bfcd-3bd808652b0f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T061712Z:336fed7b-435f-4ad0-bfcd-3bd808652b0f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.js deleted file mode 100644 index da24d8df82c2..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.js +++ /dev/null @@ -1,685 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f93e9f4cecccf4cdda3d1b30f8e8b80d"; - -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', - 'cc627666-e0af-4a19-bdb7-d110fa677a00', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Au8CDml-7AZMoJmEumxprI4; expires=Sat, 05-Feb-2022 03:10:21 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSTsMi4_YXiWBzb18H2xZHZ91V9_9ANQlhDIMl06hI8sHDRKNi-zl8nZZne4GDquRNBFk0ZOW6AOTI0X7dLnitXIsGo5NPung8w3gYn38JmMBYveN3zI0CTa9XpcnzqFHB5V8X8gwTE3V0cjuB2i4JyZVqqAxrOqA1VX3Vmn4LVEgAA; 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', - 'Thu, 06 Jan 2022 03:10:20 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', - '47af5f47-bd6e-4acd-b8d8-aa9623c08000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Aq5XsRYQtE9AlDbuEUwUfiQ; expires=Sat, 05-Feb-2022 03:10:21 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlbwsyQya5r-d4wfkGj4D2yPxU2QsBu5JvP4azHu11EJkQ50ZCF2-cjc507jX1BXFyjHwcs0el2AEB5-4fWSeu2B2PGif8DFOTDS7gkecwgFkCl4rRcFyj3wojuyobojCDtAecSh3RR14_3RhidNWUfWC0tlfjIyI6aXsPbEnLdsgAA; 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', - 'Thu, 06 Jan 2022 03:10:21 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=6edf518a-ada3-47ab-a3ac-942dea3228db&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', - '70f2d6e6-a657-4463-8780-712401e59000', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ApN_HtYxWZ1BjJFCz6aXSn7Lj78gAQAAAJ1UaNkOAAAA; expires=Sat, 05-Feb-2022 03:10:22 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', - 'Thu, 06 Jan 2022 03:10:21 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz', {"tags":{"tag1":"IT_T1","tag2":"IT2_T2"},"location":"eastus","identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa":{}}},"properties":{"source":{"type":"ManagedImage","imageId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimageaaa"},"customize":[{"type":"Shell","name":"Shell Customizer Example","scriptUri":"https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh"}],"distribute":[{"type":"ManagedImage","runOutputName":"image_it_pir_1","artifactTags":{"tagName":"value"},"imageId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimageaaa","location":"eastus"}]}}) - .query(true) - .reply(201, {"properties":{"source":{"imageId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimageaaa","type":"ManagedImage"},"customize":[{"name":"Shell Customizer Example","scriptUri":"https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh","type":"Shell"}],"distribute":[{"artifactTags":{"tagName":"value"},"imageId":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimageaaa","location":"eastus","runOutputName":"image_it_pir_1","type":"ManagedImage"}],"provisioningState":"Creating","buildTimeoutInMinutes":0},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa":{}}},"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz","name":"myimageTemplatexxxz","type":"Microsoft.VirtualMachineImages/imageTemplates","location":"eastus","tags":{"tag1":"IT_T1","tag2":"IT2_T2"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '1395', - 'Content-Type', - 'application/json', - 'Expires', - '-1', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'azure-asyncoperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272?api-version=2021-10-01', - 'x-ms-correlation-request-id', - '30bdd91e-a73b-46d2-a381-1731b263fbd0', - 'x-ms-request-id', - '735bc5c5-58ff-4587-b5ea-011ab2746272', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031032Z:30bdd91e-a73b-46d2-a381-1731b263fbd0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '0f8a796c-7b21-48c8-a42f-99b5abbe78fd', - 'x-ms-request-id', - '7f3a4960-e188-4d7c-9c14-442137a1e40d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031032Z:0f8a796c-7b21-48c8-a42f-99b5abbe78fd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'e284992f-92a6-4db6-88ce-1233834812c2', - 'x-ms-request-id', - '2759a4fe-15de-4491-b10c-a256551a9ba5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031035Z:e284992f-92a6-4db6-88ce-1233834812c2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - '3d1c5d8d-a4f4-47f4-9772-11118bf56041', - 'x-ms-request-id', - '897ab430-5ac2-43b7-bb7b-d723ae6bffc0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031037Z:3d1c5d8d-a4f4-47f4-9772-11118bf56041', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - 'f4a6ab5d-e8bb-4f9f-9c48-1d9cd5f071f1', - 'x-ms-request-id', - 'ddcc2ce0-770e-4ad0-ab9b-e7f290817919', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031039Z:f4a6ab5d-e8bb-4f9f-9c48-1d9cd5f071f1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - '6d677261-950a-4803-af29-417dec3f23aa', - 'x-ms-request-id', - 'ebe8cafd-94cd-41f4-bf17-0785f4cb97d9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031042Z:6d677261-950a-4803-af29-417dec3f23aa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - '080a423a-ef4b-4e7e-9ea6-791adceba6c5', - 'x-ms-request-id', - 'c51e37b3-e8fa-4176-ab7b-8bc5c80116a7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031044Z:080a423a-ef4b-4e7e-9ea6-791adceba6c5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:44 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - 'fbff1ee4-03ed-4bc0-a8f8-a8b438484f34', - 'x-ms-request-id', - '7aa7f6c8-ce11-430f-9e36-f8c3dd6e4a3f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031046Z:fbff1ee4-03ed-4bc0-a8f8-a8b438484f34', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - 'a8dde3ee-87f1-481f-9bd2-5ade5a707ca7', - 'x-ms-request-id', - 'f22ba0c2-0b4e-4496-95e7-0b3f3236168e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031049Z:a8dde3ee-87f1-481f-9bd2-5ade5a707ca7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:49 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - 'd1e6217e-3a08-4bab-b9f1-317c1087d776', - 'x-ms-request-id', - '6ee67ceb-9d69-4985-bafe-9ef53ca3b387', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031051Z:d1e6217e-3a08-4bab-b9f1-317c1087d776', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - '2c113dc0-8180-4922-a1ff-dddc84db686e', - 'x-ms-request-id', - 'cfe2cdcd-dd7f-42d7-89f1-c42024d3a1d8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031053Z:2c113dc0-8180-4922-a1ff-dddc84db686e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-correlation-request-id', - '80367f21-4e7e-48f8-951d-41d5e8fc0a90', - 'x-ms-request-id', - '90e00b2d-5dbf-4ab9-b892-9666f686f8f3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031056Z:80367f21-4e7e-48f8-951d-41d5e8fc0a90', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:56 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-correlation-request-id', - 'e85e179e-f1c8-4dbd-ac7c-489008cb7526', - 'x-ms-request-id', - 'aaca1c7b-2d37-481e-ad0f-5a69257f30d4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031058Z:e85e179e-f1c8-4dbd-ac7c-489008cb7526', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:10:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-correlation-request-id', - '5386acb4-25be-4ce8-8b85-da7bba4b271d', - 'x-ms-request-id', - '60ae90ca-6a4c-4ed9-84fa-269faacf43cc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031100Z:5386acb4-25be-4ce8-8b85-da7bba4b271d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbc72b67c59571775de34e68bba7d5308b8bd9dbd3d7a777be7d3373bf71eedee3cbab733be77f0531f25","bfe4ff01a92edaad75000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-correlation-request-id', - 'eabef78e-1821-46a4-a3ca-3c9886cbd112', - 'x-ms-request-id', - 'b2f0bd18-488d-4e9e-b934-a64cb19b2bb9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031103Z:eabef78e-1821-46a4-a3ca-3c9886cbd112', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/735bc5c5-58ff-4587-b5ea-011ab2746272') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1edcbbffe4e4fec9fdedfb07cf9e6defdf3f78b0fde4fee9f1f6ceeeeef193bd07fb9fee3dd8fb68442f346dd6ae1bbcf27a3d9de6f92c9f99cfebf64d21d0f676f6f6e8d5ed9d4fdfecdc7bb4bbf3e8decef8dec14f71c37c391b68b6fb68677ffce9c1c1eeeecefd9ffa28f9","25ff0ff7ebf360a0000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11985', - 'x-ms-correlation-request-id', - 'bac4b655-8fa3-4b6c-85bb-76c2967c8e8d', - 'x-ms-request-id', - 'd432fc0e-0e67-4245-9594-747a87388cae', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031105Z:bac4b655-8fa3-4b6c-85bb-76c2967c8e8d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:05 GMT' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.json new file mode 100644 index 000000000000..7a7536a31603 --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_create_test.json @@ -0,0 +1,599 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz?api-version=2022-02-14", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "885", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "2c388afe-845d-498d-94bd-5d2f96178f5c" + }, + "RequestBody": { + "tags": { + "tag1": "IT_T1", + "tag2": "IT2_T2" + }, + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": {} + } + }, + "properties": { + "source": { + "type": "ManagedImage", + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa" + }, + "customize": [ + { + "type": "Shell", + "name": "Shell Customizer Example", + "scriptUri": "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh" + } + ], + "distribute": [ + { + "type": "ManagedImage", + "runOutputName": "image_it_pir_1", + "artifactTags": { + "tagName": "value" + }, + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "location": "eastus" + } + ] + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "Cache-Control": "no-cache", + "Content-Length": "1402", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d3641134-2e33-4e12-a323-d617e956cf7f", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "90da0447-d8fd-4f34-8997-544d9ffe5bfb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073102Z:d3641134-2e33-4e12-a323-d617e956cf7f" + }, + "ResponseBody": { + "properties": { + "source": { + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "type": "ManagedImage" + }, + "customize": [ + { + "name": "Shell Customizer Example", + "scriptUri": "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh", + "type": "Shell" + } + ], + "distribute": [ + { + "artifactTags": { + "tagName": "value" + }, + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "location": "eastus", + "runOutputName": "image_it_pir_1", + "type": "ManagedImage" + } + ], + "provisioningState": "Creating", + "buildTimeoutInMinutes": 0, + "stagingResourceGroup": "", + "exactStagingResourceGroup": "" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": {} + } + }, + "tags": { + "tag1": "IT_T1", + "tag2": "IT2_T2" + }, + "location": "eastus", + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz", + "name": "myimageTemplatexxxz", + "type": "Microsoft.VirtualMachineImages/imageTemplates" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "4b1ae417-819d-4c64-8bba-ad72a781f361" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "dea5e3cb-d1d4-4405-ba05-11330de17146", + "x-ms-ratelimit-remaining-subscription-reads": "11927", + "x-ms-request-id": "f2c9a3ae-e74d-4897-8cc1-971e8ade8727", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073103Z:dea5e3cb-d1d4-4405-ba05-11330de17146" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "00b68a05-66f7-41cf-aecb-2a27bd164bc1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6f1bc415-0862-48c4-b6e4-f915b540b3c1", + "x-ms-ratelimit-remaining-subscription-reads": "11926", + "x-ms-request-id": "4ed15c8a-5723-4ee9-bf5f-ecd5ff099c4d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073103Z:6f1bc415-0862-48c4-b6e4-f915b540b3c1" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "ca4fe3f7-5bdf-46c1-8748-fbe25dded593" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cc1a7114-e8af-4fcb-9802-75a5c06e8fde", + "x-ms-ratelimit-remaining-subscription-reads": "11925", + "x-ms-request-id": "2a914861-5861-4fce-b321-568139e38e46", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073105Z:cc1a7114-e8af-4fcb-9802-75a5c06e8fde" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "cff6c271-cd70-40d5-b282-25d589f9aee0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e2521e9b-1956-44fd-9cf2-a4af141eb927", + "x-ms-ratelimit-remaining-subscription-reads": "11924", + "x-ms-request-id": "5dfb0e24-7d96-4dae-a967-2110e9650893", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073108Z:e2521e9b-1956-44fd-9cf2-a4af141eb927" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "bdb68beb-4a3f-4afb-b37f-0b0304fe06ba" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "86a5c35d-75a5-473b-bdd4-828c223b448f", + "x-ms-ratelimit-remaining-subscription-reads": "11923", + "x-ms-request-id": "3f9e10f5-a1b7-4d58-ab4c-2fb82ef2e178", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073110Z:86a5c35d-75a5-473b-bdd4-828c223b448f" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "959f438a-c378-4069-a46c-c489313e7051" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3abc6644-855b-4bea-bdda-64d4edb9c3e6", + "x-ms-ratelimit-remaining-subscription-reads": "11922", + "x-ms-request-id": "571ff95b-01e6-4938-8348-36104f20d7a3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073112Z:3abc6644-855b-4bea-bdda-64d4edb9c3e6" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "b6885848-9668-48bc-aac7-fd7b6921aad6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "345de9e9-7e57-4b59-9709-396012c571ca", + "x-ms-ratelimit-remaining-subscription-reads": "11921", + "x-ms-request-id": "03183a8b-acec-4ce3-972e-6d8f1cc5a8a2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073115Z:345de9e9-7e57-4b59-9709-396012c571ca" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "145a4da7-b393-444a-9359-c4dc12aa0b25" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "70fb10ac-c1e5-494d-8ded-c0fe729f92ee", + "x-ms-ratelimit-remaining-subscription-reads": "11920", + "x-ms-request-id": "1b6f470b-9d27-447d-bd23-405cdfd48180", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073117Z:70fb10ac-c1e5-494d-8ded-c0fe729f92ee" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "4c003d96-d9d1-432f-b27c-cd07bd6c9edd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63968773-8177-4e53-bf40-0a49c148c7a9", + "x-ms-ratelimit-remaining-subscription-reads": "11919", + "x-ms-request-id": "d921f056-bb09-4ff1-be85-b8836d34662d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073120Z:63968773-8177-4e53-bf40-0a49c148c7a9" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "64ac64a6-3521-4679-b5fd-e0835c8dfc1d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e9b1c953-f0cb-4ff2-bfd3-1b4fe273d691", + "x-ms-ratelimit-remaining-subscription-reads": "11918", + "x-ms-request-id": "0ba13e2a-b5f7-473d-8b6a-2212a4e1a6b1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073122Z:e9b1c953-f0cb-4ff2-bfd3-1b4fe273d691" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "7b53f3e7-3719-4db7-998e-5a93f60b7c6b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7a7ac69f-3d7d-4303-9880-53e7a06bafe7", + "x-ms-ratelimit-remaining-subscription-reads": "11917", + "x-ms-request-id": "cb5891aa-b210-4200-b95a-fcd1a8126110", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073124Z:7a7ac69f-3d7d-4303-9880-53e7a06bafe7" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "77454d1b-d78a-4de0-b51e-abf64c4772d0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e8cc2d33-d3d3-40f3-a99a-2730d0c88b5e", + "x-ms-ratelimit-remaining-subscription-reads": "11916", + "x-ms-request-id": "926bf8be-12c9-4126-bfb9-d9fbe2302790", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073127Z:e8cc2d33-d3d3-40f3-a99a-2730d0c88b5e" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "InProgress", + "startTime": "2022-06-06T07:31:00.66Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/90da0447-d8fd-4f34-8997-544d9ffe5bfb?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "2911bf60-79e4-48b1-be4d-b9847c68132c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "79df7883-a898-4147-a5b4-a486bb1648b5", + "x-ms-ratelimit-remaining-subscription-reads": "11915", + "x-ms-request-id": "99c5befb-4f44-4d45-aa77-dac2d80fb78e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073129Z:79df7883-a898-4147-a5b4-a486bb1648b5" + }, + "ResponseBody": { + "name": "90DA0447-D8FD-4F34-8997-544D9FFE5BFB", + "status": "Succeeded", + "startTime": "2022-06-06T07:31:00.66Z", + "endTime": "2022-06-06T07:31:28.8633339Z" + } + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.js deleted file mode 100644 index 6ed9da944d41..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.js +++ /dev/null @@ -1,3241 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "0d9493f2933e16a3bd6b8dec9af7b24c"; - -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', - 'cc627666-e0af-4a19-bdb7-d11097697a00', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Ai5w1m2BBx1Cl0jehxGFKGA; expires=Sat, 05-Feb-2022 03:11:09 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7VFeu034X-XREHGvhb356Hf8JfIMs2Lfi3lcM2fJycSWrjoa1yq-NOYNycWo68ywKG6ayru53JZThfXAn0eG_jFaLmjPraTZ445LnieeLWT56XvPPTBXs0_fFVqL-WfkI4CEyKbdj-lotuNqgBpQsooW71rOzVkz7HURynI4kM0gAA; 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', - 'Thu, 06 Jan 2022 03:11:09 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', - 'cc627666-e0af-4a19-bdb7-d11099697a00', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Amu4Z-emvRVGs_iztMYVZpE; expires=Sat, 05-Feb-2022 03:11:10 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGoLEQMiRPV1oy-cHi4QAv73LLyOxSGlf-2pHQZIaXendRuX6By_Un0xOnl101YbFz17_7pV5IBKphGP_A-ZO97FnUTxVz07q7GgjCvLVmLOWB5kOC5tjtAzBUuqLDEosDfE7bt9wuprL5sLqkpdzVrMdlO98WDgacd95cTkh2zcgAA; 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', - 'Thu, 06 Jan 2022 03:11:09 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=28053b19-a18a-4f72-a933-4b9893528242&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', - 'f3edfea5-2534-40e9-bc13-f4ee5dcc8600', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AmJ1gT5SPLpGqbAIxmDld6fLj78gAQAAAM1UaNkOAAAA; expires=Sat, 05-Feb-2022 03:11:10 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', - 'Thu, 06 Jan 2022 03:11:09 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd?api-version=2021-10-01', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'azure-asyncoperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd?api-version=2021-10-01', - 'x-ms-correlation-request-id', - '7728b82e-430a-4064-9145-69aae7cdda18', - 'x-ms-request-id', - '9cdda530-9daf-4d1c-a164-cb099600b5fd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031111Z:7728b82e-430a-4064-9145-69aae7cdda18', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11982', - 'x-ms-correlation-request-id', - 'cc5785cc-623f-49f4-8c7f-f2efabdafea4', - 'x-ms-request-id', - '817b4d1c-8742-408c-ba78-fbbe9ea6bcba', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031111Z:cc5785cc-623f-49f4-8c7f-f2efabdafea4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11981', - 'x-ms-correlation-request-id', - 'a54c0375-af51-4a86-adc4-0579153f9f24', - 'x-ms-request-id', - '0570fc6c-b241-471c-b2f9-f246eaf26f0e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031114Z:a54c0375-af51-4a86-adc4-0579153f9f24', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11980', - 'x-ms-correlation-request-id', - '8af07b90-c881-4a81-976d-24623b76a3b6', - 'x-ms-request-id', - 'fd749db1-0856-47f5-86d9-ad0bf97428e9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031116Z:8af07b90-c881-4a81-976d-24623b76a3b6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11979', - 'x-ms-correlation-request-id', - 'fd8c64ce-f47b-4ed3-b66d-9463a3aea621', - 'x-ms-request-id', - '5bbeb424-7d0d-4c92-9272-bf5b63bb75ce', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031118Z:fd8c64ce-f47b-4ed3-b66d-9463a3aea621', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11978', - 'x-ms-correlation-request-id', - '1048790a-ac98-4e9d-9408-b9fa717e9d76', - 'x-ms-request-id', - '8a1a7bf1-16c0-418a-a062-f8387835d1dd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031121Z:1048790a-ac98-4e9d-9408-b9fa717e9d76', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11977', - 'x-ms-correlation-request-id', - '7e612a9a-51c7-49ea-8c2f-41faca3f0df3', - 'x-ms-request-id', - '956813e1-fb38-40f7-86e8-6a9e6349cb81', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031123Z:7e612a9a-51c7-49ea-8c2f-41faca3f0df3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11976', - 'x-ms-correlation-request-id', - 'baf06c0b-338c-400a-ac86-7053a723cef3', - 'x-ms-request-id', - '74889f39-1544-45d1-a772-f3e9fc7b2aea', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031125Z:baf06c0b-338c-400a-ac86-7053a723cef3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11975', - 'x-ms-correlation-request-id', - '9507acf3-9225-48a1-abfa-505c09980ec4', - 'x-ms-request-id', - '80fe83dd-047c-4bac-baf2-02c752e0856d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031128Z:9507acf3-9225-48a1-abfa-505c09980ec4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11974', - 'x-ms-correlation-request-id', - 'b137b7f9-fb28-448e-8552-dfc298253bfa', - 'x-ms-request-id', - '128464e6-f5e2-4a35-8dd3-b6f7a8eb9c9b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031130Z:b137b7f9-fb28-448e-8552-dfc298253bfa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:29 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11973', - 'x-ms-correlation-request-id', - '158d4da9-0b9d-4fa9-a9c3-d02f6f5b607e', - 'x-ms-request-id', - '5b80cc8b-ae89-4454-ab9d-d2d97fdc7567', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031132Z:158d4da9-0b9d-4fa9-a9c3-d02f6f5b607e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11972', - 'x-ms-correlation-request-id', - 'df7ec760-45e4-471a-ae38-b39aae97d988', - 'x-ms-request-id', - 'c7ec97de-2aff-4c1a-9cdc-85d0a236adcd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031135Z:df7ec760-45e4-471a-ae38-b39aae97d988', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11971', - 'x-ms-correlation-request-id', - 'b031ba59-c1c7-4044-839f-6b811a081d0e', - 'x-ms-request-id', - '8d75b3e9-656c-433a-ae74-72316dde3e48', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031137Z:b031ba59-c1c7-4044-839f-6b811a081d0e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:36 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11970', - 'x-ms-correlation-request-id', - '6edbe0ab-2a70-4a30-a6a9-3c75edfa3e75', - 'x-ms-request-id', - '5b5e6400-8348-4d5a-9583-8736989c29d4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031139Z:6edbe0ab-2a70-4a30-a6a9-3c75edfa3e75', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11969', - 'x-ms-correlation-request-id', - '92f4b849-246a-4897-9a4b-576b3b26584b', - 'x-ms-request-id', - 'fef7ecd3-ac95-47a3-a59d-0ab471d88ba5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031142Z:92f4b849-246a-4897-9a4b-576b3b26584b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11968', - 'x-ms-correlation-request-id', - 'da9cb74b-89b1-4cb0-81fb-c2d066dd307c', - 'x-ms-request-id', - 'b0bb0709-74bb-43a8-aadd-90d582197157', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031144Z:da9cb74b-89b1-4cb0-81fb-c2d066dd307c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:43 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11967', - 'x-ms-correlation-request-id', - 'dfe46359-b71f-4b17-a990-cd57959fff17', - 'x-ms-request-id', - 'e0148636-9ae2-4368-a88e-de524d1ae5d5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031146Z:dfe46359-b71f-4b17-a990-cd57959fff17', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11966', - 'x-ms-correlation-request-id', - '16e43aa2-791d-4507-9328-a610ddb434bc', - 'x-ms-request-id', - 'a936664a-ba3a-4e16-a2c2-ccbd92b030d0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031149Z:16e43aa2-791d-4507-9328-a610ddb434bc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11965', - 'x-ms-correlation-request-id', - 'a71f178a-1447-4cdf-bbba-ab801b00cdf6', - 'x-ms-request-id', - '5c7e3632-a23e-40e4-88cf-a6adf9237479', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031151Z:a71f178a-1447-4cdf-bbba-ab801b00cdf6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11964', - 'x-ms-correlation-request-id', - 'ab5dc77e-6557-450d-a882-179724ea432f', - 'x-ms-request-id', - '4513f93f-0b5a-4a3a-9d19-7c52f13127a3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031153Z:ab5dc77e-6557-450d-a882-179724ea432f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11963', - 'x-ms-correlation-request-id', - '3611b255-33a8-4c9e-9f79-d09beaa28134', - 'x-ms-request-id', - '0e36eba6-b3e5-4a12-ba17-bef347979cde', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031156Z:3611b255-33a8-4c9e-9f79-d09beaa28134', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11962', - 'x-ms-correlation-request-id', - '23b2aae7-3728-4c04-bbc5-d636668cc57b', - 'x-ms-request-id', - 'eb654254-d0ab-440f-9dc8-bcd8f9d7c21d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031158Z:23b2aae7-3728-4c04-bbc5-d636668cc57b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11961', - 'x-ms-correlation-request-id', - 'a9c2dc07-fd7a-4745-ae32-2b145c1dd5ec', - 'x-ms-request-id', - 'acd83ec8-ff44-482a-8d54-357883127c91', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031200Z:a9c2dc07-fd7a-4745-ae32-2b145c1dd5ec', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11960', - 'x-ms-correlation-request-id', - '54786d9d-13f6-41e8-ad1a-e5cdd35a8690', - 'x-ms-request-id', - 'e1f612a6-406a-4042-a2e7-ead9591c54e4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031203Z:54786d9d-13f6-41e8-ad1a-e5cdd35a8690', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11959', - 'x-ms-correlation-request-id', - '2838de2e-ff1e-4055-952a-b10e263d9f76', - 'x-ms-request-id', - 'bcf28a70-0a49-4bc0-b237-2b6300778319', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031205Z:2838de2e-ff1e-4055-952a-b10e263d9f76', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11958', - 'x-ms-correlation-request-id', - 'c644a561-85da-40a1-894a-388fbed3df6e', - 'x-ms-request-id', - '2dca15f4-c5ea-4d93-9389-a60f852d852d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031207Z:c644a561-85da-40a1-894a-388fbed3df6e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11957', - 'x-ms-correlation-request-id', - '982e6983-cc99-4bd3-80bb-37f30c9b0d16', - 'x-ms-request-id', - 'f40f3a34-8f99-4f09-b6ab-c1f61d1061c1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031210Z:982e6983-cc99-4bd3-80bb-37f30c9b0d16', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11956', - 'x-ms-correlation-request-id', - 'e8c869c7-9252-44a2-87bc-07e3197e34c3', - 'x-ms-request-id', - 'a7a14fad-4a9c-4ac1-b635-0a3e70af7f1a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031212Z:e8c869c7-9252-44a2-87bc-07e3197e34c3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11955', - 'x-ms-correlation-request-id', - 'cb10ab88-4a35-4566-aadc-842d7f31365c', - 'x-ms-request-id', - '4b8eee4c-a312-4a44-910f-9144272737c4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031214Z:cb10ab88-4a35-4566-aadc-842d7f31365c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11954', - 'x-ms-correlation-request-id', - 'c8f502a4-2d43-41d1-80c9-f672e010ea4d', - 'x-ms-request-id', - 'da8fd214-cc4c-456f-aa35-1d5a4e9902c5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031217Z:c8f502a4-2d43-41d1-80c9-f672e010ea4d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11953', - 'x-ms-correlation-request-id', - '2e375a6c-9df3-44c1-a07f-9fdb83f428ff', - 'x-ms-request-id', - '9be89086-87bf-4720-8eca-6ecc5ba82a84', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031219Z:2e375a6c-9df3-44c1-a07f-9fdb83f428ff', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11952', - 'x-ms-correlation-request-id', - 'edca69ee-979c-4f84-9ea0-88d8b51f4a93', - 'x-ms-request-id', - '9a5c191c-ea9a-40d8-b162-0e3ff4a15aa5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031221Z:edca69ee-979c-4f84-9ea0-88d8b51f4a93', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11951', - 'x-ms-correlation-request-id', - '5a6869a9-c725-43bc-b02d-31ecc7729b67', - 'x-ms-request-id', - '72eb324a-282a-4989-8bd8-77b216d185a7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031224Z:5a6869a9-c725-43bc-b02d-31ecc7729b67', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11950', - 'x-ms-correlation-request-id', - '569603f1-97d2-43ef-bf79-34e45613f1a5', - 'x-ms-request-id', - 'cd441f9b-576c-4e25-a303-6921e2e41687', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031226Z:569603f1-97d2-43ef-bf79-34e45613f1a5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11949', - 'x-ms-correlation-request-id', - '20941122-f963-4760-9c1d-0de03f10b4cc', - 'x-ms-request-id', - '4176ca7a-6eb7-4d6f-808c-6f5f4a0ae5c9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031228Z:20941122-f963-4760-9c1d-0de03f10b4cc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11948', - 'x-ms-correlation-request-id', - 'ca1b3f55-372c-43e4-9ab4-bf695b1d8393', - 'x-ms-request-id', - '67796ada-496c-4802-8f90-a81bfc144272', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031231Z:ca1b3f55-372c-43e4-9ab4-bf695b1d8393', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11947', - 'x-ms-correlation-request-id', - '6ab6075f-e2a9-4afd-b84f-dd823d29bcbd', - 'x-ms-request-id', - '8d1f6118-5441-496c-b0e8-fe11235a4ed3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031233Z:6ab6075f-e2a9-4afd-b84f-dd823d29bcbd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11946', - 'x-ms-correlation-request-id', - '6c21e206-646b-414f-9825-0f80b5f761f4', - 'x-ms-request-id', - 'c5c280ca-5426-492b-9e6d-c0a3c4863bad', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031235Z:6c21e206-646b-414f-9825-0f80b5f761f4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:35 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11945', - 'x-ms-correlation-request-id', - '2cfefd02-615f-4388-aaca-ce4e0ca4870e', - 'x-ms-request-id', - '87e54c30-ce26-41de-bbab-35e0e64f2d54', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031238Z:2cfefd02-615f-4388-aaca-ce4e0ca4870e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11944', - 'x-ms-correlation-request-id', - 'c7360e3a-d67f-4903-9ab1-6a0926b7d36d', - 'x-ms-request-id', - 'db9dd14d-05c3-4421-ba16-0e45497b23c5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031240Z:c7360e3a-d67f-4903-9ab1-6a0926b7d36d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11943', - 'x-ms-correlation-request-id', - '9eef3b5f-3ddb-49b6-a119-ce07ab1a7b0a', - 'x-ms-request-id', - '09b3d388-35a4-4289-a0ee-7b0866ed7424', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031243Z:9eef3b5f-3ddb-49b6-a119-ce07ab1a7b0a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11942', - 'x-ms-correlation-request-id', - 'a36740e6-40a2-4169-a383-353a75d3eecf', - 'x-ms-request-id', - '8a31ea36-e971-464d-8686-e04db6af8e9c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031245Z:a36740e6-40a2-4169-a383-353a75d3eecf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:44 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11941', - 'x-ms-correlation-request-id', - 'a918ed79-e67a-4b20-9991-205a8bf4d839', - 'x-ms-request-id', - 'd59f3d14-b62e-4b7c-846b-086f84e33cfc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031247Z:a918ed79-e67a-4b20-9991-205a8bf4d839', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11940', - 'x-ms-correlation-request-id', - '7d7eb8cf-13fd-432b-9597-57f2171f805d', - 'x-ms-request-id', - '517bb28e-05c4-47e2-ac37-a1bd308c683c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031250Z:7d7eb8cf-13fd-432b-9597-57f2171f805d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:49 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11939', - 'x-ms-correlation-request-id', - '9ac6526c-7a5f-46f7-a594-44006848ddfb', - 'x-ms-request-id', - '9124be90-5140-409e-a5bb-aa1fac0b08cd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031252Z:9ac6526c-7a5f-46f7-a594-44006848ddfb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11938', - 'x-ms-correlation-request-id', - 'b8eb58eb-f5c4-4558-9a6e-4bbe8e5040cc', - 'x-ms-request-id', - '9e62d503-05a1-4b42-b825-3301c5e1dbef', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031254Z:b8eb58eb-f5c4-4558-9a6e-4bbe8e5040cc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11937', - 'x-ms-correlation-request-id', - 'b388d8c6-dc00-4273-be4a-958798ade468', - 'x-ms-request-id', - 'c0681137-88da-4004-85f6-ed5c6c513d70', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031257Z:b388d8c6-dc00-4273-be4a-958798ade468', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:56 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11936', - 'x-ms-correlation-request-id', - 'c82ab87f-c6bf-45ac-bf63-c912e46af515', - 'x-ms-request-id', - 'c572cca8-7d30-4cbd-867f-9da7567ef82b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031259Z:c82ab87f-c6bf-45ac-bf63-c912e46af515', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:12:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11935', - 'x-ms-correlation-request-id', - '67ef8b08-af5e-4804-90c2-5c9dc2187965', - 'x-ms-request-id', - '17d45cab-a5f0-4f2c-868c-1d7faa0efed5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031301Z:67ef8b08-af5e-4804-90c2-5c9dc2187965', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:01 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11934', - 'x-ms-correlation-request-id', - '22a2c0f3-2989-4839-8691-00f913685652', - 'x-ms-request-id', - '65432287-26d4-4fd9-bf3d-0f70ef159606', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031304Z:22a2c0f3-2989-4839-8691-00f913685652', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11933', - 'x-ms-correlation-request-id', - 'dae7e1fc-bb23-4682-a8c8-7abc51b05068', - 'x-ms-request-id', - 'b170f31c-0f4b-4ca0-a85c-fa2f7095cb18', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031306Z:dae7e1fc-bb23-4682-a8c8-7abc51b05068', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:06 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11932', - 'x-ms-correlation-request-id', - 'd2f10628-64b6-442d-b9b2-f7c9e9b59c37', - 'x-ms-request-id', - '6ba66df0-c834-4b07-8be7-d990a43fe8a2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031308Z:d2f10628-64b6-442d-b9b2-f7c9e9b59c37', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:08 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11931', - 'x-ms-correlation-request-id', - 'b4b90f44-7a88-4da6-a23d-d6af876b2645', - 'x-ms-request-id', - 'ef83af49-1fab-4ed6-9223-dbe3da6c4b02', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031311Z:b4b90f44-7a88-4da6-a23d-d6af876b2645', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11930', - 'x-ms-correlation-request-id', - 'ef412b26-26e5-47dd-bacf-e71e5080b6bd', - 'x-ms-request-id', - 'f64ca1c8-5249-42de-bf10-2e1d65d9e47b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031313Z:ef412b26-26e5-47dd-bacf-e71e5080b6bd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11929', - 'x-ms-correlation-request-id', - '989bfb27-e81e-492c-b33e-909d6044907a', - 'x-ms-request-id', - '72706703-37ff-4ecc-b4c3-b9a19b598b95', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031315Z:989bfb27-e81e-492c-b33e-909d6044907a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:15 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11928', - 'x-ms-correlation-request-id', - '53effda7-5aa0-4c5f-9819-89377fc7c6b4', - 'x-ms-request-id', - '05c3c1e5-1ab6-44b8-af18-39d3920d1466', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031318Z:53effda7-5aa0-4c5f-9819-89377fc7c6b4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11927', - 'x-ms-correlation-request-id', - '9f0eeb50-06be-449e-a000-03675b586c39', - 'x-ms-request-id', - 'b981f0cd-16d1-48a5-8402-d0a507a9e8e9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031320Z:9f0eeb50-06be-449e-a000-03675b586c39', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11926', - 'x-ms-correlation-request-id', - '8a28b64a-19fd-45e5-9490-420c0be749db', - 'x-ms-request-id', - '586f6f41-f0d5-4627-a19f-1cda5e0a77c3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031322Z:8a28b64a-19fd-45e5-9490-420c0be749db', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:22 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11925', - 'x-ms-correlation-request-id', - '1f71a436-dc2d-408a-b84d-089c5d4c87cf', - 'x-ms-request-id', - 'e84932e2-8019-45ac-8f57-474de81a3cb7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031325Z:1f71a436-dc2d-408a-b84d-089c5d4c87cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11924', - 'x-ms-correlation-request-id', - '615e8cd3-9787-4fcd-92e0-b6dd7bbbb89a', - 'x-ms-request-id', - 'df3a1e8d-f2ab-4388-a7c7-7df3c7f57133', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031327Z:615e8cd3-9787-4fcd-92e0-b6dd7bbbb89a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11923', - 'x-ms-correlation-request-id', - '0c26872d-8083-4169-aeca-6ca774d87417', - 'x-ms-request-id', - '352c16e7-4750-4fb6-9b4a-4784732004a0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031329Z:0c26872d-8083-4169-aeca-6ca774d87417', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:29 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11922', - 'x-ms-correlation-request-id', - '4208f104-5d84-4945-ac0c-de5687a7b609', - 'x-ms-request-id', - '4008dec1-d0c2-410b-a5a9-359ea8664c90', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031332Z:4208f104-5d84-4945-ac0c-de5687a7b609', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11921', - 'x-ms-correlation-request-id', - '7b9fe3f3-5a24-4f68-a462-60d98d2b4bec', - 'x-ms-request-id', - '83c020da-aa44-4eae-a535-cd1ab755b740', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031334Z:7b9fe3f3-5a24-4f68-a462-60d98d2b4bec', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11920', - 'x-ms-correlation-request-id', - '26ed1e10-0303-4a44-b14d-34b8ccfd63a4', - 'x-ms-request-id', - 'cbaded09-e3e4-432a-b907-5a1ce0203892', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031337Z:26ed1e10-0303-4a44-b14d-34b8ccfd63a4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:36 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11919', - 'x-ms-correlation-request-id', - '5b2ecbb3-f40d-47e3-a7f7-23281fa8bbfa', - 'x-ms-request-id', - '1064f185-1575-47a7-91c2-593b5233210e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031339Z:5b2ecbb3-f40d-47e3-a7f7-23281fa8bbfa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11918', - 'x-ms-correlation-request-id', - 'c93e1089-5986-4433-aa0e-2d01a27d07c7', - 'x-ms-request-id', - 'e5d4f6ee-0d8c-463a-9ef5-c50d10e5013d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031341Z:c93e1089-5986-4433-aa0e-2d01a27d07c7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11917', - 'x-ms-correlation-request-id', - '5f847f21-a629-4c37-82fa-42cccd078f67', - 'x-ms-request-id', - '2f43eb24-5fae-41bf-8553-7c205004eaa5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031344Z:5f847f21-a629-4c37-82fa-42cccd078f67', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:43 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11916', - 'x-ms-correlation-request-id', - '42033dfc-6f63-4810-8de6-036f0212eafc', - 'x-ms-request-id', - '8e9d454a-c1f6-4ccb-9a14-08a58478ce33', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031346Z:42033dfc-6f63-4810-8de6-036f0212eafc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:45 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11915', - 'x-ms-correlation-request-id', - 'b0bd02ec-032d-4302-b161-70d6e45bd5a1', - 'x-ms-request-id', - 'a7a7baf6-c770-422a-ae11-9be8542bf729', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031348Z:b0bd02ec-032d-4302-b161-70d6e45bd5a1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11914', - 'x-ms-correlation-request-id', - '82fff9a8-51f7-45b2-876b-5646d3fd9318', - 'x-ms-request-id', - '8e5b6b26-e135-4caf-a8a1-1f63fe41369c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031351Z:82fff9a8-51f7-45b2-876b-5646d3fd9318', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11913', - 'x-ms-correlation-request-id', - '9f7e54fb-5c2e-4f9c-9c0f-ff71b165e3dc', - 'x-ms-request-id', - '1aa36346-f491-48cb-9f54-a4bcdde25730', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031353Z:9f7e54fb-5c2e-4f9c-9c0f-ff71b165e3dc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:52 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11912', - 'x-ms-correlation-request-id', - 'f9ac1494-722a-4877-98bd-86d2ad86b170', - 'x-ms-request-id', - '885bb2d5-804a-408a-8361-8e38748c9039', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031355Z:f9ac1494-722a-4877-98bd-86d2ad86b170', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11911', - 'x-ms-correlation-request-id', - '17e517b0-2c77-48d6-9d31-1243f17a9d24', - 'x-ms-request-id', - '2bdb8d24-dc91-409a-a27d-cf7dece5d009', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031358Z:17e517b0-2c77-48d6-9d31-1243f17a9d24', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11910', - 'x-ms-correlation-request-id', - 'bf468163-a8e6-44f1-b4e1-907afeec2d54', - 'x-ms-request-id', - '63987ad2-47a5-44e4-8a14-9e5c946fb813', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031400Z:bf468163-a8e6-44f1-b4e1-907afeec2d54', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:13:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11909', - 'x-ms-correlation-request-id', - 'ac7ef5b2-f0b8-4978-9eab-0c807ae796fb', - 'x-ms-request-id', - 'c11f074c-21cf-41ff-8aee-5b4f0d5ef6b0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031402Z:ac7ef5b2-f0b8-4978-9eab-0c807ae796fb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11908', - 'x-ms-correlation-request-id', - '3aff3be6-ab20-4c1c-ab8c-676fa10bce7c', - 'x-ms-request-id', - '69822764-1aef-4099-9009-ce6a1b3ac2cc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031405Z:3aff3be6-ab20-4c1c-ab8c-676fa10bce7c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11907', - 'x-ms-correlation-request-id', - '01b8a549-83f0-47dc-b425-b5ad3d3cde58', - 'x-ms-request-id', - 'c99b4bac-c05c-40bc-9d0e-bb33fcbd1658', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031407Z:01b8a549-83f0-47dc-b425-b5ad3d3cde58', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:06 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11906', - 'x-ms-correlation-request-id', - 'f366bdcd-e594-4e05-8adb-dad26026b747', - 'x-ms-request-id', - '98f9f104-0f11-4343-815f-86b49c60cfc6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031409Z:f366bdcd-e594-4e05-8adb-dad26026b747', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11905', - 'x-ms-correlation-request-id', - 'a8a62ebf-0204-499b-bdc3-eee5dc612985', - 'x-ms-request-id', - '9dbec79e-120f-4d23-b69a-38b4fb752b9e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031412Z:a8a62ebf-0204-499b-bdc3-eee5dc612985', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11904', - 'x-ms-correlation-request-id', - '1969f4df-9e14-4a1f-9924-929c1796ea65', - 'x-ms-request-id', - 'ad2c1480-21f1-4df0-a020-89ada32db3eb', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031414Z:1969f4df-9e14-4a1f-9924-929c1796ea65', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11903', - 'x-ms-correlation-request-id', - 'b4baa215-965e-4d26-98fa-1a5b69fda6d2', - 'x-ms-request-id', - 'ec59c714-48ab-4b74-837b-cdee6eb43418', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031416Z:b4baa215-965e-4d26-98fa-1a5b69fda6d2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11902', - 'x-ms-correlation-request-id', - '89f912e7-406d-4a4d-9513-ea5ab9f0b558', - 'x-ms-request-id', - 'fc70c64a-044e-4703-8e03-a3787fd1b9cc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031419Z:89f912e7-406d-4a4d-9513-ea5ab9f0b558', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11901', - 'x-ms-correlation-request-id', - 'b8ccf19f-a2d8-49ab-8142-30873d02c2ee', - 'x-ms-request-id', - 'e0d54618-e5da-429b-b6e3-dea3242f9455', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031422Z:b8ccf19f-a2d8-49ab-8142-30873d02c2ee', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11900', - 'x-ms-correlation-request-id', - 'b043ef4c-6d31-427d-9265-690efc61560c', - 'x-ms-request-id', - '7b93a684-aa9c-45df-8874-ec2792256f44', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031424Z:b043ef4c-6d31-427d-9265-690efc61560c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0cad9f2655d5dd479d3982feaf64d21e0f676f6f6b67776b7773e7db373efd1ee2efd6fbcbb730fcf4f7d94","fc92ff07e3268b937a000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11899', - 'x-ms-correlation-request-id', - 'e13c639c-e125-42b5-997f-59a6c2a075cb', - 'x-ms-request-id', - '2800e6db-5388-43cc-acc9-219041662575', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031426Z:e13c639c-e125-42b5-997f-59a6c2a075cb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/9cdda530-9daf-4d1c-a164-cb099600b5fd') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4cc16f9478fd28f1e9e3c7d7a7cffdecef6c3a7c7cfb6f79fee9e6c1fef7ebabf7df264e7e1c34f77769edc7ff6f4a311bdd0b459bb6ef0caebf5749ae7b37c663eafdb378540dbdbd9dbdbded9dddef9f4cdcebd47bbbbf4bff1eece3d3c3fc5adf3e56ca0edfea3bd83f1c1c1fec1eebd839ffa28f9","25ff0f74653531a5000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11898', - 'x-ms-correlation-request-id', - '7e948dce-e9bb-41a7-8f74-f6c043826ed4', - 'x-ms-request-id', - '491dcdf1-57f1-4c45-9d96-de615257a543', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031429Z:7e948dce-e9bb-41a7-8f74-f6c043826ed4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/imageTemplates') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927e749995ebfca347e9f7be9f","fc92ff07e77ab73310000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11897', - 'x-ms-correlation-request-id', - '7f2a58f6-d0ee-4b33-9915-e3ffb2f1d1a2', - 'x-ms-request-id', - 'd5f5aceb-0583-40fe-a992-e56e22df2dd5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031429Z:7f2a58f6-d0ee-4b33-9915-e3ffb2f1d1a2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:14:28 GMT' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.json new file mode 100644 index 000000000000..a7b7d3de5df5 --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_delete_test.json @@ -0,0 +1,1331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz?api-version=2022-02-14", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "e6f69201-4431-4dda-b6d7-4dc6ecf0fed7" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 06 Jun 2022 07:31:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "16842827-4910-4ddf-a0c6-44460512b157", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "a7e9a505-8926-4b9f-b8f0-6694aea6fd43", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073135Z:16842827-4910-4ddf-a0c6-44460512b157" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "7d46010d-b247-4b79-9944-fbf758e14ab2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ad9c0cc3-a13c-4a5a-b8ec-d892660fbf68", + "x-ms-ratelimit-remaining-subscription-reads": "11912", + "x-ms-request-id": "8f6f6ac7-f582-41da-b067-bcddea518fc0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073136Z:ad9c0cc3-a13c-4a5a-b8ec-d892660fbf68" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "322fd246-6d1a-4aa7-8058-938fa2f74518" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "45cc5c46-8d8a-4cc2-b52a-f5017eea1947", + "x-ms-ratelimit-remaining-subscription-reads": "11911", + "x-ms-request-id": "1c42a24d-2346-401c-91bb-65f625a6bccd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073136Z:45cc5c46-8d8a-4cc2-b52a-f5017eea1947" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "aac3c191-31ca-46f5-bd87-113cc332e2b5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fdfd0489-ef5f-4148-8014-95b511b35abf", + "x-ms-ratelimit-remaining-subscription-reads": "11910", + "x-ms-request-id": "9685352a-a37d-4875-8cbb-9d447691b11b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073138Z:fdfd0489-ef5f-4148-8014-95b511b35abf" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "cfe25183-b5c9-41ee-a49a-6ccc5e802a1f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3a717d32-1394-4825-9ebf-54ae454289cd", + "x-ms-ratelimit-remaining-subscription-reads": "11909", + "x-ms-request-id": "e16e10af-4158-496b-8028-be55762a3050", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073141Z:3a717d32-1394-4825-9ebf-54ae454289cd" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "a9163f0d-313b-4c20-8d9f-ddffecb1d826" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9494dd4d-b81c-498a-975c-66ab519a7bd3", + "x-ms-ratelimit-remaining-subscription-reads": "11908", + "x-ms-request-id": "df366c9c-a580-4b18-aeb1-f9d49a874abe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073143Z:9494dd4d-b81c-498a-975c-66ab519a7bd3" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "ec7b3e31-a164-45bf-aff9-14e57b33cdbe" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "721ab43e-b420-4c97-8483-30f87d38600f", + "x-ms-ratelimit-remaining-subscription-reads": "11907", + "x-ms-request-id": "94247b8c-890a-418c-975f-7ee00152caa4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073146Z:721ab43e-b420-4c97-8483-30f87d38600f" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "224246eb-24a3-43c1-a162-ef7acad80540" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "53ecf0b5-484f-4847-81f5-60dc9ea15e3d", + "x-ms-ratelimit-remaining-subscription-reads": "11906", + "x-ms-request-id": "b73f6e26-aec1-4b65-b484-93044ff09011", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073148Z:53ecf0b5-484f-4847-81f5-60dc9ea15e3d" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "73b361cf-c69e-4fec-a7a4-5a67c7d09a2e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4990765e-25b6-427f-a9d1-62ccb47eaa16", + "x-ms-ratelimit-remaining-subscription-reads": "11905", + "x-ms-request-id": "d3197a0e-6d36-41b3-a9b8-41a5a65f24df", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073150Z:4990765e-25b6-427f-a9d1-62ccb47eaa16" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "eb46c141-06a3-4d3c-8cc5-33c05871b6f0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "717e645f-1762-4de8-bcaa-a1d06ecf5a68", + "x-ms-ratelimit-remaining-subscription-reads": "11904", + "x-ms-request-id": "df4f347c-bf54-41c3-9ceb-8493be4a4101", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073153Z:717e645f-1762-4de8-bcaa-a1d06ecf5a68" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "c36e9858-06d3-4301-8ddf-b8ff431503f0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4a47a7b6-7979-4e23-bbcc-af583cd0aebc", + "x-ms-ratelimit-remaining-subscription-reads": "11903", + "x-ms-request-id": "c79c1df6-d74b-43a6-998b-67dc8b579040", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073155Z:4a47a7b6-7979-4e23-bbcc-af583cd0aebc" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "5a3e484a-c674-4535-8661-842db74deb5c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "89710221-7270-4a7d-808c-5351606e4edc", + "x-ms-ratelimit-remaining-subscription-reads": "11902", + "x-ms-request-id": "07dd0c75-6312-43ec-9ba7-68a81a007d85", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073157Z:89710221-7270-4a7d-808c-5351606e4edc" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "e3c32bd4-7313-4e38-8410-bcab2f641bfc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "99b235e2-1d7f-4afd-a5b1-6eb2e75d58ba", + "x-ms-ratelimit-remaining-subscription-reads": "11901", + "x-ms-request-id": "21cc913d-7797-42bf-8859-76dc329f6c95", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073200Z:99b235e2-1d7f-4afd-a5b1-6eb2e75d58ba" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "439eeed8-ae96-4d45-a7b6-fc1332483af9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2bb7c4ed-1f42-48f8-bfde-596622a090d9", + "x-ms-ratelimit-remaining-subscription-reads": "11900", + "x-ms-request-id": "a1560209-2fb8-4b58-b6b4-7aba9a47a1cc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073202Z:2bb7c4ed-1f42-48f8-bfde-596622a090d9" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "63c495ed-8253-4863-8aeb-887142cb1169" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fdbe0613-bc5f-46b4-bf0c-19963ba66c1e", + "x-ms-ratelimit-remaining-subscription-reads": "11899", + "x-ms-request-id": "072a3a3d-f1fe-492d-a098-72a0d47da572", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073204Z:fdbe0613-bc5f-46b4-bf0c-19963ba66c1e" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "89ebfbab-5984-47f4-acf6-0d5d30781100" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "958e12d2-3320-4642-86f2-be9088f4e18f", + "x-ms-ratelimit-remaining-subscription-reads": "11898", + "x-ms-request-id": "099ba269-aad0-46b3-a6ea-2da38e776304", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073207Z:958e12d2-3320-4642-86f2-be9088f4e18f" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "b9c2f0e7-3a7f-4e96-864d-978f42f355f4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "77b8b334-ef33-47fb-8a3f-56415c0bd589", + "x-ms-ratelimit-remaining-subscription-reads": "11897", + "x-ms-request-id": "11f48e69-8ab7-4bfc-ac66-6bdcf082d4aa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073209Z:77b8b334-ef33-47fb-8a3f-56415c0bd589" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "50a8f507-1e6d-4e2c-9d39-18d1d4a459e0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6bf32371-35ca-426b-b045-bb421c9694d4", + "x-ms-ratelimit-remaining-subscription-reads": "11896", + "x-ms-request-id": "4b30844c-7070-4c14-af75-2fe0466ddc02", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073212Z:6bf32371-35ca-426b-b045-bb421c9694d4" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "f6ffb3c5-4235-473f-9165-8e4dd63e17ca" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f6ed0f41-143e-4943-8e9c-78a8f9864c30", + "x-ms-ratelimit-remaining-subscription-reads": "11895", + "x-ms-request-id": "40e96827-2656-44df-a0e1-fb625dbffcfa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073214Z:f6ed0f41-143e-4943-8e9c-78a8f9864c30" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "8d6c5db1-3175-4a74-9f37-6d9cfb8f8297" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "368e881d-bdd1-4b71-b394-1f23d2711248", + "x-ms-ratelimit-remaining-subscription-reads": "11894", + "x-ms-request-id": "1c050a25-1485-4f65-8ec0-dc321024e3db", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073216Z:368e881d-bdd1-4b71-b394-1f23d2711248" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "6bb380f0-bc84-4621-b4f1-45c568e9de59" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63e7bd55-8c59-488c-a0df-966ba8ea95cc", + "x-ms-ratelimit-remaining-subscription-reads": "11893", + "x-ms-request-id": "052d68d8-646d-4419-b904-3bcd940bcfbe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073219Z:63e7bd55-8c59-488c-a0df-966ba8ea95cc" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "4f9e86f9-9d9f-41b3-bb9b-8859a7d88d29" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9057ff36-dd2d-41fa-b410-2e1095168a08", + "x-ms-ratelimit-remaining-subscription-reads": "11892", + "x-ms-request-id": "8304d5a4-9201-446d-80d3-610c3cdb2a4c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073221Z:9057ff36-dd2d-41fa-b410-2e1095168a08" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "bff72423-f377-423a-8e10-75f30fda001c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6b158e89-b6eb-4ed3-bba3-fc89bde2c3b2", + "x-ms-ratelimit-remaining-subscription-reads": "11891", + "x-ms-request-id": "f5c8e3ef-c86c-4edc-92cd-1aa09b277bb0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073223Z:6b158e89-b6eb-4ed3-bba3-fc89bde2c3b2" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "5a98734c-ed4e-40df-ba34-5b7a3af36c86" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fda6a3f7-9766-4b5c-80dc-98a2b25ffdb6", + "x-ms-ratelimit-remaining-subscription-reads": "11890", + "x-ms-request-id": "69d1b292-eb6a-4693-ad73-97a676edd6be", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073226Z:fda6a3f7-9766-4b5c-80dc-98a2b25ffdb6" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "174b0bcc-ae08-4812-86ff-f777e33e3c33" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a38ca0a1-9653-4703-8acd-17d59056f50c", + "x-ms-ratelimit-remaining-subscription-reads": "11889", + "x-ms-request-id": "c089f769-b722-4a8c-98b3-fcc887c56309", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073228Z:a38ca0a1-9653-4703-8acd-17d59056f50c" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "39b3b48a-9942-4e57-ad4b-18a987779864" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "73eb2a0a-541c-48bd-95e3-ee4657c847d3", + "x-ms-ratelimit-remaining-subscription-reads": "11888", + "x-ms-request-id": "536efee9-f5eb-4a86-a663-6f76bae7adcd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073230Z:73eb2a0a-541c-48bd-95e3-ee4657c847d3" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "20eb89e5-55a7-4af4-9aa3-26d679b79f19" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ffcd8571-4ca0-4c71-a586-7e95cf553366", + "x-ms-ratelimit-remaining-subscription-reads": "11887", + "x-ms-request-id": "8f191d0e-b890-4bee-a0f3-67fe298849d1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073233Z:ffcd8571-4ca0-4c71-a586-7e95cf553366" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "cc0bb989-e48b-4db1-8423-072f6e030ae5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ff2754d4-9d45-451f-8349-f3b7539b0527", + "x-ms-ratelimit-remaining-subscription-reads": "11886", + "x-ms-request-id": "772da0a1-17fa-4cda-870b-07b53b39f61f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073235Z:ff2754d4-9d45-451f-8349-f3b7539b0527" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "6da98f48-d2db-4242-b7e8-23e6def337a9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9d68532b-9f73-42db-b675-39e55780c938", + "x-ms-ratelimit-remaining-subscription-reads": "11885", + "x-ms-request-id": "645e22a7-6058-490e-8a26-b4c7e7ad1f4c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073237Z:9d68532b-9f73-42db-b675-39e55780c938" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "c390e899-5e8d-46ca-8a15-8a0a5256a698" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "53b1f906-04c8-473c-8e45-df9926861835", + "x-ms-ratelimit-remaining-subscription-reads": "11884", + "x-ms-request-id": "f8fcd2f5-22ff-43c2-9383-829ca2ad20f5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073240Z:53b1f906-04c8-473c-8e45-df9926861835" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "fdfbd8e8-6917-415b-b529-84567efeef15" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e11c5b7e-bf9a-46ea-9e8d-fb2711ac8c4a", + "x-ms-ratelimit-remaining-subscription-reads": "11883", + "x-ms-request-id": "bdb281c4-f172-4f2e-87f9-00b512985840", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073242Z:e11c5b7e-bf9a-46ea-9e8d-fb2711ac8c4a" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "84ae82d1-2ed4-49f0-8d22-6c72c04db88b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b9dd8594-7c81-482f-aff0-620e8b136ad8", + "x-ms-ratelimit-remaining-subscription-reads": "11882", + "x-ms-request-id": "892ded30-6cf6-43c7-a52f-9685e69684c4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073245Z:b9dd8594-7c81-482f-aff0-620e8b136ad8" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "9457641a-ccb7-4fd9-bc71-9fc847fee5da" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ae4a9592-19b8-4129-b6da-798afb663eba", + "x-ms-ratelimit-remaining-subscription-reads": "11881", + "x-ms-request-id": "fe572a9d-05df-4e9d-8213-e35ef6279598", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073247Z:ae4a9592-19b8-4129-b6da-798afb663eba" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "079e1852-3793-43f4-8bce-e31a3057382d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "852f1162-7860-498f-8bf6-235d4927033d", + "x-ms-ratelimit-remaining-subscription-reads": "11880", + "x-ms-request-id": "e98a4f5e-655d-46ee-b6c7-b7e1bca381b1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073249Z:852f1162-7860-498f-8bf6-235d4927033d" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "13ecf0b2-f642-4684-bc86-6db249189455" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "592ecdba-898b-4155-9320-13abd306c89c", + "x-ms-ratelimit-remaining-subscription-reads": "11879", + "x-ms-request-id": "a3b79a51-ef99-4eca-9f90-182352d08638", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073252Z:592ecdba-898b-4155-9320-13abd306c89c" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "InProgress", + "startTime": "2022-06-06T07:31:35.6066666Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/locations/eastus/operations/a7e9a505-8926-4b9f-b8f0-6694aea6fd43?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "dd88b90e-11da-423e-8bb0-69b40b518b43" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9ec9c6f2-e790-4472-b8e2-d0b604a71ee9", + "x-ms-ratelimit-remaining-subscription-reads": "11878", + "x-ms-request-id": "b726fb7f-2ce7-4463-9f98-35b125ee67ea", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073254Z:9ec9c6f2-e790-4472-b8e2-d0b604a71ee9" + }, + "ResponseBody": { + "name": "A7E9A505-8926-4B9F-B8F0-6694AEA6FD43", + "status": "Succeeded", + "startTime": "2022-06-06T07:31:35.6066666Z", + "endTime": "2022-06-06T07:32:52.7830254Z" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/imageTemplates?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "be944ce0-efb9-45ed-a5ee-71ffee2ef7de" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:32:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6fd8276b-b553-4204-9e65-eab62f5aae80", + "x-ms-ratelimit-remaining-subscription-reads": "11877", + "x-ms-request-id": "8aef29de-cd08-466e-8385-212506817207", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073255Z:6fd8276b-b553-4204-9e65-eab62f5aae80" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.js deleted file mode 100644 index 27d6ad3a88db..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "daa28e891c2c76bbcb338d13dbfcf750"; - -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', - 'f3edfea5-2534-40e9-bc13-f4ee47cc8600', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AuOfk344ff5Lm-GIDMTpVx0; expires=Sat, 05-Feb-2022 03:11:07 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBMhObAn4wwgQDLpIBtdTOHO-hLQzvnGZ9a48GjP9mYx_DNXdwGsUV6LbnGlVo-7oM3IzOJXDEtqIVbObh68n3UHUTHNF_U866v_G8C-egRBO33y0AdKYgV01umVVroHFMVTijiGqVG_j_4EPPZOHXj3hRXn5YOzfIFkrBv7tSaUgAA; 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', - 'Thu, 06 Jan 2022 03:11:07 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', - '89e2e4b5-6ede-4472-8671-6d7ef26b0800', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Ark47qff-hBJkPDWqv4BM5g; expires=Sat, 05-Feb-2022 03:11:07 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhjT8Uoh-imw2lT2LTPhMotw4RmudF6lMrkvroD58Lqe0aCy_40ckOGI9TEK1_ChJo0oAqKbRsJSMz8SNhiiMpakwmqJae5lDDCdiGxS0jpGaJLGAC3QQTZMXUzEmkKNsUS5EqvW2BpMeVK-WRzsywFZ0ycUchJBMDNZzIrcuktogAA; 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', - 'Thu, 06 Jan 2022 03:11:07 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=fb78dec8-820f-4d36-84ef-6232aef14b90&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', - '70f2d6e6-a657-4463-8780-7124ace69000', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AtvDdcWBw3BLsZbVF4MkwMDLj78gAQAAAMtUaNkOAAAA; expires=Sat, 05-Feb-2022 03:11:08 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', - 'Thu, 06 Jan 2022 03:11:07 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927eb4aaab555eb745de7cf428a50fd28f9a6a5d4f73fd2bfda8586417f9d98cfefee86eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff76e9d0bbccfeb6abd6aee2eae7fba69f3a6bd4bfd5e16b3bc6eee7e514cebaaa9cedbf149b558addbfc2e7789b6fc4b96651f8d1895f67a05bc3efa225bd2e7b3337cfb117df34bf0f547d375d3568be20768f23dfa40f04f3f5a660b7cf4d1eb795e96e9896955a7a7efb2c5aacc05388d9b47f6555da0f1bc6d57cda3bb772f8a76be9e8ca7d5e2eef10fd6757e37c3bfdbbf685d4cdf366d56b7db6d4e40321ad3dd49594dee2e321a5f7dd735a071d80112181ee0e5627bd11477a5c7e66eb1a49665b99d2d67dbf57ab93d2d8bedbd7133b798cdb3bdfb9f9ecc7302b95e00bdbdf3dd7b3b937bd9e4e0fe838793f3fd87b3fbe7e7d9fee4def9cea793fbbb3bf70e669f3e3c98dc9bdd9bed9eefef7dfae9f96e3e393fb837d9cbee4d1ecc760d644351a60d4899fe12fae7fbf8f6a359d1b47531217ca9854f501a54719e4ddb37d985611a7a3e6ab38b174aeacbac5cf3cc103cc0a26f792aff5fc146e9476535cdd03790c969bed68df986a8ffe5baa5b7cd48f8d5dfbf687fff5551fffe3db27519d1a31e23d65027c5f2e2754bfc81f6afd7d3699ecff21903fa68b22ecad99b629157ebf66cf945b124ac41d19d84c9f6110d6cd916ed357d0422db6ebf6af2fab8698a8ba581b4f63e3993b79c447f18c52f6e41714307e9f9fa6e1c1d82415c8f7950bc40a562392d5659299cb1bfbb3bdd994c77b6f3dddd6c7bffe15ebe9de5d37bdbd3839d83d983fd7b0f1fde3be001d3ab24240458defb746f763e7d983fdc7eb8373ddfdedfdf3bd8ce76a6f7b7f77626f7679f4ef3d9c1fd033b3ff47fa52e5ebdfbb34c9a9f2cea769d955f64d379b1cc995348e0f1e38d551ccaa1e68377efdefd00a3b49a6be87bc30fefd51bbf19970088b0611afcbe4bbf7f74f6e6f77f238c8f8ff6e4a3bddfffcd1e11f49724bf","e4ff01faa5cf6944060000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11984', - 'x-ms-correlation-request-id', - 'a1152c5a-7f28-4d44-aa6b-4b28a4a05526', - 'x-ms-request-id', - 'c24f6348-4286-4ba3-85d0-0c013d921008', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031108Z:a1152c5a-7f28-4d44-aa6b-4b28a4a05526', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:08 GMT' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.json new file mode 100644 index 000000000000..b857341dd0f6 --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_get_test.json @@ -0,0 +1,84 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "c33a0754-56cd-48cb-84a7-0d45d812fa53" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9028a02c-8af6-45be-bd1c-0424a94feef2", + "x-ms-ratelimit-remaining-subscription-reads": "11914", + "x-ms-request-id": "8e21f7c1-1391-4410-8394-5b3d607d7a20", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073132Z:9028a02c-8af6-45be-bd1c-0424a94feef2" + }, + "ResponseBody": { + "properties": { + "source": { + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "type": "ManagedImage" + }, + "customize": [ + { + "name": "Shell Customizer Example", + "scriptUri": "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh", + "sha256Checksum": "44dfa3255cff7ae595a3af36a09af64b523e5a0ee318e38c3fcf7207bb8efb6d", + "type": "Shell" + } + ], + "distribute": [ + { + "artifactTags": { + "tagName": "value" + }, + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "location": "eastus", + "runOutputName": "image_it_pir_1", + "type": "ManagedImage" + } + ], + "provisioningState": "Succeeded", + "buildTimeoutInMinutes": 0, + "stagingResourceGroup": "", + "exactStagingResourceGroup": "/subscriptions/azure_subscription_id/resourceGroups/IT_myjstest_myimageTemplatexxxz_befab861-6109-4528-849e-940a66f66087" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": { + "principalId": "8f51877d-ddb6-403d-a366-90d9eee12118", + "clientId": "8501540f-d586-4c8d-a67d-c6450fb3d787" + } + } + }, + "tags": { + "tag1": "IT_T1", + "tag2": "IT2_T2" + }, + "location": "eastus", + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz", + "name": "myimageTemplatexxxz", + "type": "Microsoft.VirtualMachineImages/imageTemplates" + } + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.js b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.js deleted file mode 100644 index cf664719b6c7..000000000000 --- a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "32347a6f8c41608a7d3181ddfe2fa089"; - -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', - 'f3edfea5-2534-40e9-bc13-f4ee4fcc8600', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Ajji4T42eJpLr0Vna9mkcbI; expires=Sat, 05-Feb-2022 03:11:08 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6HJl-qxLgurL53QWe3bmTwZ4LdYNPks_Qo7V0HkkATiEPnOYXYGBxAPMEhEGzj3RQjmJNCA5zCzMIgUhRdJfUz-YW7O5NWaVyjtBxKFyUb248JsFMmfkYvNQCmE6_4aia75Ccv7aNNw-78cUfRkytvY4AWROMCtSO5jvcfMKlRIgAA; 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', - 'Thu, 06 Jan 2022 03:11: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', - 'af698745-0a52-46a4-b823-085140810b00', - 'x-ms-ests-server', - '2.1.12261.17 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AlF8H5Kv3Q9FiJUaCg3hN80; expires=Sat, 05-Feb-2022 03:11:09 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1aDj16RQaGhuxFWfJEos9M_TolMKZ9xSpcrG83DSxuLtyUtEDB9JnRTou4zYw6IOiryB8-npwHUPGWjQRCizp_rJ-DchJ2OsRJMH9PI_nILX21uXlGqhixA7fHmA22AQstn0NQNkYK6Z52h_9JRdUmXcMgsg9R1n1nuQJtFq6WwgAA; 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', - 'Thu, 06 Jan 2022 03:11: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.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=55aebeda-1aad-4304-959a-2753af64bd4a&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', - '47af5f47-bd6e-4acd-b8d8-aa96a0c18000', - 'x-ms-ests-server', - '2.1.12261.17 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AtdfzaC85nZOsZm_LVQpJ67Lj78gAQAAAMxUaNkOAAAA; expires=Sat, 05-Feb-2022 03:11: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', - 'Thu, 06 Jan 2022 03:11:08 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/imageTemplates') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227e71927e749995ebfca347e9f79234a5bfd3f4a3555dadf2ba2df2863ee68fd28f9a6a5d4fd14cfe4e3f2a16d9457e36a34f3ebadbac27cdb42e566d512d9bbb0ff7ce1fde9f1d9c6fdf9b7efa607b7f776f7ffbe1eef4c1f6c1f47ce7c1743639dfdbdfbd5be702f1f3ba5aaf9abb8beb9f6edabc69ef52df97c52caf9bbb5f14d3ba6aaaf3767c522d56eb36bfcb5da22dff9265d9472345a6bd5e01b78fbec896f4cdec0cdf7fc4dffd1269f2d174ddb4d5a2f8019a61a4f4e848d28f96d9021f7ff47a9e97657a625ad6e9e9bb6cb12a73d30d518147f9555da0f9bc6d57cda3bb772f8a76be9e8ca7d5e2eef10fd6757e37c3bfdbbf685d4cdf366d56b7db6d4e60321adfdd49594dee2e321a6b7dd735a031d9c112181eece5627bd11477a5c7e66eb1a49665b99d2d67dbf57ab93d2d8bedbd7133f7709b677bf73f3d99e70474bd00827be7bbf77626f7b2c9c1fd070f27e7fb0f67f7cfcfb3fdc9bdf39d4f27f77777ee1dcc3e7d7830b937bb37db3ddfdffbf4d3f3dd7c727e706fb297dd9b3c98ed3ad886be4c21216cfa4bf8c7f7a5cd47b3a269eb62429853bb2e816988c579366ddf64178ea5e8f9a8cd2e5e28f1850df51b9d356ac153fdff12364b3f2aab6986de814e4eb3b86edc77342b5fae5b826046c4affffe45fbfbaf8afaf78f10b3cfac1d9a32920d75572c2f5eb7c43f78ebf57a3acdf3593e53801f4dd645397b532cf26add9e2dbf289634065079075f0b213fa2a12edba2bda68f85f81689af9abc3e6e9ae262e920aebdcfcee44d5f177cd84c5cdc62260c65a4efebbb718408064908e6c762069a15cb69b1ca4ae199fddddde9ce64bab39defee66dbfb0ff7f2ed2c9fdedb9e1eec1ccc1eecdf7bf8f0de810e9b5e26a122e0f2e6a77bb3f3e9c3fce1f6c3bde9f9f6fefedec176b633bdbfbdb733b93ffb749acf0eee1f04b3c6ff5a7a03c4dd9f6532fd6451b7ebacfc229bce8b65ce7c448a023fde5885a35c6c3e78f7eedd0f64bc56eb0db7303cf25e3deabb4392029177ac84bf76e9af8fcedefcfe6f8c88e0c33df970eff77fb3c7440671e9ffdf4f7e","c9ff03b51eaea9b3060000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11983', - 'x-ms-correlation-request-id', - '076e0580-905c-4d21-981a-a4f72926aeab', - 'x-ms-request-id', - 'a91928d3-a926-432a-8594-bdb46625b9de', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'nginx', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220106T031109Z:076e0580-905c-4d21-981a-a4f72926aeab', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 06 Jan 2022 03:11:09 GMT' -]); diff --git a/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.json b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.json new file mode 100644 index 000000000000..55794236e62a --- /dev/null +++ b/sdk/imagebuilder/arm-imagebuilder/recordings/node/imagebuilder_test/recording_virtualmachineimagetemplates_list_test.json @@ -0,0 +1,88 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.VirtualMachineImages/imageTemplates?api-version=2022-02-14", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-imagebuilder/2.0.0 core-rest-pipeline/1.8.2 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", + "x-ms-client-request-id": "2b88e960-e0a8-43c0-a532-5b8647bf44a0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 06 Jun 2022 07:31:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "nginx", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8528387d-1e14-471a-aae5-4aec7769d7b0", + "x-ms-ratelimit-remaining-subscription-reads": "11913", + "x-ms-request-id": "b204956d-b01d-4639-ba6f-ec31391b9740", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220606T073133Z:8528387d-1e14-471a-aae5-4aec7769d7b0" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "source": { + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "type": "ManagedImage" + }, + "customize": [ + { + "name": "Shell Customizer Example", + "scriptUri": "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh", + "sha256Checksum": "44dfa3255cff7ae595a3af36a09af64b523e5a0ee318e38c3fcf7207bb8efb6d", + "type": "Shell" + } + ], + "distribute": [ + { + "artifactTags": { + "tagName": "value" + }, + "imageId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/images/myimagesaaa", + "location": "eastus", + "runOutputName": "image_it_pir_1", + "type": "ManagedImage" + } + ], + "provisioningState": "Succeeded", + "buildTimeoutInMinutes": 0, + "stagingResourceGroup": "", + "exactStagingResourceGroup": "/subscriptions/azure_subscription_id/resourceGroups/IT_myjstest_myimageTemplatexxxz_befab861-6109-4528-849e-940a66f66087" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": { + "principalId": "8f51877d-ddb6-403d-a366-90d9eee12118", + "clientId": "8501540f-d586-4c8d-a67d-c6450fb3d787" + } + } + }, + "tags": { + "tag1": "IT_T1", + "tag2": "IT2_T2" + }, + "location": "eastus", + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.VirtualMachineImages/imageTemplates/myimageTemplatexxxz", + "name": "myimageTemplatexxxz", + "type": "Microsoft.VirtualMachineImages/imageTemplates" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/imagebuilder/arm-imagebuilder/review/arm-imagebuilder.api.md b/sdk/imagebuilder/arm-imagebuilder/review/arm-imagebuilder.api.md index 10dd08c3c9a9..a30e247fb617 100644 --- a/sdk/imagebuilder/arm-imagebuilder/review/arm-imagebuilder.api.md +++ b/sdk/imagebuilder/arm-imagebuilder/review/arm-imagebuilder.api.md @@ -57,15 +57,17 @@ export interface ImageBuilderClientOptionalParams extends coreClient.ServiceClie // @public export type ImageTemplate = TrackedResource & { identity: ImageTemplateIdentity; - readonly systemData?: SystemData; source?: ImageTemplateSourceUnion; customize?: ImageTemplateCustomizerUnion[]; + validate?: ImageTemplatePropertiesValidate; distribute?: ImageTemplateDistributorUnion[]; readonly provisioningState?: ProvisioningState; readonly provisioningError?: ProvisioningError; readonly lastRunStatus?: ImageTemplateLastRunStatus; buildTimeoutInMinutes?: number; vmProfile?: ImageTemplateVmProfile; + stagingResourceGroup?: string; + readonly exactStagingResourceGroup?: string; }; // @public @@ -105,6 +107,15 @@ export interface ImageTemplateIdentity { }; } +// @public +export interface ImageTemplateInVMValidator { + name?: string; + type: "Shell" | "PowerShell"; +} + +// @public (undocumented) +export type ImageTemplateInVMValidatorUnion = ImageTemplateInVMValidator | ImageTemplateShellValidator | ImageTemplatePowerShellValidator; + // @public export interface ImageTemplateLastRunStatus { endTime?: Date; @@ -155,6 +166,24 @@ export type ImageTemplatePowerShellCustomizer = ImageTemplateCustomizer & { validExitCodes?: number[]; }; +// @public +export type ImageTemplatePowerShellValidator = ImageTemplateInVMValidator & { + type: "PowerShell"; + scriptUri?: string; + sha256Checksum?: string; + inline?: string[]; + runElevated?: boolean; + runAsSystem?: boolean; + validExitCodes?: number[]; +}; + +// @public +export interface ImageTemplatePropertiesValidate { + continueDistributeOnFailure?: boolean; + inVMValidations?: ImageTemplateInVMValidatorUnion[]; + sourceValidationOnly?: boolean; +} + // @public export type ImageTemplateRestartCustomizer = ImageTemplateCustomizer & { type: "WindowsRestart"; @@ -186,6 +215,14 @@ export type ImageTemplateShellCustomizer = ImageTemplateCustomizer & { inline?: string[]; }; +// @public +export type ImageTemplateShellValidator = ImageTemplateInVMValidator & { + type: "Shell"; + scriptUri?: string; + sha256Checksum?: string; + inline?: string[]; +}; + // @public export interface ImageTemplateSource { type: "PlatformImage" | "ManagedImage" | "SharedImageVersion"; @@ -252,13 +289,21 @@ export enum KnownProvisioningErrorCode { // (undocumented) BadSourceType = "BadSourceType", // (undocumented) + BadStagingResourceGroup = "BadStagingResourceGroup", + // (undocumented) + BadValidatorType = "BadValidatorType", + // (undocumented) NoCustomizerScript = "NoCustomizerScript", // (undocumented) + NoValidatorScript = "NoValidatorScript", + // (undocumented) Other = "Other", // (undocumented) ServerError = "ServerError", // (undocumented) - UnsupportedCustomizerType = "UnsupportedCustomizerType" + UnsupportedCustomizerType = "UnsupportedCustomizerType", + // (undocumented) + UnsupportedValidatorType = "UnsupportedValidatorType" } // @public @@ -330,10 +375,14 @@ export type ProvisioningErrorCode = string; // @public export type ProvisioningState = "Creating" | "Updating" | "Succeeded" | "Failed" | "Deleting"; +// @public +export type ProxyResource = Resource; + // @public export interface Resource { readonly id?: string; readonly name?: string; + readonly systemData?: SystemData; readonly type?: string; } @@ -341,7 +390,7 @@ export interface Resource { export type ResourceIdentityType = "UserAssigned" | "None"; // @public -export type RunOutput = SubResource & { +export type RunOutput = ProxyResource & { artifactId?: string; artifactUri?: string; readonly provisioningState?: ProvisioningState; @@ -357,18 +406,11 @@ export interface RunOutputCollection { export type RunState = "Running" | "Canceling" | "Succeeded" | "PartiallySucceeded" | "Failed" | "Canceled"; // @public -export type RunSubState = "Queued" | "Building" | "Customizing" | "Distributing"; +export type RunSubState = "Queued" | "Building" | "Customizing" | "Validating" | "Distributing"; // @public export type SharedImageStorageAccountType = string; -// @public -export interface SubResource { - readonly id?: string; - name: string; - readonly type?: string; -} - // @public export interface SystemData { createdAt?: Date; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/operationsListSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/operationsListSample.ts index 039f8ad72b49..57b8e77fe978 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/operationsListSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/operationsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists available operations for the Microsoft.VirtualMachineImages provider * * @summary Lists available operations for the Microsoft.VirtualMachineImages provider - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/OperationsList.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/OperationsList.json */ async function retrieveOperationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCancelSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCancelSample.ts index 5d94673e9aab..58f77aa5f0f8 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCancelSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCancelSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Cancel the long running image build based on the image template * * @summary Cancel the long running image build based on the image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CancelImageBuild.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CancelImageBuild.json */ async function cancelTheImageBuildBasedOnTheImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCreateOrUpdateSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCreateOrUpdateSample.ts index 500227478806..82df7ea58e8d 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCreateOrUpdateSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateLinux.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateLinux.json */ async function createAnImageTemplateForLinux() { const subscriptionId = "{subscription-id}"; @@ -77,7 +77,7 @@ createAnImageTemplateForLinux().catch(console.error); * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateWindows.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateWindows.json */ async function createAnImageTemplateForWindows() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesDeleteSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesDeleteSample.ts index 470506614277..a7e5f5fe8b93 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesDeleteSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Delete a virtual machine image template * * @summary Delete a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/DeleteImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/DeleteImageTemplate.json */ async function deleteAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetRunOutputSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetRunOutputSample.ts index 174baa6afa41..836032ecd6ee 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetRunOutputSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetRunOutputSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the specified run output for the specified image template resource * * @summary Get the specified run output for the specified image template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetRunOutput.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetRunOutput.json */ async function retrieveSingleRunOutput() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetSample.ts index 40703354c49b..5fc0fbbac07e 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get information about a virtual machine image template * * @summary Get information about a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetImageTemplate.json */ async function retrieveAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListByResourceGroupSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListByResourceGroupSample.ts index 6380932e8a27..204d92682432 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListByResourceGroupSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets information about the VM image templates associated with the specified resource group. * * @summary Gets information about the VM image templates associated with the specified resource group. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplatesByRg.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplatesByRg.json */ async function listImagesByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListRunOutputsSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListRunOutputsSample.ts index af26afff8871..65c90bb5d989 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListRunOutputsSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListRunOutputsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all run outputs for the specified Image Template resource * * @summary List all run outputs for the specified Image Template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListRunOutputs.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListRunOutputs.json */ async function retrieveAListOfAllOutputsCreatedByTheLastRunOfAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListSample.ts index d31d74fd2486..c6f43ffa3b62 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets information about the VM image templates associated with the subscription. * * @summary Gets information about the VM image templates associated with the subscription. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplates.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplates.json */ async function listImagesBySubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesRunSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesRunSample.ts index 8b0ad4ecf8a2..4126a29bedf1 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesRunSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesRunSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create artifacts from a existing image template * * @summary Create artifacts from a existing image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/RunImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/RunImageTemplate.json */ async function createImageSFromExistingImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesUpdateSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesUpdateSample.ts index 53e7661d7601..dde6fd278e9c 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesUpdateSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples-dev/virtualMachineImageTemplatesUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateToRemoveIdentities.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateToRemoveIdentities.json */ async function removeIdentitiesForAnImageTemplate() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ removeIdentitiesForAnImageTemplate().catch(console.error); * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateTags.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateTags.json */ async function updateTheTagsForAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/README.md b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/README.md similarity index 83% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/README.md rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/README.md index 9fb3494bf3a9..17845b3f3802 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/README.md +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/README.md @@ -4,17 +4,17 @@ These sample programs show how to use the JavaScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [operationsListSample.js][operationslistsample] | Lists available operations for the Microsoft.VirtualMachineImages provider x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/OperationsList.json | -| [virtualMachineImageTemplatesCancelSample.js][virtualmachineimagetemplatescancelsample] | Cancel the long running image build based on the image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CancelImageBuild.json | -| [virtualMachineImageTemplatesCreateOrUpdateSample.js][virtualmachineimagetemplatescreateorupdatesample] | Create or update a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateLinux.json | -| [virtualMachineImageTemplatesDeleteSample.js][virtualmachineimagetemplatesdeletesample] | Delete a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/DeleteImageTemplate.json | -| [virtualMachineImageTemplatesGetRunOutputSample.js][virtualmachineimagetemplatesgetrunoutputsample] | Get the specified run output for the specified image template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetRunOutput.json | -| [virtualMachineImageTemplatesGetSample.js][virtualmachineimagetemplatesgetsample] | Get information about a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetImageTemplate.json | -| [virtualMachineImageTemplatesListByResourceGroupSample.js][virtualmachineimagetemplateslistbyresourcegroupsample] | Gets information about the VM image templates associated with the specified resource group. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplatesByRg.json | -| [virtualMachineImageTemplatesListRunOutputsSample.js][virtualmachineimagetemplateslistrunoutputssample] | List all run outputs for the specified Image Template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListRunOutputs.json | -| [virtualMachineImageTemplatesListSample.js][virtualmachineimagetemplateslistsample] | Gets information about the VM image templates associated with the subscription. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplates.json | -| [virtualMachineImageTemplatesRunSample.js][virtualmachineimagetemplatesrunsample] | Create artifacts from a existing image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/RunImageTemplate.json | -| [virtualMachineImageTemplatesUpdateSample.js][virtualmachineimagetemplatesupdatesample] | Update the tags for this Virtual Machine Image Template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateToRemoveIdentities.json | +| [operationsListSample.js][operationslistsample] | Lists available operations for the Microsoft.VirtualMachineImages provider x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/OperationsList.json | +| [virtualMachineImageTemplatesCancelSample.js][virtualmachineimagetemplatescancelsample] | Cancel the long running image build based on the image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CancelImageBuild.json | +| [virtualMachineImageTemplatesCreateOrUpdateSample.js][virtualmachineimagetemplatescreateorupdatesample] | Create or update a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateLinux.json | +| [virtualMachineImageTemplatesDeleteSample.js][virtualmachineimagetemplatesdeletesample] | Delete a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/DeleteImageTemplate.json | +| [virtualMachineImageTemplatesGetRunOutputSample.js][virtualmachineimagetemplatesgetrunoutputsample] | Get the specified run output for the specified image template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetRunOutput.json | +| [virtualMachineImageTemplatesGetSample.js][virtualmachineimagetemplatesgetsample] | Get information about a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetImageTemplate.json | +| [virtualMachineImageTemplatesListByResourceGroupSample.js][virtualmachineimagetemplateslistbyresourcegroupsample] | Gets information about the VM image templates associated with the specified resource group. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplatesByRg.json | +| [virtualMachineImageTemplatesListRunOutputsSample.js][virtualmachineimagetemplateslistrunoutputssample] | List all run outputs for the specified Image Template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListRunOutputs.json | +| [virtualMachineImageTemplatesListSample.js][virtualmachineimagetemplateslistsample] | Gets information about the VM image templates associated with the subscription. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplates.json | +| [virtualMachineImageTemplatesRunSample.js][virtualmachineimagetemplatesrunsample] | Create artifacts from a existing image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/RunImageTemplate.json | +| [virtualMachineImageTemplatesUpdateSample.js][virtualmachineimagetemplatesupdatesample] | Update the tags for this Virtual Machine Image Template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateToRemoveIdentities.json | ## Prerequisites @@ -54,17 +54,17 @@ npx cross-env node operationsListSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/operationsListSample.js -[virtualmachineimagetemplatescancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCancelSample.js -[virtualmachineimagetemplatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js -[virtualmachineimagetemplatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesDeleteSample.js -[virtualmachineimagetemplatesgetrunoutputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetRunOutputSample.js -[virtualmachineimagetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetSample.js -[virtualmachineimagetemplateslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js -[virtualmachineimagetemplateslistrunoutputssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListRunOutputsSample.js -[virtualmachineimagetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListSample.js -[virtualmachineimagetemplatesrunsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesRunSample.js -[virtualmachineimagetemplatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesUpdateSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/operationsListSample.js +[virtualmachineimagetemplatescancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCancelSample.js +[virtualmachineimagetemplatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js +[virtualmachineimagetemplatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesDeleteSample.js +[virtualmachineimagetemplatesgetrunoutputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetRunOutputSample.js +[virtualmachineimagetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetSample.js +[virtualmachineimagetemplateslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js +[virtualmachineimagetemplateslistrunoutputssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListRunOutputsSample.js +[virtualmachineimagetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListSample.js +[virtualmachineimagetemplatesrunsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesRunSample.js +[virtualmachineimagetemplatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesUpdateSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-imagebuilder?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/imagebuilder/arm-imagebuilder/README.md diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/operationsListSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/operationsListSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/operationsListSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/operationsListSample.js index 8f06eef725e5..a297be9bde42 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/operationsListSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/operationsListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists available operations for the Microsoft.VirtualMachineImages provider * * @summary Lists available operations for the Microsoft.VirtualMachineImages provider - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/OperationsList.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/OperationsList.json */ async function retrieveOperationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/package.json b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/package.json similarity index 100% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/package.json rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/package.json diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/sample.env b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/sample.env similarity index 100% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/sample.env rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/sample.env diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCancelSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCancelSample.js similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCancelSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCancelSample.js index d3752fed9801..b3a958d31dd3 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCancelSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCancelSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Cancel the long running image build based on the image template * * @summary Cancel the long running image build based on the image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CancelImageBuild.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CancelImageBuild.json */ async function cancelTheImageBuildBasedOnTheImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js similarity index 98% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js index 1a09aee9813f..a3434979518c 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateLinux.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateLinux.json */ async function createAnImageTemplateForLinux() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ createAnImageTemplateForLinux().catch(console.error); * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateWindows.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateWindows.json */ async function createAnImageTemplateForWindows() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesDeleteSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesDeleteSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesDeleteSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesDeleteSample.js index 7b54a43d1acb..a34bfa9e7bb2 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesDeleteSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Delete a virtual machine image template * * @summary Delete a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/DeleteImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/DeleteImageTemplate.json */ async function deleteAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetRunOutputSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetRunOutputSample.js similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetRunOutputSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetRunOutputSample.js index 32f13cc7d2a8..455d738a9256 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetRunOutputSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetRunOutputSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Get the specified run output for the specified image template resource * * @summary Get the specified run output for the specified image template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetRunOutput.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetRunOutput.json */ async function retrieveSingleRunOutput() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetSample.js index 7965f17e3fa6..9816514988b9 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesGetSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Get information about a virtual machine image template * * @summary Get information about a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetImageTemplate.json */ async function retrieveAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js index b0252748a1ef..f405f3bdd71a 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListByResourceGroupSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets information about the VM image templates associated with the specified resource group. * * @summary Gets information about the VM image templates associated with the specified resource group. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplatesByRg.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplatesByRg.json */ async function listImagesByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListRunOutputsSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListRunOutputsSample.js similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListRunOutputsSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListRunOutputsSample.js index 5a0a20640ec6..5a85a6a17dae 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListRunOutputsSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListRunOutputsSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List all run outputs for the specified Image Template resource * * @summary List all run outputs for the specified Image Template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListRunOutputs.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListRunOutputs.json */ async function retrieveAListOfAllOutputsCreatedByTheLastRunOfAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListSample.js index f8a85e8fec27..4ba72ab937f6 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesListSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets information about the VM image templates associated with the subscription. * * @summary Gets information about the VM image templates associated with the subscription. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplates.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplates.json */ async function listImagesBySubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesRunSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesRunSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesRunSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesRunSample.js index 0249c5cf0061..dcb3f9102ade 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesRunSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesRunSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Create artifacts from a existing image template * * @summary Create artifacts from a existing image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/RunImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/RunImageTemplate.json */ async function createImageSFromExistingImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesUpdateSample.js b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesUpdateSample.js similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesUpdateSample.js rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesUpdateSample.js index 1958586b5af4..7e4b6942146d 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/javascript/virtualMachineImageTemplatesUpdateSample.js +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/javascript/virtualMachineImageTemplatesUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateToRemoveIdentities.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateToRemoveIdentities.json */ async function removeIdentitiesForAnImageTemplate() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ removeIdentitiesForAnImageTemplate().catch(console.error); * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateTags.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateTags.json */ async function updateTheTagsForAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/README.md b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/README.md similarity index 84% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/README.md rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/README.md index 0c96519c534f..525918938cf7 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/README.md +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/README.md @@ -4,17 +4,17 @@ These sample programs show how to use the TypeScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [operationsListSample.ts][operationslistsample] | Lists available operations for the Microsoft.VirtualMachineImages provider x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/OperationsList.json | -| [virtualMachineImageTemplatesCancelSample.ts][virtualmachineimagetemplatescancelsample] | Cancel the long running image build based on the image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CancelImageBuild.json | -| [virtualMachineImageTemplatesCreateOrUpdateSample.ts][virtualmachineimagetemplatescreateorupdatesample] | Create or update a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateLinux.json | -| [virtualMachineImageTemplatesDeleteSample.ts][virtualmachineimagetemplatesdeletesample] | Delete a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/DeleteImageTemplate.json | -| [virtualMachineImageTemplatesGetRunOutputSample.ts][virtualmachineimagetemplatesgetrunoutputsample] | Get the specified run output for the specified image template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetRunOutput.json | -| [virtualMachineImageTemplatesGetSample.ts][virtualmachineimagetemplatesgetsample] | Get information about a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetImageTemplate.json | -| [virtualMachineImageTemplatesListByResourceGroupSample.ts][virtualmachineimagetemplateslistbyresourcegroupsample] | Gets information about the VM image templates associated with the specified resource group. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplatesByRg.json | -| [virtualMachineImageTemplatesListRunOutputsSample.ts][virtualmachineimagetemplateslistrunoutputssample] | List all run outputs for the specified Image Template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListRunOutputs.json | -| [virtualMachineImageTemplatesListSample.ts][virtualmachineimagetemplateslistsample] | Gets information about the VM image templates associated with the subscription. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplates.json | -| [virtualMachineImageTemplatesRunSample.ts][virtualmachineimagetemplatesrunsample] | Create artifacts from a existing image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/RunImageTemplate.json | -| [virtualMachineImageTemplatesUpdateSample.ts][virtualmachineimagetemplatesupdatesample] | Update the tags for this Virtual Machine Image Template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateToRemoveIdentities.json | +| [operationsListSample.ts][operationslistsample] | Lists available operations for the Microsoft.VirtualMachineImages provider x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/OperationsList.json | +| [virtualMachineImageTemplatesCancelSample.ts][virtualmachineimagetemplatescancelsample] | Cancel the long running image build based on the image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CancelImageBuild.json | +| [virtualMachineImageTemplatesCreateOrUpdateSample.ts][virtualmachineimagetemplatescreateorupdatesample] | Create or update a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateLinux.json | +| [virtualMachineImageTemplatesDeleteSample.ts][virtualmachineimagetemplatesdeletesample] | Delete a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/DeleteImageTemplate.json | +| [virtualMachineImageTemplatesGetRunOutputSample.ts][virtualmachineimagetemplatesgetrunoutputsample] | Get the specified run output for the specified image template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetRunOutput.json | +| [virtualMachineImageTemplatesGetSample.ts][virtualmachineimagetemplatesgetsample] | Get information about a virtual machine image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetImageTemplate.json | +| [virtualMachineImageTemplatesListByResourceGroupSample.ts][virtualmachineimagetemplateslistbyresourcegroupsample] | Gets information about the VM image templates associated with the specified resource group. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplatesByRg.json | +| [virtualMachineImageTemplatesListRunOutputsSample.ts][virtualmachineimagetemplateslistrunoutputssample] | List all run outputs for the specified Image Template resource x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListRunOutputs.json | +| [virtualMachineImageTemplatesListSample.ts][virtualmachineimagetemplateslistsample] | Gets information about the VM image templates associated with the subscription. x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplates.json | +| [virtualMachineImageTemplatesRunSample.ts][virtualmachineimagetemplatesrunsample] | Create artifacts from a existing image template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/RunImageTemplate.json | +| [virtualMachineImageTemplatesUpdateSample.ts][virtualmachineimagetemplatesupdatesample] | Update the tags for this Virtual Machine Image Template x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateToRemoveIdentities.json | ## Prerequisites @@ -66,17 +66,17 @@ npx cross-env node dist/operationsListSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/operationsListSample.ts -[virtualmachineimagetemplatescancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCancelSample.ts -[virtualmachineimagetemplatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts -[virtualmachineimagetemplatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesDeleteSample.ts -[virtualmachineimagetemplatesgetrunoutputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts -[virtualmachineimagetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetSample.ts -[virtualmachineimagetemplateslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts -[virtualmachineimagetemplateslistrunoutputssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts -[virtualmachineimagetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListSample.ts -[virtualmachineimagetemplatesrunsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesRunSample.ts -[virtualmachineimagetemplatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesUpdateSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/operationsListSample.ts +[virtualmachineimagetemplatescancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCancelSample.ts +[virtualmachineimagetemplatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts +[virtualmachineimagetemplatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesDeleteSample.ts +[virtualmachineimagetemplatesgetrunoutputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts +[virtualmachineimagetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetSample.ts +[virtualmachineimagetemplateslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts +[virtualmachineimagetemplateslistrunoutputssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts +[virtualmachineimagetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListSample.ts +[virtualmachineimagetemplatesrunsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesRunSample.ts +[virtualmachineimagetemplatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesUpdateSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-imagebuilder?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/imagebuilder/arm-imagebuilder/README.md diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/package.json b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/package.json similarity index 100% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/package.json rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/package.json diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/sample.env b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/sample.env similarity index 100% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/sample.env rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/sample.env diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/operationsListSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/operationsListSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/operationsListSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/operationsListSample.ts index 039f8ad72b49..57b8e77fe978 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/operationsListSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/operationsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists available operations for the Microsoft.VirtualMachineImages provider * * @summary Lists available operations for the Microsoft.VirtualMachineImages provider - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/OperationsList.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/OperationsList.json */ async function retrieveOperationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCancelSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCancelSample.ts similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCancelSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCancelSample.ts index 5d94673e9aab..58f77aa5f0f8 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCancelSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCancelSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Cancel the long running image build based on the image template * * @summary Cancel the long running image build based on the image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CancelImageBuild.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CancelImageBuild.json */ async function cancelTheImageBuildBasedOnTheImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts similarity index 98% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts index 500227478806..82df7ea58e8d 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateLinux.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateLinux.json */ async function createAnImageTemplateForLinux() { const subscriptionId = "{subscription-id}"; @@ -77,7 +77,7 @@ createAnImageTemplateForLinux().catch(console.error); * This sample demonstrates how to Create or update a virtual machine image template * * @summary Create or update a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/CreateImageTemplateWindows.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/CreateImageTemplateWindows.json */ async function createAnImageTemplateForWindows() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesDeleteSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesDeleteSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesDeleteSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesDeleteSample.ts index 470506614277..a7e5f5fe8b93 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesDeleteSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Delete a virtual machine image template * * @summary Delete a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/DeleteImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/DeleteImageTemplate.json */ async function deleteAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts index 174baa6afa41..836032ecd6ee 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetRunOutputSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the specified run output for the specified image template resource * * @summary Get the specified run output for the specified image template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetRunOutput.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetRunOutput.json */ async function retrieveSingleRunOutput() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetSample.ts index 40703354c49b..5fc0fbbac07e 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesGetSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get information about a virtual machine image template * * @summary Get information about a virtual machine image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/GetImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/GetImageTemplate.json */ async function retrieveAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts index 6380932e8a27..204d92682432 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets information about the VM image templates associated with the specified resource group. * * @summary Gets information about the VM image templates associated with the specified resource group. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplatesByRg.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplatesByRg.json */ async function listImagesByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts similarity index 95% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts index af26afff8871..65c90bb5d989 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListRunOutputsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all run outputs for the specified Image Template resource * * @summary List all run outputs for the specified Image Template resource - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListRunOutputs.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListRunOutputs.json */ async function retrieveAListOfAllOutputsCreatedByTheLastRunOfAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListSample.ts index d31d74fd2486..c6f43ffa3b62 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesListSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets information about the VM image templates associated with the subscription. * * @summary Gets information about the VM image templates associated with the subscription. - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/ListImageTemplates.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/ListImageTemplates.json */ async function listImagesBySubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesRunSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesRunSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesRunSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesRunSample.ts index 8b0ad4ecf8a2..4126a29bedf1 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesRunSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesRunSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create artifacts from a existing image template * * @summary Create artifacts from a existing image template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/RunImageTemplate.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/RunImageTemplate.json */ async function createImageSFromExistingImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesUpdateSample.ts b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesUpdateSample.ts similarity index 94% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesUpdateSample.ts rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesUpdateSample.ts index 53e7661d7601..dde6fd278e9c 100644 --- a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/src/virtualMachineImageTemplatesUpdateSample.ts +++ b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/src/virtualMachineImageTemplatesUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateToRemoveIdentities.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateToRemoveIdentities.json */ async function removeIdentitiesForAnImageTemplate() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ removeIdentitiesForAnImageTemplate().catch(console.error); * This sample demonstrates how to Update the tags for this Virtual Machine Image Template * * @summary Update the tags for this Virtual Machine Image Template - * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2021-10-01/examples/UpdateImageTemplateTags.json + * x-ms-original-file: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2022-02-14/examples/UpdateImageTemplateTags.json */ async function updateTheTagsForAnImageTemplate() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/tsconfig.json b/sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/tsconfig.json similarity index 100% rename from sdk/imagebuilder/arm-imagebuilder/samples/v1/typescript/tsconfig.json rename to sdk/imagebuilder/arm-imagebuilder/samples/v2/typescript/tsconfig.json diff --git a/sdk/imagebuilder/arm-imagebuilder/src/imageBuilderClient.ts b/sdk/imagebuilder/arm-imagebuilder/src/imageBuilderClient.ts index 29d1fffec9f4..c0d14b074347 100644 --- a/sdk/imagebuilder/arm-imagebuilder/src/imageBuilderClient.ts +++ b/sdk/imagebuilder/arm-imagebuilder/src/imageBuilderClient.ts @@ -8,6 +8,11 @@ import * as coreClient from "@azure/core-client"; import * as coreRestPipeline from "@azure/core-rest-pipeline"; +import { + PipelineRequest, + PipelineResponse, + SendRequest +} from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { VirtualMachineImageTemplatesImpl, OperationsImpl } from "./operations"; import { @@ -49,7 +54,7 @@ export class ImageBuilderClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-imagebuilder/1.0.3`; + const packageDetails = `azsdk-js-arm-imagebuilder/2.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -96,11 +101,40 @@ export class ImageBuilderClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2021-10-01"; + this.apiVersion = options.apiVersion || "2022-02-14"; this.virtualMachineImageTemplates = new VirtualMachineImageTemplatesImpl( this ); this.operations = new OperationsImpl(this); + this.addCustomApiVersionPolicy(options.apiVersion); + } + + /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ + private addCustomApiVersionPolicy(apiVersion?: string) { + if (!apiVersion) { + return; + } + const apiVersionPolicy = { + name: "CustomApiVersionPolicy", + async sendRequest( + request: PipelineRequest, + next: SendRequest + ): Promise { + const param = request.url.split("?"); + if (param.length > 1) { + const newParams = param[1].split("&").map((item) => { + if (item.indexOf("api-version") > -1) { + return item.replace(/(?<==).*$/, apiVersion); + } else { + return item; + } + }); + request.url = param[0] + "?" + newParams.join("&"); + } + return next(request); + } + }; + this.pipeline.addPolicy(apiVersionPolicy); } virtualMachineImageTemplates: VirtualMachineImageTemplates; diff --git a/sdk/imagebuilder/arm-imagebuilder/src/models/index.ts b/sdk/imagebuilder/arm-imagebuilder/src/models/index.ts index 6a1093d31bd2..59b8da1db0e5 100644 --- a/sdk/imagebuilder/arm-imagebuilder/src/models/index.ts +++ b/sdk/imagebuilder/arm-imagebuilder/src/models/index.ts @@ -20,6 +20,10 @@ export type ImageTemplateCustomizerUnion = | ImageTemplateWindowsUpdateCustomizer | ImageTemplatePowerShellCustomizer | ImageTemplateFileCustomizer; +export type ImageTemplateInVMValidatorUnion = + | ImageTemplateInVMValidator + | ImageTemplateShellValidator + | ImageTemplatePowerShellValidator; export type ImageTemplateDistributorUnion = | ImageTemplateDistributor | ImageTemplateManagedImageDistributor @@ -48,6 +52,24 @@ export interface ImageTemplateCustomizer { name?: string; } +/** Configuration options and list of validations to be performed on the resulting image. */ +export interface ImageTemplatePropertiesValidate { + /** If validation fails and this field is set to false, output image(s) will not be distributed. This is the default behavior. If validation fails and this field is set to true, output image(s) will still be distributed. Please use this option with caution as it may result in bad images being distributed for use. In either case (true or false), the end to end image run will be reported as having failed in case of a validation failure. [Note: This field has no effect if validation succeeds.] */ + continueDistributeOnFailure?: boolean; + /** If this field is set to true, the image specified in the 'source' section will directly be validated. No separate build will be run to generate and then validate a customized image. */ + sourceValidationOnly?: boolean; + /** List of validations to be performed. */ + inVMValidations?: ImageTemplateInVMValidatorUnion[]; +} + +/** Describes a unit of in-VM validation of image */ +export interface ImageTemplateInVMValidator { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Shell" | "PowerShell"; + /** Friendly Name to provide context on what this validation step does */ + name?: string; +} + /** Generic distribution object */ export interface ImageTemplateDistributor { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -80,15 +102,15 @@ export interface ImageTemplateLastRunStatus { message?: string; } -/** Describes the virtual machine used to build, customize and capture images */ +/** Describes the virtual machines used to build and validate images */ export interface ImageTemplateVmProfile { - /** Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D2ds_v4). */ + /** Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images). */ vmSize?: string; /** Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size. */ osDiskSizeGB?: number; - /** Optional array of resource IDs of user assigned managed identities to be configured on the build VM. This may include the identity of the image template. */ + /** Optional array of resource IDs of user assigned managed identities to be configured on the build VM and validation VM. This may include the identity of the image template. */ userAssignedIdentities?: string[]; - /** Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used. */ + /** Optional configuration of the virtual network to use to deploy the build VM and validation VM in. Omit if no specific virtual network needs to be used. */ vnetConfig?: VirtualNetworkConfig; } @@ -96,7 +118,7 @@ export interface ImageTemplateVmProfile { export interface VirtualNetworkConfig { /** Resource id of a pre-existing subnet. */ subnetId?: string; - /** Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images). */ + /** Size of the proxy virtual machine used to pass traffic to the build VM and validation VM. Omit or specify empty string to use the default (Standard_A1_v2). */ proxyVmSize?: string; } @@ -123,22 +145,6 @@ export interface ComponentsVrq145SchemasImagetemplateidentityPropertiesUserassig readonly clientId?: string; } -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; -} - /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** @@ -156,6 +162,27 @@ export interface Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; +} + +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; } /** An error response from the Azure VM Image Builder service. */ @@ -192,22 +219,6 @@ export interface RunOutputCollection { nextLink?: string; } -/** The Sub Resource model definition. */ -export interface SubResource { - /** - * Resource Id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** Resource name */ - name: string; - /** - * Resource type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; -} - /** Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results. */ export interface OperationListResult { /** The list of operations supported by the resource provider. */ @@ -273,7 +284,7 @@ export type ImageTemplatePlatformImageSource = ImageTemplateSource & { planInfo?: PlatformImagePurchasePlan; }; -/** Describes an image source that is a managed image in customer subscription. */ +/** Describes an image source that is a managed image in customer subscription. This image must reside in the same subscription and region as the Image Builder template. */ export type ImageTemplateManagedImageSource = ImageTemplateSource & { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "ManagedImage"; @@ -355,6 +366,36 @@ export type ImageTemplateFileCustomizer = ImageTemplateCustomizer & { destination?: string; }; +/** Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified. */ +export type ImageTemplateShellValidator = ImageTemplateInVMValidator & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Shell"; + /** URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc */ + scriptUri?: string; + /** SHA256 checksum of the shell script provided in the scriptUri field */ + sha256Checksum?: string; + /** Array of shell commands to execute */ + inline?: string[]; +}; + +/** Runs the specified PowerShell script during the validation phase (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified. */ +export type ImageTemplatePowerShellValidator = ImageTemplateInVMValidator & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PowerShell"; + /** URI of the PowerShell script to be run for validation. It can be a github link, Azure Storage URI, etc */ + scriptUri?: string; + /** SHA256 checksum of the power shell script provided in the scriptUri field above */ + sha256Checksum?: string; + /** Array of PowerShell commands to execute */ + inline?: string[]; + /** If specified, the PowerShell script will be run with elevated privileges */ + runElevated?: boolean; + /** If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true. */ + runAsSystem?: boolean; + /** Valid exit codes for the PowerShell script. [Default: 0] */ + validExitCodes?: number[]; +}; + /** Distribute as a Managed Disk Image. */ export type ImageTemplateManagedImageDistributor = ImageTemplateDistributor & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -393,32 +434,19 @@ export type TrackedResource = Resource & { location: string; }; -/** Represents an output that was created by running an image template. */ -export type RunOutput = SubResource & { - /** The resource id of the artifact. */ - artifactId?: string; - /** The location URI of the artifact. */ - artifactUri?: string; - /** - * Provisioning state of the resource - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; -}; +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export type ProxyResource = Resource; /** Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider */ export type ImageTemplate = TrackedResource & { /** The identity of the image template, if configured. */ identity: ImageTemplateIdentity; - /** - * Metadata pertaining to creation and last modification of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly systemData?: SystemData; /** Specifies the properties used to describe the source image. */ source?: ImageTemplateSourceUnion; /** Specifies the properties used to describe the customization steps of the image, like Image source etc */ customize?: ImageTemplateCustomizerUnion[]; + /** Configuration options and list of validations to be performed on the resulting image. */ + validate?: ImageTemplatePropertiesValidate; /** The distribution targets where the image output needs to go to. */ distribute?: ImageTemplateDistributorUnion[]; /** @@ -436,10 +464,30 @@ export type ImageTemplate = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastRunStatus?: ImageTemplateLastRunStatus; - /** Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours). */ + /** Maximum duration to wait while building the image template (includes all customizations, validations, and distributions). Omit or specify 0 to use the default (4 hours). */ buildTimeoutInMinutes?: number; /** Describes how virtual machine is set up to build images */ vmProfile?: ImageTemplateVmProfile; + /** The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain. */ + stagingResourceGroup?: string; + /** + * The staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly exactStagingResourceGroup?: string; +}; + +/** Represents an output that was created by running an image template. */ +export type RunOutput = ProxyResource & { + /** The resource id of the artifact. */ + artifactId?: string; + /** The location URI of the artifact. */ + artifactUri?: string; + /** + * Provisioning state of the resource + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; }; /** Known values of {@link ProvisioningErrorCode} that the service accepts. */ @@ -451,8 +499,12 @@ export enum KnownProvisioningErrorCode { BadCustomizerType = "BadCustomizerType", UnsupportedCustomizerType = "UnsupportedCustomizerType", NoCustomizerScript = "NoCustomizerScript", + BadValidatorType = "BadValidatorType", + UnsupportedValidatorType = "UnsupportedValidatorType", + NoValidatorScript = "NoValidatorScript", BadDistributeType = "BadDistributeType", BadSharedImageDistribute = "BadSharedImageDistribute", + BadStagingResourceGroup = "BadStagingResourceGroup", ServerError = "ServerError", Other = "Other" } @@ -469,8 +521,12 @@ export enum KnownProvisioningErrorCode { * **BadCustomizerType** \ * **UnsupportedCustomizerType** \ * **NoCustomizerScript** \ + * **BadValidatorType** \ + * **UnsupportedValidatorType** \ + * **NoValidatorScript** \ * **BadDistributeType** \ * **BadSharedImageDistribute** \ + * **BadStagingResourceGroup** \ * **ServerError** \ * **Other** */ @@ -531,6 +587,7 @@ export type RunSubState = | "Queued" | "Building" | "Customizing" + | "Validating" | "Distributing"; /** Defines values for ResourceIdentityType. */ export type ResourceIdentityType = "UserAssigned" | "None"; diff --git a/sdk/imagebuilder/arm-imagebuilder/src/models/mappers.ts b/sdk/imagebuilder/arm-imagebuilder/src/models/mappers.ts index f4e9534c4ea1..e474168894d1 100644 --- a/sdk/imagebuilder/arm-imagebuilder/src/models/mappers.ts +++ b/sdk/imagebuilder/arm-imagebuilder/src/models/mappers.ts @@ -83,6 +83,68 @@ export const ImageTemplateCustomizer: coreClient.CompositeMapper = { } }; +export const ImageTemplatePropertiesValidate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageTemplatePropertiesValidate", + modelProperties: { + continueDistributeOnFailure: { + defaultValue: false, + serializedName: "continueDistributeOnFailure", + type: { + name: "Boolean" + } + }, + sourceValidationOnly: { + defaultValue: false, + serializedName: "sourceValidationOnly", + type: { + name: "Boolean" + } + }, + inVMValidations: { + serializedName: "inVMValidations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageTemplateInVMValidator" + } + } + } + } + } + } +}; + +export const ImageTemplateInVMValidator: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageTemplateInVMValidator", + uberParent: "ImageTemplateInVMValidator", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + export const ImageTemplateDistributor: coreClient.CompositeMapper = { type: { name: "Composite", @@ -177,7 +239,13 @@ export const ImageTemplateLastRunStatus: coreClient.CompositeMapper = { serializedName: "runSubState", type: { name: "Enum", - allowedValues: ["Queued", "Building", "Customizing", "Distributing"] + allowedValues: [ + "Queued", + "Building", + "Customizing", + "Validating", + "Distributing" + ] } }, message: { @@ -309,6 +377,43 @@ export const ComponentsVrq145SchemasImagetemplateidentityPropertiesUserassignedi } }; +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + } + } + } +}; + export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", @@ -354,36 +459,6 @@ export const SystemData: coreClient.CompositeMapper = { } }; -export const Resource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const CloudError: coreClient.CompositeMapper = { type: { name: "Composite", @@ -489,36 +564,6 @@ export const RunOutputCollection: coreClient.CompositeMapper = { } }; -export const SubResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SubResource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -947,6 +992,107 @@ export const ImageTemplateFileCustomizer: coreClient.CompositeMapper = { } }; +export const ImageTemplateShellValidator: coreClient.CompositeMapper = { + serializedName: "Shell", + type: { + name: "Composite", + className: "ImageTemplateShellValidator", + uberParent: "ImageTemplateInVMValidator", + polymorphicDiscriminator: + ImageTemplateInVMValidator.type.polymorphicDiscriminator, + modelProperties: { + ...ImageTemplateInVMValidator.type.modelProperties, + scriptUri: { + serializedName: "scriptUri", + type: { + name: "String" + } + }, + sha256Checksum: { + defaultValue: "", + serializedName: "sha256Checksum", + type: { + name: "String" + } + }, + inline: { + serializedName: "inline", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ImageTemplatePowerShellValidator: coreClient.CompositeMapper = { + serializedName: "PowerShell", + type: { + name: "Composite", + className: "ImageTemplatePowerShellValidator", + uberParent: "ImageTemplateInVMValidator", + polymorphicDiscriminator: + ImageTemplateInVMValidator.type.polymorphicDiscriminator, + modelProperties: { + ...ImageTemplateInVMValidator.type.modelProperties, + scriptUri: { + serializedName: "scriptUri", + type: { + name: "String" + } + }, + sha256Checksum: { + defaultValue: "", + serializedName: "sha256Checksum", + type: { + name: "String" + } + }, + inline: { + serializedName: "inline", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + runElevated: { + defaultValue: false, + serializedName: "runElevated", + type: { + name: "Boolean" + } + }, + runAsSystem: { + defaultValue: false, + serializedName: "runAsSystem", + type: { + name: "Boolean" + } + }, + validExitCodes: { + serializedName: "validExitCodes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + } + } + } +}; + export const ImageTemplateManagedImageDistributor: coreClient.CompositeMapper = { serializedName: "ManagedImage", type: { @@ -1059,38 +1205,12 @@ export const TrackedResource: coreClient.CompositeMapper = { } }; -export const RunOutput: coreClient.CompositeMapper = { +export const ProxyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunOutput", + className: "ProxyResource", modelProperties: { - ...SubResource.type.modelProperties, - artifactId: { - serializedName: "properties.artifactId", - type: { - name: "String" - } - }, - artifactUri: { - serializedName: "properties.artifactUri", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "Enum", - allowedValues: [ - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - } - } + ...Resource.type.modelProperties } } }; @@ -1108,13 +1228,6 @@ export const ImageTemplate: coreClient.CompositeMapper = { className: "ImageTemplateIdentity" } }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } - }, source: { serializedName: "properties.source", type: { @@ -1134,6 +1247,13 @@ export const ImageTemplate: coreClient.CompositeMapper = { } } }, + validate: { + serializedName: "properties.validate", + type: { + name: "Composite", + className: "ImageTemplatePropertiesValidate" + } + }, distribute: { serializedName: "properties.distribute", type: { @@ -1191,6 +1311,55 @@ export const ImageTemplate: coreClient.CompositeMapper = { name: "Composite", className: "ImageTemplateVmProfile" } + }, + stagingResourceGroup: { + serializedName: "properties.stagingResourceGroup", + type: { + name: "String" + } + }, + exactStagingResourceGroup: { + serializedName: "properties.exactStagingResourceGroup", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const RunOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunOutput", + modelProperties: { + ...ProxyResource.type.modelProperties, + artifactId: { + serializedName: "properties.artifactId", + type: { + name: "String" + } + }, + artifactUri: { + serializedName: "properties.artifactUri", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "Enum", + allowedValues: [ + "Creating", + "Updating", + "Succeeded", + "Failed", + "Deleting" + ] + } } } } @@ -1199,6 +1368,7 @@ export const ImageTemplate: coreClient.CompositeMapper = { export let discriminators = { ImageTemplateSource: ImageTemplateSource, ImageTemplateCustomizer: ImageTemplateCustomizer, + ImageTemplateInVMValidator: ImageTemplateInVMValidator, ImageTemplateDistributor: ImageTemplateDistributor, "ImageTemplateSource.PlatformImage": ImageTemplatePlatformImageSource, "ImageTemplateSource.ManagedImage": ImageTemplateManagedImageSource, @@ -1208,6 +1378,8 @@ export let discriminators = { "ImageTemplateCustomizer.WindowsUpdate": ImageTemplateWindowsUpdateCustomizer, "ImageTemplateCustomizer.PowerShell": ImageTemplatePowerShellCustomizer, "ImageTemplateCustomizer.File": ImageTemplateFileCustomizer, + "ImageTemplateInVMValidator.Shell": ImageTemplateShellValidator, + "ImageTemplateInVMValidator.PowerShell": ImageTemplatePowerShellValidator, "ImageTemplateDistributor.ManagedImage": ImageTemplateManagedImageDistributor, "ImageTemplateDistributor.SharedImage": ImageTemplateSharedImageDistributor, "ImageTemplateDistributor.VHD": ImageTemplateVhdDistributor diff --git a/sdk/imagebuilder/arm-imagebuilder/src/models/parameters.ts b/sdk/imagebuilder/arm-imagebuilder/src/models/parameters.ts index e700cb32404f..1eb237985c50 100644 --- a/sdk/imagebuilder/arm-imagebuilder/src/models/parameters.ts +++ b/sdk/imagebuilder/arm-imagebuilder/src/models/parameters.ts @@ -54,7 +54,7 @@ export const subscriptionId: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-10-01", + defaultValue: "2022-02-14", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/imagebuilder/arm-imagebuilder/test/imagebuilder_examples.ts b/sdk/imagebuilder/arm-imagebuilder/test/imagebuilder_examples.ts index b9d5f2b02752..c536dbbf610c 100644 --- a/sdk/imagebuilder/arm-imagebuilder/test/imagebuilder_examples.ts +++ b/sdk/imagebuilder/arm-imagebuilder/test/imagebuilder_examples.ts @@ -8,33 +8,27 @@ import { env, - record, - RecorderEnvironmentSetup, Recorder, delay, - isPlaybackMode + isPlaybackMode, + RecorderStartOptions, } from "@azure-tools/test-recorder"; -import * as assert from "assert"; -import { ClientSecretCredential } from "@azure/identity"; +import { createTestCredential } from "@azure-tools/test-credential"; +import { assert } from "chai"; +import { Context } from "mocha"; import { ImageBuilderClient } from "../src/imageBuilderClient"; import { ComputeManagementClient } from "@azure/arm-compute"; import { ManagedServiceIdentityClient } from "@azure/arm-msi"; -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: [] +const replaceableVariables: Record = { + 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" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables }; export const testPollingOptions = { @@ -55,18 +49,15 @@ describe("ImageBuilder test", () => { let imagesName: string; let msiName: string; - beforeEach(async function() { - recorder = record(this, recorderEnvSetup); - subscriptionId = env.SUBSCRIPTION_ID; + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + 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 ImageBuilderClient(credential, subscriptionId); - compute_client = new ComputeManagementClient(credential,subscriptionId); - msi_client = new ManagedServiceIdentityClient(credential,subscriptionId); + const credential = createTestCredential(); + client = new ImageBuilderClient(credential, subscriptionId, recorder.configureClientOptions({})); + compute_client = new ComputeManagementClient(credential, subscriptionId, recorder.configureClientOptions({})); + msi_client = new ManagedServiceIdentityClient(credential, subscriptionId, recorder.configureClientOptions({})); location = "eastus"; resourceGroup = "myjstest"; imageTemplateName = "myimageTemplatexxxz"; @@ -76,114 +67,115 @@ describe("ImageBuilder test", () => { msiName = "mymsiaaa"; }); - afterEach(async function() { + afterEach(async function () { await recorder.stop(); }); - it("create parameter for virtualMachineImageTemplates test", async function() { + it("create parameter for virtualMachineImageTemplates test", async function () { //create a userAssignedIdentities - const msiCreate = await msi_client.userAssignedIdentities.createOrUpdate(resourceGroup,msiName,{location: location}); + const msiCreate = await msi_client.userAssignedIdentities.createOrUpdate(resourceGroup, msiName, { location: location }); //create a disk - const diskCreate = await compute_client.disks.beginCreateOrUpdateAndWait(resourceGroup,diskName,{ + const diskCreate = await compute_client.disks.beginCreateOrUpdateAndWait(resourceGroup, diskName, { location: location, creationData: { - createOption: "Empty" + createOption: "Empty" }, diskSizeGB: 200 }) //create a snapshots - const snapshotsCreate = await compute_client.snapshots.beginCreateOrUpdateAndWait(resourceGroup,snapshotName,{ + const snapshotsCreate = await compute_client.snapshots.beginCreateOrUpdateAndWait(resourceGroup, snapshotName, { location: location, creationData: { - createOption: "Copy", - sourceUri: "/subscriptions/" +subscriptionId +"/resourceGroups/" +resourceGroup +"/providers/Microsoft.Compute/disks/mydiskaaa", + createOption: "Copy", + sourceUri: "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Compute/disks/mydiskaaa", } }) //create a images - const imagesCreate = await compute_client.images.beginCreateOrUpdateAndWait(resourceGroup,imagesName,{ + const imagesCreate = await compute_client.images.beginCreateOrUpdateAndWait(resourceGroup, imagesName, { location: location, storageProfile: { - osDisk: { - osType: "Linux", - osState: "Generalized", - snapshot: { - id: "subscriptions/" +subscriptionId +"/resourceGroups/" +resourceGroup +"/providers/Microsoft.Compute/snapshots/mysnapshotaaa", - } + osDisk: { + osType: "Linux", + osState: "Generalized", + snapshot: { + id: "subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Compute/snapshots/mysnapshotaaa", } + } }, hyperVGeneration: "V1" }) }); - it("virtualMachineImageTemplates create test", async function() { + it("virtualMachineImageTemplates create test", async function () { - if(isPlaybackMode()) { - this.skip(); + if (isPlaybackMode()) { + this.skip(); } //before create ,we need add msi owner authority for images in portal - const res = await client.virtualMachineImageTemplates.beginCreateOrUpdateAndWait(resourceGroup,imageTemplateName,{ - location: location, - tags: { + const res = await client.virtualMachineImageTemplates.beginCreateOrUpdateAndWait(resourceGroup, imageTemplateName, + { + location: location, + tags: { tag1: "IT_T1", tag2: "IT2_T2" - }, - identity: { + }, + identity: { type: "UserAssigned", userAssignedIdentities: { - "/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": {} + "/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourcegroups/myjstest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mymsiaaa": {} } - }, - source: { + }, + source: { type: "ManagedImage", - imageId: "/subscriptions/"+subscriptionId+"/resourceGroups/"+resourceGroup+"/providers/Microsoft.Compute/images/myimageaaa" - }, - customize: [ + imageId: "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Compute/images/myimagesaaa" + }, + customize: [ { - type: "Shell", - name: "Shell Customizer Example", - scriptUri: "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh" + type: "Shell", + name: "Shell Customizer Example", + scriptUri: "https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-msi/scripts/install-and-run-cli-2.sh" } - ], - distribute: [ + ], + distribute: [ { - type: "ManagedImage", - location: location, - runOutputName: "image_it_pir_1", - imageId: "/subscriptions/"+subscriptionId+"/resourceGroups/"+resourceGroup+"/providers/Microsoft.Compute/images/myimageaaa", - artifactTags: { - tagName: "value" - } + type: "ManagedImage", + location: location, + runOutputName: "image_it_pir_1", + imageId: "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Compute/images/myimagesaaa", + artifactTags: { + tagName: "value" + } } - ] - }) - }); + ] + }, testPollingOptions) + }).timeout(3600000);; - it("virtualMachineImageTemplates get test", async function() { - const res = await client.virtualMachineImageTemplates.get(resourceGroup,imageTemplateName); - assert.equal(res.name,imageTemplateName); + it("virtualMachineImageTemplates get test", async function () { + const res = await client.virtualMachineImageTemplates.get(resourceGroup, imageTemplateName); + assert.equal(res.name, imageTemplateName); }); - it("virtualMachineImageTemplates list test", async function() { + it("virtualMachineImageTemplates list test", async function () { const resArray = new Array(); - for await (let item of client.virtualMachineImageTemplates.list()){ + for await (let item of client.virtualMachineImageTemplates.list()) { resArray.push(item); } - assert.equal(resArray.length,1); + assert.equal(resArray.length, 1); }); - it("virtualMachineImageTemplates delete test", async function() { - const res = await client.virtualMachineImageTemplates.beginDeleteAndWait(resourceGroup,imageTemplateName); + it("virtualMachineImageTemplates delete test", async function () { + const res = await client.virtualMachineImageTemplates.beginDeleteAndWait(resourceGroup, imageTemplateName); const resArray = new Array(); - for await (let item of client.virtualMachineImageTemplates.list()){ + for await (let item of client.virtualMachineImageTemplates.list()) { resArray.push(item); } - assert.equal(resArray.length,0); + assert.equal(resArray.length, 0); }); - it("delete parameter for virtualMachineImageTemplates test", async function() { - const imagesDelete = await compute_client.images.beginDeleteAndWait(resourceGroup,imagesName) - const snapshotsDelete = await compute_client.snapshots.beginDeleteAndWait(resourceGroup,snapshotName) - const diskDelete = await compute_client.disks.beginDeleteAndWait(resourceGroup,diskName) - const msiDelete = await msi_client.userAssignedIdentities.delete(resourceGroup,msiName); + it("delete parameter for virtualMachineImageTemplates test", async function () { + const imagesDelete = await compute_client.images.beginDeleteAndWait(resourceGroup, imagesName); + const snapshotsDelete = await compute_client.snapshots.beginDeleteAndWait(resourceGroup, snapshotName); + const diskDelete = await compute_client.disks.beginDeleteAndWait(resourceGroup, diskName); + const msiDelete = await msi_client.userAssignedIdentities.delete(resourceGroup, msiName); }); });