diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index dc7c85c93a4c..2e85b505fd97 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10979,7 +10979,7 @@ packages: dev: false file:projects/arm-cdn.tgz: - resolution: {integrity: sha512-F3H7Zl/SExczoMqSQxxrVljhQDGlDfdAajS0GnoQ25rn6h3655ssBFWS9kns8FiefPimqlIox8ptdTrAB8K7WA==, tarball: file:projects/arm-cdn.tgz} + resolution: {integrity: sha512-3EmqlLRRsj230G6MJzFhs8btQYnJ1r7to768+8MySdKOVne4wX4cXxOSpVmR6cEUBkSp7mqmrS//5bTXLwFeyg==, tarball: file:projects/arm-cdn.tgz} name: '@rush-temp/arm-cdn' version: 0.0.0 dependencies: @@ -10990,18 +10990,19 @@ packages: '@rollup/plugin-json': 4.1.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 4.1.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 + '@types/chai': 4.3.4 + '@types/node': 14.18.33 + chai: 4.3.7 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 rollup: 2.79.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.79.1 + rollup-plugin-sourcemaps: 0.6.3_1225c068d0546e507df7db46196a6444 tslib: 2.4.1 - typescript: 4.2.4 + typescript: 4.8.4 uglify-js: 3.17.4 transitivePeerDependencies: - - '@types/node' - - encoding - supports-color dev: false diff --git a/sdk/cdn/arm-cdn/CHANGELOG.md b/sdk/cdn/arm-cdn/CHANGELOG.md index 8a7441ca6d4b..41ef1d0fe24f 100644 --- a/sdk/cdn/arm-cdn/CHANGELOG.md +++ b/sdk/cdn/arm-cdn/CHANGELOG.md @@ -1,5 +1,104 @@ # Release History + +## 8.0.0 (2022-11-17) + +**Features** + + - Added operation CustomDomains.beginDisableCustomHttps + - Added operation CustomDomains.beginDisableCustomHttpsAndWait + - Added operation CustomDomains.beginEnableCustomHttps + - Added operation CustomDomains.beginEnableCustomHttpsAndWait + - Added Interface AFDDomain + - Added Interface AFDDomainProperties + - Added Interface AFDEndpoint + - Added Interface AFDEndpointProperties + - Added Interface AFDOrigin + - Added Interface AFDOriginGroup + - Added Interface AFDOriginGroupProperties + - Added Interface AFDOriginProperties + - Added Interface AzureFirstPartyManagedCertificate + - Added Interface AzureFirstPartyManagedCertificateParameters + - Added Interface CdnManagedHttpsParameters + - Added Interface CdnWebApplicationFirewallPolicy + - Added Interface CustomDomain + - Added Interface CustomerCertificate + - Added Interface CustomerCertificateParameters + - Added Interface DeepCreatedCustomDomain + - Added Interface DeliveryRuleCacheExpirationAction + - Added Interface DeliveryRuleCacheKeyQueryStringAction + - Added Interface DeliveryRuleClientPortCondition + - Added Interface DeliveryRuleCookiesCondition + - Added Interface DeliveryRuleHostNameCondition + - Added Interface DeliveryRuleHttpVersionCondition + - Added Interface DeliveryRuleIsDeviceCondition + - Added Interface DeliveryRulePostArgsCondition + - Added Interface DeliveryRuleQueryStringCondition + - Added Interface DeliveryRuleRemoteAddressCondition + - Added Interface DeliveryRuleRequestBodyCondition + - Added Interface DeliveryRuleRequestHeaderAction + - Added Interface DeliveryRuleRequestHeaderCondition + - Added Interface DeliveryRuleRequestMethodCondition + - Added Interface DeliveryRuleRequestSchemeCondition + - Added Interface DeliveryRuleRequestUriCondition + - Added Interface DeliveryRuleResponseHeaderAction + - Added Interface DeliveryRuleRouteConfigurationOverrideAction + - Added Interface DeliveryRuleServerPortCondition + - Added Interface DeliveryRuleSocketAddrCondition + - Added Interface DeliveryRuleSslProtocolCondition + - Added Interface DeliveryRuleUrlFileExtensionCondition + - Added Interface DeliveryRuleUrlFileNameCondition + - Added Interface DeliveryRuleUrlPathCondition + - Added Interface EdgeNode + - Added Interface Endpoint + - Added Interface EndpointProperties + - Added Interface ManagedCertificate + - Added Interface ManagedCertificateParameters + - Added Interface ManagedRuleSetDefinition + - Added Interface Origin + - Added Interface OriginGroup + - Added Interface OriginGroupOverrideAction + - Added Interface OriginGroupProperties + - Added Interface OriginProperties + - Added Interface Profile + - Added Interface ProxyResource + - Added Interface RateLimitRule + - Added Interface Route + - Added Interface RouteProperties + - Added Interface Rule + - Added Interface RuleProperties + - Added Interface RuleSet + - Added Interface RuleSetProperties + - Added Interface Secret + - Added Interface SecretProperties + - Added Interface SecurityPolicy + - Added Interface SecurityPolicyProperties + - Added Interface SecurityPolicyWebApplicationFirewallParameters + - Added Interface TrackedResource + - Added Interface UrlRedirectAction + - Added Interface UrlRewriteAction + - Added Interface UrlSigningAction + - Added Interface UrlSigningKeyParameters + - Added Interface UserManagedHttpsParameters + - Added Type Alias EndpointProvisioningState + - Added Type Alias OriginGroupProvisioningState + - Added Type Alias OriginProvisioningState + - Added Type Alias ProfileProvisioningState + - Added Type Alias ResourceUsageUnit + - Interface CustomDomainsDisableCustomHttpsOptionalParams has a new optional parameter resumeFrom + - Interface CustomDomainsDisableCustomHttpsOptionalParams has a new optional parameter updateIntervalInMs + - Interface CustomDomainsEnableCustomHttpsOptionalParams has a new optional parameter resumeFrom + - Interface CustomDomainsEnableCustomHttpsOptionalParams has a new optional parameter updateIntervalInMs + - Added Enum KnownEndpointProvisioningState + - Added Enum KnownOriginGroupProvisioningState + - Added Enum KnownOriginProvisioningState + - Added Enum KnownProfileProvisioningState + - Added Enum KnownResourceUsageUnit +**Breaking Changes** + + - Removed operation CustomDomains.disableCustomHttps + - Removed operation CustomDomains.enableCustomHttps + ## 7.0.1 (2022-04-21) **Features** diff --git a/sdk/cdn/arm-cdn/_meta.json b/sdk/cdn/arm-cdn/_meta.json index 041fb3efa0b7..e2fd9d3c463b 100644 --- a/sdk/cdn/arm-cdn/_meta.json +++ b/sdk/cdn/arm-cdn/_meta.json @@ -1,8 +1,8 @@ { - "commit": "82fdf284eea880a8e027c354911a814999a77178", + "commit": "20df2424a278ca19437e437a7dbf3a7857a0dd9d", "readme": "specification/cdn/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\\cdn\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.17 --generate-sample=true", + "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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\\cdn\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.0", - "use": "@autorest/typescript@6.0.0-beta.17" + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.2", + "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" } \ No newline at end of file diff --git a/sdk/cdn/arm-cdn/package.json b/sdk/cdn/arm-cdn/package.json index 24f84b36f237..2e68a6bcb1e0 100644 --- a/sdk/cdn/arm-cdn/package.json +++ b/sdk/cdn/arm-cdn/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for CdnManagementClient.", - "version": "7.0.1", + "version": "8.0.0", "engines": { "node": ">=14.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.6.1", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -36,13 +36,18 @@ "mkdirp": "^1.0.4", "rollup": "^2.66.1", "rollup-plugin-sourcemaps": "^0.6.3", - "typescript": "~4.2.0", + "typescript": "~4.8.0", "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", - "cross-env": "^7.0.2" + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "cross-env": "^7.0.2", + "@types/node": "^14.0.0", + "@azure/dev-tool": "^1.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn", "repository": { @@ -93,9 +98,8 @@ "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:browser": "echo skipped", - "docs": "echo skipped" + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -115,4 +119,4 @@ "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cdn?view=azure-node-preview" } -} +} \ No newline at end of file diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.js deleted file mode 100644 index ad97a7abc5a4..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.js +++ /dev/null @@ -1,195 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "38b284907b939686c7c617ee2aaba697"; - -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', - '2adfaf84-f7df-43b2-b680-cb1347ae1500', - 'x-ms-ests-server', - '2.1.12651.9 - KRSLR1 ProdSlices', - 'X-XSS-Protection', - '0', - 'Set-Cookie', - 'fpc=AihUhw-8wbNBtWTCaEr339k; expires=Thu, 26-May-2022 08:12:39 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNUHeQfeKpNYiocYjb-Yei86gGpIcmLEvvGw5QnCDcVyllD5O4QY0zmOq7q__xZk64T90UHEW4zBWktsmIYcYCKMxpEkxatTXE5Akpk85BUKs0oTOSphu4VlvVXKH_CGta1Jt8cKQJnO9tT7vf1sK1w_cNvkCNC8dCZuKHKWhZXkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 26 Apr 2022 08:12:39 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', - '2adfaf84-f7df-43b2-b680-cb1349ae1500', - 'x-ms-ests-server', - '2.1.12651.9 - KRSLR1 ProdSlices', - 'X-XSS-Protection', - '0', - 'Set-Cookie', - 'fpc=ApzS7EyokstEkBgL6b2iKzM; expires=Thu, 26-May-2022 08:12:39 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-KMUY8IcEXvcMf_ztqb6hP95BafVTWczEIe7J0F0glcb0p2MFo5iTf3HiF3fWU_KGj5LyQtXLQN-YQZuEHdQXVoUQOAVdinQXm0C6hZuNP6yt20OQi1gjtnvk0MwwuwtvVVmIaKcWilDSqhcuuOULSHryjosUnmBHO1ROojC4jMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 26 Apr 2022 08:12:39 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.8.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=b5e298ac-56c5-45ad-801d-e81f256cd6c0&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', - 'a05831b8-9496-478c-bea9-1ccdb23e1400', - 'x-ms-ests-server', - '2.1.12651.9 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'X-XSS-Protection', - '0', - 'Set-Cookie', - 'fpc=Ak9dQKfyYXpKr80PQYaRoyLLj78gAQAAAHeg-dkOAAAA; expires=Thu, 26-May-2022 08:12:39 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 26 Apr 2022 08:12:39 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77ef3e1a7dd45eaf724221de98be5f660b7cdf79abaca61990a56f4eb3a6fd0a2ddf164b0c663a5bd21f6d76d17cf4e817ff92d147cddb35fd62e0bc6eb3e52cab67bfff4fe675f10302402d08f22aafdb82faa3866660d4b2c51bc7d3b6b8cc092435bb2c1aeab4585e982f5fafa7d33c9fe5b38f7ec9","2ff97f0068b6dfee4d010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '364c22c0-44ef-4471-b3da-1a93dee1da81', - 'x-ms-client-request-id', - '6938808b-9f89-40a0-a667-9c423ae407a8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - 'cd7ad775-f627-45af-b708-f3a8baced713', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220426T081241Z:cd7ad775-f627-45af-b708-f3a8baced713', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 26 Apr 2022 08:12:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx/customDomains/www-qiaozha-xyz/enableCustomHttps', {"certificateSource":"Cdn","protocolType":"IPBased","certificateSourceParameters":{"typeName":"CdnCertificateSourceParameters","certificateType":"Shared"}}) - .query(true) - .reply(202, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx/customdomains/www-qiaozha-xyz","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"www-qiaozha-xyz","properties":{"hostName":"www.qiaozha.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"SubmittingDomainControlValidationRequest","customHttpsParameters":{"certificateSource":"Cdn","certificateSourceParameters":{"typeName":"CdnCertificateSourceParameters","certificateType":"Shared"},"protocolType":"IPBased","minimumTlsVersion":"None"},"provisioningState":"Succeeded"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '714', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/555a0a3a-0ec8-4a44-87f3-d30a88e978b0/profileresults/myprofilexxx/endpointresults/myendpointxxx/customdomainresults/www-qiaozha-xyz?api-version=2021-06-01', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7b879b6f-8fd1-409f-9276-cbfc447ce37a', - 'x-ms-client-request-id', - '5bfe35ce-61c4-41e7-9ade-f064f05013f2', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/555a0a3a-0ec8-4a44-87f3-d30a88e978b0?api-version=2021-06-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '602079fb-0f75-409a-a2c2-42a8af47d7a8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20220426T081250Z:602079fb-0f75-409a-a2c2-42a8af47d7a8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Tue, 26 Apr 2022 08:12:49 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.json new file mode 100644 index 000000000000..3e03be589736 --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_customdomains_enable_test.json @@ -0,0 +1,97 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v18.12.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "34ee5c69-b909-49a8-9be5-d2747ece2497" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 20 Dec 2022 02:17:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "34ee5c69-b909-49a8-9be5-d2747ece2497", + "x-ms-correlation-request-id": "985691a8-eeb5-49e9-9236-af003c8aeb5c", + "x-ms-ratelimit-remaining-subscription-resource-requests": "49", + "x-ms-request-id": "2a56c4c6-6fcb-4fcb-a43e-5001ff6b0ddf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221220T021748Z:985691a8-eeb5-49e9-9236-af003c8aeb5c" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": {}, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx/customDomains/www-qiaozha-xyz/enableCustomHttps?api-version=2021-06-01", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "155", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v18.12.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "33b92f06-846c-4955-8b23-d8e9fb4a47a3" + }, + "RequestBody": { + "certificateSource": "Cdn", + "protocolType": "IPBased", + "certificateSourceParameters": { + "typeName": "CdnCertificateSourceParameters", + "certificateType": "Shared" + } + }, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "91", + "Content-Type": "application/json", + "Date": "Tue, 20 Dec 2022 02:17:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "33b92f06-846c-4955-8b23-d8e9fb4a47a3", + "x-ms-correlation-request-id": "378a5c94-74a4-452d-8ed0-dd035c196a1a", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "29f2641e-7dc7-4f37-a248-4588ebc63818", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221220T021749Z:378a5c94-74a4-452d-8ed0-dd035c196a1a" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The resource cannot be found." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js deleted file mode 100644 index 5417d4df8b7c..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.js +++ /dev/null @@ -1,833 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7c66302b70d569ff45ae98febc6b5db3"; - -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', - '9bed8f69-8b1e-4591-be3e-4496e6ea0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Akxd5LYWW9FNjdbNnthjeRY; expires=Sat, 15-Jan-2022 02:14:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSGNI-kbCqABC3oYiQid4sVvRTgF3pGLfaGRGOlBrvqZ-BwJ4h0OlH9K9C0XR8TGUOKzCN9cmiLrPSS82H72-LOJs3LnhOQJPE-0e1-pyLrcSnmTlAEwvRJGoF2CmPqg5NfET92ip_yMVx0fydUXlbCQDpHEXwkSGH5eOwQsB1fkgAA; 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, 16 Dec 2021 02:14:32 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', - 'f215b684-5d11-4e35-8031-583352230200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AmnqY-lfqDlOn0vNhl9O5Qg; expires=Sat, 15-Jan-2022 02:14:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWUREpaAnK6jQ5_jO7Jfj5q7CVZBsx-qGMguKlGgyJUTrsRx5DwAKzfnX8DS2N5xsqpWF_mMMNQmlyWtZWJnNIttnZIk49WRIiRmFUGM5b0kcsPytgjNUEHJAkdx9VwqS6rycImzqQZQHKG5TuzM2QY68-oYsIzfC2euXlAQgTwogAA; 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, 16 Dec 2021 02:14:32 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=bcc0c77a-8b97-4963-b5de-3bc1939e1696&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', - '96da2a01-9bbf-4976-b77e-e8e6562f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Alk0AHSg1lZMgw_5joM-GwgWPr5BAQAAAAiYTNkOAAAA; expires=Sat, 15-Jan-2022 02:14:33 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, 16 Dec 2021 02:14:32 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx', {"location":"westus","tags":{"key1":"value1"},"properties":{"originPath":"/image","contentTypesToCompress":["text/html","application/octet-stream"],"originHostHeader":"www.bing.com","isCompressionEnabled":true,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"BypassCaching","origins":[{"name":"origin1","properties":{"hostName":"host1.hello.com"}}]}}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx","type":"Microsoft.Cdn/profiles/endpoints","name":"myendpointxxx","location":"WestUs","tags":{"key1":"value1"},"properties":{"hostName":"myendpointxxx.azureedge.net","originHostHeader":"www.bing.com","originPath":"/image","contentTypesToCompress":["text/html","application/octet-stream"],"isCompressionEnabled":true,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"BypassCaching","optimizationType":null,"probePath":null,"origins":[{"name":"origin1","properties":{"hostName":"host1.hello.com","httpPort":null,"httpsPort":null,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '1140', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '4c728a18-6e03-458e-b824-f461043720a6', - 'x-ms-client-request-id', - '84e588f9-71ea-4809-9b18-d58dd0be8f99', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '99', - 'x-ms-correlation-request-id', - '2c2b1c2a-8c1b-48c5-b18b-4db9adde985a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021448Z:2c2b1c2a-8c1b-48c5-b18b-4db9adde985a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9f068c0-e790-4f8d-889f-b3b6f47b25ce', - 'x-ms-client-request-id', - 'f518cf04-f54c-43b1-9835-753be672d4f8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11939', - 'x-ms-correlation-request-id', - '978e847f-01be-4118-99ad-8e73f6ebc620', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021449Z:978e847f-01be-4118-99ad-8e73f6ebc620', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:49 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e36bf57b-611b-408f-bf7e-aad21194e302', - 'x-ms-client-request-id', - 'f71c0c94-9dc5-4e33-bfb5-f7216ee2d6f0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11938', - 'x-ms-correlation-request-id', - 'd1ddbbbf-0c57-404a-b6b6-b886e8256fee', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021451Z:d1ddbbbf-0c57-404a-b6b6-b886e8256fee', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd0017f54-dd9a-4862-bf9b-05ab05b3cb71', - 'x-ms-client-request-id', - '2ff6a2c4-7170-4735-a3b9-7d6f70514827', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11937', - 'x-ms-correlation-request-id', - '6e84fbf1-6bd0-45a9-9289-3b476f7e040e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021453Z:6e84fbf1-6bd0-45a9-9289-3b476f7e040e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7e530318-d21d-48d4-a5d4-23a3327c2a7f', - 'x-ms-client-request-id', - 'de2ebe52-b80c-4fb7-b774-3d55be47b708', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11936', - 'x-ms-correlation-request-id', - '4e0cbe26-f997-4fc5-ad52-0ae3cb289fa8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021456Z:4e0cbe26-f997-4fc5-ad52-0ae3cb289fa8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '4c678973-55e9-4306-a00c-0b8f3d66dc58', - 'x-ms-client-request-id', - '9c928fd7-4f25-4cee-a524-938c0ef214f8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11935', - 'x-ms-correlation-request-id', - '57ee41e4-5f81-4331-b41a-5230fd42ade7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021458Z:57ee41e4-5f81-4331-b41a-5230fd42ade7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '976d6d86-99a3-4f52-9faa-69dbe7789cf0', - 'x-ms-client-request-id', - 'cbb18d11-3747-45cd-b6a2-ea5627132979', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11934', - 'x-ms-correlation-request-id', - 'f9c19a63-d470-4d36-a959-3526c3b9c26c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021500Z:f9c19a63-d470-4d36-a959-3526c3b9c26c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '27d4c4a4-0f41-466f-a030-a14bcc2c60b6', - 'x-ms-client-request-id', - 'c890aaf0-b8da-4242-9771-d126b568bedb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11933', - 'x-ms-correlation-request-id', - '64aa5d3f-8217-4307-bb84-62e01683435a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021503Z:64aa5d3f-8217-4307-bb84-62e01683435a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5556951b-28ce-48d9-af23-1701c3025bcf', - 'x-ms-client-request-id', - 'a5f06467-151a-4788-90ff-b67f8d69b63c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11932', - 'x-ms-correlation-request-id', - 'a5effd6d-632d-4831-8dea-9c1b3d2e7048', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021505Z:a5effd6d-632d-4831-8dea-9c1b3d2e7048', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:05 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '91f3a8ba-47bb-44e4-a8ba-69f7e273d1a1', - 'x-ms-client-request-id', - 'a5732a49-1001-4042-9cde-c616c9e3ca83', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11931', - 'x-ms-correlation-request-id', - '5e662844-11fc-46a1-8f8f-ea24d8a99f89', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021507Z:5e662844-11fc-46a1-8f8f-ea24d8a99f89', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2a092789-eb30-4c84-8c49-79b7e4b9f123', - 'x-ms-client-request-id', - 'd7b554d0-079b-4933-8854-74f8942bf789', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11930', - 'x-ms-correlation-request-id', - '6914c662-4811-4a09-8ea2-fb5279ffc6cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021510Z:6914c662-4811-4a09-8ea2-fb5279ffc6cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd09f4b6c-ab6d-4fd6-8a25-9bb21d3a0740', - 'x-ms-client-request-id', - 'a16ee363-68e9-48e3-b1ef-d012a111d610', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11929', - 'x-ms-correlation-request-id', - '7edf181c-5028-44e5-8462-28a897a0c8b7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021512Z:7edf181c-5028-44e5-8462-28a897a0c8b7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8a937305-4c44-4369-bd0c-2fef95c42204', - 'x-ms-client-request-id', - '2b3a10e0-012e-4ae1-b026-6f4a6dbe6664', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11928', - 'x-ms-correlation-request-id', - 'fa971091-d52f-4085-94ce-46eb2af348b1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021514Z:fa971091-d52f-4085-94ce-46eb2af348b1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'dd4aebd2-b07c-461b-8746-936a964561c1', - 'x-ms-client-request-id', - 'ce49c07a-e804-4c8e-b8a0-8696e0c79515', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11927', - 'x-ms-correlation-request-id', - 'e77dd1f0-2b4c-4af8-b9da-6469d80c4712', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021517Z:e77dd1f0-2b4c-4af8-b9da-6469d80c4712', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '46bc9d0c-75df-4c93-b458-72f53ba6da30', - 'x-ms-client-request-id', - '438f7165-2d0f-4557-a06f-59477936e5bd', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11926', - 'x-ms-correlation-request-id', - 'f6e8b0a2-6546-46c8-b7d6-2fc1b927e7b4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021519Z:f6e8b0a2-6546-46c8-b7d6-2fc1b927e7b4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'befa50f8-e445-4193-bf01-703dbf03ecb8', - 'x-ms-client-request-id', - '5cd9e1d6-cd6a-41f9-8bc0-8e57f9a7ca57', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11925', - 'x-ms-correlation-request-id', - '8bd90431-948a-424d-b55b-27394ff02a7b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021521Z:8bd90431-948a-424d-b55b-27394ff02a7b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '7e7528fb-93b6-42c5-a0a1-f6e356f9f265', - 'x-ms-client-request-id', - '88f97026-344d-4e27-826b-43e625b2449e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11924', - 'x-ms-correlation-request-id', - 'c7d7e229-67c8-49e9-9ac6-50782e017fd6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021524Z:c7d7e229-67c8-49e9-9ac6-50782e017fd6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/c93b235f-2731-4ae6-9c10-b3f46a0cec7c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b2182c25-238e-41ba-9207-53dfcafc8a28', - 'x-ms-client-request-id', - 'd5a80b61-b04a-4d37-97af-4a7106f63642', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11923', - 'x-ms-correlation-request-id', - '88a6a5cb-244a-471b-8dde-6ef8468f6130', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021526Z:88a6a5cb-244a-471b-8dde-6ef8468f6130', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffcd1dbfc7a973ebfccca75befbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd7fc92f","f97f00088390f674040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'fc606965-ef64-4948-88a8-b3d6fe4e7b10', - 'x-ms-client-request-id', - 'fc611616-1ab8-451b-9c05-2e38c471ea9a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - '8bd3c035-5a9b-4c59-93fc-69b4b2da1638', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021529Z:8bd3c035-5a9b-4c59-93fc-69b4b2da1638', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:29 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.json new file mode 100644 index 000000000000..28299effb730 --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_create_test.json @@ -0,0 +1,1081 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx?api-version=2021-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "374", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "df15c8b3-f359-484d-965c-686ea2d31233" + }, + "RequestBody": { + "location": "westus", + "tags": { + "key1": "value1" + }, + "properties": { + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "originHostHeader": "www.bing.com", + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com" + } + } + ] + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-01", + "Cache-Control": "no-cache", + "Content-Length": "1125", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "df15c8b3-f359-484d-965c-686ea2d31233", + "x-ms-correlation-request-id": "49105cdb-9076-4239-9957-54f358c6043b", + "x-ms-ratelimit-remaining-subscription-resource-requests": "99", + "x-ms-request-id": "087c0515-3aa5-4599-b8bf-98e96d575120", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083817Z:49105cdb-9076-4239-9957-54f358c6043b" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx", + "type": "Microsoft.Cdn/profiles/endpoints", + "name": "myendpointxxx", + "location": "WestUs", + "tags": { + "key1": "value1" + }, + "properties": { + "hostName": "myendpointxxx.azureedge.net", + "originHostHeader": "www.bing.com", + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "optimizationType": null, + "probePath": null, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null, + "originHostHeader": null, + "priority": null, + "weight": null, + "enabled": true, + "privateLinkAlias": null, + "privateLinkResourceId": null, + "privateLinkLocation": null, + "privateEndpointStatus": null, + "privateLinkApprovalMessage": null + } + } + ], + "originGroups": [], + "defaultOriginGroup": null, + "customDomains": [], + "geoFilters": [], + "deliveryPolicy": null, + "urlSigningKeys": null, + "webApplicationFirewallPolicyLink": null, + "resourceState": "Creating", + "provisioningState": "Creating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "99245553-8b8e-4380-bf9c-07004e781aa8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "99245553-8b8e-4380-bf9c-07004e781aa8", + "x-ms-correlation-request-id": "4000cbda-dc1c-4e70-84a1-09ece05240de", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "57eca6ba-cce4-4657-b3e5-37c508ea48ab", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083817Z:4000cbda-dc1c-4e70-84a1-09ece05240de" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "f2827e04-61ad-4463-867d-1f9ec9871360" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f2827e04-61ad-4463-867d-1f9ec9871360", + "x-ms-correlation-request-id": "70ae027f-e7e3-4e24-9008-d41cf217b4b1", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "f6558818-1d31-4aca-940c-2628475e1640", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083817Z:70ae027f-e7e3-4e24-9008-d41cf217b4b1" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "6ed6c786-fd04-4819-a3fb-b4878dbad7b6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6ed6c786-fd04-4819-a3fb-b4878dbad7b6", + "x-ms-correlation-request-id": "5a97af75-a230-486e-8dbb-98762f1c3875", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "2a84e14b-b236-4f50-a4d6-051ddb2864cc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083820Z:5a97af75-a230-486e-8dbb-98762f1c3875" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "724288c7-fc3c-4eee-82a4-b9983d2eadc8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "724288c7-fc3c-4eee-82a4-b9983d2eadc8", + "x-ms-correlation-request-id": "e1d8af03-76b1-453f-a73a-dd8bbc7b51f2", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "97ac1374-1a69-44a3-bfff-197ecffff284", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083822Z:e1d8af03-76b1-453f-a73a-dd8bbc7b51f2" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "c91ab41b-87c2-4a77-84e2-fcc19f1b59ee" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c91ab41b-87c2-4a77-84e2-fcc19f1b59ee", + "x-ms-correlation-request-id": "2cb36751-29b9-4da7-801d-a69fe51186fe", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "e51054f7-b197-4ed3-88bc-955501ca607a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083824Z:2cb36751-29b9-4da7-801d-a69fe51186fe" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "7d1ab8ff-1038-45a4-aa7f-43f954b27aca" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7d1ab8ff-1038-45a4-aa7f-43f954b27aca", + "x-ms-correlation-request-id": "b289c8fc-9a78-4fc3-b114-d42d8bd7eb03", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "75bc0182-392f-4c64-af4a-1f35f4483556", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083827Z:b289c8fc-9a78-4fc3-b114-d42d8bd7eb03" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e99e677a-1fd6-4900-9ef0-8862650e4985" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e99e677a-1fd6-4900-9ef0-8862650e4985", + "x-ms-correlation-request-id": "4f6696df-58cc-4137-a771-1042942d71fa", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "2e466dc2-6b18-4dff-89fd-48b276db58e9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083829Z:4f6696df-58cc-4137-a771-1042942d71fa" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "13ee415f-8ca9-4315-a4cc-db3d19cd8089" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "13ee415f-8ca9-4315-a4cc-db3d19cd8089", + "x-ms-correlation-request-id": "2379c76e-39c1-49d4-ada3-3d07680e54a3", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "1ce971cf-c205-4c8e-8731-7bd81a928061", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083831Z:2379c76e-39c1-49d4-ada3-3d07680e54a3" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "6b5b3d3a-8c1a-4122-8d3a-2e0a76a7bce3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6b5b3d3a-8c1a-4122-8d3a-2e0a76a7bce3", + "x-ms-correlation-request-id": "a299a52c-2f24-4c76-8b34-f88db5a0a06d", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "cb65ee55-e482-49ad-bba1-2f1e9a2b60cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083834Z:a299a52c-2f24-4c76-8b34-f88db5a0a06d" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "444ce799-90d9-4c4a-b26d-e4cd32f1de60" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "444ce799-90d9-4c4a-b26d-e4cd32f1de60", + "x-ms-correlation-request-id": "c47c13b8-b2d7-46d1-a758-4f12a7eeabc8", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "25396cf9-c14d-4984-bbe0-c2576e3aceb3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083836Z:c47c13b8-b2d7-46d1-a758-4f12a7eeabc8" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "79170c45-1f06-4ff2-985c-f0b2e1f15726" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "79170c45-1f06-4ff2-985c-f0b2e1f15726", + "x-ms-correlation-request-id": "36cc8b42-f7a6-4173-94a1-74c81bf5f679", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-request-id": "0ad1e83c-6cff-43c6-bfd9-69e0472b6ba1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083838Z:36cc8b42-f7a6-4173-94a1-74c81bf5f679" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "63016acf-503d-4f91-9a6b-542f11af5aca" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "63016acf-503d-4f91-9a6b-542f11af5aca", + "x-ms-correlation-request-id": "ff54ec03-299f-48ca-99c8-7181393d5beb", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-request-id": "fb9539f7-cbcb-4c0f-8b6b-00fdd25b5da5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083841Z:ff54ec03-299f-48ca-99c8-7181393d5beb" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "06d00de3-ba70-40b8-bbc8-d14c1568d95c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "06d00de3-ba70-40b8-bbc8-d14c1568d95c", + "x-ms-correlation-request-id": "3fd2d75d-8b04-4e74-947f-30fe49caab0a", + "x-ms-ratelimit-remaining-subscription-reads": "11936", + "x-ms-request-id": "8e8416fa-5fac-4eab-8b08-d6c780d3b502", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083843Z:3fd2d75d-8b04-4e74-947f-30fe49caab0a" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "1474c866-4af8-4a53-82d5-56e6773eb41a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1474c866-4af8-4a53-82d5-56e6773eb41a", + "x-ms-correlation-request-id": "56e913de-3390-4fb6-8885-a0e945a941c3", + "x-ms-ratelimit-remaining-subscription-reads": "11935", + "x-ms-request-id": "8d42d7d6-1bdf-4f7b-9799-a5a0dc1c8fdd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083845Z:56e913de-3390-4fb6-8885-a0e945a941c3" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "412721ff-6822-4dec-b5fb-deb669998e3f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "412721ff-6822-4dec-b5fb-deb669998e3f", + "x-ms-correlation-request-id": "11548dc7-33e6-41cc-b1ec-ab63d080d5ec", + "x-ms-ratelimit-remaining-subscription-reads": "11934", + "x-ms-request-id": "03d1cb1c-da1e-4d25-be82-46cab811744f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083848Z:11548dc7-33e6-41cc-b1ec-ab63d080d5ec" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "69b0a824-4fc9-408a-bd70-82b049e2606e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "69b0a824-4fc9-408a-bd70-82b049e2606e", + "x-ms-correlation-request-id": "41351309-05a7-48c9-92c6-a8c5b083c987", + "x-ms-ratelimit-remaining-subscription-reads": "11933", + "x-ms-request-id": "9de595f8-84a1-4611-b309-1bf850dd9eb3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083850Z:41351309-05a7-48c9-92c6-a8c5b083c987" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d761d8dc-b0d1-4263-a402-88190807d9ce" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d761d8dc-b0d1-4263-a402-88190807d9ce", + "x-ms-correlation-request-id": "3f747e39-cac7-48ec-9432-a6ff0b35fc12", + "x-ms-ratelimit-remaining-subscription-reads": "11932", + "x-ms-request-id": "2a58c3e2-492f-44eb-a148-3a9624d14358", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083853Z:3f747e39-cac7-48ec-9432-a6ff0b35fc12" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "50c956f9-0cfc-458e-ac5e-843152b17b30" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "50c956f9-0cfc-458e-ac5e-843152b17b30", + "x-ms-correlation-request-id": "902af306-45d9-4d58-b569-51bac824a96f", + "x-ms-ratelimit-remaining-subscription-reads": "11931", + "x-ms-request-id": "7d8579b1-f79d-419f-badc-e5d90dd305b3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083855Z:902af306-45d9-4d58-b569-51bac824a96f" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9ae583fe-3c29-4155-af34-82e07679a028" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ae583fe-3c29-4155-af34-82e07679a028", + "x-ms-correlation-request-id": "8bb31a02-f76c-4002-8564-aedec793c333", + "x-ms-ratelimit-remaining-subscription-reads": "11930", + "x-ms-request-id": "9f6544ca-d941-4d82-a581-7438f10d9e51", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083857Z:8bb31a02-f76c-4002-8564-aedec793c333" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "13949306-62f4-49ec-8340-ab087ba1caf7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "13949306-62f4-49ec-8340-ab087ba1caf7", + "x-ms-correlation-request-id": "64feaa4b-0a78-4d89-880a-25b2338d268d", + "x-ms-ratelimit-remaining-subscription-reads": "11929", + "x-ms-request-id": "60e391ff-9157-4f37-9ba8-2d6eefe5de10", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083900Z:64feaa4b-0a78-4d89-880a-25b2338d268d" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "b9739439-5eab-4e49-88a5-c4ad79ad5bf1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b9739439-5eab-4e49-88a5-c4ad79ad5bf1", + "x-ms-correlation-request-id": "6f88eea5-3fe3-4d06-bc10-f47f1afb78e3", + "x-ms-ratelimit-remaining-subscription-reads": "11928", + "x-ms-request-id": "ebcc5bc6-ad77-4350-9a56-3b0ce42d3a50", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083902Z:6f88eea5-3fe3-4d06-bc10-f47f1afb78e3" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/de882f1c-37fb-4b33-b2d2-e5498fdf9ef7?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "6703b869-c7f3-4b25-b364-143483baba99" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6703b869-c7f3-4b25-b364-143483baba99", + "x-ms-correlation-request-id": "efada4de-988d-4a16-b098-1e5d2c3f896d", + "x-ms-ratelimit-remaining-subscription-reads": "11927", + "x-ms-request-id": "201adc99-430e-4f9b-970a-23153de2a92c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083904Z:efada4de-988d-4a16-b098-1e5d2c3f896d" + }, + "ResponseBody": { + "status": "Succeeded", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "a12e03ee-f20b-474d-819c-43abeab6a15e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a12e03ee-f20b-474d-819c-43abeab6a15e", + "x-ms-correlation-request-id": "09392360-1fbd-4735-8905-84f5b85c696c", + "x-ms-ratelimit-remaining-subscription-resource-requests": "49", + "x-ms-request-id": "23a9726b-bf56-413d-9489-ea3b1d9bb834", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083905Z:09392360-1fbd-4735-8905-84f5b85c696c" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx", + "type": "Microsoft.Cdn/profiles/endpoints", + "name": "myendpointxxx", + "location": "WestUs", + "tags": { + "key1": "value1" + }, + "properties": { + "hostName": "myendpointxxx.azureedge.net", + "originHostHeader": "www.bing.com", + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "optimizationType": null, + "probePath": null, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null, + "originHostHeader": null, + "priority": null, + "weight": null, + "enabled": true, + "privateLinkAlias": null, + "privateLinkResourceId": null, + "privateLinkLocation": null, + "privateEndpointStatus": null, + "privateLinkApprovalMessage": null + } + } + ], + "originGroups": [], + "defaultOriginGroup": null, + "customDomains": [], + "geoFilters": [], + "deliveryPolicy": null, + "urlSigningKeys": null, + "webApplicationFirewallPolicyLink": null, + "resourceState": "Running", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js deleted file mode 100644 index 8adab8099a96..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.js +++ /dev/null @@ -1,871 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "86bf0c0f959aa87dcf70aaa0f5204570"; - -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', - '5285c3d9-cae3-4c1d-810a-40fa8ee40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=At_tOHeBYX5Fq1rf2CzKNkI; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1GTnXKGNdq2klncW0bDKlgoyjzt2FWWkDJvqBqVWN2QK_eDNqHcBi56qIHoUCSAnqLphvuenLOEuJ1gHjT5wLUN4tug25u_0Wbpbf3sG0RvI1h-Bw1PR8mjblth-czBLBB-eB6d5B9Jx9VUQfrKAdddJ5Ldy3S1dMR7vxxLbVZ0gAA; 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, 16 Dec 2021 02:15:55 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fa92e40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=An8Cev2163NAjWbRyY7CXQo; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9aZ3YNWXpfS5ReaGoBV_fryN2jyBWVvaXT1abdAbHYk_Z2reWQz2d6DEIJuvA76pkZnUfDENoZc91VUe6biPLNWsIDs7Mi_bR4Wy_tWzVXxdU3iObuCvF_7vxFUhjWiOv2X6PGA7mWTdBqJN_2ru18mEZg1RlmuE_4aRzHaWAn0gAA; 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, 16 Dec 2021 02:15:55 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=52cb058a-2203-4c38-91ba-85a49ae0502a&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', - '6edbaf0b-a0a4-49c7-852a-1809d6690700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkX8qvOQt_xFoVrjUB8XsyEWPr5BAQAAAFuYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:56 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5/profileresults/myprofilexxx/endpointresults/myendpointxxx?api-version=2020-09-01', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8ff0a8fa-c6f9-4b28-8693-6129de77ed9e', - 'x-ms-client-request-id', - 'd5c0c4a7-d2d2-4e5d-bcec-647e711f7bfe', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-correlation-request-id', - 'e5112d2b-0d7d-41b1-9490-3605c7efd2f7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021600Z:e5112d2b-0d7d-41b1-9490-3605c7efd2f7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:59 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd5aa6eb5-b241-430d-a3e9-7436b770c86b', - 'x-ms-client-request-id', - 'dcbd48a9-6982-4c48-a307-79b019e3c905', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11917', - 'x-ms-correlation-request-id', - '76438c79-d2d0-4226-885e-f0b01eb2e9e9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021600Z:76438c79-d2d0-4226-885e-f0b01eb2e9e9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6c9d9999-2f4d-49a4-9008-95c033671803', - 'x-ms-client-request-id', - '81bd20e0-5b2a-4aa6-aa7b-9784e06e15ef', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11916', - 'x-ms-correlation-request-id', - '2119ad2f-73d1-4715-ac14-b315c244c3e6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021602Z:2119ad2f-73d1-4715-ac14-b315c244c3e6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e7d84c00-1a6d-4b90-b16f-dd894b66ff79', - 'x-ms-client-request-id', - 'f1df9eea-ba18-4383-9b5f-bb8acf0bf6d5', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11915', - 'x-ms-correlation-request-id', - 'd5e1b6ca-5c24-444d-abe0-30b313d635f3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021605Z:d5e1b6ca-5c24-444d-abe0-30b313d635f3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '930555e2-01dd-42be-a61b-6bcfab7d6f5d', - 'x-ms-client-request-id', - '5605c0f0-d054-43e3-bec1-cda9e8637a81', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11914', - 'x-ms-correlation-request-id', - 'c701fe08-e056-4398-9ffb-e78c7d2fdea9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021607Z:c701fe08-e056-4398-9ffb-e78c7d2fdea9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:06 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e57070fc-15e4-459b-ab40-e7293c71bef2', - 'x-ms-client-request-id', - 'b0a00345-d0c9-4b35-a5b2-4e6789c3dd49', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11913', - 'x-ms-correlation-request-id', - '848fd84d-4a45-4177-96cd-99d3d86bf4b5', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021609Z:848fd84d-4a45-4177-96cd-99d3d86bf4b5', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ec14d828-023a-4c89-959a-ca79e6ccce1b', - 'x-ms-client-request-id', - '238d2fef-7612-4822-a8ac-4a4bdff6a9cb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11912', - 'x-ms-correlation-request-id', - '2c0916c0-47d6-446e-b20b-0372f2a88880', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021612Z:2c0916c0-47d6-446e-b20b-0372f2a88880', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '11ba53aa-dc26-4467-b668-1a2ecf6c60b1', - 'x-ms-client-request-id', - '8b47f5a1-3c08-42e2-9915-765b25186187', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11911', - 'x-ms-correlation-request-id', - 'bbd1d747-6d03-4ea2-bdec-cd4bb9163562', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021614Z:bbd1d747-6d03-4ea2-bdec-cd4bb9163562', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '32675de3-f7be-44e3-b8f4-550592e15d5a', - 'x-ms-client-request-id', - '625b22a5-e408-48fc-a081-f0bd776f4112', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11910', - 'x-ms-correlation-request-id', - '9c2071b4-a101-4b7a-853a-7c0926017b61', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021616Z:9c2071b4-a101-4b7a-853a-7c0926017b61', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8c25625c-78d5-4606-b8f4-e7246942341b', - 'x-ms-client-request-id', - 'c9aaa42a-7d6e-4a3f-aec9-0bbcb8a3d726', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11909', - 'x-ms-correlation-request-id', - '3d12ad6a-bf88-4450-88b3-26f8e44aed37', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021619Z:3d12ad6a-bf88-4450-88b3-26f8e44aed37', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '00534ca4-c8e7-4e42-bf51-3a387b5dc39c', - 'x-ms-client-request-id', - 'df52dfd8-4c6b-4587-9a41-e7432928244f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11908', - 'x-ms-correlation-request-id', - '09f3fc36-2603-492f-a47b-86a93b4d99d8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021621Z:09f3fc36-2603-492f-a47b-86a93b4d99d8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd6c2d01b-c08d-48f0-aaf6-0fd64f950180', - 'x-ms-client-request-id', - 'd716406b-39d9-42d5-8134-b8a51f69c01f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11907', - 'x-ms-correlation-request-id', - '0eef2b99-1ccc-4d0b-8ac7-d14b021f1e72', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021623Z:0eef2b99-1ccc-4d0b-8ac7-d14b021f1e72', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f96cdf46-2109-4a21-b106-a6dafe417e2d', - 'x-ms-client-request-id', - '246350af-ca1a-435c-89d8-83a5ed57deca', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11906', - 'x-ms-correlation-request-id', - 'fd413dbd-7fe8-4f72-938c-7e728335a040', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021626Z:fd413dbd-7fe8-4f72-938c-7e728335a040', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b3dea63e-8608-45cc-9bfe-ed3ddaf9e739', - 'x-ms-client-request-id', - 'e05ccba1-e91c-4c98-bf98-5a66e3772186', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11905', - 'x-ms-correlation-request-id', - 'c97d77f8-ae77-442b-9905-fb3ac9e338cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021628Z:c97d77f8-ae77-442b-9905-fb3ac9e338cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f4f9ca5f-fae6-4dc5-a06d-d0403705351d', - 'x-ms-client-request-id', - '50c0ef66-06be-4107-bfe5-e14e529ad75f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11904', - 'x-ms-correlation-request-id', - '107ecb5f-6816-46ba-a0ef-4339c6fbbe63', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021630Z:107ecb5f-6816-46ba-a0ef-4339c6fbbe63', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '40aff4bc-2ceb-4d87-b664-fb96148a2180', - 'x-ms-client-request-id', - '4191bdec-a1a4-448e-bd95-a724dd4cd168', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11903', - 'x-ms-correlation-request-id', - '1f00e9c5-3c9b-4349-bc6d-01f4232f87b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021633Z:1f00e9c5-3c9b-4349-bc6d-01f4232f87b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6cdf4e00-ba4d-46ce-b351-436794d9aa59', - 'x-ms-client-request-id', - 'c6e85e18-437c-4689-ae3c-9784036ed55f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11902', - 'x-ms-correlation-request-id', - '9edb0996-a5d3-4860-bfbf-148cc0722b9d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021635Z:9edb0996-a5d3-4860-bfbf-148cc0722b9d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '60957e66-7989-41aa-8214-82064be44709', - 'x-ms-client-request-id', - 'c6ef4fa1-a503-474c-bd84-1d428935c5a9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11901', - 'x-ms-correlation-request-id', - 'cdd3f4a9-d428-45dd-bfe2-1c4b1c5d7aae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021637Z:cdd3f4a9-d428-45dd-bfe2-1c4b1c5d7aae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/184688fd-aa5f-4c14-872d-806c0ac7f1e5') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'c9e64aa6-7b6f-4938-83c3-3b9a8ddce241', - 'x-ms-client-request-id', - 'f5449a92-a8cf-48a8-89b6-632d445d9e01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11900', - 'x-ms-correlation-request-id', - '81623a55-9884-4f62-b0fa-d68859288851', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021640Z:81623a55-9884-4f62-b0fa-d68859288851', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '27f40657-d40c-458c-b9c1-b7b84f151836', - 'x-ms-client-request-id', - '699ad824-84dd-4186-a1f1-7f502fac6bea', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '46', - 'x-ms-correlation-request-id', - '3bbdb071-984a-4f09-a35b-de7ecb1da493', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021640Z:3bbdb071-984a-4f09-a35b-de7ecb1da493', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:39 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.json new file mode 100644 index 000000000000..60fdfc0283fb --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_delete_test.json @@ -0,0 +1,814 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx?api-version=2021-06-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "5429b72d-074e-4d81-8b51-c128310d897f" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Thu, 08 Dec 2022 08:41:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a/profileresults/myprofilexxx/endpointresults/myendpointxxx?api-version=2021-06-01", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5429b72d-074e-4d81-8b51-c128310d897f", + "x-ms-correlation-request-id": "d4677dec-dd96-48fc-9e76-1e0f01fde7d6", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "27dc8acf-f22f-40a2-aa64-90a315f1e420", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084114Z:d4677dec-dd96-48fc-9e76-1e0f01fde7d6" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e4a2a61f-9b1b-44b3-bb84-7a60fc82d6b0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e4a2a61f-9b1b-44b3-bb84-7a60fc82d6b0", + "x-ms-correlation-request-id": "f0fbeb96-d67a-4f2d-8119-cbccbcd0bd5f", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "8eb380fe-5ded-43bf-9f23-b3a2d37e9e41", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084114Z:f0fbeb96-d67a-4f2d-8119-cbccbcd0bd5f" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "c721ee45-f653-4053-ace7-f24607acf13c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c721ee45-f653-4053-ace7-f24607acf13c", + "x-ms-correlation-request-id": "1ba6a458-f04c-43ee-8d67-faa4b48d37eb", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "a1fc9e98-934e-41e6-81f0-704068d6e8e9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084115Z:1ba6a458-f04c-43ee-8d67-faa4b48d37eb" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "2ad1b9bd-4b75-47bd-9275-0d80605bb75a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2ad1b9bd-4b75-47bd-9275-0d80605bb75a", + "x-ms-correlation-request-id": "2b5d2535-0cf7-4b46-9cdd-7b4cfe89c642", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "51f3a861-192b-43e6-9a00-ee9741f0c1cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084117Z:2b5d2535-0cf7-4b46-9cdd-7b4cfe89c642" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "06faf22b-e2da-4112-8c8f-0800a4e82939" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "06faf22b-e2da-4112-8c8f-0800a4e82939", + "x-ms-correlation-request-id": "4ca4c991-f255-4b04-9ad9-7247c91661c1", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "9890d21a-aaea-4b27-86a3-b12512b99488", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084119Z:4ca4c991-f255-4b04-9ad9-7247c91661c1" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "71b57250-e8e1-4772-a88b-e4126cc3bc3e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "71b57250-e8e1-4772-a88b-e4126cc3bc3e", + "x-ms-correlation-request-id": "60d00e88-59e1-4863-a246-031707c07395", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "bd81e90a-8fe5-4fc3-8689-5f9bcb997ef4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084122Z:60d00e88-59e1-4863-a246-031707c07395" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "334b3c50-4d40-4d42-8006-4acec9894f1e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "334b3c50-4d40-4d42-8006-4acec9894f1e", + "x-ms-correlation-request-id": "5f8917e4-b0f7-4cb3-96c8-f5517fe93f04", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "96b00318-4dfd-4f39-877f-c2c9d28ccbee", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084124Z:5f8917e4-b0f7-4cb3-96c8-f5517fe93f04" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "6ae49258-b3e9-48e0-944f-44a25ea29997" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6ae49258-b3e9-48e0-944f-44a25ea29997", + "x-ms-correlation-request-id": "2487ce1e-ecfb-4401-bee7-af0270443b37", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "0e2c7c09-dfd0-4d61-968c-6b71e8569d6f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084126Z:2487ce1e-ecfb-4401-bee7-af0270443b37" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9ba5ca64-4ca4-44d9-a1ba-0f74731fec8c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ba5ca64-4ca4-44d9-a1ba-0f74731fec8c", + "x-ms-correlation-request-id": "8a31303b-b446-4905-be34-f92377e29567", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "5370cc5f-a932-4c07-ba4b-7be5fb0ef007", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084129Z:8a31303b-b446-4905-be34-f92377e29567" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d25a2317-c0f5-492f-bb14-36682afcd462" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d25a2317-c0f5-492f-bb14-36682afcd462", + "x-ms-correlation-request-id": "990fce33-0cca-406d-b21c-c772ca0d80c2", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "dd2f59a3-b614-48cd-898c-ef7b7a629ac5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084131Z:990fce33-0cca-406d-b21c-c772ca0d80c2" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "5162d8e5-2f74-4e2d-8585-d73e3df50b25" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5162d8e5-2f74-4e2d-8585-d73e3df50b25", + "x-ms-correlation-request-id": "28808cbb-f861-4e9e-95b4-937289c21597", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "0dc765d1-9e4f-413c-a223-39777ff37e24", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084133Z:28808cbb-f861-4e9e-95b4-937289c21597" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "95dd3bd1-aab2-462e-8bdb-a9945f383b7d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "95dd3bd1-aab2-462e-8bdb-a9945f383b7d", + "x-ms-correlation-request-id": "afe3333b-274e-4f0d-85b8-7a57961de2cc", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "6eb1ed46-35eb-4aac-86a6-e9319e6f3d02", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084136Z:afe3333b-274e-4f0d-85b8-7a57961de2cc" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "b5dfbdc2-2109-47fb-b245-44d1863d1772" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b5dfbdc2-2109-47fb-b245-44d1863d1772", + "x-ms-correlation-request-id": "7d6ed1cc-8c3e-421e-9898-84861c014f88", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "1422cf30-1c8b-4b28-b1d0-c3e870c39362", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084138Z:7d6ed1cc-8c3e-421e-9898-84861c014f88" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "8534edfd-cb10-4fda-a89b-7aff9d1844da" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8534edfd-cb10-4fda-a89b-7aff9d1844da", + "x-ms-correlation-request-id": "7d76a810-7bcf-441c-9387-a1dae494fccc", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "c99d7a36-e6ab-429c-a6f5-9bb474f741aa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084140Z:7d76a810-7bcf-441c-9387-a1dae494fccc" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "dba7f560-6ec6-47ad-9e0b-08a213e4d27d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "dba7f560-6ec6-47ad-9e0b-08a213e4d27d", + "x-ms-correlation-request-id": "e90de703-534c-497d-9685-8fea99621d54", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "b773604e-c007-4b43-a915-811489838e1b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084143Z:e90de703-534c-497d-9685-8fea99621d54" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "09a625ab-47bb-4fdc-aa0a-427422fcda54" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "09a625ab-47bb-4fdc-aa0a-427422fcda54", + "x-ms-correlation-request-id": "eb0f8198-00e2-4db8-ac46-1cf1460127b4", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "d633c363-6425-43d3-8afc-d998d7897716", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084145Z:eb0f8198-00e2-4db8-ac46-1cf1460127b4" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "988407fc-ff78-4288-974f-5f0225e0a6f6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "988407fc-ff78-4288-974f-5f0225e0a6f6", + "x-ms-correlation-request-id": "f7adcd7c-1a99-4720-ba49-a67f23cd32ca", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "d196247f-fc0b-47a6-902c-194d674a3656", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084148Z:f7adcd7c-1a99-4720-ba49-a67f23cd32ca" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ce754fb1-98ca-494c-9ba6-4a1492ab1eb9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ce754fb1-98ca-494c-9ba6-4a1492ab1eb9", + "x-ms-correlation-request-id": "b90f6e89-e2d8-4dab-943c-5da22fcd44fa", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "569cb4ea-fb6e-490b-9850-0582a1d2475e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084150Z:b90f6e89-e2d8-4dab-943c-5da22fcd44fa" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "2038d2c4-7a4d-4998-a619-c2d37b1c39c7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2038d2c4-7a4d-4998-a619-c2d37b1c39c7", + "x-ms-correlation-request-id": "4a3d5c01-46e9-4e3d-87c9-9ff52eeb26d9", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "c5bb23e2-003b-47d2-887c-bfc576b71592", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084152Z:4a3d5c01-46e9-4e3d-87c9-9ff52eeb26d9" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/61f9e85a-4024-42cc-8a38-29e191f5951a?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "bdb88feb-7445-4de3-b9fa-adb434a28c6e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "bdb88feb-7445-4de3-b9fa-adb434a28c6e", + "x-ms-correlation-request-id": "2abc16ff-a2e1-43f4-a2d0-a85ce4347f3e", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "869b54d6-8d4c-48e3-b618-a579804111ce", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084155Z:2abc16ff-a2e1-43f4-a2d0-a85ce4347f3e" + }, + "ResponseBody": { + "status": "Succeeded", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "0406d158-9c35-4fd0-97d6-543f7ec25fd7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:41:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0406d158-9c35-4fd0-97d6-543f7ec25fd7", + "x-ms-correlation-request-id": "160377a5-56a1-460e-a1d7-156c22034eb0", + "x-ms-ratelimit-remaining-subscription-resource-requests": "49", + "x-ms-request-id": "48c4375e-670c-4f88-97e4-fdefc6b20f10", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084156Z:160377a5-56a1-460e-a1d7-156c22034eb0" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js deleted file mode 100644 index ad3d243189db..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "356719bc015940ab6a6655fb2cec3622"; - -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', - '653645f0-3ec7-4ea4-98be-8ae4cb420200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=An1bcdpELSVJhTccbSL949Y; expires=Sat, 15-Jan-2022 02:15:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9gEQvlJpEVYweZ6CcHzAyWoUe0iQ4HMU6kSPfoS8wA5e-csrdSIVy1o2dPUE8bY8r7dVgzLDER9oCaihTRqJmwFZNPxzmwsjG05e0wcqobzhzocbTEiawMCfthHzGp3P6lB_Gl4T6lFkZWeid5osKBpXjyoPWO0e7EjUcH5dYv4gAA; 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, 16 Dec 2021 02:15:30 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', - '9bed8f69-8b1e-4591-be3e-4496acec0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AmoN6izqOxVLlXdubE-nEZI; expires=Sat, 15-Jan-2022 02:15:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCH_DoUnfqiLBFsDT8KWacpLlX7OnaOmAP0uT31oF-GlpElzqErxTua2ccjb0_vfhKgORbJI48YVeDXLfu5QE7B9jls-Q1tmFONKPnCPyyC4Srys-uvxreiGz7TS_LqadGWQ6CBTtzEvpGhxKrx9URall7lXqQyGQxxxSi46dqx0gAA; 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, 16 Dec 2021 02:15:30 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=77babcd8-94a1-4bc5-b470-06b544f32004&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', - '03c6d51b-19f7-48ed-989c-a4f2e52e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Apo33xoL7-ZNhBF4KZlap8kWPr5BAQAAAEKYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:31 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, 16 Dec 2021 02:15:30 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffcd1dbfc7a973ebfccca75befbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd7fc92f","f97f00088390f674040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07c7c8cb-681e-4091-a71f-9d5719fb3431', - 'x-ms-client-request-id', - '799ac8c3-3498-4a1b-944d-910377bf0199', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '48', - 'x-ms-correlation-request-id', - 'ae3e5672-994a-430b-9725-c93a34e19eae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021532Z:ae3e5672-994a-430b-9725-c93a34e19eae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:31 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.json new file mode 100644 index 000000000000..a0fe3c207b0d --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_get_test.json @@ -0,0 +1,89 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e64124d4-4522-4df9-b3a8-046f3a34fee6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e64124d4-4522-4df9-b3a8-046f3a34fee6", + "x-ms-correlation-request-id": "313aea9b-aa92-4d09-87a8-f4769aea0ffc", + "x-ms-ratelimit-remaining-subscription-resource-requests": "48", + "x-ms-request-id": "d06e2697-74a1-41f0-9067-ca276ca7675c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083908Z:313aea9b-aa92-4d09-87a8-f4769aea0ffc" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx", + "type": "Microsoft.Cdn/profiles/endpoints", + "name": "myendpointxxx", + "location": "WestUs", + "tags": { + "key1": "value1" + }, + "properties": { + "hostName": "myendpointxxx.azureedge.net", + "originHostHeader": "www.bing.com", + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "optimizationType": null, + "probePath": null, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null, + "originHostHeader": null, + "priority": null, + "weight": null, + "enabled": true, + "privateLinkAlias": null, + "privateLinkResourceId": null, + "privateLinkLocation": null, + "privateEndpointStatus": null, + "privateLinkApprovalMessage": null + } + } + ], + "originGroups": [], + "defaultOriginGroup": null, + "customDomains": [], + "geoFilters": [], + "deliveryPolicy": null, + "urlSigningKeys": null, + "webApplicationFirewallPolicyLink": null, + "resourceState": "Running", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js deleted file mode 100644 index da882197e0b0..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "6a2ba09f13c44d387f5fe653cc9a7b2d"; - -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', - 'f058f362-0d5d-4341-9bc3-777967470200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AsYsfdN9ARVOhJzS5KBFqcc; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrvd499NS8B4_Drk_bGB018xDYt8qYfAA9Y9B2RzZJFhttrtz3MW5tYkhWwVdqiRLtGhlotVSwHdLKrAfNV2JA_eeMb9DGgK7bvAh52axA6J5ipFBX29ppoxkw-MQ_FqAyNlYmWpPsec4YPvfxVhrdxQw5dQOIklBOnXrFNYxK8WYgAA; 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, 16 Dec 2021 02:15:47 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '5285c3d9-cae3-4c1d-810a-40fa44e40100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvBJTzJ-WFFOs9zNWONFh3E; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrkutinWN51meTX6Jbpvz3OTE10ACQ5EpsshW3vBiow3uvky-tjRmad8htGEedWO_VCnKKrtSuM5OWdUHEOa8cXLU7AQEXdsAn3OsGvnQhrF0NpeRR2bwTKm7aYVAgfzHxbRoYoYTnmUT85GYV7GATK3rGtG39NYLYIaPWA23o3E0gAA; 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, 16 Dec 2021 02:15:47 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.4.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=7113a01c-7a63-48e0-bf78-ff080235294a&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', - '03c6d51b-19f7-48ed-989c-a4f2942f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkX3Flcpyt1LgJyz-nJhF44WPr5BAQAAAFSYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:48 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:48 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534bfa8abf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf864b6c4e7e74599a3a5fefaeeddbbbbf972b6aa8a658b8fcdeff4f947a38fdaeb1561f8d10010d3b6a196cb6c81965d006535cd301efaeabb84d85768da6617cd478f7ef1476ff3eb5dfa9cc9b0fbd12f197d44805779dd16397f3daf9af645d6873ace7eb0aef37c76918f97794bf0aabab82896dfa6e6dfce331a34bd707575359e14cb8bf1b45ad8162fb3764edfdd2d16d9454e9f4eab659b2fdb3734c6e64d75522d56444eeafa7b1fb5f9bbf6eebc5d94d42a5badca420671b79ab679bbddb4759e2d3efafee8a3a2316fd1b7a7cb6c52e634936dbdcef1ddb7db76755c96d555f7c3a6f3e92f5ae7f5f5ebb626844fb2e99c7e3cc9e7d9655161284fae5759d3e8e7844f45fcb1287ec00801f58f1e2dd765c9c49be43244f940068df1fc62333bf2d12e41a1d67152e3d7ddf13c270c957873c2f86555b7062efe6efc0f04aa4f7ff97c55d3088af6dafc7d95171773fb561e928b1a5f666dfebc58be3d2e8b8cd09266dee7af94d9cfe8a5de97cf2da3055f9d2adfbc6eb3761d037abc2252100b7e419308b6e016bfe497d0e412ee34accf59b28888f4c92c3fcfd665fba5fb429a132bad9bb65a3cad1699509c1a5fe4d5b3a26c4906e5ef595e169734cf2f2b62274b93755dbe2e2e9634b5bf577e4d2de5d3ab7c4278513b1ed2b3a2ceafb2b2943781b469479cc714c1e808f58f5ead97004593864115e04afad37cfb7a3d9d92dc10cd697c","bfe4ff01ca2d2efd80040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6cf66604-63cf-48c3-9f02-985a43148b78', - 'x-ms-client-request-id', - 'd511d57a-2499-4bc2-b209-9aed98cbdd96', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '47', - 'x-ms-correlation-request-id', - '2eb0fc4c-57c0-459c-8cb0-eb49b5c14874', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021549Z:2eb0fc4c-57c0-459c-8cb0-eb49b5c14874', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:49 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.json new file mode 100644 index 000000000000..40a3b735d689 --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_list_test.json @@ -0,0 +1,93 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "04d50347-85fc-46b5-b7ea-772988742d19" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "04d50347-85fc-46b5-b7ea-772988742d19", + "x-ms-correlation-request-id": "a18b397a-474c-4f5b-9a1a-f6231e3782a1", + "x-ms-ratelimit-remaining-subscription-resource-requests": "47", + "x-ms-request-id": "f19bcc9b-8c2c-4da6-b3f7-df4a2348b45c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083927Z:a18b397a-474c-4f5b-9a1a-f6231e3782a1" + }, + "ResponseBody": { + "value": [ + { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx", + "type": "Microsoft.Cdn/profiles/endpoints", + "name": "myendpointxxx", + "location": "WestUs", + "tags": { + "key1": "value1" + }, + "properties": { + "hostName": "myendpointxxx.azureedge.net", + "originHostHeader": "www.bing.com", + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "optimizationType": null, + "probePath": null, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null, + "originHostHeader": null, + "priority": null, + "weight": null, + "enabled": true, + "privateLinkAlias": null, + "privateLinkResourceId": null, + "privateLinkLocation": null, + "privateEndpointStatus": null, + "privateLinkApprovalMessage": null + } + } + ], + "originGroups": [], + "defaultOriginGroup": null, + "customDomains": [], + "geoFilters": [], + "deliveryPolicy": null, + "urlSigningKeys": null, + "webApplicationFirewallPolicyLink": null, + "resourceState": "Running", + "provisioningState": "Succeeded" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_update_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_update_test.json new file mode 100644 index 000000000000..fa3b1c72fe2c --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_update_test.json @@ -0,0 +1,95 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx?api-version=2021-06-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "41", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "671985d0-cfff-4a98-84ba-f7ec02f23116" + }, + "RequestBody": { + "tags": { + "additional_properties": "Tag1" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "671985d0-cfff-4a98-84ba-f7ec02f23116", + "x-ms-correlation-request-id": "d1523101-17b5-4008-98fe-3eddb0ca95c8", + "x-ms-ratelimit-remaining-subscription-resource-requests": "98", + "x-ms-request-id": "aa24a26b-c54b-49e1-ba88-eb40b4a708bd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083935Z:d1523101-17b5-4008-98fe-3eddb0ca95c8" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx", + "type": "Microsoft.Cdn/profiles/endpoints", + "name": "myendpointxxx", + "location": "WestUs", + "tags": { + "additional_properties": "Tag1" + }, + "properties": { + "hostName": "myendpointxxx.azureedge.net", + "originHostHeader": "www.bing.com", + "originPath": "/image", + "contentTypesToCompress": [ + "text/html", + "application/octet-stream" + ], + "isCompressionEnabled": true, + "isHttpAllowed": true, + "isHttpsAllowed": true, + "queryStringCachingBehavior": "BypassCaching", + "optimizationType": null, + "probePath": null, + "origins": [ + { + "name": "origin1", + "properties": { + "hostName": "host1.hello.com", + "httpPort": null, + "httpsPort": null, + "originHostHeader": null, + "priority": null, + "weight": null, + "enabled": true, + "privateLinkAlias": null, + "privateLinkResourceId": null, + "privateLinkLocation": null, + "privateEndpointStatus": null, + "privateLinkApprovalMessage": null + } + } + ], + "originGroups": [], + "defaultOriginGroup": null, + "customDomains": [], + "geoFilters": [], + "deliveryPolicy": null, + "urlSigningKeys": null, + "webApplicationFirewallPolicyLink": null, + "resourceState": "Running", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js deleted file mode 100644 index 7f6fa15770a6..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_endpoints_upeate_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2a65ccd8a71a7cc6b2d5eb4cff369315"; - -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', - 'f058f362-0d5d-4341-9bc3-777970470200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AsW6uR1Cj8xIricWNt7BEOk; expires=Sat, 15-Jan-2022 02:15:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXcw76XjuzwG8C3nru2bKj1UMiDLYnrfZIBumHrESo0bjHU6aUfZfuEBRmbrwTb8d3PEONPRp9WvTus1wNRHSIqtRcIjY0WvCyWrIvnCCG2Ra7B19aGf3nWs4RtfQkA7r0ddbd3lk3cvJYRFNW3Vqk7dHi565b9k5aDIfCPVtBUwgAA; 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, 16 Dec 2021 02:15:48 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '9bed8f69-8b1e-4591-be3e-449627ed0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AjL0gYJ1js5DiugZlzyRmos; expires=Sat, 15-Jan-2022 02:15:49 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrf-0SPR262Bh6518tX42woU2zHLjUZPgNPoKpFbuUcHymD0SwR6JVzxrcYiGu5hxOlRr8EV5giJdyLvRXed3Veakra23ScEahUBjYp7fZ2to528mwQrKT8G8iIw6XjXCOoeiJ9LNQjJxre7QE6xytzVtbpaXwfdQkArJCoz8KnaYgAA; 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, 16 Dec 2021 02:15:49 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.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=65d24986-947e-4cc5-b9e1-80aaf51b8626&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', - '653645f0-3ec7-4ea4-98be-8ae454430200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AjIeZDi_0JRNuijuC28hzVwWPr5BAQAAAFWYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:50 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, 16 Dec 2021 02:15:49 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/endpoints/myendpointxxx', {"tags":{"additional_properties":"Tag1"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77efeee6cbd9aa2a962d3e36bfd3e71f8d3e6aaf5739a13600c4b46da8e5325ba0651740594d338c87befa2e21f6159ab6d945f3d1a35ffc51369b15f82e2b7f7f02b9caebb6c8e98b8fde6417bb1ffd92d147fe87bff8a379d5b42f229d8cb31faceb3c9f5de4e365de12f8aa2e2e8ae5b7a9f9b7f38c68402f5c5d5d8d27c5f2623cad16b6c5cbac9dd377778b457691d3a7d36ad9e6cbf60d0db979539d548b155197bafede476dfeaebd3b6f1725b5ca56abb29031ddada66dde6e376d9d678b8fbe3ffaa868cc5bf4ede9329b94394d6c5baf737cf7edb65d1d976575d5fdb0e97cfa8bd6797dfdbaad09e1936c3aa71f4ff27976595418ca93eb55d634fa39e15311bb2c8a1f304240fda347cb755932f126b90c513e9041633cbfd84c967cb44b50a8759cd4f875773ccf094325de9c307e59d5ad818bbf1bff0381ead35f3e5fd53482a2bd367f5fe5c5c5dcbe9587e4a2c697599b3f2f966f8fcb2223b4a499f7f92be5fd337aa9f7e573cb77c157a7ca37afdbac5dc7801eaf88149759f9054d22d8825bfc925f42934bb8d3b03e67412322d227b3fc3c5b97ed97ee0b694eacb46eda6af1b45a6442716a7c9157cf8ab2259194bf6779595cd23cbfac889d2c4dd675f9bab858d2d4fe5ef935b5944faff209e145ed7848cf8a3abfcaca52de04d2a61d711e5304a323d43f7ab55e02144d1a0655802be94ff3edebf5744a724334ff25","bfe4ff013035c44083040000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '171358fd-d2d4-4d26-aec3-c87186f3446b', - 'x-ms-client-request-id', - '1d0b7237-61f4-496a-ab86-7d7ab16635e1', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '98', - 'x-ms-correlation-request-id', - '95106d11-c418-4bdc-9b8e-958fe27436fe', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021556Z:95106d11-c418-4bdc-9b8e-958fe27436fe', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:55 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js deleted file mode 100644 index 5b6a53d43a5e..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.js +++ /dev/null @@ -1,2467 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "ed09cd01dcc42ebf7a22455fe1b3ed1e"; - -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', - 'd3033c4a-b30b-4222-a25d-93df1f330200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=ArXDAxos2fRFtbPukul4Peg; expires=Sat, 15-Jan-2022 02:11:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxdMI1bEoesdw1X870c7jC-vq7E_HjGqOeOs0P4f1o8aUoAptWEcOrwiQHyQIq_21UUvWXJpsLJjc8QzePDcNLer7olQsLGdDuepH7XGHNF3XvgdfZowXxv2km3Om_eaNvvL6tH58OHd99AN6nDcBoD8yOi-jZcTKmHyOj0SJCzQgAA; 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, 16 Dec 2021 02:11:56 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f12d6233-7a33-4ce6-8ec0-15b5b4fd0100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AocrV1DgGO5PtAiai-1_3WU; expires=Sat, 15-Jan-2022 02:11:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLWUBGDyUi78Jt9y2DOJOEYp-GAUWXkXxFXPabP0PMOFSluVNxwLQ-WIsd8e4M2GzOkqz3Gy6HIFCI81evIQAW_XGQ00WDBTvNHGa7moZ3rnWALF4mrOJNOhahtc2jT-2VsId60Xzh65ApxkZI5uhqfM5WHghvfj6LTGiM_5RbtYgAA; 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, 16 Dec 2021 02:11:56 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=85e3b273-f242-4d57-8973-042dd7dfc78a&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', - 'df4b40a2-2c2b-4dc4-a2a6-8c0a63ed0100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AiTK6vu2LNhDkBCC-pZatFwWPr5BAQAAAG2XTNkOAAAA; expires=Sat, 15-Jan-2022 02:11:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:11:57 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx', {"location":"eastus","sku":{"name":"Standard_Verizon"}}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx","type":"Microsoft.Cdn/profiles","name":"myprofilexxx","location":"EastUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '334', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'daa98095-810b-440a-a4b8-653f7604c054', - 'x-ms-client-request-id', - 'f92f8dc0-11ff-4cc0-a1ca-ee314bb433e0', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '24', - 'x-ms-correlation-request-id', - 'c819d5e3-78a7-4427-afff-397d5b52b4e8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021210Z:c819d5e3-78a7-4427-afff-397d5b52b4e8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '99a49fa3-5f58-4e57-824b-41aff2055491', - 'x-ms-client-request-id', - '4b54e259-cb84-415f-8680-9c6bd8f79b9a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - '389f25c8-4971-43e2-b441-bc440f80e6a8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021210Z:389f25c8-4971-43e2-b441-bc440f80e6a8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:10 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8fbf1224-a985-4eb3-b7cd-a47098346940', - 'x-ms-client-request-id', - '6acdcca5-fb7f-4e5b-b07e-42d27d80701c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - 'a4e3fb12-e231-4e0c-94c2-ec451d25a888', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021213Z:a4e3fb12-e231-4e0c-94c2-ec451d25a888', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'aadb24f3-16c9-4e8f-a247-80de907a7a1c', - 'x-ms-client-request-id', - 'cb8a2303-ada7-490e-be8c-61dec0b1bfa9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - '5fc4cdef-946a-4fe1-bf3a-2fa3a82de73b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021215Z:5fc4cdef-946a-4fe1-bf3a-2fa3a82de73b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2913dbc8-b01f-4778-ac9d-aae309b1cd22', - 'x-ms-client-request-id', - '1896bcc4-7fc7-4b4d-a959-2b78828bcf8a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - '74c87577-db75-4372-9d77-312008da0b4c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021217Z:74c87577-db75-4372-9d77-312008da0b4c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:17 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '063cffa8-5b09-45e6-9d9a-2d88448e33e1', - 'x-ms-client-request-id', - 'f1a4a75c-a308-4b5a-a01b-caf9d81017f0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - '36235f5c-060d-4d8b-b40b-254108da5171', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021220Z:36235f5c-060d-4d8b-b40b-254108da5171', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ae1ed90a-a715-4ef5-a06d-780a86cc574d', - 'x-ms-client-request-id', - 'cb9345bb-19b8-4fdb-9b1a-f715358e6264', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - 'd5ea914f-d452-407b-8198-65c389345bbd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021222Z:d5ea914f-d452-407b-8198-65c389345bbd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6ed41757-c460-4fa1-8c8c-f8b94fd4771a', - 'x-ms-client-request-id', - 'e2ccbf4f-fe2d-4654-847d-981cad8507ff', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - '721c870a-f4c7-45cd-ba83-195b6e9874d3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021224Z:721c870a-f4c7-45cd-ba83-195b6e9874d3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:24 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1a768250-9fb6-407b-9498-06076b95483b', - 'x-ms-client-request-id', - '246969c9-56b5-453c-98c2-6a47dcfb3d8c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - '535857d2-1efc-4ddc-bcad-53591d894a44', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021227Z:535857d2-1efc-4ddc-bcad-53591d894a44', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'cb4cae03-fb77-443f-91d6-ae569ef15412', - 'x-ms-client-request-id', - 'b0198193-f107-4779-ad70-52f1a05f0df7', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - 'd087c188-9ae4-465a-90a9-b7584e29c4b0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021229Z:d087c188-9ae4-465a-90a9-b7584e29c4b0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6990373d-7652-4ab1-95fe-76402c0eeacc', - 'x-ms-client-request-id', - '5712de6a-22d5-4648-a66b-f04eec363fa2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - '7d075676-af99-4ff2-8b81-eafde8e07b08', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021231Z:7d075676-af99-4ff2-8b81-eafde8e07b08', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:31 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '60f482a6-9d74-41ab-88b2-4376d3f4ee57', - 'x-ms-client-request-id', - '781bf9d4-b2ba-4d31-b57d-c222bc8bd062', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-correlation-request-id', - 'f87cc4d6-fdbe-42ee-9f44-3add6cc13dd6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021234Z:f87cc4d6-fdbe-42ee-9f44-3add6cc13dd6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:33 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '778c2833-abe2-4e24-b20b-4a4e29dda947', - 'x-ms-client-request-id', - 'a9991c93-6e7b-40dc-bcc9-9394e0481c4a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-correlation-request-id', - '76c06776-fb6d-4971-85ea-8becbe77ab06', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021236Z:76c06776-fb6d-4971-85ea-8becbe77ab06', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:35 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'c78dbb5b-8dca-4f3c-b788-e766de4fd9c7', - 'x-ms-client-request-id', - 'eed41fe2-913e-43a0-80b3-72073a1c613f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-correlation-request-id', - 'b53123dd-4f03-4dfd-90ac-d345434d43e8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021239Z:b53123dd-4f03-4dfd-90ac-d345434d43e8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ac5aaf3d-2e4d-4fcd-a3e2-0eda0b19aabb', - 'x-ms-client-request-id', - 'ac58b602-d87a-4ead-ba8f-586900e62b02', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-correlation-request-id', - '11d204cf-3bc7-453b-9f56-13287fe78aa3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021241Z:11d204cf-3bc7-453b-9f56-13287fe78aa3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:40 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b03aa034-102e-4e52-90b8-d4fda5a60076', - 'x-ms-client-request-id', - 'd741fc29-dc06-4f4e-ab10-36c0df8b7f8b', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11985', - 'x-ms-correlation-request-id', - '252e61c9-76fc-4966-984d-1d7d9ba7ef63', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021243Z:252e61c9-76fc-4966-984d-1d7d9ba7ef63', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '62236532-c88c-4ba7-87df-df3ff771bb6c', - 'x-ms-client-request-id', - '8f2829e2-f96f-4134-bc51-00cc67596f8e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11984', - 'x-ms-correlation-request-id', - 'd04eccdf-44ec-4184-848b-a452947bdead', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021246Z:d04eccdf-44ec-4184-848b-a452947bdead', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd38cca2b-9a42-426e-8e88-bc0f529d3bfe', - 'x-ms-client-request-id', - '53221462-41c9-449a-8567-56df598dcb35', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11983', - 'x-ms-correlation-request-id', - 'd1d07e2c-ed1d-41da-a9c2-c9254d8103ae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021248Z:d1d07e2c-ed1d-41da-a9c2-c9254d8103ae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'aeb4b6c1-5d51-4ebf-8280-77765f46d880', - 'x-ms-client-request-id', - 'f23154d4-8e08-4f07-afba-6a6e48bcfe46', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11982', - 'x-ms-correlation-request-id', - 'c20b0e09-d99d-4a5c-a9e3-09f735afdc93', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021250Z:c20b0e09-d99d-4a5c-a9e3-09f735afdc93', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8ee001fb-21c3-44cf-b8bc-04c2b8a1d563', - 'x-ms-client-request-id', - '4c37a3ac-5443-4b81-859f-a871da40d5c0', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11981', - 'x-ms-correlation-request-id', - '759a92bc-823a-40c3-8155-be8f11a6d3da', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021253Z:759a92bc-823a-40c3-8155-be8f11a6d3da', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b29df97b-6701-49ba-b144-6a0cc51af229', - 'x-ms-client-request-id', - '569daa83-a98d-4af2-8187-83d6cded8e64', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11980', - 'x-ms-correlation-request-id', - 'e3c946f8-b003-46a0-bdcc-10f0cc00c6fd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021255Z:e3c946f8-b003-46a0-bdcc-10f0cc00c6fd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '36cfd1e7-7d67-4b25-9739-0743a21c9c13', - 'x-ms-client-request-id', - 'd1c548a3-18eb-4011-987e-5841d3d48f4d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11979', - 'x-ms-correlation-request-id', - '2c6f9857-be73-4eae-a228-b202174d182e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021257Z:2c6f9857-be73-4eae-a228-b202174d182e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:12:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '019ad9e6-3c62-4c18-b460-934e01254287', - 'x-ms-client-request-id', - '96a1d8c0-79d5-4255-ba82-85a23886e6e2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11978', - 'x-ms-correlation-request-id', - 'a6c7c7bb-c3fa-4b22-9f1a-89de3710c8b1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021300Z:a6c7c7bb-c3fa-4b22-9f1a-89de3710c8b1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '878f9db8-8b68-441d-b422-a590643fabf4', - 'x-ms-client-request-id', - '01c809fa-dc87-4694-b742-2a507d41fad8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11977', - 'x-ms-correlation-request-id', - '7fd3b2f2-5074-4723-8fa9-d39af38e677a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021302Z:7fd3b2f2-5074-4723-8fa9-d39af38e677a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8082ddf6-fa2b-40ea-9486-83ba5ccbf833', - 'x-ms-client-request-id', - 'be7eafa5-29a6-42fb-b79b-e52858d8dcee', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11976', - 'x-ms-correlation-request-id', - '154be00b-6a72-489e-a3a6-dbaae24baeb4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021304Z:154be00b-6a72-489e-a3a6-dbaae24baeb4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:04 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8518bb0e-c21e-4bba-a68b-be2e4ae8d305', - 'x-ms-client-request-id', - '9ed33dac-70f1-427f-9728-71fe83f4171d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11975', - 'x-ms-correlation-request-id', - 'dba6c253-91b5-44b0-8f3a-60fad34c0fa8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021307Z:dba6c253-91b5-44b0-8f3a-60fad34c0fa8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'cff0ed91-e1f2-4349-86be-8063a85d1946', - 'x-ms-client-request-id', - '82111900-13e3-421b-a25b-d6bcf2a43770', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11974', - 'x-ms-correlation-request-id', - '5f5d037e-fd04-4c88-90f6-cbef5cd1aab4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021309Z:5f5d037e-fd04-4c88-90f6-cbef5cd1aab4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1e4d9edd-c2a1-4fb3-9af0-47ea8d4e08b4', - 'x-ms-client-request-id', - '24eacd79-73ea-45ee-aa30-d4367b818d14', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11973', - 'x-ms-correlation-request-id', - '6def06d1-5fa5-41e4-8f5a-dffc399c3136', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021311Z:6def06d1-5fa5-41e4-8f5a-dffc399c3136', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:11 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9ebc43e-642c-4914-bc5a-56cae392d000', - 'x-ms-client-request-id', - '442a8573-4262-4256-a125-3f67895b5cd5', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11972', - 'x-ms-correlation-request-id', - '3ceeb78c-1e7f-4fe6-a5f1-08bf291a99af', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021314Z:3ceeb78c-1e7f-4fe6-a5f1-08bf291a99af', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:13 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'e071c3b5-8bde-4795-a94c-18ef228dcfc9', - 'x-ms-client-request-id', - '243ab8a6-9db7-4ceb-995b-b7392874420b', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11971', - 'x-ms-correlation-request-id', - '8bc11129-065f-4fc2-9f05-7a8c3beea2c8', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021316Z:8bc11129-065f-4fc2-9f05-7a8c3beea2c8', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2e1296bf-c2c4-4f0c-a28f-62997412513c', - 'x-ms-client-request-id', - '489363de-ec84-4916-a59d-09671bc1b295', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11970', - 'x-ms-correlation-request-id', - '5f4bafa7-8ea0-4fcc-ad94-61d69200ac90', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021318Z:5f4bafa7-8ea0-4fcc-ad94-61d69200ac90', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:18 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ec37a416-bb38-48ce-98ff-933b0f5bb7e9', - 'x-ms-client-request-id', - '64f31a9a-da7d-48e2-bd32-c1ff776d6a30', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11969', - 'x-ms-correlation-request-id', - 'd3513d9d-0793-4cd8-b6f0-0244248c8d28', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021321Z:d3513d9d-0793-4cd8-b6f0-0244248c8d28', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:20 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6c273590-d076-4ee7-bb52-f0e4809cf36a', - 'x-ms-client-request-id', - '50969fa2-e657-4b81-b4fb-f04c0a9ffafd', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11968', - 'x-ms-correlation-request-id', - 'cfe34e98-392e-44df-91eb-126628730e00', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021323Z:cfe34e98-392e-44df-91eb-126628730e00', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'a8840456-dfa6-4cb8-a7b9-340e2dcc2ea9', - 'x-ms-client-request-id', - '1f817f1d-1f93-4751-a85a-50fa6c0d0c92', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11967', - 'x-ms-correlation-request-id', - '310edfbd-ea7b-476b-9036-b582967b740b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021325Z:310edfbd-ea7b-476b-9036-b582967b740b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:25 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '44301f9e-da07-43ae-a552-1d69edfd6b5c', - 'x-ms-client-request-id', - '02838552-b2ff-43e7-9820-c8b23b0357d3', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11966', - 'x-ms-correlation-request-id', - '43f11d9f-54e4-4420-9cf7-83718e1763f6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021328Z:43f11d9f-54e4-4420-9cf7-83718e1763f6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:27 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1e44074e-9b59-4875-8297-7cbb0392be72', - 'x-ms-client-request-id', - 'b944a754-48c9-407d-b0ed-48466e2cd469', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11965', - 'x-ms-correlation-request-id', - '6a989626-eb02-4d6e-80ee-5e426887485f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021330Z:6a989626-eb02-4d6e-80ee-5e426887485f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:30 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'af3a73d3-4e5d-42e7-9c3c-5613c51ed718', - 'x-ms-client-request-id', - '21355524-82d8-477a-a89d-f2b490fce532', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11964', - 'x-ms-correlation-request-id', - 'ce4da5d0-0a3a-4a0f-85e1-6f6174770b30', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021332Z:ce4da5d0-0a3a-4a0f-85e1-6f6174770b30', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:32 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'a2fe4c93-aa86-4926-812e-2c8bb1508a54', - 'x-ms-client-request-id', - 'dc575f9b-b46b-424f-b4ca-059c16b33152', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11963', - 'x-ms-correlation-request-id', - '2fbaa88e-e960-4cae-8a00-a92ad277b544', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021335Z:2fbaa88e-e960-4cae-8a00-a92ad277b544', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:34 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '13313310-318c-4d12-b82b-461ef507687f', - 'x-ms-client-request-id', - '4b132363-954a-49a9-9ae7-2eb84bdba279', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11962', - 'x-ms-correlation-request-id', - 'df14296f-35e3-425a-9b6d-7455bff5c8d4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021337Z:df14296f-35e3-425a-9b6d-7455bff5c8d4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '45b4da5f-a3cf-4757-bde3-155a29ee47e4', - 'x-ms-client-request-id', - '4178b70d-f304-4c3d-b4b7-3d19fe603d3d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11961', - 'x-ms-correlation-request-id', - 'f2623453-10c1-4d76-a0f1-4cf3211b9459', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021340Z:f2623453-10c1-4d76-a0f1-4cf3211b9459', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:39 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '423c579d-0552-4a6a-b1a8-550f853fa53c', - 'x-ms-client-request-id', - '023af442-4228-4e07-bb90-8422eaffd50e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11960', - 'x-ms-correlation-request-id', - '9095a014-5948-4ab9-b74b-2d68bab61fba', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021342Z:9095a014-5948-4ab9-b74b-2d68bab61fba', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:41 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5292dd02-152e-4730-978a-8c767b50ff90', - 'x-ms-client-request-id', - 'f414c09e-63c0-4433-a585-b51cdb9dcc0f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11959', - 'x-ms-correlation-request-id', - 'd581d6c9-8cfb-4146-be36-7638d15a2e46', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021344Z:d581d6c9-8cfb-4146-be36-7638d15a2e46', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:44 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'dd3a218c-0189-4d18-9c17-beda18d2053f', - 'x-ms-client-request-id', - '4f2d2948-5112-4862-bf1e-30d2843c2709', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11958', - 'x-ms-correlation-request-id', - 'd49ed220-dcf5-49a3-bc28-3103e00734c4', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021347Z:d49ed220-dcf5-49a3-bc28-3103e00734c4', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:46 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '900a6d17-cd6d-4f57-9170-3ab5e16a3ba3', - 'x-ms-client-request-id', - '684d7db1-be12-4451-bf90-53a8da39344f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11957', - 'x-ms-correlation-request-id', - 'f7eb358b-5b27-48ed-8ab1-f2b9ba8fa4dc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021349Z:f7eb358b-5b27-48ed-8ab1-f2b9ba8fa4dc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:48 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'ffae2893-26f0-4fcb-b4a3-e8a75dfc8e85', - 'x-ms-client-request-id', - '46146d43-458a-44ea-8a1f-0413c464d4f6', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11956', - 'x-ms-correlation-request-id', - '9e0a7c13-887b-4939-9a5f-b3f03e085da9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021351Z:9e0a7c13-887b-4939-9a5f-b3f03e085da9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:51 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8f6133f7-4c57-49d1-a2ea-3cac4adf8700', - 'x-ms-client-request-id', - '1a4f5e1b-8bac-42d2-a177-9aaa3a066f58', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11955', - 'x-ms-correlation-request-id', - '7e42a48b-dd14-4bf7-bfe4-abbfac87a7ed', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021354Z:7e42a48b-dd14-4bf7-bfe4-abbfac87a7ed', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:53 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'abaddd5b-ac1e-4036-91ab-adefa75b8797', - 'x-ms-client-request-id', - '37bb7743-4c6e-416b-bd72-b0b6761ce506', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11954', - 'x-ms-correlation-request-id', - '44561fe7-e024-49bc-a867-4cb72f9ea9af', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021356Z:44561fe7-e024-49bc-a867-4cb72f9ea9af', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:56 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f0797351-a4db-4c45-a56e-710f792ea50e', - 'x-ms-client-request-id', - '288b33b4-b83a-4c9a-9ee0-3eea580fed0e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11953', - 'x-ms-correlation-request-id', - 'e1517fc5-c1ac-4579-bd9c-b674da2ed84b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021359Z:e1517fc5-c1ac-4579-bd9c-b674da2ed84b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:13:58 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd9b1020b-5939-4baf-bfd1-249bfd9b5bb2', - 'x-ms-client-request-id', - '5e2514ce-d20f-4ddd-a051-5bdb5a2b5093', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11952', - 'x-ms-correlation-request-id', - 'be964865-2d10-4a03-81c3-11b1a50ab5b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021401Z:be964865-2d10-4a03-81c3-11b1a50ab5b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:00 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6f681959-12f5-47cd-9711-9cedffab9cc1', - 'x-ms-client-request-id', - '563ef288-e69f-47e1-83e8-ba00300bb90c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11951', - 'x-ms-correlation-request-id', - '1e449fcd-de24-4da2-a547-9d7041b64f81', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021403Z:1e449fcd-de24-4da2-a547-9d7041b64f81', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:03 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '87953e15-7a71-4b03-be8e-6cc311162e2b', - 'x-ms-client-request-id', - '7bae7bcd-7e5b-4307-8b7e-a4ffa92780f2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11950', - 'x-ms-correlation-request-id', - 'f6d16086-21d1-40a6-bd2b-c9f81b1c17c7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021406Z:f6d16086-21d1-40a6-bd2b-c9f81b1c17c7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:05 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '81864c2c-e800-4f8c-9a9c-b5dce173ad20', - 'x-ms-client-request-id', - 'cae6223d-42fb-44a3-9862-0f9564c039ea', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11949', - 'x-ms-correlation-request-id', - '01d1fe99-e690-43e2-8f13-9101b50642b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021408Z:01d1fe99-e690-43e2-8f13-9101b50642b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:07 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '52b9d1f2-0092-493c-bc23-21b28fdad2ce', - 'x-ms-client-request-id', - 'd699beaa-6fec-4a6b-8cd4-54a9381bce95', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11948', - 'x-ms-correlation-request-id', - '1282c159-b34a-4965-89c2-f5b82f1a47b0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021410Z:1282c159-b34a-4965-89c2-f5b82f1a47b0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:09 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '2c06aebe-bdd5-479c-b4f6-cda9d66fb3e1', - 'x-ms-client-request-id', - '9fff7214-8b73-484b-a610-1f60e301b402', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11947', - 'x-ms-correlation-request-id', - '337f1169-e23f-450e-9ab2-4f9c4d82bfe7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021413Z:337f1169-e23f-450e-9ab2-4f9c4d82bfe7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:12 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3e7183b4-b081-40ba-b44e-709faedff875', - 'x-ms-client-request-id', - '78f47711-00a4-4330-a1f2-38de3a96072c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11946', - 'x-ms-correlation-request-id', - '8b79fb83-c54d-40e0-a9b1-649469cea01a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021415Z:8b79fb83-c54d-40e0-a9b1-649469cea01a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:14 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'bb7f8868-aafa-4d4e-bc0e-cb6c7cfaa551', - 'x-ms-client-request-id', - 'a6692156-cd51-4c16-b02e-c3e71f90850a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11945', - 'x-ms-correlation-request-id', - '135e9709-2662-42d0-9500-f30a13a05da7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021417Z:135e9709-2662-42d0-9500-f30a13a05da7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:16 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd431fbd5-f537-4796-bf9a-933814d8c445', - 'x-ms-client-request-id', - '22e4f357-65dd-4179-923f-00ee6dbe570a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11944', - 'x-ms-correlation-request-id', - '069007b9-0f01-42be-a5ec-80013f896cf2', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021420Z:069007b9-0f01-42be-a5ec-80013f896cf2', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:19 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '1062f094-5f08-4e57-8a08-0a0d263841c6', - 'x-ms-client-request-id', - '32ab13f6-ff37-4596-8a4c-fef8b4a7d5e2', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11943', - 'x-ms-correlation-request-id', - '119d8696-bf3c-456c-812d-e0c76c489a29', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021422Z:119d8696-bf3c-456c-812d-e0c76c489a29', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:21 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'af79b56d-d0f5-401a-9c02-3220b6513d2e', - 'x-ms-client-request-id', - '2fa9feee-a083-4cc0-bfc9-1babec81416e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11942', - 'x-ms-correlation-request-id', - 'fe440ab9-3319-4651-98ec-7ef00ff5b4f3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021424Z:fe440ab9-3319-4651-98ec-7ef00ff5b4f3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:23 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '85c6afae-7c11-470f-89b0-c405ab69f921', - 'x-ms-client-request-id', - '0a5f5531-a374-4ea9-ac18-808b7dbcc00f', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11941', - 'x-ms-correlation-request-id', - '128a2b64-f508-45fd-b5d0-6a7eff23f497', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021427Z:128a2b64-f508-45fd-b5d0-6a7eff23f497', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:26 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/11866c43-de39-434c-bce8-e1419e36faa3') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0f1db903-25c8-4d0a-9845-a8b81e639b0d', - 'x-ms-client-request-id', - '81374996-7677-4f7c-ba9c-26924350a834', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11940', - 'x-ms-correlation-request-id', - 'c7298fef-cd74-428c-bdea-ed2bb7c14c04', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021429Z:c7298fef-cd74-428c-bdea-ed2bb7c14c04', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:28 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77ef3e1a7dd45eaf724221de98be5f660b7cdf79abaca61990a56f4eb3a6fd0a2ddf164b0c663a5bd21f6d76d17cf4e817ff92d147cddb35fd62e0bc6eb3e52cab67bfff4fe675f10302402d08f22aafdb82faa3866660d4b2c51bc7d3b6b8cc092435bb2c1aeab4585e982f5fafa7d33c9fe5b38f7ec9","2ff97f0068b6dfee4d010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '6ef5400a-94f7-423e-9acc-097e0ae61f57', - 'x-ms-client-request-id', - 'f3d128a9-6ddb-49f4-80d0-f062dae3359d', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '49', - 'x-ms-correlation-request-id', - '7b7bbdb1-ae48-45db-aebf-799a59bf274d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021432Z:7b7bbdb1-ae48-45db-aebf-799a59bf274d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:14:31 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.json new file mode 100644 index 000000000000..03a6005d8e4e --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_create_test.json @@ -0,0 +1,2147 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "55", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "cfb37f9d-9fb2-48a4-8dc1-b3f5b9c4c31a" + }, + "RequestBody": { + "location": "eastus", + "sku": { + "name": "Standard_Verizon" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-01", + "Cache-Control": "no-cache", + "Content-Length": "319", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cfb37f9d-9fb2-48a4-8dc1-b3f5b9c4c31a", + "x-ms-correlation-request-id": "f5e98d50-90a3-4002-a2d3-9c399b249ff4", + "x-ms-ratelimit-remaining-subscription-resource-requests": "24", + "x-ms-request-id": "a9e4b328-ea6a-42d9-a0a7-18825c72dbc5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083604Z:f5e98d50-90a3-4002-a2d3-9c399b249ff4" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": {}, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Creating", + "provisioningState": "Creating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "5894d3ab-80e5-4c12-b5c8-7b193b5fbeb0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5894d3ab-80e5-4c12-b5c8-7b193b5fbeb0", + "x-ms-correlation-request-id": "1c29e84b-b92d-4b06-9733-94a71cb76523", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "2a835b95-ee34-4726-86e9-808fec82962e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083604Z:1c29e84b-b92d-4b06-9733-94a71cb76523" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "696c306d-3dbb-4f37-90be-62623f366053" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "696c306d-3dbb-4f37-90be-62623f366053", + "x-ms-correlation-request-id": "b2f05106-dbf3-46d0-9c9e-44008b16fba2", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "440dc165-0b46-45a9-8436-e4c92fcc0ace", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083604Z:b2f05106-dbf3-46d0-9c9e-44008b16fba2" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4dc314e7-07db-4263-b316-150a026b3da9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4dc314e7-07db-4263-b316-150a026b3da9", + "x-ms-correlation-request-id": "e4fbfd4c-b7d4-4668-9c94-f157cd897a50", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "32a98db1-227e-4fe3-8f51-25b84c4f436a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083607Z:e4fbfd4c-b7d4-4668-9c94-f157cd897a50" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e7a2dc2d-811d-4ecf-ba3e-3496fb2a8c39" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e7a2dc2d-811d-4ecf-ba3e-3496fb2a8c39", + "x-ms-correlation-request-id": "55acc1ad-a1ee-46be-a7ce-00666ce57d9d", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "58031209-71ba-4ef4-9b26-bb6bbad06593", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083609Z:55acc1ad-a1ee-46be-a7ce-00666ce57d9d" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4d7ee617-a3cd-42a5-90d3-4deb6cc69e68" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4d7ee617-a3cd-42a5-90d3-4deb6cc69e68", + "x-ms-correlation-request-id": "9568af9f-3773-478e-8122-7d75efd7391f", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "c1822b77-16bb-456d-86e3-5d1bffec4ccc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083611Z:9568af9f-3773-478e-8122-7d75efd7391f" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4cabcc4a-dbb8-4972-b1c1-accf3f6e92d2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4cabcc4a-dbb8-4972-b1c1-accf3f6e92d2", + "x-ms-correlation-request-id": "afb21800-e7ca-441b-8794-af401e7d4666", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "828873a3-b611-4e63-b36f-cdb32da9ae53", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083614Z:afb21800-e7ca-441b-8794-af401e7d4666" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d5bda400-e8b2-4fc1-b79e-3489642ccaae" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d5bda400-e8b2-4fc1-b79e-3489642ccaae", + "x-ms-correlation-request-id": "9e8d3b91-de1a-4b39-8a73-39d72272ec80", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "b847fef5-d8b3-4fac-a2b6-6eac884db14b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083616Z:9e8d3b91-de1a-4b39-8a73-39d72272ec80" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "cf0c56af-61ae-4cba-ad86-6c4ad0183b41" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cf0c56af-61ae-4cba-ad86-6c4ad0183b41", + "x-ms-correlation-request-id": "004a79b5-d4b0-4e13-867a-13acadea7d44", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "a63ce74d-976d-47af-a7de-b4e4b0169d1d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083619Z:004a79b5-d4b0-4e13-867a-13acadea7d44" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "c92f1a32-fa0a-4481-bcb0-fb4d966a18e0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c92f1a32-fa0a-4481-bcb0-fb4d966a18e0", + "x-ms-correlation-request-id": "33c492bf-689b-4aff-83c4-308041b1d5f6", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "8d14df5d-ebd2-4530-9e28-c3d21ff30c91", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083621Z:33c492bf-689b-4aff-83c4-308041b1d5f6" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "8c10617f-5410-4c90-9802-8825f716d245" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8c10617f-5410-4c90-9802-8825f716d245", + "x-ms-correlation-request-id": "d460da29-6671-43cf-a2fa-aa0192797f78", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "929626a9-870d-4eee-ab95-34430735ce7e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083623Z:d460da29-6671-43cf-a2fa-aa0192797f78" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e70df6c7-2858-49e1-9da2-c32d7294eafd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e70df6c7-2858-49e1-9da2-c32d7294eafd", + "x-ms-correlation-request-id": "cfb118fb-1195-4422-8adf-00d9d421133e", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "1a47137e-5091-4aef-ae1f-37fd162cc45c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083626Z:cfb118fb-1195-4422-8adf-00d9d421133e" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9da7eabd-e1e4-432b-a380-2b4909304679" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9da7eabd-e1e4-432b-a380-2b4909304679", + "x-ms-correlation-request-id": "5d645943-a5ef-474c-a1dd-39dabc3136c6", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "6eb02f6c-b25a-4417-ae16-159840f58fa6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083628Z:5d645943-a5ef-474c-a1dd-39dabc3136c6" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9c078f0d-21ff-42d5-802e-a078e605b0a6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9c078f0d-21ff-42d5-802e-a078e605b0a6", + "x-ms-correlation-request-id": "c18b92ab-d53f-47f2-9f82-68cd31143aac", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "8a72e9b9-68d2-4bdb-9edd-d8dc8be67268", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083631Z:c18b92ab-d53f-47f2-9f82-68cd31143aac" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "a65adbd0-f79a-4bf2-b7d3-6665bc688b03" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a65adbd0-f79a-4bf2-b7d3-6665bc688b03", + "x-ms-correlation-request-id": "6078f94e-a3f1-4708-9ed7-8ccfff348074", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "e5a57333-bca2-44c8-8343-6d640ff1b44d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083633Z:6078f94e-a3f1-4708-9ed7-8ccfff348074" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "69705247-aa80-4d34-854f-84c2879ac210" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "69705247-aa80-4d34-854f-84c2879ac210", + "x-ms-correlation-request-id": "0899631f-557b-473e-9515-a537efa09335", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "0e8486aa-2268-4990-8980-5d122b67600e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083635Z:0899631f-557b-473e-9515-a537efa09335" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "f6d659f7-7d3e-45db-90e2-f663557ec0ed" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f6d659f7-7d3e-45db-90e2-f663557ec0ed", + "x-ms-correlation-request-id": "a910d0bc-2bd0-44a8-a752-94580a14f5bd", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "008d8f88-4913-4680-9aa7-9cbb35146be2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083638Z:a910d0bc-2bd0-44a8-a752-94580a14f5bd" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "36b16425-dfc7-424a-b47a-0bef89cd5f77" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "36b16425-dfc7-424a-b47a-0bef89cd5f77", + "x-ms-correlation-request-id": "bc3a7f4d-da07-497d-829f-411a7a4cf0b1", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "f9703d6e-d717-4207-bb73-7b58f6f09adc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083640Z:bc3a7f4d-da07-497d-829f-411a7a4cf0b1" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4a3b06f4-1d62-4895-9ea7-0a655856777a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4a3b06f4-1d62-4895-9ea7-0a655856777a", + "x-ms-correlation-request-id": "2685a970-25c5-468a-afe1-b4ecf2422037", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "8db4c566-c3e8-4b65-ae4f-d5e31a1b9eab", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083642Z:2685a970-25c5-468a-afe1-b4ecf2422037" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "360e37ab-9e4f-4185-8930-f0659155a7fc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "360e37ab-9e4f-4185-8930-f0659155a7fc", + "x-ms-correlation-request-id": "5bc24cbc-9635-4dd1-8837-00333b6ff7ff", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "d10d65d5-d140-4e15-9e35-f2b06c24786e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083645Z:5bc24cbc-9635-4dd1-8837-00333b6ff7ff" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "2a1ba04c-e0ea-4868-af58-5f4fa8ff29d8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2a1ba04c-e0ea-4868-af58-5f4fa8ff29d8", + "x-ms-correlation-request-id": "af68f31e-f968-4fa5-b488-e355da4268a8", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "a397ec6a-30d5-4abe-b911-f6210a68ab5a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083647Z:af68f31e-f968-4fa5-b488-e355da4268a8" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ea84d766-54bd-41e1-b3f1-d6b9f95677f5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ea84d766-54bd-41e1-b3f1-d6b9f95677f5", + "x-ms-correlation-request-id": "907e9485-8131-4961-932b-1c6c679b2749", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "e7321e10-c999-4030-87e7-811625b093f7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083649Z:907e9485-8131-4961-932b-1c6c679b2749" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "3c7451df-10da-4fdb-a7fc-915011e50ce3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3c7451df-10da-4fdb-a7fc-915011e50ce3", + "x-ms-correlation-request-id": "3594415d-5edb-4cb6-b04e-9a50c6d5e83e", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "eaa933a8-cb43-4017-801d-e6b7b3353ca8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083652Z:3594415d-5edb-4cb6-b04e-9a50c6d5e83e" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "04d2d69a-2e45-497e-9be6-aeeaf9d367ce" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "04d2d69a-2e45-497e-9be6-aeeaf9d367ce", + "x-ms-correlation-request-id": "e3ca92ff-af8f-4461-98d6-6c76ee9c0da7", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "e46d1df1-b042-493a-9721-68e14b73693d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083654Z:e3ca92ff-af8f-4461-98d6-6c76ee9c0da7" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "811ec848-1b42-493e-bc56-65a7d2e44367" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "811ec848-1b42-493e-bc56-65a7d2e44367", + "x-ms-correlation-request-id": "19e8feaf-0f42-4ca8-a952-1c001a61fb12", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "ea01a819-95b7-421f-a558-74799ee7cb5f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083657Z:19e8feaf-0f42-4ca8-a952-1c001a61fb12" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "1bbb262e-7630-453b-87fb-066e1f790a6b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:36:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1bbb262e-7630-453b-87fb-066e1f790a6b", + "x-ms-correlation-request-id": "fa6b6f34-d42b-4f02-acf5-6740389a19fc", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "59810afc-7ba1-473e-a559-c24277103d3e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083659Z:fa6b6f34-d42b-4f02-acf5-6740389a19fc" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "be076e01-abb7-41a9-b0d8-bccfe5dd030a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "be076e01-abb7-41a9-b0d8-bccfe5dd030a", + "x-ms-correlation-request-id": "13ad9ccc-ed15-4787-9cd4-1312cb217706", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "35de2b43-71a6-4495-8f81-7aaae99263a2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083701Z:13ad9ccc-ed15-4787-9cd4-1312cb217706" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "20d04000-d2c8-4aeb-8976-cb51a1fa323e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "20d04000-d2c8-4aeb-8976-cb51a1fa323e", + "x-ms-correlation-request-id": "d706f39b-ecb8-4fe2-8084-81fb4e5b4b9f", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "f1b3cf95-234e-419e-9655-423ce2c3fdb2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083704Z:d706f39b-ecb8-4fe2-8084-81fb4e5b4b9f" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "843f7855-2267-44c6-90c3-2501373eba06" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "843f7855-2267-44c6-90c3-2501373eba06", + "x-ms-correlation-request-id": "d9e25dcd-2c5e-4e6a-9667-a5675b1041e4", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "bafa92b4-7fb4-4ce9-9962-0e3d066e024e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083706Z:d9e25dcd-2c5e-4e6a-9667-a5675b1041e4" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4b781136-5b26-4c02-a1c2-ae2b20e2411e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4b781136-5b26-4c02-a1c2-ae2b20e2411e", + "x-ms-correlation-request-id": "7ade48bd-af08-40cd-9202-84b8c4dd5e71", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "0b80db23-ccd2-45af-b5ad-8f38bd9ee6ee", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083709Z:7ade48bd-af08-40cd-9202-84b8c4dd5e71" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "a8057174-1abc-46ab-949b-3adfd461f67d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a8057174-1abc-46ab-949b-3adfd461f67d", + "x-ms-correlation-request-id": "4e9c8811-e15a-438d-b8d8-f83862824e25", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "394bb7e1-867c-46bf-8865-3006ae7b3571", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083711Z:4e9c8811-e15a-438d-b8d8-f83862824e25" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "502c14b7-04c6-4f24-9213-48041da7865d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "502c14b7-04c6-4f24-9213-48041da7865d", + "x-ms-correlation-request-id": "76b76df7-c203-4a41-b80f-4195fc10cc99", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "808f2c7f-372a-4672-8a2e-cd6671068731", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083713Z:76b76df7-c203-4a41-b80f-4195fc10cc99" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "88f8552f-7731-4ba1-89a9-62eb0b99b69e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "88f8552f-7731-4ba1-89a9-62eb0b99b69e", + "x-ms-correlation-request-id": "7abed4b7-1aaf-42cf-8ad9-13e7d2352b1f", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "1e5d31bc-1bc7-43c0-83e8-8290f414beda", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083716Z:7abed4b7-1aaf-42cf-8ad9-13e7d2352b1f" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "79e1a3ed-d350-47c5-b022-89779ec2b81a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "79e1a3ed-d350-47c5-b022-89779ec2b81a", + "x-ms-correlation-request-id": "104695c3-fd86-4eca-9fdc-df2e8b20f267", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "e19c3a57-9b7c-4da0-b0a4-42b7291f1b75", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083718Z:104695c3-fd86-4eca-9fdc-df2e8b20f267" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "c0ca75c1-980d-464f-9c21-d56c40832688" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c0ca75c1-980d-464f-9c21-d56c40832688", + "x-ms-correlation-request-id": "4237a8a4-f986-47ee-bbb4-ac7e964ddc27", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "6e2b330e-ac30-4ae8-9586-db21e63260d5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083720Z:4237a8a4-f986-47ee-bbb4-ac7e964ddc27" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "519360ee-f7c7-468c-8525-050b6bff0254" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "519360ee-f7c7-468c-8525-050b6bff0254", + "x-ms-correlation-request-id": "09dd2f64-d2e6-4808-a646-6548ea6730df", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "7fba4b74-f98f-4dfe-a511-be62f787ead6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083723Z:09dd2f64-d2e6-4808-a646-6548ea6730df" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ee68e841-0ca6-4445-903f-7eca23d62f0a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ee68e841-0ca6-4445-903f-7eca23d62f0a", + "x-ms-correlation-request-id": "57fada51-ced9-4cc4-81f6-657ca59f1117", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "85f861e9-1336-4e6a-9a0a-9255e5f7db37", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083725Z:57fada51-ced9-4cc4-81f6-657ca59f1117" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "71d51a0a-ea45-45be-aaed-f49c1e6325e3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "71d51a0a-ea45-45be-aaed-f49c1e6325e3", + "x-ms-correlation-request-id": "a255aae6-484b-4de0-890d-e9b2634beff1", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "034e99ff-78aa-407d-86c4-5defc7a6f9d9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083727Z:a255aae6-484b-4de0-890d-e9b2634beff1" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ac592ad7-16cb-48fe-bdf4-e96d136dda1a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ac592ad7-16cb-48fe-bdf4-e96d136dda1a", + "x-ms-correlation-request-id": "3c552aa8-9bcd-475c-b3ec-c046c18d9273", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "245a865b-eea6-4461-903c-6042cbb45d79", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083730Z:3c552aa8-9bcd-475c-b3ec-c046c18d9273" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e5d5ac93-9601-43f4-9136-2f0b37e3af86" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e5d5ac93-9601-43f4-9136-2f0b37e3af86", + "x-ms-correlation-request-id": "82821ecb-297e-46d3-be74-de0e56f6a877", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "b57a3f67-4bd5-48b6-9acb-b9a30a03a18c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083732Z:82821ecb-297e-46d3-be74-de0e56f6a877" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "8eb98d9b-c37d-4d97-98fb-7b97e3e76d90" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8eb98d9b-c37d-4d97-98fb-7b97e3e76d90", + "x-ms-correlation-request-id": "e04b7cfc-9013-47d8-8a08-8aaff550da6c", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "b234d4b2-c960-44a2-8fa4-24d41bd4c628", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083734Z:e04b7cfc-9013-47d8-8a08-8aaff550da6c" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "0ac77b7c-8fc2-487b-94b0-69d2deb6bbdd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0ac77b7c-8fc2-487b-94b0-69d2deb6bbdd", + "x-ms-correlation-request-id": "6df27431-0b66-4190-9cb8-21ffe7409a68", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "3407542b-e6f7-474e-84b9-d72ffe3a6c1d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083737Z:6df27431-0b66-4190-9cb8-21ffe7409a68" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "0e476fb4-915f-4086-ad5b-0f4cffea36dc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0e476fb4-915f-4086-ad5b-0f4cffea36dc", + "x-ms-correlation-request-id": "58425d7b-5a6e-479f-b653-a656903750b4", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "a79b2740-86fb-45c4-9edb-11376d2ce081", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083739Z:58425d7b-5a6e-479f-b653-a656903750b4" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "b0ac9f00-5275-4310-bc5b-a1ff1646a703" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b0ac9f00-5275-4310-bc5b-a1ff1646a703", + "x-ms-correlation-request-id": "b021e50a-cecc-4668-bacb-b0aa33df4801", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "0b147da2-6e1a-441d-9e83-57f6f3139370", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083742Z:b021e50a-cecc-4668-bacb-b0aa33df4801" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "4234a17e-52ca-4d4d-a0b3-e0f72d1f7a78" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4234a17e-52ca-4d4d-a0b3-e0f72d1f7a78", + "x-ms-correlation-request-id": "8b569108-da40-43e8-9fa2-d8859950fbef", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "9ebd6ce7-8f04-4860-a44b-7c01ff5dba83", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083744Z:8b569108-da40-43e8-9fa2-d8859950fbef" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "34f01e5c-5cd0-4de7-94de-5698d1d86325" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "34f01e5c-5cd0-4de7-94de-5698d1d86325", + "x-ms-correlation-request-id": "53b04e59-e07d-48c7-bb36-3a4af565f64a", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "8bbdad10-3ddf-47c8-818d-aa7537a76fdb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083746Z:53b04e59-e07d-48c7-bb36-3a4af565f64a" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d4dee1cc-d809-49ce-a8f4-d428d9f073be" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d4dee1cc-d809-49ce-a8f4-d428d9f073be", + "x-ms-correlation-request-id": "10d3f4e4-c9c2-4060-9779-f1d74145fb0d", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "b7a67fd5-d79f-406c-a9cc-69ba8ce5af0e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083749Z:10d3f4e4-c9c2-4060-9779-f1d74145fb0d" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "3c4712a6-2c53-4bc2-9ce0-77ba36a3224c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3c4712a6-2c53-4bc2-9ce0-77ba36a3224c", + "x-ms-correlation-request-id": "4a81e9f3-9b99-40f5-bf11-3a5ebd648c89", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "68214882-931e-46f0-859c-795bef474be0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083751Z:4a81e9f3-9b99-40f5-bf11-3a5ebd648c89" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "f28cee95-8cc0-4c47-9117-1768e540201a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f28cee95-8cc0-4c47-9117-1768e540201a", + "x-ms-correlation-request-id": "59f00ba9-9a6d-46ae-9bd3-3d5889cabdf1", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "8a36edc1-09ec-4289-9a78-cf3fc53d2c1a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083753Z:59f00ba9-9a6d-46ae-9bd3-3d5889cabdf1" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ff7a965a-f637-4ef3-98e7-f0fccb3343eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ff7a965a-f637-4ef3-98e7-f0fccb3343eb", + "x-ms-correlation-request-id": "a82c6dde-2704-4d54-be57-5a7720caa262", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "72789197-5dc0-43b1-948d-9db8e1685b0c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083756Z:a82c6dde-2704-4d54-be57-5a7720caa262" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "0e250b80-d928-42e9-9a87-33ee66dfc921" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:37:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0e250b80-d928-42e9-9a87-33ee66dfc921", + "x-ms-correlation-request-id": "7320100d-5768-4d82-bb0b-587c72f62f01", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "eeaf24dc-13ac-47d3-be9d-f94e63dd6d0f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083758Z:7320100d-5768-4d82-bb0b-587c72f62f01" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/d3cdc577-3d07-41ea-97a8-72d2de3a20ca?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "3b07598c-450c-4eb8-a74c-a112c9030a5f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3b07598c-450c-4eb8-a74c-a112c9030a5f", + "x-ms-correlation-request-id": "49a3a882-a53e-41b1-b247-2c4128f10fb1", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "f80863ee-ac82-4836-8f59-0b5f8a650456", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083800Z:49a3a882-a53e-41b1-b247-2c4128f10fb1" + }, + "ResponseBody": { + "status": "Succeeded", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "05e4b5f1-516e-47a4-8ebd-c76225b1b687" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:38:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "05e4b5f1-516e-47a4-8ebd-c76225b1b687", + "x-ms-correlation-request-id": "4e61a349-391a-488c-8733-e1abdbb3dd16", + "x-ms-ratelimit-remaining-subscription-resource-requests": "49", + "x-ms-request-id": "86d973f1-39e6-46a5-a671-7f824e0da98a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083801Z:4e61a349-391a-488c-8733-e1abdbb3dd16" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": {}, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js deleted file mode 100644 index 4e5eb40e6dee..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.js +++ /dev/null @@ -1,529 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "1bc13a36d959e3c06e67c049879f8101"; - -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', - '96da2a01-9bbf-4976-b77e-e8e642330200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ArGKb2avoC5HkglTuhB3ls8; expires=Sat, 15-Jan-2022 02:16:40 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevry4yZEp-qhmOVVAbekvrb-AJSKT30Nyj7ugZmK3dZgFWmvw2MMiS_vX9jJC2KxvYheAfgzp6Ql_vvLaHwueR4fQI11XPMKaleh-Od4v9W5FWacK3M8Zgo8Erfjdy-LAsVCiQl7VYS4QWKyzkv8EIFE4c1-mIJx_407k0DkT8K-rUgAA; 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, 16 Dec 2021 02:16:40 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', - '9bed8f69-8b1e-4591-be3e-4496efee0600', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AtTkqGjevHhBp7UM60_VQZM; expires=Sat, 15-Jan-2022 02:16:41 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDnpfhC8qbpjrvrZeV6nGqUzXWyytYlL8MycQW4j9rbSNgwhtj4QE92I2fuTEFjnD1zBkFpVE3S0T_Sejuz7RkTSFt1mFwLg02P4WlNkDN4fTr3yBtfeZ1Qkzv9tNCxuEgBs3KQpSC5UlxuJvwClpdVtz2wMAJIYxyqL6JgEQ5j8gAA; 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, 16 Dec 2021 02:16:40 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=853c28a0-89be-4c1f-8cc0-94a424b9d094&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', - 'e89207c8-c8ba-4184-b836-b4dd22130700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ar3I3fDslaZKkqC2YSIklFIWPr5BAQAAAIiYTNkOAAAA; expires=Sat, 15-Jan-2022 02:16:41 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, 16 Dec 2021 02:16:40 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974/profileresults/myprofilexxx?api-version=2020-09-01', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '9c67603c-d589-4d09-aa81-96219b13836c', - 'x-ms-client-request-id', - '840ec6db-63ae-48bb-9504-9a1d8c4356f6', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - '7ae19ce4-7ebc-418d-a173-57e93314dfe1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021643Z:7ae19ce4-7ebc-418d-a173-57e93314dfe1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:42 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3ef362c0-a5d7-472a-a75b-bd11473bba40', - 'x-ms-client-request-id', - 'c74030cf-178b-41d2-967a-27eb5b332dae', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11899', - 'x-ms-correlation-request-id', - '32dff386-ffdb-4750-b15a-a81ef0890a2b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021644Z:32dff386-ffdb-4750-b15a-a81ef0890a2b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:43 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0b0500a6-7ab8-4f05-a356-5f9011b71f38', - 'x-ms-client-request-id', - 'fbe6a258-dcc8-4f30-aa96-b7801548b2a4', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11898', - 'x-ms-correlation-request-id', - '6f69848f-06fe-4cc1-bceb-2616de8c89fa', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021646Z:6f69848f-06fe-4cc1-bceb-2616de8c89fa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:45 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07f203df-c057-4f66-b72b-6a1d4bff8ca1', - 'x-ms-client-request-id', - 'c81ccd5d-a4fc-4877-9a8b-df50f4678708', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11897', - 'x-ms-correlation-request-id', - '113473db-dd83-49be-8fe6-9c8cc85750cb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021648Z:113473db-dd83-49be-8fe6-9c8cc85750cb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:47 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '86b35448-e7a5-4686-ac3b-ae3cca923c51', - 'x-ms-client-request-id', - 'cf99f7c7-1d9d-454d-87a8-adcce5129465', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11896', - 'x-ms-correlation-request-id', - 'ffc28c99-e81c-4896-9a21-9b59518d677d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021651Z:ffc28c99-e81c-4896-9a21-9b59518d677d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:50 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0d022591-42d9-4381-8fff-d97f0153e698', - 'x-ms-client-request-id', - 'b3d19fc3-0e2a-49ab-b075-2a3069129b87', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11895', - 'x-ms-correlation-request-id', - '29aa4a43-a3d9-4512-8688-92c3db3f42e6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021653Z:29aa4a43-a3d9-4512-8688-92c3db3f42e6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:52 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '07adc428-8d96-4494-a317-65e00df09ae8', - 'x-ms-client-request-id', - '3cbeee87-a5d1-41a7-a33a-a0954438f45a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11894', - 'x-ms-correlation-request-id', - '532a00f0-0832-4de7-abfc-7a17ac504ec1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021656Z:532a00f0-0832-4de7-abfc-7a17ac504ec1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:55 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '237777da-cc62-42dc-a8ff-90234e4eed26', - 'x-ms-client-request-id', - '5960fb2f-eaa7-41a9-8523-60eef2705478', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11893', - 'x-ms-correlation-request-id', - '0a40dd11-018f-497e-b8de-fba5fa1d739d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021658Z:0a40dd11-018f-497e-b8de-fba5fa1d739d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:57 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '9bed2cfe-c14e-4ec4-9ee2-9864fd9c6aa7', - 'x-ms-client-request-id', - '4f487c4a-89b7-4faa-8b93-09ae0aee28d8', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11892', - 'x-ms-correlation-request-id', - '7acd0802-6415-4416-b9df-ec473cdceb12', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021700Z:7acd0802-6415-4416-b9df-ec473cdceb12', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:16:59 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/1fcbadbb-be80-44f2-bb19-21cb0ca12974') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'f8de7a3f-7dbd-413f-b41d-8f79f4af88df', - 'x-ms-client-request-id', - 'd249382c-7e46-4658-8847-d7228bae64cf', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11891', - 'x-ms-correlation-request-id', - '20e848ce-9908-4a12-8aa7-28e19f86b6fc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021703Z:20e848ce-9908-4a12-8aa7-28e19f86b6fc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:17:02 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '8a75c09a-49d9-4b5a-a307-309657c9d7a8', - 'x-ms-client-request-id', - '945d577b-b970-4dc0-853f-313ca6326fdb', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '46', - 'x-ms-correlation-request-id', - 'fbcc053f-29f5-490b-8675-1bea01047828', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021703Z:fbcc053f-29f5-490b-8675-1bea01047828', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:17:02 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.json new file mode 100644 index 000000000000..2aa5710c8f43 --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_delete_test.json @@ -0,0 +1,502 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "3d2e1817-d204-4578-bd8b-f6de50e9c7f8" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Thu, 08 Dec 2022 08:42:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b/profileresults/myprofilexxx?api-version=2021-06-01", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3d2e1817-d204-4578-bd8b-f6de50e9c7f8", + "x-ms-correlation-request-id": "3e32ddc2-b329-4d03-bffe-58c4c862f4bd", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "395d2900-c252-4356-96ad-6e0d7c3871da", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084201Z:3e32ddc2-b329-4d03-bffe-58c4c862f4bd" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "ec03c32e-b45f-4bd8-b2c1-b5bde91250b6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ec03c32e-b45f-4bd8-b2c1-b5bde91250b6", + "x-ms-correlation-request-id": "4667ea5c-0d10-437e-8910-fee22aba0a7e", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "83a60cf0-7f95-489d-a9e7-6e393136924e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084201Z:4667ea5c-0d10-437e-8910-fee22aba0a7e" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "aedbadd9-344f-455e-aa2a-ea0d23948610" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aedbadd9-344f-455e-aa2a-ea0d23948610", + "x-ms-correlation-request-id": "e8c24d4b-70a7-435d-ac4c-0b7b5a7662ec", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "40a4ca6f-9ad5-4e69-83ff-cb92599ff69b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084202Z:e8c24d4b-70a7-435d-ac4c-0b7b5a7662ec" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "c3eb3e45-1a42-4fce-88a5-3a9b27583a47" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c3eb3e45-1a42-4fce-88a5-3a9b27583a47", + "x-ms-correlation-request-id": "b3a53e54-f87a-4832-a1d2-785d11535f99", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "950cdb2c-78f5-4b70-aa85-ccad96d2872b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084204Z:b3a53e54-f87a-4832-a1d2-785d11535f99" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "637b72d3-5e12-4d50-b5b4-d778a757dc5e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "637b72d3-5e12-4d50-b5b4-d778a757dc5e", + "x-ms-correlation-request-id": "65c4ec28-fe33-4ced-ad57-6964b3fce2ed", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "918fb2e9-9291-4fdb-995d-153369c3299d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084206Z:65c4ec28-fe33-4ced-ad57-6964b3fce2ed" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "a75c19e8-10b7-49ec-8752-0a0ac1a5ecbd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a75c19e8-10b7-49ec-8752-0a0ac1a5ecbd", + "x-ms-correlation-request-id": "097883ad-078a-4a01-9b08-cf2bb67d772a", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "201b945f-2300-4562-ab23-6ba20f32b401", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084209Z:097883ad-078a-4a01-9b08-cf2bb67d772a" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "3e7b26f0-6d04-4883-b808-109f6e544dc7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3e7b26f0-6d04-4883-b808-109f6e544dc7", + "x-ms-correlation-request-id": "6c3423d2-8625-4ce2-a5a5-da0c097b110c", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "6f47cfdb-3f08-491b-b375-e79fc8553bf7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084211Z:6c3423d2-8625-4ce2-a5a5-da0c097b110c" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9a6f7d78-4064-46bf-8871-71cf40bff456" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9a6f7d78-4064-46bf-8871-71cf40bff456", + "x-ms-correlation-request-id": "6f4fb7e9-e4f1-4163-bcfc-fc536d3910ef", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "6f275b86-b8ba-4325-b8b3-9acaad6a9e07", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084213Z:6f4fb7e9-e4f1-4163-bcfc-fc536d3910ef" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "9c61068e-f3c8-4e4c-8623-792b7f6a4761" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9c61068e-f3c8-4e4c-8623-792b7f6a4761", + "x-ms-correlation-request-id": "47259cf2-adc0-41e8-9692-0f8b3bb1be95", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "d768c65b-e7cb-4e4d-9be2-4509805760ba", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084216Z:47259cf2-adc0-41e8-9692-0f8b3bb1be95" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "24a5d7de-fd0b-4f4b-9ade-1dfd2b54848d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "24a5d7de-fd0b-4f4b-9ade-1dfd2b54848d", + "x-ms-correlation-request-id": "dd534ac3-5a9d-4468-87b9-acd7e5de7331", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "432cdd5f-dfab-4bc1-b74e-c491d5675a32", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084218Z:dd534ac3-5a9d-4468-87b9-acd7e5de7331" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "b5737a16-1138-429f-9dc2-a424c08e8523" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b5737a16-1138-429f-9dc2-a424c08e8523", + "x-ms-correlation-request-id": "85faf596-b29c-4a08-8b7d-f079766aa182", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "6b827da5-e759-4cb2-ae1e-d515dc32a1c3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084220Z:85faf596-b29c-4a08-8b7d-f079766aa182" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/9a86970f-9480-4088-ad2b-bf32335da08b?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "8018bf37-161a-44d0-9131-935cb04a0e87" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8018bf37-161a-44d0-9131-935cb04a0e87", + "x-ms-correlation-request-id": "70099b15-8896-4bc0-b6c2-e06f93e11be0", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "3d62728a-dbd0-4b49-89d2-ee8cee2cb615", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084223Z:70099b15-8896-4bc0-b6c2-e06f93e11be0" + }, + "ResponseBody": { + "status": "Succeeded", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "90da0b44-3e2b-435a-b918-5764e50f9c3a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:42:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "90da0b44-3e2b-435a-b918-5764e50f9c3a", + "x-ms-correlation-request-id": "f1e6f4c9-2f5a-4f1e-93fd-f784111d6d74", + "x-ms-ratelimit-remaining-subscription-resource-requests": "49", + "x-ms-request-id": "425cf2be-5ad3-48c5-afbe-a013880bea89", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T084223Z:f1e6f4c9-2f5a-4f1e-93fd-f784111d6d74" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js deleted file mode 100644 index 8ee04d34b756..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "23021080da85bbef5d9658111ebf321c"; - -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', - '03c6d51b-19f7-48ed-989c-a4f2da2e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AimAIkZrD-xEiSeMYiaDu6o; expires=Sat, 15-Jan-2022 02:15:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7xXTtsUaZA8Iq_Av2BG3G_egPPpMQJShvJQLcnEU4_9o6Gk-ue3ehFtmqwFXOch5IYOsHdrA_vssCkTbF7aUB-fskDHg2zaHg_PsW0h4jWohpL8j1qeqUGkeg9LnOg96I1rb-O0aME09eC5PhIuzBDXcPEWApLnKgtG19xk2QbwgAA; 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, 16 Dec 2021 02:15:28 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', - '6edbaf0b-a0a4-49c7-852a-1809e4680700', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AgozIP_rYk9Jon-EPkuKL1Y; expires=Sat, 15-Jan-2022 02:15:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsOAnxxZBxmz4N2SUVJ-T1dXQa9xUcJaL91Nt-5x0UBX1fb6Wv3CHGz8j0_tuXQNJUmVj6MxyE4Ti_bFh34lpQUSu1EgE1xTydCKEjAB1OMNVQF7aIIRklATEbq_fiEnbV_qcvAaeSHY_ig8hctsOj5KeV3qMzFAi8cMSaykUdoEgAA; 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, 16 Dec 2021 02:15: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=3cae2e39-a1cc-4fde-a306-5f7604df0d73&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', - '03c6d51b-19f7-48ed-989c-a4f2de2e0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ak59tCHjQBJPrxOAGciQhsoWPr5BAQAAAEGYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15: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, 16 Dec 2021 02:15:29 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9129f9f17658e96faebbb77ef3e1a7dd45eaf724221de98be5f660b7cdf79abaca61990a56f4eb3a6fd0a2ddf164b0c663a5bd21f6d76d17cf4e817ff92d147cddb35fd62e0bc6eb3e52cab67bfff4fe675f10302402d08f22aafdb82faa3866660d4b2c51bc7d3b6b8cc092435bb2c1aeab4585e982f5fafa7d33c9fe5b38f7ec9","2ff97f0068b6dfee4d010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '368809b9-087d-4547-afc9-4e6ed0c84210', - 'x-ms-client-request-id', - 'c10006f2-6923-4dbf-87b9-c6f601f704ce', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '48', - 'x-ms-correlation-request-id', - '811b68d8-5d67-4dd3-b943-c26578739021', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021530Z:811b68d8-5d67-4dd3-b943-c26578739021', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:30 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.json new file mode 100644 index 000000000000..5778e3beac9d --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_get_test.json @@ -0,0 +1,52 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "cbe84cb1-f7ff-45c5-b13c-c9e392e69069" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cbe84cb1-f7ff-45c5-b13c-c9e392e69069", + "x-ms-correlation-request-id": "1a877fb3-1eed-42d5-9e93-85cb62f303c1", + "x-ms-ratelimit-remaining-subscription-resource-requests": "48", + "x-ms-request-id": "21cbea8f-4987-419f-9754-b33b8d3a28ef", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083907Z:1a877fb3-1eed-42d5-9e93-85cb62f303c1" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": {}, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js deleted file mode 100644 index da058a4b6bd4..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "fce63e02ca36d72a5e1b182d8c115587"; - -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', - 'f215b684-5d11-4e35-8031-583389250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AqpmrJrXsxxBi9zzTICj5zA; expires=Sat, 15-Jan-2022 02:15:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqQejleeL6lLo86SYCeod_4FGGWd6bU-w4ErJ49Nl82Rf0as9flfeBCipPLz9cRqVVJdNzLg1C_BCOn4PP5CBbfQxRmPmAsvB242Lgpf0pi4G6x_Vju3rR1fa2VAtwRlrnj3OMWUij--tp2BSpey3Fh_YEgLKhfrNKWNj2k0gDpcgAA; 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, 16 Dec 2021 02:15:31 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', - '96da2a01-9bbf-4976-b77e-e8e60a310200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AvQXnKgC4SJNjARqW16KE58; expires=Sat, 15-Jan-2022 02:15:32 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfL6bR-HEJm0NmDSMusAPURpOeKhjnk81ep8YJOfDfYtr6VHqCVyLzZHD7VX64vDw1PrAMllS5LHJb4Xx4dCGheS2DtSDLMsY_MqM4Roc7c9AXT3PKzjBRvPoNjCAnD5z-WwE4PFsfBJOu0c-M30kbEB1BdcmRRPWuai78If9cdggAA; 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, 16 Dec 2021 02:15:31 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=51e02e70-c1f5-4181-8ddc-5e96a6a9190f&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', - 'f215b684-5d11-4e35-8031-583392250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Aj6OL5kffqFJnHY0_as9bRIWPr5BAQAAAEOYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:32 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, 16 Dec 2021 02:15:32 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534bfa8abf5aab9bbb8fee9a6cd9bf6eeaaae2e8b595e3777bf28a675d554e7edf864b6c4e7e74599a3a5fefaeeddbb8f461fb5d72bc2e4a37863fa7e992df07de7adb29a664096be39cd9af62bb47c5b2c3198e96c497fb4d945f3d1a35ffc4b461f356fd7f48b81f3bacd96b3ac9efdfe3f99d7c50f0800b520c8abbc6e0bea8f1a9a8151cb166f1c4fdbe2322790d4ecb268a8d3627961be7cbd9e4ef37c96cf3efa25bfe4fb","bfe4ff0148c4a01e59010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '48c796e4-0f79-4414-bd6c-3503cfef81aa', - 'x-ms-client-request-id', - '04978e6f-8b05-4776-a4cf-fa4c7c8af91a', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '47', - 'x-ms-correlation-request-id', - '6e7da2a4-2ccf-496a-93c7-3a1065f7c9bd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021533Z:6e7da2a4-2ccf-496a-93c7-3a1065f7c9bd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:33 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.json new file mode 100644 index 000000000000..c0c4ce0dd74c --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_list_test.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles?api-version=2021-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "7742e4e0-cdda-4e11-b2f0-eb6cc5ac2df4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7742e4e0-cdda-4e11-b2f0-eb6cc5ac2df4", + "x-ms-correlation-request-id": "3c181044-6fa2-42a4-9085-e07d4da7efdc", + "x-ms-ratelimit-remaining-subscription-resource-requests": "47", + "x-ms-request-id": "786923a5-9241-4f82-86a1-7ba91ba11525", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083910Z:3c181044-6fa2-42a4-9085-e07d4da7efdc" + }, + "ResponseBody": { + "value": [ + { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": {}, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js deleted file mode 100644 index 128f99405a36..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "a6f83987f0b4f6a6c9df1274fafbc766"; - -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', - 'f058f362-0d5d-4341-9bc3-7779d8460200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AnvN_-DFzBJEt1YJVxJES08; expires=Sat, 15-Jan-2022 02:15:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrp0_kKSvpP0QTWKHF-NCCoW7XX2D5tXbfzMlxDu5F4LgCmqSP39IwS4kmsOPkbytfSgm8Ih4oV6FSSxfv1gC-bfKZopVvQV_9wY7PMlQBPybu0xw4cPYCgiYnKoQcb9REhp5kkx3oGKVrIxvoWFBF0IBFC9tC1OhXBjE5ifYA2gIgAA; 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, 16 Dec 2021 02:15:32 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', - 'f215b684-5d11-4e35-8031-58339e250200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AoVXfAVBcAJCj0F1qUGgFdQ; expires=Sat, 15-Jan-2022 02:15:33 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbvbshzfEjf6bFnqwUbZutQEeyZmRvHxl6bUvdlLqXtjE4XbaF7PvdGk95L_bvjfZc1lQiTsCAv7xl41xq8bOyozJaqMUQ6Uabg-GFOthHH_kIM5w8ZDQ_hw-24WiUP0Js6rCy05TcP7D41vknhYDKIjHEIc9dupgxfmojT1gOSEgAA; 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, 16 Dec 2021 02:15:33 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=87281c92-33b9-4020-b732-011727b52c8a&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', - '96da2a01-9bbf-4976-b77e-e8e613310200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ai_UDtFMXklDtlArySlUjSoWPr5BAQAAAEWYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:34 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, 16 Dec 2021 02:15:33 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .post('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/checkResourceUsage') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc519d37d5ba9ee66fae57f4c147f972b6aa8a65fbd1e8a3f5b268e99369b5e63fa7ebbace97ed4fca9bbba38fca6281067bf77fc9f77f","c9ff03f4f9781a52000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '0244362b-045c-4caa-8d7f-75ac8a5fc331', - 'x-ms-client-request-id', - '3af3cf43-7b24-4fd7-9687-ee296b3c73b4', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '651f99fb-5e1c-4b0e-80a7-084890e1ac9c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021535Z:651f99fb-5e1c-4b0e-80a7-084890e1ac9c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:34 GMT' -]); diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.json new file mode 100644 index 000000000000..ab19d072a36d --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_listresourceusage_test.json @@ -0,0 +1,48 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx/checkResourceUsage?api-version=2021-06-01", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "6a2af1cf-f0aa-4efb-8bfd-460037e1ec40" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6a2af1cf-f0aa-4efb-8bfd-460037e1ec40", + "x-ms-correlation-request-id": "206fea23-fad6-4653-a870-aa678c7c1235", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "56f506a3-692b-4db1-a05a-198479bec14b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083911Z:206fea23-fad6-4653-a870-aa678c7c1235" + }, + "ResponseBody": { + "value": [ + { + "resourceType": "endpoint", + "unit": "count", + "currentValue": 1, + "limit": 25 + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_update_test.json b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_update_test.json new file mode 100644 index 000000000000..d90b41303240 --- /dev/null +++ b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_update_test.json @@ -0,0 +1,311 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx?api-version=2021-06-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "41", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-arm-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d67e4110-c228-4767-86b4-ecd7e8821638" + }, + "RequestBody": { + "tags": { + "additional_properties": "Tag1" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-01", + "Cache-Control": "no-cache", + "Content-Length": "348", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d/profileresults/myprofilexxx?api-version=2021-06-01", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d67e4110-c228-4767-86b4-ecd7e8821638", + "x-ms-correlation-request-id": "cf52cca5-ad2a-486a-9042-cde55a1f72cf", + "x-ms-ratelimit-remaining-subscription-resource-requests": "23", + "x-ms-request-id": "3991f8e5-1881-47c8-9538-c78c0c6e987b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083917Z:cf52cca5-ad2a-486a-9042-cde55a1f72cf" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx", + "type": "Microsoft.Cdn/profiles", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": { + "additional_properties": "Tag1" + }, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "e684ca09-bba1-49f7-a570-481dbed55099" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e684ca09-bba1-49f7-a570-481dbed55099", + "x-ms-correlation-request-id": "ab016f60-36cb-4a4a-b72f-84ff81cb1120", + "x-ms-ratelimit-remaining-subscription-reads": "11926", + "x-ms-request-id": "665e6407-c1fb-4331-8975-a766208477de", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083917Z:ab016f60-36cb-4a4a-b72f-84ff81cb1120" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "d756bce7-53cc-4dc7-aab2-1762bd4e16d0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d756bce7-53cc-4dc7-aab2-1762bd4e16d0", + "x-ms-correlation-request-id": "27bbe482-9f04-4a9b-bbe4-f03a75efdd88", + "x-ms-ratelimit-remaining-subscription-reads": "11925", + "x-ms-request-id": "ac15553c-a97d-44eb-a8f0-36e6140bcc59", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083918Z:27bbe482-9f04-4a9b-bbe4-f03a75efdd88" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "077674f9-cbc0-4227-802b-01ee9d1a97dd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "077674f9-cbc0-4227-802b-01ee9d1a97dd", + "x-ms-correlation-request-id": "924ba1db-e58a-4d18-8e33-6ac85b082531", + "x-ms-ratelimit-remaining-subscription-reads": "11924", + "x-ms-request-id": "7cb55f6d-0e46-427b-ae90-d41c3a59581b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083920Z:924ba1db-e58a-4d18-8e33-6ac85b082531" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "8384e767-6198-4f26-b644-3ff3f1739575" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8384e767-6198-4f26-b644-3ff3f1739575", + "x-ms-correlation-request-id": "8e4b3a27-a56b-4a7c-907e-988e74203361", + "x-ms-ratelimit-remaining-subscription-reads": "11923", + "x-ms-request-id": "c883a2f7-d1b0-4dc0-a74d-17e89e629fac", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083922Z:8e4b3a27-a56b-4a7c-907e-988e74203361" + }, + "ResponseBody": { + "status": "InProgress", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "64f7fd22-1dc8-47b4-be7e-108cfdd870e2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "64f7fd22-1dc8-47b4-be7e-108cfdd870e2", + "x-ms-correlation-request-id": "b33ee811-321d-4273-819b-3b9ae4cd1cd6", + "x-ms-ratelimit-remaining-subscription-reads": "11922", + "x-ms-request-id": "40cd03ed-bcd6-451b-a857-ea24238468b2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083925Z:b33ee811-321d-4273-819b-3b9ae4cd1cd6" + }, + "ResponseBody": { + "status": "Succeeded", + "error": { + "code": "None", + "message": null + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d/profileresults/myprofilexxx?api-version=2021-06-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-cdn/8.0.0 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", + "x-ms-client-request-id": "02a33720-5a70-44f1-85e8-15f2f2639e87" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 08 Dec 2022 08:39:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "02a33720-5a70-44f1-85e8-15f2f2639e87", + "x-ms-correlation-request-id": "79e3a0cc-42b3-441e-987e-66fbf78908cf", + "x-ms-ratelimit-remaining-subscription-reads": "11921", + "x-ms-request-id": "a24cbd09-c3c3-4650-9144-8e88ed4b1108", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221208T083925Z:79e3a0cc-42b3-441e-987e-66fbf78908cf" + }, + "ResponseBody": { + "id": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/69664f24-e878-43a2-b56b-4d5f568a9d5d/profileresults/myprofilexxx", + "type": "Microsoft.Cdn/operationresults/profileresults", + "name": "myprofilexxx", + "location": "EastUs", + "kind": "cdn", + "tags": { + "additional_properties": "Tag1" + }, + "sku": { + "name": "Standard_Verizon" + }, + "properties": { + "resourceState": "Active", + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js b/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js deleted file mode 100644 index abab8b4c661e..000000000000 --- a/sdk/cdn/arm-cdn/recordings/node/cdn_test/recording_profiles_upeate_test.js +++ /dev/null @@ -1,341 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "1bd7023ed28777a4b59713a57fa85e6d"; - -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', - '5285c3d9-cae3-4c1d-810a-40fad1e30100', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Avitk0lQMh1Bn3eA4pOCYrU; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreFsS_f9_ijT2FR9wuSLUYNm3m8yTN4ecMv2S_O1Un107Aun8Lr006Ek22izNDUooneEB8P9lUFBzqfe60KADQ1xxJxJSOedFiNI3_RYHm0L8qng2aS4nYPkqdsJ5W-kw50XDpZlooPifGyhLIqX1TxAPMka_23ouo3ZAjwUJDw0gAA; 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, 16 Dec 2021 02:15:34 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'f058f362-0d5d-4341-9bc3-7779f0460200', - 'x-ms-ests-server', - '2.1.12261.15 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=ApuZVRCOH9hGijtuyHrCqhI; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW6YsZh_FZQEZE6axKVKxTAwkfJlAPEOHx955lJHI_FNQq6KsnL10O4hNAQooQcgGcLWdQNFypeWYyoz9T090I21YpDeljgS1-2PIjWCFUWtj8h3yi7hzl_qT4mVsEVtqh46P34jpGUkAQ-gyuzWYHs77YHSjmBA5_-8eCatSEb8gAA; 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, 16 Dec 2021 02:15:34 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.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=277fa1c6-b83c-4e87-b427-5557d7cc56fa&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', - '03c6d51b-19f7-48ed-989c-a4f2212f0200', - 'x-ms-ests-server', - '2.1.12261.15 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ala_AGbFrBVIgk3JHzTxtCcWPr5BAQAAAEeYTNkOAAAA; expires=Sat, 15-Jan-2022 02:15:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 16 Dec 2021 02:15:35 GMT', - 'Content-Length', - '1393' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx', {"tags":{"additional_properties":"Tag1"}}) - .query(true) - .reply(202, {"id":"/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/profiles/myprofilexxx","type":"Microsoft.Cdn/profiles","name":"myprofilexxx","location":"EastUs","kind":"cdn","tags":{"additional_properties":"Tag1"},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Active","provisioningState":"Succeeded"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '363', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c/profileresults/myprofilexxx?api-version=2020-09-01', - 'Retry-After', - '0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '978197ff-4b27-47bb-8ecc-c90e68188d55', - 'x-ms-client-request-id', - '2e9f8721-eb9c-49f9-97a9-1a3041fa3763', - 'Azure-AsyncOperation', - 'https://management.azure.com/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c?api-version=2020-09-01', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-resource-requests', - '23', - 'x-ms-correlation-request-id', - '505e32f9-495c-477d-ba6e-f43f37394777', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021538Z:505e32f9-495c-477d-ba6e-f43f37394777', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:37 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '74e611c8-7c6d-4a82-8a5d-93f7d08767e6', - 'x-ms-client-request-id', - '6775fc01-988e-4872-9116-0915731f7143', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11922', - 'x-ms-correlation-request-id', - 'b7e91020-3d94-4003-8c43-0e09ff7589f0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021538Z:b7e91020-3d94-4003-8c43-0e09ff7589f0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:38 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'b1882a80-1cf5-4db5-86f3-fe3a1d8d8946', - 'x-ms-client-request-id', - '321d7f4a-298b-4b4b-a50a-6643e500210c', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11921', - 'x-ms-correlation-request-id', - '6687eee0-56b9-479d-85ec-7a869192dbf1', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021540Z:6687eee0-56b9-479d-85ec-7a869192dbf1', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:40 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471f9d2d5fd6d5459d37cd47a38ff2baaeea8f1efde28fa6d52ca72f5f54cb9c3e5ed0b7d9057db05c97e52ff925","ff0ff1fbb5ce3e000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'bf17ae1f-4d94-4422-a37f-588993a4422b', - 'x-ms-client-request-id', - 'd97af70c-a280-4a5a-977a-71bfea14e79e', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11920', - 'x-ms-correlation-request-id', - '187bcac0-43a2-4fff-98ed-d6ce5f4f4482', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021543Z:187bcac0-43a2-4fff-98ed-d6ce5f4f4482', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:42 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474d9bb5ebe6a3471fbd5e4fa7793ecb671f8d3ecaebbaaa3f7af48b3f9a56b39cbe7b512d73fa7891374d76411f2cd765f94b","7ec9ff03e35461a53d000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - 'd1e756b7-2096-422e-aadb-db473bb02ede', - 'x-ms-client-request-id', - '6fd7adf9-b984-4566-aaaf-a362fde092e9', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11919', - 'x-ms-correlation-request-id', - 'e110cf7b-5b94-4973-9183-7d4c56d40245', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021545Z:e110cf7b-5b94-4973-9183-7d4c56d40245', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:45 GMT' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/Microsoft.Cdn/operationresults/f478bb1c-e160-4cad-a387-d654b48bfe0c/profileresults/myprofilexxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fca2aed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e393d9f26eb5caeb0cf0e9c575d93677cff71f1c4c26bbd3ed7cf7d39dedfd6936dbceee1d3cd89e7d7a7f7fb27f3039cf77a680765e94b9796771ad1fbc7bf7eea3d147edf52a27f46fe8485fd13fe9b565b6c06b1d606535e5d7e89bd3ac69bf42cbb7c512f499ce96f4479b5d341f3dfac51f65b359818659f9fb1300eaad2d72fae2a337d9c5ee47bf64f451f3768d66dacbeb365bceb27af6fbff645e173f20f0d4c27fed177f44883125a9658b378ea76d71995387d4ecb268a8a7627961be7cbd9e4ef37c96cf3efa25bf","e4ff01088fc69cbe010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '5d2c26bf-5426-4218-8220-92fa2daaab95', - 'x-ms-client-request-id', - '4390be16-9157-47b9-a745-9c6ef98defc1', - 'Server', - 'Kestrel', - 'x-ms-ratelimit-remaining-subscription-reads', - '11918', - 'x-ms-correlation-request-id', - '1b246543-cfc0-406f-a749-386be00463fe', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211216T021548Z:1b246543-cfc0-406f-a749-386be00463fe', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 16 Dec 2021 02:15:47 GMT' -]); diff --git a/sdk/cdn/arm-cdn/review/arm-cdn.api.md b/sdk/cdn/arm-cdn/review/arm-cdn.api.md index 641e9dfe1e14..21aa7cdbd147 100644 --- a/sdk/cdn/arm-cdn/review/arm-cdn.api.md +++ b/sdk/cdn/arm-cdn/review/arm-cdn.api.md @@ -88,17 +88,17 @@ export interface AfdCustomDomainsUpdateOptionalParams extends coreClient.Operati export type AfdCustomDomainsUpdateResponse = AFDDomain; // @public -export type AFDDomain = ProxyResource & { - readonly profileName?: string; - tlsSettings?: AFDDomainHttpsParameters; +export interface AFDDomain extends ProxyResource { azureDnsZone?: ResourceReference; - preValidatedCustomDomainResourceId?: ResourceReference; - readonly provisioningState?: AfdProvisioningState; readonly deploymentStatus?: DeploymentStatus; readonly domainValidationState?: DomainValidationState; hostName?: string; + preValidatedCustomDomainResourceId?: ResourceReference; + readonly profileName?: string; + readonly provisioningState?: AfdProvisioningState; + tlsSettings?: AFDDomainHttpsParameters; readonly validationProperties?: DomainValidationProperties; -}; +} // @public export interface AFDDomainHttpsParameters { @@ -114,11 +114,11 @@ export interface AFDDomainListResult { } // @public -export type AFDDomainProperties = AFDDomainUpdatePropertiesParameters & AFDStateProperties & { +export interface AFDDomainProperties extends AFDDomainUpdatePropertiesParameters, AFDStateProperties { readonly domainValidationState?: DomainValidationState; hostName: string; readonly validationProperties?: DomainValidationProperties; -}; +} // @public export interface AFDDomainUpdateParameters { @@ -137,14 +137,14 @@ export interface AFDDomainUpdatePropertiesParameters { } // @public -export type AFDEndpoint = TrackedResource & { - readonly profileName?: string; - enabledState?: EnabledState; - readonly provisioningState?: AfdProvisioningState; +export interface AFDEndpoint extends TrackedResource { + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; readonly deploymentStatus?: DeploymentStatus; + enabledState?: EnabledState; readonly hostName?: string; - autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; -}; + readonly profileName?: string; + readonly provisioningState?: AfdProvisioningState; +} // @public export interface AFDEndpointListResult { @@ -153,10 +153,10 @@ export interface AFDEndpointListResult { } // @public -export type AFDEndpointProperties = AFDEndpointPropertiesUpdateParameters & AFDStateProperties & { - readonly hostName?: string; +export interface AFDEndpointProperties extends AFDEndpointPropertiesUpdateParameters, AFDStateProperties { autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; -}; + readonly hostName?: string; +} // @public export interface AFDEndpointPropertiesUpdateParameters { @@ -273,32 +273,32 @@ export interface AfdErrorResponse { export type AfdMinimumTlsVersion = "TLS10" | "TLS12"; // @public -export type AFDOrigin = ProxyResource & { - readonly originGroupName?: string; +export interface AFDOrigin extends ProxyResource { azureOrigin?: ResourceReference; + readonly deploymentStatus?: DeploymentStatus; + enabledState?: EnabledState; + enforceCertificateNameCheck?: boolean; hostName?: string; httpPort?: number; httpsPort?: number; + readonly originGroupName?: string; originHostHeader?: string; priority?: number; - weight?: number; - sharedPrivateLinkResource?: SharedPrivateLinkResourceProperties; - enabledState?: EnabledState; - enforceCertificateNameCheck?: boolean; readonly provisioningState?: AfdProvisioningState; - readonly deploymentStatus?: DeploymentStatus; -}; + sharedPrivateLinkResource?: SharedPrivateLinkResourceProperties; + weight?: number; +} // @public -export type AFDOriginGroup = ProxyResource & { - readonly profileName?: string; - loadBalancingSettings?: LoadBalancingSettingsParameters; +export interface AFDOriginGroup extends ProxyResource { + readonly deploymentStatus?: DeploymentStatus; healthProbeSettings?: HealthProbeParameters; - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - sessionAffinityState?: EnabledState; + loadBalancingSettings?: LoadBalancingSettingsParameters; + readonly profileName?: string; readonly provisioningState?: AfdProvisioningState; - readonly deploymentStatus?: DeploymentStatus; -}; + sessionAffinityState?: EnabledState; + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; +} // @public export interface AFDOriginGroupListResult { @@ -307,7 +307,8 @@ export interface AFDOriginGroupListResult { } // @public -export type AFDOriginGroupProperties = AFDOriginGroupUpdatePropertiesParameters & AFDStateProperties & {}; +export interface AFDOriginGroupProperties extends AFDOriginGroupUpdatePropertiesParameters, AFDStateProperties { +} // @public export interface AfdOriginGroups { @@ -406,7 +407,8 @@ export interface AFDOriginListResult { } // @public -export type AFDOriginProperties = AFDOriginUpdatePropertiesParameters & AFDStateProperties & {}; +export interface AFDOriginProperties extends AFDOriginUpdatePropertiesParameters, AFDStateProperties { +} // @public export interface AfdOrigins { @@ -555,12 +557,13 @@ export { Algorithm_2 as Algorithm } export type AutoGeneratedDomainNameLabelScope = string; // @public -export type AzureFirstPartyManagedCertificate = Certificate & {}; +export interface AzureFirstPartyManagedCertificate extends Certificate { +} // @public -export type AzureFirstPartyManagedCertificateParameters = SecretParameters & { +export interface AzureFirstPartyManagedCertificateParameters extends SecretParameters { type: "AzureFirstPartyManagedCertificate"; -}; +} // @public export type CacheBehavior = string; @@ -607,10 +610,10 @@ export interface CdnEndpoint { } // @public -export type CdnManagedHttpsParameters = CustomDomainHttpsParameters & { +export interface CdnManagedHttpsParameters extends CustomDomainHttpsParameters { certificateSource: "Cdn"; certificateSourceParameters: CdnCertificateSourceParameters; -}; +} // @public (undocumented) export class CdnManagementClient extends coreClient.ServiceClient { @@ -679,17 +682,17 @@ export interface CdnManagementClientOptionalParams extends coreClient.ServiceCli } // @public -export type CdnWebApplicationFirewallPolicy = TrackedResource & { - etag?: string; - sku: Sku; - policySettings?: PolicySettings; - rateLimitRules?: RateLimitRuleList; +export interface CdnWebApplicationFirewallPolicy extends TrackedResource { customRules?: CustomRuleList; - managedRules?: ManagedRuleSetList; readonly endpointLinks?: CdnEndpoint[]; + etag?: string; + managedRules?: ManagedRuleSetList; + policySettings?: PolicySettings; readonly provisioningState?: ProvisioningState; + rateLimitRules?: RateLimitRuleList; readonly resourceState?: PolicyResourceState; -}; + sku: Sku; +} // @public export interface CdnWebApplicationFirewallPolicyList { @@ -859,15 +862,15 @@ export interface CookiesMatchConditionParameters { export type CookiesOperator = string; // @public -export type CustomDomain = ProxyResource & { - hostName?: string; - readonly resourceState?: CustomDomainResourceState; +export interface CustomDomain extends ProxyResource { + customHttpsParameters?: CustomDomainHttpsParametersUnion; readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; - customHttpsParameters?: CustomDomainHttpsParametersUnion; + hostName?: string; + readonly provisioningState?: CustomHttpsProvisioningState; + readonly resourceState?: CustomDomainResourceState; validationData?: string; - readonly provisioningState?: string; -}; +} // @public export interface CustomDomainHttpsParameters { @@ -899,8 +902,10 @@ export interface CustomDomains { beginCreateAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, customDomainProperties: CustomDomainParameters, options?: CustomDomainsCreateOptionalParams): Promise; beginDelete(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise; - disableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise; - enableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise; + beginDisableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise, CustomDomainsDisableCustomHttpsResponse>>; + beginDisableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise; + beginEnableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise, CustomDomainsEnableCustomHttpsResponse>>; + beginEnableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise; get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsGetOptionalParams): Promise; listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: CustomDomainsListByEndpointOptionalParams): PagedAsyncIterableIterator; } @@ -922,6 +927,8 @@ export interface CustomDomainsDeleteOptionalParams extends coreClient.OperationO // @public export interface CustomDomainsDisableCustomHttpsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public @@ -930,6 +937,8 @@ export type CustomDomainsDisableCustomHttpsResponse = CustomDomain; // @public export interface CustomDomainsEnableCustomHttpsOptionalParams extends coreClient.OperationOptions { customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public @@ -957,27 +966,27 @@ export interface CustomDomainsListByEndpointOptionalParams extends coreClient.Op export type CustomDomainsListByEndpointResponse = CustomDomainListResult; // @public -export type CustomerCertificate = Certificate & { +export interface CustomerCertificate extends Certificate { + readonly certificateAuthority?: string; secretSource?: ResourceReference; secretVersion?: string; - readonly certificateAuthority?: string; - useLatestVersion?: boolean; subjectAlternativeNames?: string[]; readonly thumbprint?: string; -}; + useLatestVersion?: boolean; +} // @public -export type CustomerCertificateParameters = SecretParameters & { - type: "CustomerCertificate"; +export interface CustomerCertificateParameters extends SecretParameters { + readonly certificateAuthority?: string; + readonly expirationDate?: string; secretSource: ResourceReference; secretVersion?: string; - useLatestVersion?: boolean; readonly subject?: string; - readonly expirationDate?: string; - readonly certificateAuthority?: string; subjectAlternativeNames?: string[]; readonly thumbprint?: string; -}; + type: "CustomerCertificate"; + useLatestVersion?: boolean; +} // @public export type CustomHttpsProvisioningState = string; @@ -1002,6 +1011,13 @@ export interface CustomRuleList { rules?: CustomRule[]; } +// @public +export interface DeepCreatedCustomDomain { + hostName?: string; + name: string; + validationData?: string; +} + // @public export interface DeepCreatedOrigin { enabled?: boolean; @@ -1051,22 +1067,22 @@ export interface DeliveryRuleActionAutoGenerated { export type DeliveryRuleActionAutoGeneratedUnion = DeliveryRuleActionAutoGenerated | UrlRedirectAction | UrlSigningAction | OriginGroupOverrideAction | UrlRewriteAction | DeliveryRuleRequestHeaderAction | DeliveryRuleResponseHeaderAction | DeliveryRuleCacheExpirationAction | DeliveryRuleCacheKeyQueryStringAction | DeliveryRuleRouteConfigurationOverrideAction; // @public -export type DeliveryRuleCacheExpirationAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleCacheExpirationAction extends DeliveryRuleActionAutoGenerated { name: "CacheExpiration"; parameters: CacheExpirationActionParameters; -}; +} // @public -export type DeliveryRuleCacheKeyQueryStringAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleCacheKeyQueryStringAction extends DeliveryRuleActionAutoGenerated { name: "CacheKeyQueryString"; parameters: CacheKeyQueryStringActionParameters; -}; +} // @public -export type DeliveryRuleClientPortCondition = DeliveryRuleCondition & { +export interface DeliveryRuleClientPortCondition extends DeliveryRuleCondition { name: "ClientPort"; parameters: ClientPortMatchConditionParameters; -}; +} // @public export interface DeliveryRuleCondition { @@ -1077,130 +1093,130 @@ export interface DeliveryRuleCondition { export type DeliveryRuleConditionUnion = DeliveryRuleCondition | DeliveryRuleRemoteAddressCondition | DeliveryRuleRequestMethodCondition | DeliveryRuleQueryStringCondition | DeliveryRulePostArgsCondition | DeliveryRuleRequestUriCondition | DeliveryRuleRequestHeaderCondition | DeliveryRuleRequestBodyCondition | DeliveryRuleRequestSchemeCondition | DeliveryRuleUrlPathCondition | DeliveryRuleUrlFileExtensionCondition | DeliveryRuleUrlFileNameCondition | DeliveryRuleHttpVersionCondition | DeliveryRuleCookiesCondition | DeliveryRuleIsDeviceCondition | DeliveryRuleSocketAddrCondition | DeliveryRuleClientPortCondition | DeliveryRuleServerPortCondition | DeliveryRuleHostNameCondition | DeliveryRuleSslProtocolCondition; // @public -export type DeliveryRuleCookiesCondition = DeliveryRuleCondition & { +export interface DeliveryRuleCookiesCondition extends DeliveryRuleCondition { name: "Cookies"; parameters: CookiesMatchConditionParameters; -}; +} // @public -export type DeliveryRuleHostNameCondition = DeliveryRuleCondition & { +export interface DeliveryRuleHostNameCondition extends DeliveryRuleCondition { name: "HostName"; parameters: HostNameMatchConditionParameters; -}; +} // @public -export type DeliveryRuleHttpVersionCondition = DeliveryRuleCondition & { +export interface DeliveryRuleHttpVersionCondition extends DeliveryRuleCondition { name: "HttpVersion"; parameters: HttpVersionMatchConditionParameters; -}; +} // @public -export type DeliveryRuleIsDeviceCondition = DeliveryRuleCondition & { +export interface DeliveryRuleIsDeviceCondition extends DeliveryRuleCondition { name: "IsDevice"; parameters: IsDeviceMatchConditionParameters; -}; +} // @public -export type DeliveryRulePostArgsCondition = DeliveryRuleCondition & { +export interface DeliveryRulePostArgsCondition extends DeliveryRuleCondition { name: "PostArgs"; parameters: PostArgsMatchConditionParameters; -}; +} // @public -export type DeliveryRuleQueryStringCondition = DeliveryRuleCondition & { +export interface DeliveryRuleQueryStringCondition extends DeliveryRuleCondition { name: "QueryString"; parameters: QueryStringMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRemoteAddressCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRemoteAddressCondition extends DeliveryRuleCondition { name: "RemoteAddress"; parameters: RemoteAddressMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRequestBodyCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestBodyCondition extends DeliveryRuleCondition { name: "RequestBody"; parameters: RequestBodyMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRequestHeaderAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleRequestHeaderAction extends DeliveryRuleActionAutoGenerated { name: "ModifyRequestHeader"; parameters: HeaderActionParameters; -}; +} // @public -export type DeliveryRuleRequestHeaderCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestHeaderCondition extends DeliveryRuleCondition { name: "RequestHeader"; parameters: RequestHeaderMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRequestMethodCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestMethodCondition extends DeliveryRuleCondition { name: "RequestMethod"; parameters: RequestMethodMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRequestSchemeCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestSchemeCondition extends DeliveryRuleCondition { name: "RequestScheme"; parameters: RequestSchemeMatchConditionParameters; -}; +} // @public -export type DeliveryRuleRequestUriCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestUriCondition extends DeliveryRuleCondition { name: "RequestUri"; parameters: RequestUriMatchConditionParameters; -}; +} // @public -export type DeliveryRuleResponseHeaderAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleResponseHeaderAction extends DeliveryRuleActionAutoGenerated { name: "ModifyResponseHeader"; parameters: HeaderActionParameters; -}; +} // @public -export type DeliveryRuleRouteConfigurationOverrideAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleRouteConfigurationOverrideAction extends DeliveryRuleActionAutoGenerated { name: "RouteConfigurationOverride"; parameters: RouteConfigurationOverrideActionParameters; -}; +} // @public -export type DeliveryRuleServerPortCondition = DeliveryRuleCondition & { +export interface DeliveryRuleServerPortCondition extends DeliveryRuleCondition { name: "ServerPort"; parameters: ServerPortMatchConditionParameters; -}; +} // @public -export type DeliveryRuleSocketAddrCondition = DeliveryRuleCondition & { +export interface DeliveryRuleSocketAddrCondition extends DeliveryRuleCondition { name: "SocketAddr"; parameters: SocketAddrMatchConditionParameters; -}; +} // @public -export type DeliveryRuleSslProtocolCondition = DeliveryRuleCondition & { +export interface DeliveryRuleSslProtocolCondition extends DeliveryRuleCondition { name: "SslProtocol"; parameters: SslProtocolMatchConditionParameters; -}; +} // @public -export type DeliveryRuleUrlFileExtensionCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlFileExtensionCondition extends DeliveryRuleCondition { name: "UrlFileExtension"; parameters: UrlFileExtensionMatchConditionParameters; -}; +} // @public -export type DeliveryRuleUrlFileNameCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlFileNameCondition extends DeliveryRuleCondition { name: "UrlFileName"; parameters: UrlFileNameMatchConditionParameters; -}; +} // @public -export type DeliveryRuleUrlPathCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlPathCondition extends DeliveryRuleCondition { name: "UrlPath"; parameters: UrlPathMatchConditionParameters; -}; +} // @public export type DeploymentStatus = string; @@ -1225,9 +1241,9 @@ export interface DomainValidationProperties { export type DomainValidationState = string; // @public -export type EdgeNode = ProxyResource & { +export interface EdgeNode extends ProxyResource { ipAddressGroups?: IpAddressGroup[]; -}; +} // @public export interface EdgenodeResult { @@ -1258,28 +1274,28 @@ export type EdgeNodesListResponse = EdgenodeResult; export type EnabledState = string; // @public -export type Endpoint = TrackedResource & { - originPath?: string; +export interface Endpoint extends TrackedResource { contentTypesToCompress?: string[]; - originHostHeader?: string; + readonly customDomains?: DeepCreatedCustomDomain[]; + defaultOriginGroup?: ResourceReference; + deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; + geoFilters?: GeoFilter[]; + readonly hostName?: string; isCompressionEnabled?: boolean; isHttpAllowed?: boolean; isHttpsAllowed?: boolean; - queryStringCachingBehavior?: QueryStringCachingBehavior; optimizationType?: OptimizationType; + originGroups?: DeepCreatedOriginGroup[]; + originHostHeader?: string; + originPath?: string; + origins?: DeepCreatedOrigin[]; probePath?: string; - geoFilters?: GeoFilter[]; - defaultOriginGroup?: ResourceReference; + readonly provisioningState?: EndpointProvisioningState; + queryStringCachingBehavior?: QueryStringCachingBehavior; + readonly resourceState?: EndpointResourceState; urlSigningKeys?: UrlSigningKey[]; - deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; webApplicationFirewallPolicyLink?: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink; - readonly hostName?: string; - origins?: DeepCreatedOrigin[]; - originGroups?: DeepCreatedOriginGroup[]; - readonly customDomains?: CustomDomain[]; - readonly resourceState?: EndpointResourceState; - readonly provisioningState?: string; -}; +} // @public export interface EndpointListResult { @@ -1288,14 +1304,14 @@ export interface EndpointListResult { } // @public -export type EndpointProperties = EndpointPropertiesUpdateParameters & { +export interface EndpointProperties extends EndpointPropertiesUpdateParameters { + readonly customDomains?: DeepCreatedCustomDomain[]; readonly hostName?: string; - origins: DeepCreatedOrigin[]; originGroups?: DeepCreatedOriginGroup[]; - readonly customDomains?: CustomDomain[]; + origins: DeepCreatedOrigin[]; + readonly provisioningState?: EndpointProvisioningState; readonly resourceState?: EndpointResourceState; - readonly provisioningState?: string; -}; +} // @public export interface EndpointPropertiesUpdateParameters { @@ -1326,6 +1342,9 @@ export interface EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyL id?: string; } +// @public +export type EndpointProvisioningState = string; + // @public export type EndpointResourceState = string; @@ -1501,6 +1520,9 @@ export interface GeoFilter { // @public export type GeoFilterActions = "Block" | "Allow"; +// @public +export function getContinuationToken(page: unknown): string | undefined; + // @public export type HeaderAction = string; @@ -1611,1259 +1633,859 @@ export interface KeyVaultSigningKeyParameters { // @public export enum KnownActionType { - // (undocumented) Allow = "Allow", - // (undocumented) Block = "Block", - // (undocumented) Log = "Log", - // (undocumented) Redirect = "Redirect" } // @public export enum KnownAfdCertificateType { - // (undocumented) AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate", - // (undocumented) CustomerCertificate = "CustomerCertificate", - // (undocumented) ManagedCertificate = "ManagedCertificate" } // @public export enum KnownAFDEndpointProtocols { - // (undocumented) Http = "Http", - // (undocumented) Https = "Https" } // @public export enum KnownAfdProvisioningState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Succeeded = "Succeeded", - // (undocumented) Updating = "Updating" } // @public export enum KnownAfdQueryStringCachingBehavior { - // (undocumented) IgnoreQueryString = "IgnoreQueryString", - // (undocumented) IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", - // (undocumented) IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings", - // (undocumented) UseQueryString = "UseQueryString" } // @public export enum KnownAlgorithm { - // (undocumented) SHA256 = "SHA256" } // @public export enum KnownAutoGeneratedDomainNameLabelScope { - // (undocumented) NoReuse = "NoReuse", - // (undocumented) ResourceGroupReuse = "ResourceGroupReuse", - // (undocumented) SubscriptionReuse = "SubscriptionReuse", - // (undocumented) TenantReuse = "TenantReuse" } // @public export enum KnownCacheBehavior { - // (undocumented) BypassCache = "BypassCache", - // (undocumented) Override = "Override", - // (undocumented) SetIfMissing = "SetIfMissing" } // @public export enum KnownCacheType { - // (undocumented) All = "All" } // @public export enum KnownCertificateSource { - // (undocumented) AzureKeyVault = "AzureKeyVault", - // (undocumented) Cdn = "Cdn" } // @public export enum KnownCertificateType { - // (undocumented) Dedicated = "Dedicated", - // (undocumented) Shared = "Shared" } // @public export enum KnownClientPortOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownCookiesOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownCustomDomainResourceState { - // (undocumented) Active = "Active", - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting" } // @public export enum KnownCustomHttpsProvisioningState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Disabling = "Disabling", - // (undocumented) Enabled = "Enabled", - // (undocumented) Enabling = "Enabling", - // (undocumented) Failed = "Failed" } // @public export enum KnownCustomHttpsProvisioningSubstate { - // (undocumented) CertificateDeleted = "CertificateDeleted", - // (undocumented) CertificateDeployed = "CertificateDeployed", - // (undocumented) DeletingCertificate = "DeletingCertificate", - // (undocumented) DeployingCertificate = "DeployingCertificate", - // (undocumented) DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved", - // (undocumented) DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected", - // (undocumented) DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut", - // (undocumented) IssuingCertificate = "IssuingCertificate", - // (undocumented) PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval", - // (undocumented) SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest" } // @public export enum KnownCustomRuleEnabledState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownDeleteRule { - // (undocumented) NoAction = "NoAction" } // @public export enum KnownDeliveryRuleAction { - // (undocumented) CacheExpiration = "CacheExpiration", - // (undocumented) CacheKeyQueryString = "CacheKeyQueryString", - // (undocumented) ModifyRequestHeader = "ModifyRequestHeader", - // (undocumented) ModifyResponseHeader = "ModifyResponseHeader", - // (undocumented) OriginGroupOverride = "OriginGroupOverride", - // (undocumented) RouteConfigurationOverride = "RouteConfigurationOverride", - // (undocumented) UrlRedirect = "UrlRedirect", - // (undocumented) UrlRewrite = "UrlRewrite", - // (undocumented) UrlSigning = "UrlSigning" } // @public export enum KnownDeploymentStatus { - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) NotStarted = "NotStarted", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownDestinationProtocol { - // (undocumented) Http = "Http", - // (undocumented) Https = "Https", - // (undocumented) MatchRequest = "MatchRequest" } // @public export enum KnownDomainValidationState { - // (undocumented) Approved = "Approved", - // (undocumented) InternalError = "InternalError", - // (undocumented) Pending = "Pending", - // (undocumented) PendingRevalidation = "PendingRevalidation", - // (undocumented) RefreshingValidationToken = "RefreshingValidationToken", - // (undocumented) Rejected = "Rejected", - // (undocumented) Submitting = "Submitting", - // (undocumented) TimedOut = "TimedOut", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownEnabledState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } +// @public +export enum KnownEndpointProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownEndpointResourceState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Running = "Running", - // (undocumented) Starting = "Starting", - // (undocumented) Stopped = "Stopped", - // (undocumented) Stopping = "Stopping" } // @public export enum KnownForwardingProtocol { - // (undocumented) HttpOnly = "HttpOnly", - // (undocumented) HttpsOnly = "HttpsOnly", - // (undocumented) MatchRequest = "MatchRequest" } // @public export enum KnownHeaderAction { - // (undocumented) Append = "Append", - // (undocumented) Delete = "Delete", - // (undocumented) Overwrite = "Overwrite" } // @public export enum KnownHostNameOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownHttpsRedirect { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownHttpVersionOperator { - // (undocumented) Equal = "Equal" } // @public export enum KnownIdentityType { - // (undocumented) Application = "application", - // (undocumented) Key = "key", - // (undocumented) ManagedIdentity = "managedIdentity", - // (undocumented) User = "user" } // @public export enum KnownIsDeviceMatchConditionParametersMatchValuesItem { - // (undocumented) Desktop = "Desktop", - // (undocumented) Mobile = "Mobile" } // @public export enum KnownIsDeviceOperator { - // (undocumented) Equal = "Equal" } // @public export enum KnownLinkToDefaultDomain { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownLogMetric { - // (undocumented) ClientRequestBandwidth = "clientRequestBandwidth", - // (undocumented) ClientRequestCount = "clientRequestCount", - // (undocumented) ClientRequestTraffic = "clientRequestTraffic", - // (undocumented) OriginRequestBandwidth = "originRequestBandwidth", - // (undocumented) OriginRequestTraffic = "originRequestTraffic", - // (undocumented) TotalLatency = "totalLatency" } // @public export enum KnownLogMetricsGranularity { - // (undocumented) P1D = "P1D", - // (undocumented) PT1H = "PT1H", - // (undocumented) PT5M = "PT5M" } // @public export enum KnownLogMetricsGroupBy { - // (undocumented) CacheStatus = "cacheStatus", - // (undocumented) CountryOrRegion = "countryOrRegion", - // (undocumented) CustomDomain = "customDomain", - // (undocumented) HttpStatusCode = "httpStatusCode", - // (undocumented) Protocol = "protocol" } // @public export enum KnownLogRanking { - // (undocumented) Browser = "browser", - // (undocumented) CountryOrRegion = "countryOrRegion", - // (undocumented) Referrer = "referrer", - // (undocumented) Url = "url", - // (undocumented) UserAgent = "userAgent" } // @public export enum KnownLogRankingMetric { - // (undocumented) ClientRequestCount = "clientRequestCount", - // (undocumented) ClientRequestTraffic = "clientRequestTraffic", - // (undocumented) ErrorCount = "errorCount", - // (undocumented) HitCount = "hitCount", - // (undocumented) MissCount = "missCount", - // (undocumented) UserErrorCount = "userErrorCount" } // @public export enum KnownManagedRuleEnabledState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownMatchProcessingBehavior { - // (undocumented) Continue = "Continue", - // (undocumented) Stop = "Stop" } // @public export enum KnownMatchVariable { - // (undocumented) ClientPort = "ClientPort", - // (undocumented) Cookies = "Cookies", - // (undocumented) HostName = "HostName", - // (undocumented) HttpVersion = "HttpVersion", - // (undocumented) IsDevice = "IsDevice", - // (undocumented) PostArgs = "PostArgs", - // (undocumented) QueryString = "QueryString", - // (undocumented) RemoteAddress = "RemoteAddress", - // (undocumented) RequestBody = "RequestBody", - // (undocumented) RequestHeader = "RequestHeader", - // (undocumented) RequestMethod = "RequestMethod", - // (undocumented) RequestScheme = "RequestScheme", - // (undocumented) RequestUri = "RequestUri", - // (undocumented) ServerPort = "ServerPort", - // (undocumented) SocketAddr = "SocketAddr", - // (undocumented) SslProtocol = "SslProtocol", - // (undocumented) UrlFileExtension = "UrlFileExtension", - // (undocumented) UrlFileName = "UrlFileName", - // (undocumented) UrlPath = "UrlPath" } // @public export enum KnownMetricsResponseGranularity { - // (undocumented) P1D = "P1D", - // (undocumented) PT1H = "PT1H", - // (undocumented) PT5M = "PT5M" } // @public export enum KnownMetricsResponseSeriesItemUnit { - // (undocumented) BitsPerSecond = "bitsPerSecond", - // (undocumented) Bytes = "bytes", - // (undocumented) Count = "count", - // (undocumented) MilliSeconds = "milliSeconds" } // @public export enum KnownOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GeoMatch = "GeoMatch", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) IPMatch = "IPMatch", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownOptimizationType { - // (undocumented) DynamicSiteAcceleration = "DynamicSiteAcceleration", - // (undocumented) GeneralMediaStreaming = "GeneralMediaStreaming", - // (undocumented) GeneralWebDelivery = "GeneralWebDelivery", - // (undocumented) LargeFileDownload = "LargeFileDownload", - // (undocumented) VideoOnDemandMediaStreaming = "VideoOnDemandMediaStreaming" } +// @public +export enum KnownOriginGroupProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownOriginGroupResourceState { - // (undocumented) Active = "Active", - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting" } +// @public +export enum KnownOriginProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownOriginResourceState { - // (undocumented) Active = "Active", - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting" } // @public export enum KnownParamIndicator { - // (undocumented) Expires = "Expires", - // (undocumented) KeyId = "KeyId", - // (undocumented) Signature = "Signature" } // @public export enum KnownPolicyEnabledState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownPolicyMode { - // (undocumented) Detection = "Detection", - // (undocumented) Prevention = "Prevention" } // @public export enum KnownPolicyResourceState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Disabled = "Disabled", - // (undocumented) Disabling = "Disabling", - // (undocumented) Enabled = "Enabled", - // (undocumented) Enabling = "Enabling" } // @public export enum KnownPolicySettingsDefaultCustomBlockResponseStatusCode { - // (undocumented) FourHundredFive = 405, - // (undocumented) FourHundredSix = 406, - // (undocumented) FourHundredThree = 403, - // (undocumented) FourHundredTwentyNine = 429, - // (undocumented) TwoHundred = 200 } // @public export enum KnownPostArgsOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownPrivateEndpointStatus { - // (undocumented) Approved = "Approved", - // (undocumented) Disconnected = "Disconnected", - // (undocumented) Pending = "Pending", - // (undocumented) Rejected = "Rejected", - // (undocumented) Timeout = "Timeout" } +// @public +export enum KnownProfileProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownProfileResourceState { - // (undocumented) Active = "Active", - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Disabled = "Disabled" } // @public export enum KnownProtocolType { - // (undocumented) IPBased = "IPBased", - // (undocumented) ServerNameIndication = "ServerNameIndication" } // @public export enum KnownProvisioningState { - // (undocumented) Creating = "Creating", - // (undocumented) Failed = "Failed", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownQueryStringBehavior { - // (undocumented) Exclude = "Exclude", - // (undocumented) ExcludeAll = "ExcludeAll", - // (undocumented) Include = "Include", - // (undocumented) IncludeAll = "IncludeAll" } // @public export enum KnownQueryStringOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownRedirectType { - // (undocumented) Found = "Found", - // (undocumented) Moved = "Moved", - // (undocumented) PermanentRedirect = "PermanentRedirect", - // (undocumented) TemporaryRedirect = "TemporaryRedirect" } // @public export enum KnownRemoteAddressOperator { - // (undocumented) Any = "Any", - // (undocumented) GeoMatch = "GeoMatch", - // (undocumented) IPMatch = "IPMatch" } // @public export enum KnownRequestBodyOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownRequestHeaderOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownRequestMethodMatchConditionParametersMatchValuesItem { - // (undocumented) Delete = "DELETE", - // (undocumented) GET = "GET", - // (undocumented) Head = "HEAD", - // (undocumented) Options = "OPTIONS", - // (undocumented) Post = "POST", - // (undocumented) PUT = "PUT", - // (undocumented) Trace = "TRACE" } // @public export enum KnownRequestMethodOperator { - // (undocumented) Equal = "Equal" } // @public export enum KnownRequestSchemeMatchConditionParametersMatchValuesItem { - // (undocumented) Http = "HTTP", - // (undocumented) Https = "HTTPS" } // @public export enum KnownRequestUriOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownResourceType { - // (undocumented) MicrosoftCdnProfilesAfdEndpoints = "Microsoft.Cdn/Profiles/AfdEndpoints", - // (undocumented) MicrosoftCdnProfilesEndpoints = "Microsoft.Cdn/Profiles/Endpoints" } +// @public +export enum KnownResourceUsageUnit { + Count = "count" +} + // @public export enum KnownRuleCacheBehavior { - // (undocumented) HonorOrigin = "HonorOrigin", - // (undocumented) OverrideAlways = "OverrideAlways", - // (undocumented) OverrideIfOriginMissing = "OverrideIfOriginMissing" } // @public export enum KnownRuleIsCompressionEnabled { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownRuleQueryStringCachingBehavior { - // (undocumented) IgnoreQueryString = "IgnoreQueryString", - // (undocumented) IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", - // (undocumented) IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings", - // (undocumented) UseQueryString = "UseQueryString" } // @public export enum KnownSecretType { - // (undocumented) AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate", - // (undocumented) CustomerCertificate = "CustomerCertificate", - // (undocumented) ManagedCertificate = "ManagedCertificate", - // (undocumented) UrlSigningKey = "UrlSigningKey" } // @public export enum KnownSecurityPolicyType { - // (undocumented) WebApplicationFirewall = "WebApplicationFirewall" } // @public export enum KnownServerPortOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownSkuName { - // (undocumented) CustomVerizon = "Custom_Verizon", - // (undocumented) PremiumAzureFrontDoor = "Premium_AzureFrontDoor", - // (undocumented) PremiumVerizon = "Premium_Verizon", - // (undocumented) Standard955BandWidthChinaCdn = "Standard_955BandWidth_ChinaCdn", - // (undocumented) StandardAkamai = "Standard_Akamai", - // (undocumented) StandardAvgBandWidthChinaCdn = "Standard_AvgBandWidth_ChinaCdn", - // (undocumented) StandardAzureFrontDoor = "Standard_AzureFrontDoor", - // (undocumented) StandardChinaCdn = "Standard_ChinaCdn", - // (undocumented) StandardMicrosoft = "Standard_Microsoft", - // (undocumented) StandardPlus955BandWidthChinaCdn = "StandardPlus_955BandWidth_ChinaCdn", - // (undocumented) StandardPlusAvgBandWidthChinaCdn = "StandardPlus_AvgBandWidth_ChinaCdn", - // (undocumented) StandardPlusChinaCdn = "StandardPlus_ChinaCdn", - // (undocumented) StandardVerizon = "Standard_Verizon" } // @public export enum KnownSocketAddrOperator { - // (undocumented) Any = "Any", - // (undocumented) IPMatch = "IPMatch" } // @public export enum KnownSslProtocol { - // (undocumented) TLSv1 = "TLSv1", - // (undocumented) TLSv11 = "TLSv1.1", - // (undocumented) TLSv12 = "TLSv1.2" } // @public export enum KnownSslProtocolOperator { - // (undocumented) Equal = "Equal" } // @public export enum KnownStatus { - // (undocumented) AccessDenied = "AccessDenied", - // (undocumented) CertificateExpired = "CertificateExpired", - // (undocumented) Invalid = "Invalid", - // (undocumented) Valid = "Valid" } // @public export enum KnownTransform { - // (undocumented) Lowercase = "Lowercase", - // (undocumented) RemoveNulls = "RemoveNulls", - // (undocumented) Trim = "Trim", - // (undocumented) Uppercase = "Uppercase", - // (undocumented) UrlDecode = "UrlDecode", - // (undocumented) UrlEncode = "UrlEncode" } // @public export enum KnownTransformType { - // (undocumented) Lowercase = "Lowercase", - // (undocumented) RemoveNulls = "RemoveNulls", - // (undocumented) Trim = "Trim", - // (undocumented) Uppercase = "Uppercase", - // (undocumented) UrlDecode = "UrlDecode", - // (undocumented) UrlEncode = "UrlEncode" } // @public export enum KnownUpdateRule { - // (undocumented) NoAction = "NoAction" } // @public export enum KnownUrlFileExtensionOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownUrlFileNameOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx" } // @public export enum KnownUrlPathOperator { - // (undocumented) Any = "Any", - // (undocumented) BeginsWith = "BeginsWith", - // (undocumented) Contains = "Contains", - // (undocumented) EndsWith = "EndsWith", - // (undocumented) Equal = "Equal", - // (undocumented) GreaterThan = "GreaterThan", - // (undocumented) GreaterThanOrEqual = "GreaterThanOrEqual", - // (undocumented) LessThan = "LessThan", - // (undocumented) LessThanOrEqual = "LessThanOrEqual", - // (undocumented) RegEx = "RegEx", - // (undocumented) Wildcard = "Wildcard" } // @public export enum KnownUsageUnit { - // (undocumented) Count = "Count" } // @public export enum KnownWafAction { - // (undocumented) Allow = "allow", - // (undocumented) Block = "block", - // (undocumented) Log = "log", - // (undocumented) Redirect = "redirect" } // @public export enum KnownWafGranularity { - // (undocumented) P1D = "P1D", - // (undocumented) PT1H = "PT1H", - // (undocumented) PT5M = "PT5M" } // @public export enum KnownWafMatchVariable { - // (undocumented) Cookies = "Cookies", - // (undocumented) PostArgs = "PostArgs", - // (undocumented) QueryString = "QueryString", - // (undocumented) RemoteAddr = "RemoteAddr", - // (undocumented) RequestBody = "RequestBody", - // (undocumented) RequestHeader = "RequestHeader", - // (undocumented) RequestMethod = "RequestMethod", - // (undocumented) RequestUri = "RequestUri", - // (undocumented) SocketAddr = "SocketAddr" } // @public export enum KnownWafMetric { - // (undocumented) ClientRequestCount = "clientRequestCount" } // @public export enum KnownWafMetricsResponseGranularity { - // (undocumented) P1D = "P1D", - // (undocumented) PT1H = "PT1H", - // (undocumented) PT5M = "PT5M" } // @public export enum KnownWafRankingGroupBy { - // (undocumented) CustomDomain = "customDomain", - // (undocumented) HttpStatusCode = "httpStatusCode" } // @public export enum KnownWafRankingType { - // (undocumented) Action = "action", - // (undocumented) ClientIp = "clientIp", - // (undocumented) CountryOrRegion = "countryOrRegion", - // (undocumented) RuleGroup = "ruleGroup", - // (undocumented) RuleId = "ruleId", - // (undocumented) RuleType = "ruleType", - // (undocumented) Url = "url", - // (undocumented) UserAgent = "userAgent" } // @public export enum KnownWafRuleType { - // (undocumented) Bot = "bot", - // (undocumented) Custom = "custom", - // (undocumented) Managed = "managed" } @@ -2967,14 +2589,15 @@ export interface LogSpecification { } // @public -export type ManagedCertificate = Certificate & {}; +export interface ManagedCertificate extends Certificate { +} // @public -export type ManagedCertificateParameters = SecretParameters & { - type: "ManagedCertificate"; - readonly subject?: string; +export interface ManagedCertificateParameters extends SecretParameters { readonly expirationDate?: string; -}; + readonly subject?: string; + type: "ManagedCertificate"; +} // @public export interface ManagedRuleDefinition { @@ -3014,13 +2637,13 @@ export interface ManagedRuleSet { } // @public -export type ManagedRuleSetDefinition = Resource & { - sku?: Sku; +export interface ManagedRuleSetDefinition extends Resource { readonly provisioningState?: string; + readonly ruleGroups?: ManagedRuleGroupDefinition[]; readonly ruleSetType?: string; readonly ruleSetVersion?: string; - readonly ruleGroups?: ManagedRuleGroupDefinition[]; -}; + sku?: Sku; +} // @public export interface ManagedRuleSetDefinitionList { @@ -3181,32 +2804,32 @@ export type Operator = string; export type OptimizationType = string; // @public -export type Origin = ProxyResource & { +export interface Origin extends ProxyResource { + enabled?: boolean; hostName?: string; httpPort?: number; httpsPort?: number; originHostHeader?: string; priority?: number; - weight?: number; - enabled?: boolean; + readonly privateEndpointStatus?: PrivateEndpointStatus; privateLinkAlias?: string; - privateLinkResourceId?: string; - privateLinkLocation?: string; privateLinkApprovalMessage?: string; + privateLinkLocation?: string; + privateLinkResourceId?: string; + readonly provisioningState?: OriginProvisioningState; readonly resourceState?: OriginResourceState; - readonly provisioningState?: string; - readonly privateEndpointStatus?: PrivateEndpointStatus; -}; + weight?: number; +} // @public -export type OriginGroup = ProxyResource & { +export interface OriginGroup extends ProxyResource { healthProbeSettings?: HealthProbeParameters; origins?: ResourceReference[]; - trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; - responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + readonly provisioningState?: OriginGroupProvisioningState; readonly resourceState?: OriginGroupResourceState; - readonly provisioningState?: string; -}; + responseBasedOriginErrorDetectionSettings?: ResponseBasedOriginErrorDetectionParameters; + trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number; +} // @public export interface OriginGroupListResult { @@ -3221,10 +2844,10 @@ export interface OriginGroupOverride { } // @public -export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { +export interface OriginGroupOverrideAction extends DeliveryRuleActionAutoGenerated { name: "OriginGroupOverride"; parameters: OriginGroupOverrideActionParameters; -}; +} // @public export interface OriginGroupOverrideActionParameters { @@ -3234,10 +2857,13 @@ export interface OriginGroupOverrideActionParameters { } // @public -export type OriginGroupProperties = OriginGroupUpdatePropertiesParameters & { +export interface OriginGroupProperties extends OriginGroupUpdatePropertiesParameters { + readonly provisioningState?: OriginGroupProvisioningState; readonly resourceState?: OriginGroupResourceState; - readonly provisioningState?: string; -}; +} + +// @public +export type OriginGroupProvisioningState = string; // @public export type OriginGroupResourceState = string; @@ -3322,11 +2948,14 @@ export interface OriginListResult { } // @public -export type OriginProperties = OriginUpdatePropertiesParameters & { - readonly resourceState?: OriginResourceState; - readonly provisioningState?: string; +export interface OriginProperties extends OriginUpdatePropertiesParameters { readonly privateEndpointStatus?: PrivateEndpointStatus; -}; + readonly provisioningState?: OriginProvisioningState; + readonly resourceState?: OriginResourceState; +} + +// @public +export type OriginProvisioningState = string; // @public export type OriginResourceState = string; @@ -3517,14 +3146,14 @@ export type PrivateEndpointStatus = string; export type ProbeProtocol = "NotSet" | "Http" | "Https"; // @public -export type Profile = TrackedResource & { - sku: Sku; - readonly kind?: string; - readonly resourceState?: ProfileResourceState; - readonly provisioningState?: string; +export interface Profile extends TrackedResource { readonly frontDoorId?: string; + readonly kind?: string; originResponseTimeoutSeconds?: number; -}; + readonly provisioningState?: ProfileProvisioningState; + readonly resourceState?: ProfileResourceState; + sku: Sku; +} // @public export interface ProfileListResult { @@ -3532,6 +3161,9 @@ export interface ProfileListResult { readonly value?: Profile[]; } +// @public +export type ProfileProvisioningState = string; + // @public export type ProfileResourceState = string; @@ -3653,7 +3285,8 @@ export type ProtocolType = string; export type ProvisioningState = string; // @public -export type ProxyResource = Resource & {}; +export interface ProxyResource extends Resource { +} // @public export interface PurgeParameters { @@ -3716,10 +3349,10 @@ export interface RankingsResponseTablesPropertiesItemsMetricsItem { } // @public -export type RateLimitRule = CustomRule & { - rateLimitThreshold: number; +export interface RateLimitRule extends CustomRule { rateLimitDurationInMinutes: number; -}; + rateLimitThreshold: number; +} // @public export interface RateLimitRuleList { @@ -3876,7 +3509,7 @@ export interface ResourceUsage { readonly currentValue?: number; readonly limit?: number; readonly resourceType?: string; - readonly unit?: string; + readonly unit?: ResourceUsageUnit; } // @public @@ -3904,6 +3537,9 @@ export interface ResourceUsageOperations { list(options?: ResourceUsageListOptionalParams): PagedAsyncIterableIterator; } +// @public +export type ResourceUsageUnit = string; + // @public export type ResponseBasedDetectedErrorTypes = "None" | "TcpErrorsOnly" | "TcpAndHttpErrors"; @@ -3915,22 +3551,22 @@ export interface ResponseBasedOriginErrorDetectionParameters { } // @public -export type Route = ProxyResource & { - readonly endpointName?: string; +export interface Route extends ProxyResource { + cacheConfiguration?: AfdRouteCacheConfiguration; customDomains?: ActivatedResourceReference[]; + readonly deploymentStatus?: DeploymentStatus; + enabledState?: EnabledState; + readonly endpointName?: string; + forwardingProtocol?: ForwardingProtocol; + httpsRedirect?: HttpsRedirect; + linkToDefaultDomain?: LinkToDefaultDomain; originGroup?: ResourceReference; originPath?: string; - ruleSets?: ResourceReference[]; - supportedProtocols?: AFDEndpointProtocols[]; patternsToMatch?: string[]; - cacheConfiguration?: AfdRouteCacheConfiguration; - forwardingProtocol?: ForwardingProtocol; - linkToDefaultDomain?: LinkToDefaultDomain; - httpsRedirect?: HttpsRedirect; - enabledState?: EnabledState; readonly provisioningState?: AfdProvisioningState; - readonly deploymentStatus?: DeploymentStatus; -}; + ruleSets?: ResourceReference[]; + supportedProtocols?: AFDEndpointProtocols[]; +} // @public export interface RouteConfigurationOverrideActionParameters { @@ -3947,7 +3583,8 @@ export interface RouteListResult { } // @public -export type RouteProperties = RouteUpdatePropertiesParameters & AFDStateProperties & {}; +export interface RouteProperties extends RouteUpdatePropertiesParameters, AFDStateProperties { +} // @public export interface Routes { @@ -4039,15 +3676,15 @@ export interface RouteUpdatePropertiesParameters { } // @public -export type Rule = ProxyResource & { - readonly ruleSetName?: string; - order?: number; - conditions?: DeliveryRuleConditionUnion[]; +export interface Rule extends ProxyResource { actions?: DeliveryRuleActionAutoGeneratedUnion[]; + conditions?: DeliveryRuleConditionUnion[]; + readonly deploymentStatus?: DeploymentStatus; matchProcessingBehavior?: MatchProcessingBehavior; + order?: number; readonly provisioningState?: AfdProvisioningState; - readonly deploymentStatus?: DeploymentStatus; -}; + readonly ruleSetName?: string; +} // @public export type RuleCacheBehavior = string; @@ -4062,7 +3699,8 @@ export interface RuleListResult { } // @public -export type RuleProperties = RuleUpdatePropertiesParameters & AFDStateProperties & {}; +export interface RuleProperties extends RuleUpdatePropertiesParameters, AFDStateProperties { +} // @public export type RuleQueryStringCachingBehavior = string; @@ -4095,11 +3733,11 @@ export interface RulesDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export type RuleSet = ProxyResource & { - readonly provisioningState?: AfdProvisioningState; +export interface RuleSet extends ProxyResource { readonly deploymentStatus?: DeploymentStatus; readonly profileName?: string; -}; + readonly provisioningState?: AfdProvisioningState; +} // @public export interface RuleSetListResult { @@ -4108,9 +3746,9 @@ export interface RuleSetListResult { } // @public -export type RuleSetProperties = AFDStateProperties & { +export interface RuleSetProperties extends AFDStateProperties { readonly profileName?: string; -}; +} // @public export interface RuleSets { @@ -4219,12 +3857,12 @@ export interface RuleUpdatePropertiesParameters { } // @public -export type Secret = ProxyResource & { - readonly provisioningState?: AfdProvisioningState; +export interface Secret extends ProxyResource { readonly deploymentStatus?: DeploymentStatus; - readonly profileName?: string; parameters?: SecretParametersUnion; -}; + readonly profileName?: string; + readonly provisioningState?: AfdProvisioningState; +} // @public export interface SecretListResult { @@ -4241,10 +3879,10 @@ export interface SecretParameters { export type SecretParametersUnion = SecretParameters | UrlSigningKeyParameters | ManagedCertificateParameters | CustomerCertificateParameters | AzureFirstPartyManagedCertificateParameters; // @public -export type SecretProperties = AFDStateProperties & { - readonly profileName?: string; +export interface SecretProperties extends AFDStateProperties { parameters?: SecretParametersUnion; -}; + readonly profileName?: string; +} // @public export interface Secrets { @@ -4353,12 +3991,12 @@ export interface SecurityPoliciesPatchOptionalParams extends coreClient.Operatio export type SecurityPoliciesPatchResponse = SecurityPolicy; // @public -export type SecurityPolicy = ProxyResource & { - readonly provisioningState?: AfdProvisioningState; +export interface SecurityPolicy extends ProxyResource { readonly deploymentStatus?: DeploymentStatus; - readonly profileName?: string; parameters?: SecurityPolicyPropertiesParametersUnion; -}; + readonly profileName?: string; + readonly provisioningState?: AfdProvisioningState; +} // @public export interface SecurityPolicyListResult { @@ -4367,10 +4005,10 @@ export interface SecurityPolicyListResult { } // @public -export type SecurityPolicyProperties = AFDStateProperties & { - readonly profileName?: string; +export interface SecurityPolicyProperties extends AFDStateProperties { parameters?: SecurityPolicyPropertiesParametersUnion; -}; + readonly profileName?: string; +} // @public export interface SecurityPolicyPropertiesParameters { @@ -4395,11 +4033,11 @@ export interface SecurityPolicyWebApplicationFirewallAssociation { } // @public -export type SecurityPolicyWebApplicationFirewallParameters = SecurityPolicyPropertiesParameters & { +export interface SecurityPolicyWebApplicationFirewallParameters extends SecurityPolicyPropertiesParameters { + associations?: SecurityPolicyWebApplicationFirewallAssociation[]; type: "WebApplicationFirewall"; wafPolicy?: ResourceReference; - associations?: SecurityPolicyWebApplicationFirewallAssociation[]; -}; +} // @public export interface ServerPortMatchConditionParameters { @@ -4493,12 +4131,12 @@ export interface SystemData { } // @public -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { location: string; tags?: { [propertyName: string]: string; }; -}; +} // @public export type Transform = string; @@ -4549,10 +4187,10 @@ export interface UrlPathMatchConditionParameters { export type UrlPathOperator = string; // @public -export type UrlRedirectAction = DeliveryRuleActionAutoGenerated & { +export interface UrlRedirectAction extends DeliveryRuleActionAutoGenerated { name: "UrlRedirect"; parameters: UrlRedirectActionParameters; -}; +} // @public export interface UrlRedirectActionParameters { @@ -4567,10 +4205,10 @@ export interface UrlRedirectActionParameters { } // @public -export type UrlRewriteAction = DeliveryRuleActionAutoGenerated & { +export interface UrlRewriteAction extends DeliveryRuleActionAutoGenerated { name: "UrlRewrite"; parameters: UrlRewriteActionParameters; -}; +} // @public export interface UrlRewriteActionParameters { @@ -4582,10 +4220,10 @@ export interface UrlRewriteActionParameters { } // @public -export type UrlSigningAction = DeliveryRuleActionAutoGenerated & { +export interface UrlSigningAction extends DeliveryRuleActionAutoGenerated { name: "UrlSigning"; parameters: UrlSigningActionParameters; -}; +} // @public export interface UrlSigningActionParameters { @@ -4602,12 +4240,12 @@ export interface UrlSigningKey { } // @public -export type UrlSigningKeyParameters = SecretParameters & { - type: "UrlSigningKey"; +export interface UrlSigningKeyParameters extends SecretParameters { keyId: string; secretSource: ResourceReference; secretVersion?: string; -}; + type: "UrlSigningKey"; +} // @public export interface UrlSigningParamIdentifier { @@ -4640,10 +4278,10 @@ export interface UsagesListResult { export type UsageUnit = string; // @public -export type UserManagedHttpsParameters = CustomDomainHttpsParameters & { +export interface UserManagedHttpsParameters extends CustomDomainHttpsParameters { certificateSource: "AzureKeyVault"; certificateSourceParameters: KeyVaultCertificateSourceParameters; -}; +} // @public export interface Validate { diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsCreateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsDeleteSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsGetSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsGetSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsRefreshValidationTokenSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsRefreshValidationTokenSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsUpdateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdCustomDomainsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdCustomDomainsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsCreateSample.ts similarity index 98% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsCreateSample.ts index 39c23930e103..b64bbf0c7169 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsCreateSample.ts @@ -25,7 +25,7 @@ async function afdEndpointsCreate() { const endpoint: AFDEndpoint = { autoGeneratedDomainNameLabelScope: "TenantReuse", enabledState: "Enabled", - location: "CentralUs", + location: "global", tags: {} }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsDeleteSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsGetSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsGetSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsListResourceUsageSample.ts similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsListResourceUsageSample.ts index c9bf617db935..6b6a207484b4 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json */ async function afdEndpointsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsPurgeContentSample.ts similarity index 95% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsPurgeContentSample.ts index 94c7cb557578..41edc7c4b9a9 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsPurgeContentSample.ts @@ -24,7 +24,7 @@ async function afdEndpointsPurgeContent() { const endpointName = "endpoint1"; const contents: AfdPurgeParameters = { contentPaths: ["/folder1"], - domains: ["endpoint1.azureedge.net"] + domains: ["endpoint1-abcdefghijklmnop.z01.azurefd.net"] }; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsUpdateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsValidateCustomDomainSample.ts similarity index 88% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdEndpointsValidateCustomDomainSample.ts index 09b825a2c5f1..484290be5fbb 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdEndpointsValidateCustomDomainSample.ts @@ -12,9 +12,9 @@ import { ValidateCustomDomainInput, CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json */ async function endpointsValidateCustomDomain() { diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsCreateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsDeleteSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsGetSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsGetSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsListResourceUsageSample.ts similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsListResourceUsageSample.ts index c6f144efd64e..2f289ca73c17 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json */ async function afdOriginGroupsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsUpdateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginGroupsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsCreateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsDeleteSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsGetSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsGetSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginsListByOriginGroupSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginsListByOriginGroupSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsUpdateSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdOriginsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdOriginsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts b/sdk/cdn/arm-cdn/samples-dev/afdProfilesCheckHostNameAvailabilitySample.ts similarity index 84% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdProfilesCheckHostNameAvailabilitySample.ts index 677038444002..f53377f733ff 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdProfilesCheckHostNameAvailabilitySample.ts @@ -15,9 +15,9 @@ import { import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Check the name availability of a host name. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Check the name availability of a host name. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json */ async function afdProfilesCheckHostNameAvailability() { diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples-dev/afdProfilesListResourceUsageSample.ts similarity index 87% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples-dev/afdProfilesListResourceUsageSample.ts index 51b2640b0a2d..c5012ef88ebb 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdProfilesListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/afdProfilesListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json */ async function afdProfilesListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples-dev/customDomainsDisableCustomHttpsSample.ts b/sdk/cdn/arm-cdn/samples-dev/customDomainsDisableCustomHttpsSample.ts index b2410431bd6d..b729f6186a32 100644 --- a/sdk/cdn/arm-cdn/samples-dev/customDomainsDisableCustomHttpsSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/customDomainsDisableCustomHttpsSample.ts @@ -25,7 +25,7 @@ async function customDomainsDisableCustomHttps() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.disableCustomHttps( + const result = await client.customDomains.beginDisableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples-dev/customDomainsEnableCustomHttpsSample.ts b/sdk/cdn/arm-cdn/samples-dev/customDomainsEnableCustomHttpsSample.ts index a85984faac8b..517716501583 100644 --- a/sdk/cdn/arm-cdn/samples-dev/customDomainsEnableCustomHttpsSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/customDomainsEnableCustomHttpsSample.ts @@ -25,7 +25,7 @@ async function customDomainsEnableCustomHttpsUsingCdnManagedCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, @@ -50,7 +50,7 @@ async function customDomainsEnableCustomHttpsUsingYourOwnCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples-dev/profilesCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/profilesCreateSample.ts index 43e914945b64..283bb7c7760c 100644 --- a/sdk/cdn/arm-cdn/samples-dev/profilesCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/profilesCreateSample.ts @@ -22,7 +22,7 @@ async function profilesCreate() { const resourceGroupName = "RG"; const profileName = "profile1"; const profile: Profile = { - location: "WestCentralUs", + location: "global", sku: { name: "Premium_AzureFrontDoor" } }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples-dev/ruleSetsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples-dev/ruleSetsListResourceUsageSample.ts index d98205f18a80..41079b3c3607 100644 --- a/sdk/cdn/arm-cdn/samples-dev/ruleSetsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/ruleSetsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json */ async function ruleSetsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples-dev/securityPoliciesCreateSample.ts b/sdk/cdn/arm-cdn/samples-dev/securityPoliciesCreateSample.ts index 3b991a9cbf32..bee2cb2b6673 100644 --- a/sdk/cdn/arm-cdn/samples-dev/securityPoliciesCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/securityPoliciesCreateSample.ts @@ -30,11 +30,11 @@ async function securityPoliciesCreate() { domains: [ { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1" }, { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2" } ], patternsToMatch: ["/*"] diff --git a/sdk/cdn/arm-cdn/samples-dev/securityPoliciesPatchSample.ts b/sdk/cdn/arm-cdn/samples-dev/securityPoliciesPatchSample.ts index 7573c654c56d..1b2c35fd161f 100644 --- a/sdk/cdn/arm-cdn/samples-dev/securityPoliciesPatchSample.ts +++ b/sdk/cdn/arm-cdn/samples-dev/securityPoliciesPatchSample.ts @@ -33,11 +33,11 @@ async function securityPoliciesPatch() { domains: [ { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1" }, { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2" } ], patternsToMatch: ["/*"] diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsCreateSample.js similarity index 98% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsCreateSample.js index d1a9ec4f8995..1b5d42b26fea 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsCreateSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsCreateSample.js @@ -25,7 +25,7 @@ async function afdEndpointsCreate() { const endpoint = { autoGeneratedDomainNameLabelScope: "TenantReuse", enabledState: "Enabled", - location: "CentralUs", + location: "global", tags: {}, }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js index cc05716aba6d..f6b21bfd565f 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json */ async function afdEndpointsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js similarity index 95% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js index 1e7610494c45..a65a0ad4bd92 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js @@ -24,7 +24,7 @@ async function afdEndpointsPurgeContent() { const endpointName = "endpoint1"; const contents = { contentPaths: ["/folder1"], - domains: ["endpoint1.azureedge.net"], + domains: ["endpoint1-abcdefghijklmnop.z01.azurefd.net"], }; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js similarity index 88% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js index ed66a75db7fd..33eeec1f041b 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json */ async function endpointsValidateCustomDomain() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js index 830d8dac0459..f244b0f31993 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json */ async function afdOriginGroupsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js similarity index 83% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js index 52c0c80bc899..c423305d2f37 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Check the name availability of a host name. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Check the name availability of a host name. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json */ async function afdProfilesCheckHostNameAvailability() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js similarity index 87% rename from sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js index 6333970cb070..9c0f37b056c3 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json */ async function afdProfilesListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/README.md b/sdk/cdn/arm-cdn/samples/v8/javascript/README.md similarity index 90% rename from sdk/cdn/arm-cdn/samples/v7/javascript/README.md rename to sdk/cdn/arm-cdn/samples/v8/javascript/README.md index 9111bbe91994..c093385120b5 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/README.md +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/README.md @@ -14,23 +14,23 @@ These sample programs show how to use the JavaScript client libraries for in som | [DoNotNormalizeAfdEndpointsDeleteSample.js][donotnormalizeafdendpointsdeletesample] | Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Delete.json | | [DoNotNormalizeAfdEndpointsGetSample.js][donotnormalizeafdendpointsgetsample] | Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Get.json | | [DoNotNormalizeAfdEndpointsListByProfileSample.js][donotnormalizeafdendpointslistbyprofilesample] | Lists existing AzureFrontDoor endpoints. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListByProfile.json | -| [DoNotNormalizeAfdEndpointsListResourceUsageSample.js][donotnormalizeafdendpointslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json | +| [DoNotNormalizeAfdEndpointsListResourceUsageSample.js][donotnormalizeafdendpointslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json | | [DoNotNormalizeAfdEndpointsPurgeContentSample.js][donotnormalizeafdendpointspurgecontentsample] | Removes a content from AzureFrontDoor. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_PurgeContent.json | | [DoNotNormalizeAfdEndpointsUpdateSample.js][donotnormalizeafdendpointsupdatesample] | Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update domains, use the Update Custom Domain operation. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Update.json | -| [DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js][donotnormalizeafdendpointsvalidatecustomdomainsample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json | +| [DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js][donotnormalizeafdendpointsvalidatecustomdomainsample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json | | [DoNotNormalizeAfdOriginGroupsCreateSample.js][donotnormalizeafdorigingroupscreatesample] | Creates a new origin group within the specified profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Create.json | | [DoNotNormalizeAfdOriginGroupsDeleteSample.js][donotnormalizeafdorigingroupsdeletesample] | Deletes an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Delete.json | | [DoNotNormalizeAfdOriginGroupsGetSample.js][donotnormalizeafdorigingroupsgetsample] | Gets an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Get.json | | [DoNotNormalizeAfdOriginGroupsListByProfileSample.js][donotnormalizeafdorigingroupslistbyprofilesample] | Lists all of the existing origin groups within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListByProfile.json | -| [DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js][donotnormalizeafdorigingroupslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json | +| [DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js][donotnormalizeafdorigingroupslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json | | [DoNotNormalizeAfdOriginGroupsUpdateSample.js][donotnormalizeafdorigingroupsupdatesample] | Updates an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Update.json | | [DoNotNormalizeAfdOriginsCreateSample.js][donotnormalizeafdoriginscreatesample] | Creates a new origin within the specified origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Create.json | | [DoNotNormalizeAfdOriginsDeleteSample.js][donotnormalizeafdoriginsdeletesample] | Deletes an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Delete.json | | [DoNotNormalizeAfdOriginsGetSample.js][donotnormalizeafdoriginsgetsample] | Gets an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Get.json | | [DoNotNormalizeAfdOriginsListByOriginGroupSample.js][donotnormalizeafdoriginslistbyorigingroupsample] | Lists all of the existing origins within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_ListByOriginGroup.json | | [DoNotNormalizeAfdOriginsUpdateSample.js][donotnormalizeafdoriginsupdatesample] | Updates an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Update.json | -| [DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js][donotnormalizeafdprofilescheckhostnameavailabilitysample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json | -| [DoNotNormalizeAfdProfilesListResourceUsageSample.js][donotnormalizeafdprofileslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json | +| [DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js][donotnormalizeafdprofilescheckhostnameavailabilitysample] | Check the name availability of a host name. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json | +| [DoNotNormalizeAfdProfilesListResourceUsageSample.js][donotnormalizeafdprofileslistresourceusagesample] | Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json | | [checkEndpointNameAvailabilitySample.js][checkendpointnameavailabilitysample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckEndpointNameAvailability.json | | [checkNameAvailabilitySample.js][checknameavailabilitysample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckNameAvailability.json | | [checkNameAvailabilityWithSubscriptionSample.js][checknameavailabilitywithsubscriptionsample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckNameAvailabilityWithSubscription.json | @@ -94,7 +94,7 @@ These sample programs show how to use the JavaScript client libraries for in som | [ruleSetsDeleteSample.js][rulesetsdeletesample] | Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_Delete.json | | [ruleSetsGetSample.js][rulesetsgetsample] | Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_Get.json | | [ruleSetsListByProfileSample.js][rulesetslistbyprofilesample] | Lists existing AzureFrontDoor rule sets within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListByProfile.json | -| [ruleSetsListResourceUsageSample.js][rulesetslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json | +| [ruleSetsListResourceUsageSample.js][rulesetslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json | | [rulesCreateSample.js][rulescreatesample] | Creates a new delivery rule within the specified rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Create.json | | [rulesDeleteSample.js][rulesdeletesample] | Deletes an existing delivery rule within a rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Delete.json | | [rulesGetSample.js][rulesgetsample] | Gets an existing delivery rule within a rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Get.json | @@ -150,113 +150,113 @@ npx cross-env node DoNotNormalizeAfdCustomDomainsCreateSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[donotnormalizeafdcustomdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js -[donotnormalizeafdcustomdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js -[donotnormalizeafdcustomdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js -[donotnormalizeafdcustomdomainslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js -[donotnormalizeafdcustomdomainsrefreshvalidationtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js -[donotnormalizeafdcustomdomainsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js -[donotnormalizeafdendpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsCreateSample.js -[donotnormalizeafdendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js -[donotnormalizeafdendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsGetSample.js -[donotnormalizeafdendpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js -[donotnormalizeafdendpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js -[donotnormalizeafdendpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js -[donotnormalizeafdendpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js -[donotnormalizeafdendpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js -[donotnormalizeafdorigingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js -[donotnormalizeafdorigingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js -[donotnormalizeafdorigingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js -[donotnormalizeafdorigingroupslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js -[donotnormalizeafdorigingroupslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js -[donotnormalizeafdorigingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js -[donotnormalizeafdoriginscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsCreateSample.js -[donotnormalizeafdoriginsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsDeleteSample.js -[donotnormalizeafdoriginsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsGetSample.js -[donotnormalizeafdoriginslistbyorigingroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js -[donotnormalizeafdoriginsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdOriginsUpdateSample.js -[donotnormalizeafdprofilescheckhostnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js -[donotnormalizeafdprofileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js -[checkendpointnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/checkEndpointNameAvailabilitySample.js -[checknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilitySample.js -[checknameavailabilitywithsubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilityWithSubscriptionSample.js -[customdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsCreateSample.js -[customdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDeleteSample.js -[customdomainsdisablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDisableCustomHttpsSample.js -[customdomainsenablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsEnableCustomHttpsSample.js -[customdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsGetSample.js -[customdomainslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsListByEndpointSample.js -[edgenodeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/edgeNodesListSample.js -[endpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsCreateSample.js -[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsDeleteSample.js -[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsGetSample.js -[endpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListByProfileSample.js -[endpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListResourceUsageSample.js -[endpointsloadcontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsLoadContentSample.js -[endpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsPurgeContentSample.js -[endpointsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStartSample.js -[endpointsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStopSample.js -[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsUpdateSample.js -[endpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsValidateCustomDomainSample.js -[loganalyticsgetloganalyticslocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js -[loganalyticsgetloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js -[loganalyticsgetloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js -[loganalyticsgetloganalyticsresourcessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js -[loganalyticsgetwafloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js -[loganalyticsgetwafloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js -[managedrulesetslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/managedRuleSetsListSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/operationsListSample.js -[origingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsCreateSample.js -[origingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsDeleteSample.js -[origingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsGetSample.js -[origingroupslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsListByEndpointSample.js -[origingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsUpdateSample.js -[originscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originsCreateSample.js -[originsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originsDeleteSample.js -[originsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originsGetSample.js -[originslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originsListByEndpointSample.js -[originsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/originsUpdateSample.js -[policiescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/policiesCreateOrUpdateSample.js -[policiesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/policiesDeleteSample.js -[policiesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/policiesGetSample.js -[policieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/policiesListSample.js -[policiesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/policiesUpdateSample.js -[profilescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesCreateSample.js -[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesDeleteSample.js -[profilesgeneratessourisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesGenerateSsoUriSample.js -[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesGetSample.js -[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListByResourceGroupSample.js -[profileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListResourceUsageSample.js -[profileslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSample.js -[profileslistsupportedoptimizationtypessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSupportedOptimizationTypesSample.js -[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/profilesUpdateSample.js -[resourceusagelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/resourceUsageListSample.js -[routescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/routesCreateSample.js -[routesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/routesDeleteSample.js -[routesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/routesGetSample.js -[routeslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/routesListByEndpointSample.js -[routesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/routesUpdateSample.js -[rulesetscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsCreateSample.js -[rulesetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsDeleteSample.js -[rulesetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsGetSample.js -[rulesetslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListByProfileSample.js -[rulesetslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListResourceUsageSample.js -[rulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/rulesCreateSample.js -[rulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/rulesDeleteSample.js -[rulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/rulesGetSample.js -[ruleslistbyrulesetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/rulesListByRuleSetSample.js -[rulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/rulesUpdateSample.js -[secretscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/secretsCreateSample.js -[secretsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/secretsDeleteSample.js -[secretsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/secretsGetSample.js -[secretslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/secretsListByProfileSample.js -[securitypoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesCreateSample.js -[securitypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesDeleteSample.js -[securitypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesGetSample.js -[securitypolicieslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesListByProfileSample.js -[securitypoliciespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesPatchSample.js -[validateprobesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/validateProbeSample.js -[validatesecretsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/javascript/validateSecretSample.js +[donotnormalizeafdcustomdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsCreateSample.js +[donotnormalizeafdcustomdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsDeleteSample.js +[donotnormalizeafdcustomdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsGetSample.js +[donotnormalizeafdcustomdomainslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsListByProfileSample.js +[donotnormalizeafdcustomdomainsrefreshvalidationtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.js +[donotnormalizeafdcustomdomainsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdCustomDomainsUpdateSample.js +[donotnormalizeafdendpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsCreateSample.js +[donotnormalizeafdendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsDeleteSample.js +[donotnormalizeafdendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsGetSample.js +[donotnormalizeafdendpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListByProfileSample.js +[donotnormalizeafdendpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsListResourceUsageSample.js +[donotnormalizeafdendpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsPurgeContentSample.js +[donotnormalizeafdendpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsUpdateSample.js +[donotnormalizeafdendpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.js +[donotnormalizeafdorigingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsCreateSample.js +[donotnormalizeafdorigingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsDeleteSample.js +[donotnormalizeafdorigingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsGetSample.js +[donotnormalizeafdorigingroupslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListByProfileSample.js +[donotnormalizeafdorigingroupslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.js +[donotnormalizeafdorigingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginGroupsUpdateSample.js +[donotnormalizeafdoriginscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsCreateSample.js +[donotnormalizeafdoriginsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsDeleteSample.js +[donotnormalizeafdoriginsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsGetSample.js +[donotnormalizeafdoriginslistbyorigingroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsListByOriginGroupSample.js +[donotnormalizeafdoriginsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdOriginsUpdateSample.js +[donotnormalizeafdprofilescheckhostnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.js +[donotnormalizeafdprofileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/DoNotNormalizeAfdProfilesListResourceUsageSample.js +[checkendpointnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/checkEndpointNameAvailabilitySample.js +[checknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilitySample.js +[checknameavailabilitywithsubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilityWithSubscriptionSample.js +[customdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsCreateSample.js +[customdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDeleteSample.js +[customdomainsdisablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDisableCustomHttpsSample.js +[customdomainsenablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsEnableCustomHttpsSample.js +[customdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsGetSample.js +[customdomainslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsListByEndpointSample.js +[edgenodeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/edgeNodesListSample.js +[endpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsCreateSample.js +[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsDeleteSample.js +[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsGetSample.js +[endpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListByProfileSample.js +[endpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListResourceUsageSample.js +[endpointsloadcontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsLoadContentSample.js +[endpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsPurgeContentSample.js +[endpointsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStartSample.js +[endpointsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStopSample.js +[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsUpdateSample.js +[endpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsValidateCustomDomainSample.js +[loganalyticsgetloganalyticslocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js +[loganalyticsgetloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js +[loganalyticsgetloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js +[loganalyticsgetloganalyticsresourcessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js +[loganalyticsgetwafloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js +[loganalyticsgetwafloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js +[managedrulesetslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/managedRuleSetsListSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/operationsListSample.js +[origingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsCreateSample.js +[origingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsDeleteSample.js +[origingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsGetSample.js +[origingroupslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsListByEndpointSample.js +[origingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsUpdateSample.js +[originscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originsCreateSample.js +[originsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originsDeleteSample.js +[originsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originsGetSample.js +[originslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originsListByEndpointSample.js +[originsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/originsUpdateSample.js +[policiescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/policiesCreateOrUpdateSample.js +[policiesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/policiesDeleteSample.js +[policiesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/policiesGetSample.js +[policieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/policiesListSample.js +[policiesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/policiesUpdateSample.js +[profilescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesCreateSample.js +[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesDeleteSample.js +[profilesgeneratessourisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesGenerateSsoUriSample.js +[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesGetSample.js +[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListByResourceGroupSample.js +[profileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListResourceUsageSample.js +[profileslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSample.js +[profileslistsupportedoptimizationtypessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSupportedOptimizationTypesSample.js +[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/profilesUpdateSample.js +[resourceusagelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/resourceUsageListSample.js +[routescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/routesCreateSample.js +[routesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/routesDeleteSample.js +[routesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/routesGetSample.js +[routeslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/routesListByEndpointSample.js +[routesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/routesUpdateSample.js +[rulesetscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsCreateSample.js +[rulesetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsDeleteSample.js +[rulesetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsGetSample.js +[rulesetslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListByProfileSample.js +[rulesetslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListResourceUsageSample.js +[rulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/rulesCreateSample.js +[rulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/rulesDeleteSample.js +[rulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/rulesGetSample.js +[ruleslistbyrulesetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/rulesListByRuleSetSample.js +[rulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/rulesUpdateSample.js +[secretscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/secretsCreateSample.js +[secretsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/secretsDeleteSample.js +[secretsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/secretsGetSample.js +[secretslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/secretsListByProfileSample.js +[securitypoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesCreateSample.js +[securitypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesDeleteSample.js +[securitypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesGetSample.js +[securitypolicieslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesListByProfileSample.js +[securitypoliciespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesPatchSample.js +[validateprobesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/validateProbeSample.js +[validatesecretsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/javascript/validateSecretSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-cdn?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn/README.md diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/checkEndpointNameAvailabilitySample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/checkEndpointNameAvailabilitySample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/checkEndpointNameAvailabilitySample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/checkEndpointNameAvailabilitySample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilitySample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilitySample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilitySample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilitySample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilityWithSubscriptionSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilityWithSubscriptionSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/checkNameAvailabilityWithSubscriptionSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/checkNameAvailabilityWithSubscriptionSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDisableCustomHttpsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDisableCustomHttpsSample.js similarity index 94% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDisableCustomHttpsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDisableCustomHttpsSample.js index 72f73a57264d..ef8a5974a066 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsDisableCustomHttpsSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsDisableCustomHttpsSample.js @@ -25,7 +25,7 @@ async function customDomainsDisableCustomHttps() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.disableCustomHttps( + const result = await client.customDomains.beginDisableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsEnableCustomHttpsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsEnableCustomHttpsSample.js similarity index 93% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsEnableCustomHttpsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsEnableCustomHttpsSample.js index 00dbd683e682..e3efe4fdfdae 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsEnableCustomHttpsSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsEnableCustomHttpsSample.js @@ -25,7 +25,7 @@ async function customDomainsEnableCustomHttpsUsingCdnManagedCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, @@ -50,7 +50,7 @@ async function customDomainsEnableCustomHttpsUsingYourOwnCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsListByEndpointSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsListByEndpointSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/customDomainsListByEndpointSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/customDomainsListByEndpointSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/edgeNodesListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/edgeNodesListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/edgeNodesListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/edgeNodesListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListResourceUsageSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsListResourceUsageSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsLoadContentSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsLoadContentSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsLoadContentSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsLoadContentSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsPurgeContentSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsPurgeContentSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsPurgeContentSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsPurgeContentSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStartSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStartSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStartSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStartSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStopSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStopSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsStopSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsStopSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/endpointsValidateCustomDomainSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/endpointsValidateCustomDomainSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/endpointsValidateCustomDomainSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/endpointsValidateCustomDomainSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsLocationsSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsMetricsSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsRankingsSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetLogAnalyticsResourcesSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsMetricsSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/logAnalyticsGetWafLogAnalyticsRankingsSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/managedRuleSetsListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/managedRuleSetsListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/managedRuleSetsListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/managedRuleSetsListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/operationsListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/operationsListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/operationsListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/operationsListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsListByEndpointSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsListByEndpointSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsListByEndpointSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsListByEndpointSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originGroupsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originGroupsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originsListByEndpointSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originsListByEndpointSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originsListByEndpointSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originsListByEndpointSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/originsUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/originsUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/originsUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/originsUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/package.json b/sdk/cdn/arm-cdn/samples/v8/javascript/package.json similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/package.json rename to sdk/cdn/arm-cdn/samples/v8/javascript/package.json diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/policiesCreateOrUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/policiesCreateOrUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/policiesCreateOrUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/policiesCreateOrUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/policiesDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/policiesDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/policiesDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/policiesDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/policiesGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/policiesGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/policiesGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/policiesGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/policiesListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/policiesListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/policiesListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/policiesListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/policiesUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/policiesUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/policiesUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/policiesUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesCreateSample.js similarity index 97% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesCreateSample.js index 5e45c9dedf14..326f6c475189 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesCreateSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesCreateSample.js @@ -22,7 +22,7 @@ async function profilesCreate() { const resourceGroupName = "RG"; const profileName = "profile1"; const profile = { - location: "WestCentralUs", + location: "global", sku: { name: "Premium_AzureFrontDoor" }, }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesGenerateSsoUriSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesGenerateSsoUriSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesGenerateSsoUriSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesGenerateSsoUriSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListByResourceGroupSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListByResourceGroupSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesListByResourceGroupSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesListByResourceGroupSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListResourceUsageSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesListResourceUsageSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSupportedOptimizationTypesSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSupportedOptimizationTypesSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesListSupportedOptimizationTypesSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesListSupportedOptimizationTypesSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/profilesUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/profilesUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/profilesUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/profilesUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/resourceUsageListSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/resourceUsageListSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/resourceUsageListSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/resourceUsageListSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/routesCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/routesCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/routesCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/routesCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/routesDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/routesDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/routesDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/routesDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/routesGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/routesGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/routesGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/routesGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/routesListByEndpointSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/routesListByEndpointSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/routesListByEndpointSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/routesListByEndpointSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/routesUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/routesUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/routesUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/routesUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListResourceUsageSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListResourceUsageSample.js similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListResourceUsageSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListResourceUsageSample.js index 3a2957abf105..cf90059037ad 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/ruleSetsListResourceUsageSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/ruleSetsListResourceUsageSample.js @@ -12,9 +12,9 @@ const { CdnManagementClient } = require("@azure/arm-cdn"); const { DefaultAzureCredential } = require("@azure/identity"); /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json */ async function ruleSetsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/rulesCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/rulesCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/rulesCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/rulesCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/rulesDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/rulesDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/rulesDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/rulesDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/rulesGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/rulesGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/rulesGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/rulesGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/rulesListByRuleSetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/rulesListByRuleSetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/rulesListByRuleSetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/rulesListByRuleSetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/rulesUpdateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/rulesUpdateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/rulesUpdateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/rulesUpdateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/sample.env b/sdk/cdn/arm-cdn/samples/v8/javascript/sample.env similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/sample.env rename to sdk/cdn/arm-cdn/samples/v8/javascript/sample.env diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/secretsCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/secretsCreateSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/secretsCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/secretsCreateSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/secretsDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/secretsDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/secretsDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/secretsDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/secretsGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/secretsGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/secretsGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/secretsGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/secretsListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/secretsListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/secretsListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/secretsListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesCreateSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesCreateSample.js similarity index 93% rename from sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesCreateSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesCreateSample.js index 35668b59f4a4..634eaff5022f 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesCreateSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesCreateSample.js @@ -29,10 +29,10 @@ async function securityPoliciesCreate() { { domains: [ { - id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1", + id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1", }, { - id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2", + id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2", }, ], patternsToMatch: ["/*"], diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesDeleteSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesDeleteSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesDeleteSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesDeleteSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesGetSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesGetSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesGetSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesGetSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesListByProfileSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesListByProfileSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesListByProfileSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesListByProfileSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesPatchSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesPatchSample.js similarity index 93% rename from sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesPatchSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesPatchSample.js index 6409bebed721..2717cd03c216 100644 --- a/sdk/cdn/arm-cdn/samples/v7/javascript/securityPoliciesPatchSample.js +++ b/sdk/cdn/arm-cdn/samples/v8/javascript/securityPoliciesPatchSample.js @@ -29,10 +29,10 @@ async function securityPoliciesPatch() { { domains: [ { - id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1", + id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1", }, { - id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2", + id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2", }, ], patternsToMatch: ["/*"], diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/validateProbeSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/validateProbeSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/validateProbeSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/validateProbeSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/javascript/validateSecretSample.js b/sdk/cdn/arm-cdn/samples/v8/javascript/validateSecretSample.js similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/javascript/validateSecretSample.js rename to sdk/cdn/arm-cdn/samples/v8/javascript/validateSecretSample.js diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/README.md b/sdk/cdn/arm-cdn/samples/v8/typescript/README.md similarity index 90% rename from sdk/cdn/arm-cdn/samples/v7/typescript/README.md rename to sdk/cdn/arm-cdn/samples/v8/typescript/README.md index dba68b4a127d..d3f3726583bd 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/README.md +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/README.md @@ -14,23 +14,23 @@ These sample programs show how to use the TypeScript client libraries for in som | [DoNotNormalizeAfdEndpointsDeleteSample.ts][donotnormalizeafdendpointsdeletesample] | Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Delete.json | | [DoNotNormalizeAfdEndpointsGetSample.ts][donotnormalizeafdendpointsgetsample] | Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Get.json | | [DoNotNormalizeAfdEndpointsListByProfileSample.ts][donotnormalizeafdendpointslistbyprofilesample] | Lists existing AzureFrontDoor endpoints. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListByProfile.json | -| [DoNotNormalizeAfdEndpointsListResourceUsageSample.ts][donotnormalizeafdendpointslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json | +| [DoNotNormalizeAfdEndpointsListResourceUsageSample.ts][donotnormalizeafdendpointslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json | | [DoNotNormalizeAfdEndpointsPurgeContentSample.ts][donotnormalizeafdendpointspurgecontentsample] | Removes a content from AzureFrontDoor. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_PurgeContent.json | | [DoNotNormalizeAfdEndpointsUpdateSample.ts][donotnormalizeafdendpointsupdatesample] | Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update domains, use the Update Custom Domain operation. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_Update.json | -| [DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts][donotnormalizeafdendpointsvalidatecustomdomainsample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json | +| [DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts][donotnormalizeafdendpointsvalidatecustomdomainsample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json | | [DoNotNormalizeAfdOriginGroupsCreateSample.ts][donotnormalizeafdorigingroupscreatesample] | Creates a new origin group within the specified profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Create.json | | [DoNotNormalizeAfdOriginGroupsDeleteSample.ts][donotnormalizeafdorigingroupsdeletesample] | Deletes an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Delete.json | | [DoNotNormalizeAfdOriginGroupsGetSample.ts][donotnormalizeafdorigingroupsgetsample] | Gets an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Get.json | | [DoNotNormalizeAfdOriginGroupsListByProfileSample.ts][donotnormalizeafdorigingroupslistbyprofilesample] | Lists all of the existing origin groups within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListByProfile.json | -| [DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts][donotnormalizeafdorigingroupslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json | +| [DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts][donotnormalizeafdorigingroupslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json | | [DoNotNormalizeAfdOriginGroupsUpdateSample.ts][donotnormalizeafdorigingroupsupdatesample] | Updates an existing origin group within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_Update.json | | [DoNotNormalizeAfdOriginsCreateSample.ts][donotnormalizeafdoriginscreatesample] | Creates a new origin within the specified origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Create.json | | [DoNotNormalizeAfdOriginsDeleteSample.ts][donotnormalizeafdoriginsdeletesample] | Deletes an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Delete.json | | [DoNotNormalizeAfdOriginsGetSample.ts][donotnormalizeafdoriginsgetsample] | Gets an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Get.json | | [DoNotNormalizeAfdOriginsListByOriginGroupSample.ts][donotnormalizeafdoriginslistbyorigingroupsample] | Lists all of the existing origins within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_ListByOriginGroup.json | | [DoNotNormalizeAfdOriginsUpdateSample.ts][donotnormalizeafdoriginsupdatesample] | Updates an existing origin within an origin group. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOrigins_Update.json | -| [DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts][donotnormalizeafdprofilescheckhostnameavailabilitysample] | Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json | -| [DoNotNormalizeAfdProfilesListResourceUsageSample.ts][donotnormalizeafdprofileslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json | +| [DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts][donotnormalizeafdprofilescheckhostnameavailabilitysample] | Check the name availability of a host name. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json | +| [DoNotNormalizeAfdProfilesListResourceUsageSample.ts][donotnormalizeafdprofileslistresourceusagesample] | Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json | | [checkEndpointNameAvailabilitySample.ts][checkendpointnameavailabilitysample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckEndpointNameAvailability.json | | [checkNameAvailabilitySample.ts][checknameavailabilitysample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckNameAvailability.json | | [checkNameAvailabilityWithSubscriptionSample.ts][checknameavailabilitywithsubscriptionsample] | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/CheckNameAvailabilityWithSubscription.json | @@ -94,7 +94,7 @@ These sample programs show how to use the TypeScript client libraries for in som | [ruleSetsDeleteSample.ts][rulesetsdeletesample] | Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_Delete.json | | [ruleSetsGetSample.ts][rulesetsgetsample] | Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_Get.json | | [ruleSetsListByProfileSample.ts][rulesetslistbyprofilesample] | Lists existing AzureFrontDoor rule sets within a profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListByProfile.json | -| [ruleSetsListResourceUsageSample.ts][rulesetslistresourceusagesample] | Checks the quota and actual usage of endpoints under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json | +| [ruleSetsListResourceUsageSample.ts][rulesetslistresourceusagesample] | Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json | | [rulesCreateSample.ts][rulescreatesample] | Creates a new delivery rule within the specified rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Create.json | | [rulesDeleteSample.ts][rulesdeletesample] | Deletes an existing delivery rule within a rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Delete.json | | [rulesGetSample.ts][rulesgetsample] | Gets an existing delivery rule within a rule set. x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Rules_Get.json | @@ -162,113 +162,113 @@ npx cross-env node dist/DoNotNormalizeAfdCustomDomainsCreateSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[donotnormalizeafdcustomdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts -[donotnormalizeafdcustomdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts -[donotnormalizeafdcustomdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts -[donotnormalizeafdcustomdomainslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts -[donotnormalizeafdcustomdomainsrefreshvalidationtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts -[donotnormalizeafdcustomdomainsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts -[donotnormalizeafdendpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts -[donotnormalizeafdendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts -[donotnormalizeafdendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts -[donotnormalizeafdendpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts -[donotnormalizeafdendpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts -[donotnormalizeafdendpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts -[donotnormalizeafdendpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts -[donotnormalizeafdendpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts -[donotnormalizeafdorigingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts -[donotnormalizeafdorigingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts -[donotnormalizeafdorigingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts -[donotnormalizeafdorigingroupslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts -[donotnormalizeafdorigingroupslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts -[donotnormalizeafdorigingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts -[donotnormalizeafdoriginscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts -[donotnormalizeafdoriginsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts -[donotnormalizeafdoriginsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts -[donotnormalizeafdoriginslistbyorigingroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts -[donotnormalizeafdoriginsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts -[donotnormalizeafdprofilescheckhostnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts -[donotnormalizeafdprofileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts -[checkendpointnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkEndpointNameAvailabilitySample.ts -[checknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilitySample.ts -[checknameavailabilitywithsubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts -[customdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsCreateSample.ts -[customdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDeleteSample.ts -[customdomainsdisablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDisableCustomHttpsSample.ts -[customdomainsenablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsEnableCustomHttpsSample.ts -[customdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsGetSample.ts -[customdomainslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsListByEndpointSample.ts -[edgenodeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/edgeNodesListSample.ts -[endpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsCreateSample.ts -[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsDeleteSample.ts -[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsGetSample.ts -[endpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListByProfileSample.ts -[endpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListResourceUsageSample.ts -[endpointsloadcontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsLoadContentSample.ts -[endpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsPurgeContentSample.ts -[endpointsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStartSample.ts -[endpointsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStopSample.ts -[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsUpdateSample.ts -[endpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsValidateCustomDomainSample.ts -[loganalyticsgetloganalyticslocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts -[loganalyticsgetloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts -[loganalyticsgetloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts -[loganalyticsgetloganalyticsresourcessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts -[loganalyticsgetwafloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts -[loganalyticsgetwafloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts -[managedrulesetslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/managedRuleSetsListSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/operationsListSample.ts -[origingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsCreateSample.ts -[origingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsDeleteSample.ts -[origingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsGetSample.ts -[origingroupslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsListByEndpointSample.ts -[origingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsUpdateSample.ts -[originscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsCreateSample.ts -[originsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsDeleteSample.ts -[originsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsGetSample.ts -[originslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsListByEndpointSample.ts -[originsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsUpdateSample.ts -[policiescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesCreateOrUpdateSample.ts -[policiesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesDeleteSample.ts -[policiesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesGetSample.ts -[policieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesListSample.ts -[policiesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesUpdateSample.ts -[profilescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesCreateSample.ts -[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesDeleteSample.ts -[profilesgeneratessourisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGenerateSsoUriSample.ts -[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGetSample.ts -[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListByResourceGroupSample.ts -[profileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListResourceUsageSample.ts -[profileslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSample.ts -[profileslistsupportedoptimizationtypessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSupportedOptimizationTypesSample.ts -[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesUpdateSample.ts -[resourceusagelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/resourceUsageListSample.ts -[routescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesCreateSample.ts -[routesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesDeleteSample.ts -[routesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesGetSample.ts -[routeslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesListByEndpointSample.ts -[routesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesUpdateSample.ts -[rulesetscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsCreateSample.ts -[rulesetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsDeleteSample.ts -[rulesetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsGetSample.ts -[rulesetslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListByProfileSample.ts -[rulesetslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListResourceUsageSample.ts -[rulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesCreateSample.ts -[rulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesDeleteSample.ts -[rulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesGetSample.ts -[ruleslistbyrulesetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesListByRuleSetSample.ts -[rulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesUpdateSample.ts -[secretscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsCreateSample.ts -[secretsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsDeleteSample.ts -[secretsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsGetSample.ts -[secretslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsListByProfileSample.ts -[securitypoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesCreateSample.ts -[securitypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesDeleteSample.ts -[securitypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesGetSample.ts -[securitypolicieslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesListByProfileSample.ts -[securitypoliciespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesPatchSample.ts -[validateprobesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/validateProbeSample.ts -[validatesecretsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v7/typescript/src/validateSecretSample.ts +[donotnormalizeafdcustomdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts +[donotnormalizeafdcustomdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts +[donotnormalizeafdcustomdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts +[donotnormalizeafdcustomdomainslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts +[donotnormalizeafdcustomdomainsrefreshvalidationtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts +[donotnormalizeafdcustomdomainsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts +[donotnormalizeafdendpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts +[donotnormalizeafdendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts +[donotnormalizeafdendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts +[donotnormalizeafdendpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts +[donotnormalizeafdendpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts +[donotnormalizeafdendpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts +[donotnormalizeafdendpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts +[donotnormalizeafdendpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts +[donotnormalizeafdorigingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts +[donotnormalizeafdorigingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts +[donotnormalizeafdorigingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts +[donotnormalizeafdorigingroupslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts +[donotnormalizeafdorigingroupslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts +[donotnormalizeafdorigingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts +[donotnormalizeafdoriginscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts +[donotnormalizeafdoriginsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts +[donotnormalizeafdoriginsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts +[donotnormalizeafdoriginslistbyorigingroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts +[donotnormalizeafdoriginsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts +[donotnormalizeafdprofilescheckhostnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts +[donotnormalizeafdprofileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts +[checkendpointnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkEndpointNameAvailabilitySample.ts +[checknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilitySample.ts +[checknameavailabilitywithsubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts +[customdomainscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsCreateSample.ts +[customdomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDeleteSample.ts +[customdomainsdisablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDisableCustomHttpsSample.ts +[customdomainsenablecustomhttpssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsEnableCustomHttpsSample.ts +[customdomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsGetSample.ts +[customdomainslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsListByEndpointSample.ts +[edgenodeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/edgeNodesListSample.ts +[endpointscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsCreateSample.ts +[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsDeleteSample.ts +[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsGetSample.ts +[endpointslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListByProfileSample.ts +[endpointslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListResourceUsageSample.ts +[endpointsloadcontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsLoadContentSample.ts +[endpointspurgecontentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsPurgeContentSample.ts +[endpointsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStartSample.ts +[endpointsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStopSample.ts +[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsUpdateSample.ts +[endpointsvalidatecustomdomainsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsValidateCustomDomainSample.ts +[loganalyticsgetloganalyticslocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts +[loganalyticsgetloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts +[loganalyticsgetloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts +[loganalyticsgetloganalyticsresourcessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts +[loganalyticsgetwafloganalyticsmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts +[loganalyticsgetwafloganalyticsrankingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts +[managedrulesetslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/managedRuleSetsListSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/operationsListSample.ts +[origingroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsCreateSample.ts +[origingroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsDeleteSample.ts +[origingroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsGetSample.ts +[origingroupslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsListByEndpointSample.ts +[origingroupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsUpdateSample.ts +[originscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsCreateSample.ts +[originsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsDeleteSample.ts +[originsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsGetSample.ts +[originslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsListByEndpointSample.ts +[originsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsUpdateSample.ts +[policiescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesCreateOrUpdateSample.ts +[policiesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesDeleteSample.ts +[policiesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesGetSample.ts +[policieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesListSample.ts +[policiesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesUpdateSample.ts +[profilescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesCreateSample.ts +[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesDeleteSample.ts +[profilesgeneratessourisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGenerateSsoUriSample.ts +[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGetSample.ts +[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListByResourceGroupSample.ts +[profileslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListResourceUsageSample.ts +[profileslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSample.ts +[profileslistsupportedoptimizationtypessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSupportedOptimizationTypesSample.ts +[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesUpdateSample.ts +[resourceusagelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/resourceUsageListSample.ts +[routescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesCreateSample.ts +[routesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesDeleteSample.ts +[routesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesGetSample.ts +[routeslistbyendpointsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesListByEndpointSample.ts +[routesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesUpdateSample.ts +[rulesetscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsCreateSample.ts +[rulesetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsDeleteSample.ts +[rulesetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsGetSample.ts +[rulesetslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListByProfileSample.ts +[rulesetslistresourceusagesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListResourceUsageSample.ts +[rulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesCreateSample.ts +[rulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesDeleteSample.ts +[rulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesGetSample.ts +[ruleslistbyrulesetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesListByRuleSetSample.ts +[rulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesUpdateSample.ts +[secretscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsCreateSample.ts +[secretsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsDeleteSample.ts +[secretsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsGetSample.ts +[secretslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsListByProfileSample.ts +[securitypoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesCreateSample.ts +[securitypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesDeleteSample.ts +[securitypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesGetSample.ts +[securitypolicieslistbyprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesListByProfileSample.ts +[securitypoliciespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesPatchSample.ts +[validateprobesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/validateProbeSample.ts +[validatesecretsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/cdn/arm-cdn/samples/v8/typescript/src/validateSecretSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-cdn?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn/README.md diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/package.json b/sdk/cdn/arm-cdn/samples/v8/typescript/package.json similarity index 97% rename from sdk/cdn/arm-cdn/samples/v7/typescript/package.json rename to sdk/cdn/arm-cdn/samples/v8/typescript/package.json index 39265ad00dbb..4257beb08b33 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/package.json +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@types/node": "^14.0.0", - "typescript": "~4.4.0", + "typescript": "~4.8.0", "rimraf": "latest" } } diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/sample.env b/sdk/cdn/arm-cdn/samples/v8/typescript/sample.env similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/sample.env rename to sdk/cdn/arm-cdn/samples/v8/typescript/sample.env diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsRefreshValidationTokenSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdCustomDomainsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts similarity index 98% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts index 39c23930e103..b64bbf0c7169 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsCreateSample.ts @@ -25,7 +25,7 @@ async function afdEndpointsCreate() { const endpoint: AFDEndpoint = { autoGeneratedDomainNameLabelScope: "TenantReuse", enabledState: "Enabled", - location: "CentralUs", + location: "global", tags: {} }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts similarity index 86% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts index c9bf617db935..6b6a207484b4 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ListResourceUsage.json */ async function afdEndpointsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsPurgeContentSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts similarity index 95% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsPurgeContentSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts index 94c7cb557578..41edc7c4b9a9 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdEndpointsPurgeContentSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsPurgeContentSample.ts @@ -24,7 +24,7 @@ async function afdEndpointsPurgeContent() { const endpointName = "endpoint1"; const contents: AfdPurgeParameters = { contentPaths: ["/folder1"], - domains: ["endpoint1.azureedge.net"] + domains: ["endpoint1-abcdefghijklmnop.z01.azurefd.net"] }; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts similarity index 88% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts index 09b825a2c5f1..484290be5fbb 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdEndpointsValidateCustomDomainSample.ts @@ -12,9 +12,9 @@ import { ValidateCustomDomainInput, CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api isn't work for apex domain. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDEndpoints_ValidateCustomDomain.json */ async function endpointsValidateCustomDomain() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts similarity index 86% rename from sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts index c6f144efd64e..2f289ca73c17 100644 --- a/sdk/cdn/arm-cdn/samples-dev/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDOriginGroups_ListResourceUsage.json */ async function afdOriginGroupsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginGroupsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsListByOriginGroupSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdOriginsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts similarity index 84% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts index 677038444002..f53377f733ff 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesCheckHostNameAvailabilitySample.ts @@ -15,9 +15,9 @@ import { import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * This sample demonstrates how to Check the name availability of a host name. * - * @summary Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * @summary Check the name availability of a host name. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_CheckHostNameAvailability.json */ async function afdProfilesCheckHostNameAvailability() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts similarity index 87% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts index 51b2640b0a2d..c5012ef88ebb 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/DoNotNormalizeAfdProfilesListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/AFDProfiles_ListResourceUsage.json */ async function afdProfilesListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkEndpointNameAvailabilitySample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkEndpointNameAvailabilitySample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/checkEndpointNameAvailabilitySample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/checkEndpointNameAvailabilitySample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilitySample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilitySample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilitySample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilitySample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/checkNameAvailabilityWithSubscriptionSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDisableCustomHttpsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDisableCustomHttpsSample.ts similarity index 94% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDisableCustomHttpsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDisableCustomHttpsSample.ts index b2410431bd6d..b729f6186a32 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsDisableCustomHttpsSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsDisableCustomHttpsSample.ts @@ -25,7 +25,7 @@ async function customDomainsDisableCustomHttps() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.disableCustomHttps( + const result = await client.customDomains.beginDisableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsEnableCustomHttpsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsEnableCustomHttpsSample.ts similarity index 93% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsEnableCustomHttpsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsEnableCustomHttpsSample.ts index a85984faac8b..517716501583 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsEnableCustomHttpsSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsEnableCustomHttpsSample.ts @@ -25,7 +25,7 @@ async function customDomainsEnableCustomHttpsUsingCdnManagedCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, @@ -50,7 +50,7 @@ async function customDomainsEnableCustomHttpsUsingYourOwnCertificate() { const customDomainName = "www-someDomain-net"; const credential = new DefaultAzureCredential(); const client = new CdnManagementClient(credential, subscriptionId); - const result = await client.customDomains.enableCustomHttps( + const result = await client.customDomains.beginEnableCustomHttpsAndWait( resourceGroupName, profileName, endpointName, diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsListByEndpointSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsListByEndpointSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/customDomainsListByEndpointSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/customDomainsListByEndpointSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/edgeNodesListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/edgeNodesListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/edgeNodesListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/edgeNodesListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListResourceUsageSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsListResourceUsageSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsLoadContentSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsLoadContentSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsLoadContentSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsLoadContentSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsPurgeContentSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsPurgeContentSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsPurgeContentSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsPurgeContentSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStartSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStartSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStartSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStartSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStopSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStopSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsStopSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsStopSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsValidateCustomDomainSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsValidateCustomDomainSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/endpointsValidateCustomDomainSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/endpointsValidateCustomDomainSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsLocationsSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsMetricsSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsRankingsSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetLogAnalyticsResourcesSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsMetricsSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/logAnalyticsGetWafLogAnalyticsRankingsSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/managedRuleSetsListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/managedRuleSetsListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/managedRuleSetsListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/managedRuleSetsListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/operationsListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/operationsListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/operationsListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/operationsListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsListByEndpointSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsListByEndpointSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsListByEndpointSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsListByEndpointSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originGroupsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originGroupsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsListByEndpointSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsListByEndpointSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originsListByEndpointSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originsListByEndpointSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/originsUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/originsUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/originsUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/originsUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesCreateOrUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesCreateOrUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesCreateOrUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesCreateOrUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/policiesUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/policiesUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesCreateSample.ts similarity index 97% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesCreateSample.ts index 43e914945b64..283bb7c7760c 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesCreateSample.ts @@ -22,7 +22,7 @@ async function profilesCreate() { const resourceGroupName = "RG"; const profileName = "profile1"; const profile: Profile = { - location: "WestCentralUs", + location: "global", sku: { name: "Premium_AzureFrontDoor" } }; const credential = new DefaultAzureCredential(); diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGenerateSsoUriSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGenerateSsoUriSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGenerateSsoUriSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGenerateSsoUriSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListByResourceGroupSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListByResourceGroupSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListByResourceGroupSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListByResourceGroupSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListResourceUsageSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListResourceUsageSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSupportedOptimizationTypesSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSupportedOptimizationTypesSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesListSupportedOptimizationTypesSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesListSupportedOptimizationTypesSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/profilesUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/profilesUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/resourceUsageListSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/resourceUsageListSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/resourceUsageListSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/resourceUsageListSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/routesCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/routesCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/routesDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/routesDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/routesGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/routesGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesListByEndpointSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesListByEndpointSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/routesListByEndpointSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/routesListByEndpointSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/routesUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/routesUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/routesUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/routesUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListResourceUsageSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListResourceUsageSample.ts similarity index 86% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListResourceUsageSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListResourceUsageSample.ts index d98205f18a80..41079b3c3607 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/ruleSetsListResourceUsageSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/ruleSetsListResourceUsageSample.ts @@ -12,9 +12,9 @@ import { CdnManagementClient } from "@azure/arm-cdn"; import { DefaultAzureCredential } from "@azure/identity"; /** - * This sample demonstrates how to Checks the quota and actual usage of endpoints under the given CDN profile. + * This sample demonstrates how to Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * - * @summary Checks the quota and actual usage of endpoints under the given CDN profile. + * @summary Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/RuleSets_ListResourceUsage.json */ async function ruleSetsListResourceUsage() { diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesListByRuleSetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesListByRuleSetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesListByRuleSetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesListByRuleSetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesUpdateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesUpdateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/rulesUpdateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/rulesUpdateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsCreateSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsCreateSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/secretsListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/secretsListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesCreateSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesCreateSample.ts similarity index 93% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesCreateSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesCreateSample.ts index 3b991a9cbf32..bee2cb2b6673 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesCreateSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesCreateSample.ts @@ -30,11 +30,11 @@ async function securityPoliciesCreate() { domains: [ { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1" }, { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2" } ], patternsToMatch: ["/*"] diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesDeleteSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesDeleteSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesDeleteSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesDeleteSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesGetSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesGetSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesGetSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesGetSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesListByProfileSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesListByProfileSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesListByProfileSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesListByProfileSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesPatchSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesPatchSample.ts similarity index 94% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesPatchSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesPatchSample.ts index 7573c654c56d..1b2c35fd161f 100644 --- a/sdk/cdn/arm-cdn/samples/v7/typescript/src/securityPoliciesPatchSample.ts +++ b/sdk/cdn/arm-cdn/samples/v8/typescript/src/securityPoliciesPatchSample.ts @@ -33,11 +33,11 @@ async function securityPoliciesPatch() { domains: [ { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1" }, { id: - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2" + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2" } ], patternsToMatch: ["/*"] diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/validateProbeSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/validateProbeSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/validateProbeSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/validateProbeSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/src/validateSecretSample.ts b/sdk/cdn/arm-cdn/samples/v8/typescript/src/validateSecretSample.ts similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/src/validateSecretSample.ts rename to sdk/cdn/arm-cdn/samples/v8/typescript/src/validateSecretSample.ts diff --git a/sdk/cdn/arm-cdn/samples/v7/typescript/tsconfig.json b/sdk/cdn/arm-cdn/samples/v8/typescript/tsconfig.json similarity index 100% rename from sdk/cdn/arm-cdn/samples/v7/typescript/tsconfig.json rename to sdk/cdn/arm-cdn/samples/v8/typescript/tsconfig.json diff --git a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts index cf2e03046430..3a898f529851 100644 --- a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts +++ b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts @@ -7,6 +7,12 @@ */ 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 { AfdProfilesImpl, @@ -105,25 +111,54 @@ export class CdnManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-cdn/7.0.1`; + const packageDetails = `azsdk-js-arm-cdn/8.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`; - if (!options.credentialScopes) { - options.credentialScopes = ["https://management.azure.com/.default"]; - } const optionsWithDefaults = { ...defaults, ...options, userAgentOptions: { userAgentPrefix }, - baseUri: + endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + let bearerTokenAuthenticationPolicyFound: boolean = false; + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + } + if ( + !options || + !options.pipeline || + options.pipeline.getOrderedPolicies().length == 0 || + !bearerTokenAuthenticationPolicyFound + ) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + credential: credentials, + scopes: + optionsWithDefaults.credentialScopes ?? + `${optionsWithDefaults.endpoint}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } // Parameter assignments this.subscriptionId = subscriptionId; @@ -152,6 +187,35 @@ export class CdnManagementClient extends coreClient.ServiceClient { this.edgeNodes = new EdgeNodesImpl(this); this.policies = new PoliciesImpl(this); this.managedRuleSets = new ManagedRuleSetsImpl(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 "api-version=" + apiVersion; + } else { + return item; + } + }); + request.url = param[0] + "?" + newParams.join("&"); + } + return next(request); + } + }; + this.pipeline.addPolicy(apiVersionPolicy); } /** diff --git a/sdk/cdn/arm-cdn/src/index.ts b/sdk/cdn/arm-cdn/src/index.ts index b70b76ceee1e..c92b874e13b3 100644 --- a/sdk/cdn/arm-cdn/src/index.ts +++ b/sdk/cdn/arm-cdn/src/index.ts @@ -7,6 +7,7 @@ */ /// +export { getContinuationToken } from "./pagingHelper"; export * from "./models"; export { CdnManagementClient } from "./cdnManagementClient"; export * from "./operationsInterfaces"; diff --git a/sdk/cdn/arm-cdn/src/models/index.ts b/sdk/cdn/arm-cdn/src/models/index.ts index 697542b9b162..fb3a98f90362 100644 --- a/sdk/cdn/arm-cdn/src/models/index.ts +++ b/sdk/cdn/arm-cdn/src/models/index.ts @@ -1012,10 +1012,10 @@ export interface ResourceUsage { */ readonly resourceType?: string; /** - * Unit of the usage. e.g. Count. + * Unit of the usage. e.g. count. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: string; + readonly unit?: ResourceUsageUnit; /** * Actual value of usage on the specified resource type. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1104,14 +1104,14 @@ export interface HttpErrorRangeParameters { end?: number; } -/** The JSON object that contains the properties to secure a custom domain. */ -export interface CustomDomainHttpsParameters { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "Cdn" | "AzureKeyVault"; - /** Defines the TLS extension protocol that is used for secure delivery. */ - protocolType: ProtocolType; - /** TLS protocol version that will be used for Https */ - minimumTlsVersion?: MinimumTlsVersion; +/** Custom domains created on the CDN endpoint. */ +export interface DeepCreatedCustomDomain { + /** Custom domain name. */ + name: string; + /** The host name of the custom domain. Must be a domain name. */ + hostName?: string; + /** Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. */ + validationData?: string; } /** The JSON object containing endpoint update parameters. */ @@ -1360,6 +1360,16 @@ export interface CustomDomainListResult { nextLink?: string; } +/** The JSON object that contains the properties to secure a custom domain. */ +export interface CustomDomainHttpsParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "Cdn" | "AzureKeyVault"; + /** Defines the TLS extension protocol that is used for secure delivery. */ + protocolType: ProtocolType; + /** TLS protocol version that will be used for Https */ + minimumTlsVersion?: MinimumTlsVersion; +} + /** The customDomain JSON object required for custom domain creation or update. */ export interface CustomDomainParameters { /** The host name of the custom domain. Must be a domain name. */ @@ -1631,7 +1641,7 @@ export interface ManagedRuleSet { export interface ManagedRuleGroupOverride { /** Describes the managed rule group within the rule set to override */ ruleGroupName: string; - /** List of rules that will be disabled. If none specified, all rules in the group will be disabled. */ + /** List of rules that will be enabled. If none specified, all rules in the group will be disabled. */ rules?: ManagedRuleOverride[]; } @@ -2125,61 +2135,67 @@ export interface KeyVaultCertificateSourceParameters { } /** The JSON object that contains the properties of the domain to create. */ -export type AFDDomainProperties = AFDDomainUpdatePropertiesParameters & - AFDStateProperties & { - /** - * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly domainValidationState?: DomainValidationState; - /** The host name of the domain. Must be a domain name. */ - hostName: string; - /** - * Values the customer needs to validate domain ownership - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly validationProperties?: DomainValidationProperties; - }; +export interface AFDDomainProperties + extends AFDDomainUpdatePropertiesParameters, + AFDStateProperties { + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly domainValidationState?: DomainValidationState; + /** The host name of the domain. Must be a domain name. */ + hostName: string; + /** + * Values the customer needs to validate domain ownership + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly validationProperties?: DomainValidationProperties; +} /** The JSON object that contains the properties required to create an endpoint. */ -export type AFDEndpointProperties = AFDEndpointPropertiesUpdateParameters & - AFDStateProperties & { - /** - * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly hostName?: string; - /** Indicates the endpoint name reuse scope. The default value is TenantReuse. */ - autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; - }; +export interface AFDEndpointProperties + extends AFDEndpointPropertiesUpdateParameters, + AFDStateProperties { + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly hostName?: string; + /** Indicates the endpoint name reuse scope. The default value is TenantReuse. */ + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; +} /** The JSON object that contains the properties of the origin group. */ -export type AFDOriginGroupProperties = AFDOriginGroupUpdatePropertiesParameters & - AFDStateProperties & {}; +export interface AFDOriginGroupProperties + extends AFDOriginGroupUpdatePropertiesParameters, + AFDStateProperties {} /** The JSON object that contains the properties of the origin. */ -export type AFDOriginProperties = AFDOriginUpdatePropertiesParameters & - AFDStateProperties & {}; +export interface AFDOriginProperties + extends AFDOriginUpdatePropertiesParameters, + AFDStateProperties {} /** The JSON object that contains the properties of the Routes to create. */ -export type RouteProperties = RouteUpdatePropertiesParameters & - AFDStateProperties & {}; +export interface RouteProperties + extends RouteUpdatePropertiesParameters, + AFDStateProperties {} /** The JSON object that contains the properties of the Rule Set to create. */ -export type RuleSetProperties = AFDStateProperties & { +export interface RuleSetProperties extends AFDStateProperties { /** * The name of the profile which holds the rule set. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly profileName?: string; -}; +} /** The JSON object that contains the properties of the Rules to create. */ -export type RuleProperties = RuleUpdatePropertiesParameters & - AFDStateProperties & {}; +export interface RuleProperties + extends RuleUpdatePropertiesParameters, + AFDStateProperties {} /** The json object that contains properties required to create a security policy */ -export type SecurityPolicyProperties = AFDStateProperties & { +export interface SecurityPolicyProperties extends AFDStateProperties { /** * The name of the profile which holds the security policy. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2187,10 +2203,10 @@ export type SecurityPolicyProperties = AFDStateProperties & { readonly profileName?: string; /** object which contains security policy parameters */ parameters?: SecurityPolicyPropertiesParametersUnion; -}; +} /** The JSON object that contains the properties of the Secret to create. */ -export type SecretProperties = AFDStateProperties & { +export interface SecretProperties extends AFDStateProperties { /** * The name of the profile which holds the secret. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2198,21 +2214,21 @@ export type SecretProperties = AFDStateProperties & { readonly profileName?: string; /** object which contains secret parameters */ parameters?: SecretParametersUnion; -}; +} /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */ -export type ProxyResource = Resource & {}; +export interface ProxyResource extends Resource {} /** The resource model definition for a ARM tracked top level resource. */ -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { /** Resource location. */ location: string; /** Resource tags. */ tags?: { [propertyName: string]: string }; -}; +} /** Describes a managed rule set definition. */ -export type ManagedRuleSetDefinition = Resource & { +export interface ManagedRuleSetDefinition extends Resource { /** The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. */ sku?: Sku; /** @@ -2235,244 +2251,261 @@ export type ManagedRuleSetDefinition = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ruleGroups?: ManagedRuleGroupDefinition[]; -}; +} /** Defines the RemoteAddress condition for the delivery rule. */ -export type DeliveryRuleRemoteAddressCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRemoteAddressCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RemoteAddress"; /** Defines the parameters for the condition. */ parameters: RemoteAddressMatchConditionParameters; -}; +} /** Defines the RequestMethod condition for the delivery rule. */ -export type DeliveryRuleRequestMethodCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestMethodCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RequestMethod"; /** Defines the parameters for the condition. */ parameters: RequestMethodMatchConditionParameters; -}; +} /** Defines the QueryString condition for the delivery rule. */ -export type DeliveryRuleQueryStringCondition = DeliveryRuleCondition & { +export interface DeliveryRuleQueryStringCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "QueryString"; /** Defines the parameters for the condition. */ parameters: QueryStringMatchConditionParameters; -}; +} /** Defines the PostArgs condition for the delivery rule. */ -export type DeliveryRulePostArgsCondition = DeliveryRuleCondition & { +export interface DeliveryRulePostArgsCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "PostArgs"; /** Defines the parameters for the condition. */ parameters: PostArgsMatchConditionParameters; -}; +} /** Defines the RequestUri condition for the delivery rule. */ -export type DeliveryRuleRequestUriCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestUriCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RequestUri"; /** Defines the parameters for the condition. */ parameters: RequestUriMatchConditionParameters; -}; +} /** Defines the RequestHeader condition for the delivery rule. */ -export type DeliveryRuleRequestHeaderCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestHeaderCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RequestHeader"; /** Defines the parameters for the condition. */ parameters: RequestHeaderMatchConditionParameters; -}; +} /** Defines the RequestBody condition for the delivery rule. */ -export type DeliveryRuleRequestBodyCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestBodyCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RequestBody"; /** Defines the parameters for the condition. */ parameters: RequestBodyMatchConditionParameters; -}; +} /** Defines the RequestScheme condition for the delivery rule. */ -export type DeliveryRuleRequestSchemeCondition = DeliveryRuleCondition & { +export interface DeliveryRuleRequestSchemeCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RequestScheme"; /** Defines the parameters for the condition. */ parameters: RequestSchemeMatchConditionParameters; -}; +} /** Defines the UrlPath condition for the delivery rule. */ -export type DeliveryRuleUrlPathCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlPathCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlPath"; /** Defines the parameters for the condition. */ parameters: UrlPathMatchConditionParameters; -}; +} /** Defines the UrlFileExtension condition for the delivery rule. */ -export type DeliveryRuleUrlFileExtensionCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlFileExtensionCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlFileExtension"; /** Defines the parameters for the condition. */ parameters: UrlFileExtensionMatchConditionParameters; -}; +} /** Defines the UrlFileName condition for the delivery rule. */ -export type DeliveryRuleUrlFileNameCondition = DeliveryRuleCondition & { +export interface DeliveryRuleUrlFileNameCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlFileName"; /** Defines the parameters for the condition. */ parameters: UrlFileNameMatchConditionParameters; -}; +} /** Defines the HttpVersion condition for the delivery rule. */ -export type DeliveryRuleHttpVersionCondition = DeliveryRuleCondition & { +export interface DeliveryRuleHttpVersionCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "HttpVersion"; /** Defines the parameters for the condition. */ parameters: HttpVersionMatchConditionParameters; -}; +} /** Defines the Cookies condition for the delivery rule. */ -export type DeliveryRuleCookiesCondition = DeliveryRuleCondition & { +export interface DeliveryRuleCookiesCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "Cookies"; /** Defines the parameters for the condition. */ parameters: CookiesMatchConditionParameters; -}; +} /** Defines the IsDevice condition for the delivery rule. */ -export type DeliveryRuleIsDeviceCondition = DeliveryRuleCondition & { +export interface DeliveryRuleIsDeviceCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "IsDevice"; /** Defines the parameters for the condition. */ parameters: IsDeviceMatchConditionParameters; -}; +} /** Defines the SocketAddress condition for the delivery rule. */ -export type DeliveryRuleSocketAddrCondition = DeliveryRuleCondition & { +export interface DeliveryRuleSocketAddrCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "SocketAddr"; /** Defines the parameters for the condition. */ parameters: SocketAddrMatchConditionParameters; -}; +} /** Defines the ClientPort condition for the delivery rule. */ -export type DeliveryRuleClientPortCondition = DeliveryRuleCondition & { +export interface DeliveryRuleClientPortCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "ClientPort"; /** Defines the parameters for the condition. */ parameters: ClientPortMatchConditionParameters; -}; +} /** Defines the ServerPort condition for the delivery rule. */ -export type DeliveryRuleServerPortCondition = DeliveryRuleCondition & { +export interface DeliveryRuleServerPortCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "ServerPort"; /** Defines the parameters for the condition. */ parameters: ServerPortMatchConditionParameters; -}; +} /** Defines the HostName condition for the delivery rule. */ -export type DeliveryRuleHostNameCondition = DeliveryRuleCondition & { +export interface DeliveryRuleHostNameCondition extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "HostName"; /** Defines the parameters for the condition. */ parameters: HostNameMatchConditionParameters; -}; +} /** Defines the SslProtocol condition for the delivery rule. */ -export type DeliveryRuleSslProtocolCondition = DeliveryRuleCondition & { +export interface DeliveryRuleSslProtocolCondition + extends DeliveryRuleCondition { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "SslProtocol"; /** Defines the parameters for the condition. */ parameters: SslProtocolMatchConditionParameters; -}; +} /** Defines the url redirect action for the delivery rule. */ -export type UrlRedirectAction = DeliveryRuleActionAutoGenerated & { +export interface UrlRedirectAction extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlRedirect"; /** Defines the parameters for the action. */ parameters: UrlRedirectActionParameters; -}; +} /** Defines the url signing action for the delivery rule. */ -export type UrlSigningAction = DeliveryRuleActionAutoGenerated & { +export interface UrlSigningAction extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlSigning"; /** Defines the parameters for the action. */ parameters: UrlSigningActionParameters; -}; +} /** Defines the origin group override action for the delivery rule. */ -export type OriginGroupOverrideAction = DeliveryRuleActionAutoGenerated & { +export interface OriginGroupOverrideAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "OriginGroupOverride"; /** Defines the parameters for the action. */ parameters: OriginGroupOverrideActionParameters; -}; +} /** Defines the url rewrite action for the delivery rule. */ -export type UrlRewriteAction = DeliveryRuleActionAutoGenerated & { +export interface UrlRewriteAction extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "UrlRewrite"; /** Defines the parameters for the action. */ parameters: UrlRewriteActionParameters; -}; +} /** Defines the request header action for the delivery rule. */ -export type DeliveryRuleRequestHeaderAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleRequestHeaderAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "ModifyRequestHeader"; /** Defines the parameters for the action. */ parameters: HeaderActionParameters; -}; +} /** Defines the response header action for the delivery rule. */ -export type DeliveryRuleResponseHeaderAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleResponseHeaderAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "ModifyResponseHeader"; /** Defines the parameters for the action. */ parameters: HeaderActionParameters; -}; +} /** Defines the cache expiration action for the delivery rule. */ -export type DeliveryRuleCacheExpirationAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleCacheExpirationAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "CacheExpiration"; /** Defines the parameters for the action. */ parameters: CacheExpirationActionParameters; -}; +} /** Defines the cache-key query string action for the delivery rule. */ -export type DeliveryRuleCacheKeyQueryStringAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleCacheKeyQueryStringAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "CacheKeyQueryString"; /** Defines the parameters for the action. */ parameters: CacheKeyQueryStringActionParameters; -}; +} /** Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium Profiles. */ -export type DeliveryRuleRouteConfigurationOverrideAction = DeliveryRuleActionAutoGenerated & { +export interface DeliveryRuleRouteConfigurationOverrideAction + extends DeliveryRuleActionAutoGenerated { /** Polymorphic discriminator, which specifies the different types this object can be */ name: "RouteConfigurationOverride"; /** Defines the parameters for the action. */ parameters: RouteConfigurationOverrideActionParameters; -}; +} /** The json object containing security policy waf parameters */ -export type SecurityPolicyWebApplicationFirewallParameters = SecurityPolicyPropertiesParameters & { +export interface SecurityPolicyWebApplicationFirewallParameters + extends SecurityPolicyPropertiesParameters { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "WebApplicationFirewall"; /** Resource ID. */ wafPolicy?: ResourceReference; /** Waf associations */ associations?: SecurityPolicyWebApplicationFirewallAssociation[]; -}; +} /** Url signing key parameters */ -export type UrlSigningKeyParameters = SecretParameters & { +export interface UrlSigningKeyParameters extends SecretParameters { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "UrlSigningKey"; /** Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. */ @@ -2481,10 +2514,10 @@ export type UrlSigningKeyParameters = SecretParameters & { secretSource: ResourceReference; /** Version of the secret to be used */ secretVersion?: string; -}; +} /** Managed Certificate used for https */ -export type ManagedCertificateParameters = SecretParameters & { +export interface ManagedCertificateParameters extends SecretParameters { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "ManagedCertificate"; /** @@ -2497,10 +2530,10 @@ export type ManagedCertificateParameters = SecretParameters & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly expirationDate?: string; -}; +} /** Customer Certificate used for https */ -export type CustomerCertificateParameters = SecretParameters & { +export interface CustomerCertificateParameters extends SecretParameters { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "CustomerCertificate"; /** Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ @@ -2531,32 +2564,17 @@ export type CustomerCertificateParameters = SecretParameters & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly thumbprint?: string; -}; +} /** Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. */ -export type AzureFirstPartyManagedCertificateParameters = SecretParameters & { +export interface AzureFirstPartyManagedCertificateParameters + extends SecretParameters { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzureFirstPartyManagedCertificate"; -}; - -/** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ -export type CdnManagedHttpsParameters = CustomDomainHttpsParameters & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "Cdn"; - /** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ - certificateSourceParameters: CdnCertificateSourceParameters; -}; - -/** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ -export type UserManagedHttpsParameters = CustomDomainHttpsParameters & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - certificateSource: "AzureKeyVault"; - /** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ - certificateSourceParameters: KeyVaultCertificateSourceParameters; -}; +} /** The JSON object that contains the properties required to create an endpoint. */ -export type EndpointProperties = EndpointPropertiesUpdateParameters & { +export interface EndpointProperties extends EndpointPropertiesUpdateParameters { /** * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2570,7 +2588,7 @@ export type EndpointProperties = EndpointPropertiesUpdateParameters & { * The custom domains under the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly customDomains?: CustomDomain[]; + readonly customDomains?: DeepCreatedCustomDomain[]; /** * Resource status of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2580,11 +2598,11 @@ export type EndpointProperties = EndpointPropertiesUpdateParameters & { * Provisioning status of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; -}; + readonly provisioningState?: EndpointProvisioningState; +} /** The JSON object that contains the properties of the origin. */ -export type OriginProperties = OriginUpdatePropertiesParameters & { +export interface OriginProperties extends OriginUpdatePropertiesParameters { /** * Resource status of the origin. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2594,16 +2612,17 @@ export type OriginProperties = OriginUpdatePropertiesParameters & { * Provisioning status of the origin. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningState?: OriginProvisioningState; /** * The approval status for the connection to the Private Link * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointStatus?: PrivateEndpointStatus; -}; +} /** The JSON object that contains the properties of the origin group. */ -export type OriginGroupProperties = OriginGroupUpdatePropertiesParameters & { +export interface OriginGroupProperties + extends OriginGroupUpdatePropertiesParameters { /** * Resource status of the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2613,22 +2632,39 @@ export type OriginGroupProperties = OriginGroupUpdatePropertiesParameters & { * Provisioning status of the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; -}; + readonly provisioningState?: OriginGroupProvisioningState; +} + +/** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ +export interface CdnManagedHttpsParameters extends CustomDomainHttpsParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "Cdn"; + /** Defines the certificate source parameters using CDN managed certificate for enabling SSL. */ + certificateSourceParameters: CdnCertificateSourceParameters; +} + +/** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ +export interface UserManagedHttpsParameters + extends CustomDomainHttpsParameters { + /** Polymorphic discriminator, which specifies the different types this object can be */ + certificateSource: "AzureKeyVault"; + /** Defines the certificate source parameters using user's keyvault certificate for enabling SSL. */ + certificateSourceParameters: KeyVaultCertificateSourceParameters; +} /** Defines a rate limiting rule that can be included in a waf policy */ -export type RateLimitRule = CustomRule & { +export interface RateLimitRule extends CustomRule { /** Defines rate limit threshold. */ rateLimitThreshold: number; /** Defines rate limit duration. Default is 1 minute. */ rateLimitDurationInMinutes: number; -}; +} /** Managed Certificate used for https */ -export type ManagedCertificate = Certificate & {}; +export interface ManagedCertificate extends Certificate {} /** Customer Certificate used for https */ -export type CustomerCertificate = Certificate & { +export interface CustomerCertificate extends Certificate { /** Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ */ secretSource?: ResourceReference; /** Certificate version. */ @@ -2647,13 +2683,13 @@ export type CustomerCertificate = Certificate & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly thumbprint?: string; -}; +} /** Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS. */ -export type AzureFirstPartyManagedCertificate = Certificate & {}; +export interface AzureFirstPartyManagedCertificate extends Certificate {} /** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ -export type AFDDomain = ProxyResource & { +export interface AFDDomain extends ProxyResource { /** * The name of the profile which holds the domain. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2684,10 +2720,10 @@ export type AFDDomain = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly validationProperties?: DomainValidationProperties; -}; +} /** AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. */ -export type AFDOriginGroup = ProxyResource & { +export interface AFDOriginGroup extends ProxyResource { /** * The name of the profile which holds the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2708,10 +2744,10 @@ export type AFDOriginGroup = ProxyResource & { readonly provisioningState?: AfdProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deploymentStatus?: DeploymentStatus; -}; +} /** CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. */ -export type AFDOrigin = ProxyResource & { +export interface AFDOrigin extends ProxyResource { /** * The name of the origin group which contains this origin. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2744,10 +2780,10 @@ export type AFDOrigin = ProxyResource & { readonly provisioningState?: AfdProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deploymentStatus?: DeploymentStatus; -}; +} /** Friendly Routes name mapping to the any Routes or secret related information. */ -export type Route = ProxyResource & { +export interface Route extends ProxyResource { /** * The name of the endpoint which holds the route. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2782,10 +2818,10 @@ export type Route = ProxyResource & { readonly provisioningState?: AfdProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deploymentStatus?: DeploymentStatus; -}; +} /** Friendly RuleSet name mapping to the any RuleSet or secret related information. */ -export type RuleSet = ProxyResource & { +export interface RuleSet extends ProxyResource { /** * Provisioning status * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2798,10 +2834,10 @@ export type RuleSet = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly profileName?: string; -}; +} /** Friendly Rules name mapping to the any Rules or secret related information. */ -export type Rule = ProxyResource & { +export interface Rule extends ProxyResource { /** * The name of the rule set containing the rule. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2822,10 +2858,10 @@ export type Rule = ProxyResource & { readonly provisioningState?: AfdProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deploymentStatus?: DeploymentStatus; -}; +} /** SecurityPolicy association for AzureFrontDoor profile */ -export type SecurityPolicy = ProxyResource & { +export interface SecurityPolicy extends ProxyResource { /** * Provisioning status * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2840,10 +2876,10 @@ export type SecurityPolicy = ProxyResource & { readonly profileName?: string; /** object which contains security policy parameters */ parameters?: SecurityPolicyPropertiesParametersUnion; -}; +} /** Friendly Secret name mapping to the any Secret or secret related information. */ -export type Secret = ProxyResource & { +export interface Secret extends ProxyResource { /** * Provisioning status * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2858,40 +2894,10 @@ export type Secret = ProxyResource & { readonly profileName?: string; /** object which contains secret parameters */ parameters?: SecretParametersUnion; -}; - -/** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ -export type CustomDomain = ProxyResource & { - /** The host name of the custom domain. Must be a domain name. */ - hostName?: string; - /** - * Resource status of the custom domain. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resourceState?: CustomDomainResourceState; - /** - * Provisioning status of Custom Https of the custom domain. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; - /** - * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; - /** Certificate parameters for securing custom HTTPS */ - customHttpsParameters?: CustomDomainHttpsParametersUnion; - /** Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. */ - validationData?: string; - /** - * Provisioning status of the custom domain. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; -}; +} /** CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. */ -export type Origin = ProxyResource & { +export interface Origin extends ProxyResource { /** The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ hostName?: string; /** The value of the HTTP port. Must be between 1 and 65535. */ @@ -2923,16 +2929,16 @@ export type Origin = ProxyResource & { * Provisioning status of the origin. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningState?: OriginProvisioningState; /** * The approval status for the connection to the Private Link * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointStatus?: PrivateEndpointStatus; -}; +} /** Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. */ -export type OriginGroup = ProxyResource & { +export interface OriginGroup extends ProxyResource { /** Health probe settings to the origin that is used to determine the health of the origin. */ healthProbeSettings?: HealthProbeParameters; /** The source of the content being delivered via CDN within given origin group. */ @@ -2950,17 +2956,47 @@ export type OriginGroup = ProxyResource & { * Provisioning status of the origin group. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; -}; + readonly provisioningState?: OriginGroupProvisioningState; +} + +/** Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. */ +export interface CustomDomain extends ProxyResource { + /** The host name of the custom domain. Must be a domain name. */ + hostName?: string; + /** + * Resource status of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceState?: CustomDomainResourceState; + /** + * Provisioning status of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; + /** + * Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; + /** Certificate parameters for securing custom HTTPS */ + customHttpsParameters?: CustomDomainHttpsParametersUnion; + /** Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. */ + validationData?: string; + /** + * Provisioning status of Custom Https of the custom domain. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: CustomHttpsProvisioningState; +} /** Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users. */ -export type EdgeNode = ProxyResource & { +export interface EdgeNode extends ProxyResource { /** List of ip address groups. */ ipAddressGroups?: IpAddressGroup[]; -}; +} /** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. */ -export type AFDEndpoint = TrackedResource & { +export interface AFDEndpoint extends TrackedResource { /** * The name of the profile which holds the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2982,10 +3018,10 @@ export type AFDEndpoint = TrackedResource & { readonly hostName?: string; /** Indicates the endpoint name reuse scope. The default value is TenantReuse. */ autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; -}; +} /** A profile is a logical grouping of endpoints that share the same settings. */ -export type Profile = TrackedResource & { +export interface Profile extends TrackedResource { /** The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile. */ sku: Sku; /** @@ -3002,7 +3038,7 @@ export type Profile = TrackedResource & { * Provisioning status of the profile. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; + readonly provisioningState?: ProfileProvisioningState; /** * The Id of the frontdoor. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3010,10 +3046,10 @@ export type Profile = TrackedResource & { readonly frontDoorId?: string; /** Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. */ originResponseTimeoutSeconds?: number; -}; +} /** CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net. */ -export type Endpoint = TrackedResource & { +export interface Endpoint extends TrackedResource { /** A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. */ originPath?: string; /** List of content types on which compression applies. The value should be a valid MIME type. */ @@ -3055,7 +3091,7 @@ export type Endpoint = TrackedResource & { * The custom domains under the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly customDomains?: CustomDomain[]; + readonly customDomains?: DeepCreatedCustomDomain[]; /** * Resource status of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -3065,11 +3101,11 @@ export type Endpoint = TrackedResource & { * Provisioning status of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: string; -}; + readonly provisioningState?: EndpointProvisioningState; +} /** Defines web application firewall policy for Azure CDN. */ -export type CdnWebApplicationFirewallPolicy = TrackedResource & { +export interface CdnWebApplicationFirewallPolicy extends TrackedResource { /** Gets a unique read-only string that changes whenever the resource is updated. */ etag?: string; /** The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. */ @@ -3097,11 +3133,13 @@ export type CdnWebApplicationFirewallPolicy = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resourceState?: PolicyResourceState; -}; +} /** Known values of {@link ResourceType} that the service accepts. */ export enum KnownResourceType { + /** MicrosoftCdnProfilesEndpoints */ MicrosoftCdnProfilesEndpoints = "Microsoft.Cdn/Profiles/Endpoints", + /** MicrosoftCdnProfilesAfdEndpoints */ MicrosoftCdnProfilesAfdEndpoints = "Microsoft.Cdn/Profiles/AfdEndpoints" } @@ -3117,9 +3155,13 @@ export type ResourceType = string; /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */ export enum KnownAutoGeneratedDomainNameLabelScope { + /** TenantReuse */ TenantReuse = "TenantReuse", + /** SubscriptionReuse */ SubscriptionReuse = "SubscriptionReuse", + /** ResourceGroupReuse */ ResourceGroupReuse = "ResourceGroupReuse", + /** NoReuse */ NoReuse = "NoReuse" } @@ -3137,6 +3179,7 @@ export type AutoGeneratedDomainNameLabelScope = string; /** Known values of {@link UsageUnit} that the service accepts. */ export enum KnownUsageUnit { + /** Count */ Count = "Count" } @@ -3151,14 +3194,23 @@ export type UsageUnit = string; /** Known values of {@link DomainValidationState} that the service accepts. */ export enum KnownDomainValidationState { + /** Unknown */ Unknown = "Unknown", + /** Submitting */ Submitting = "Submitting", + /** Pending */ Pending = "Pending", + /** Rejected */ Rejected = "Rejected", + /** TimedOut */ TimedOut = "TimedOut", + /** PendingRevalidation */ PendingRevalidation = "PendingRevalidation", + /** Approved */ Approved = "Approved", + /** RefreshingValidationToken */ RefreshingValidationToken = "RefreshingValidationToken", + /** InternalError */ InternalError = "InternalError" } @@ -3181,8 +3233,11 @@ export type DomainValidationState = string; /** Known values of {@link AfdCertificateType} that the service accepts. */ export enum KnownAfdCertificateType { + /** CustomerCertificate */ CustomerCertificate = "CustomerCertificate", + /** ManagedCertificate */ ManagedCertificate = "ManagedCertificate", + /** AzureFirstPartyManagedCertificate */ AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate" } @@ -3199,10 +3254,15 @@ export type AfdCertificateType = string; /** Known values of {@link AfdProvisioningState} that the service accepts. */ export enum KnownAfdProvisioningState { + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed", + /** Updating */ Updating = "Updating", + /** Deleting */ Deleting = "Deleting", + /** Creating */ Creating = "Creating" } @@ -3221,9 +3281,13 @@ export type AfdProvisioningState = string; /** Known values of {@link DeploymentStatus} that the service accepts. */ export enum KnownDeploymentStatus { + /** NotStarted */ NotStarted = "NotStarted", + /** InProgress */ InProgress = "InProgress", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed" } @@ -3241,9 +3305,13 @@ export type DeploymentStatus = string; /** Known values of {@link IdentityType} that the service accepts. */ export enum KnownIdentityType { + /** User */ User = "user", + /** Application */ Application = "application", + /** ManagedIdentity */ ManagedIdentity = "managedIdentity", + /** Key */ Key = "key" } @@ -3261,7 +3329,9 @@ export type IdentityType = string; /** Known values of {@link EnabledState} that the service accepts. */ export enum KnownEnabledState { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -3277,7 +3347,9 @@ export type EnabledState = string; /** Known values of {@link AFDEndpointProtocols} that the service accepts. */ export enum KnownAFDEndpointProtocols { + /** Http */ Http = "Http", + /** Https */ Https = "Https" } @@ -3293,9 +3365,13 @@ export type AFDEndpointProtocols = string; /** Known values of {@link AfdQueryStringCachingBehavior} that the service accepts. */ export enum KnownAfdQueryStringCachingBehavior { + /** IgnoreQueryString */ IgnoreQueryString = "IgnoreQueryString", + /** UseQueryString */ UseQueryString = "UseQueryString", + /** IgnoreSpecifiedQueryStrings */ IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + /** IncludeSpecifiedQueryStrings */ IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings" } @@ -3313,8 +3389,11 @@ export type AfdQueryStringCachingBehavior = string; /** Known values of {@link ForwardingProtocol} that the service accepts. */ export enum KnownForwardingProtocol { + /** HttpOnly */ HttpOnly = "HttpOnly", + /** HttpsOnly */ HttpsOnly = "HttpsOnly", + /** MatchRequest */ MatchRequest = "MatchRequest" } @@ -3331,7 +3410,9 @@ export type ForwardingProtocol = string; /** Known values of {@link LinkToDefaultDomain} that the service accepts. */ export enum KnownLinkToDefaultDomain { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -3347,7 +3428,9 @@ export type LinkToDefaultDomain = string; /** Known values of {@link HttpsRedirect} that the service accepts. */ export enum KnownHttpsRedirect { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -3363,24 +3446,43 @@ export type HttpsRedirect = string; /** Known values of {@link MatchVariable} that the service accepts. */ export enum KnownMatchVariable { + /** RemoteAddress */ RemoteAddress = "RemoteAddress", + /** RequestMethod */ RequestMethod = "RequestMethod", + /** QueryString */ QueryString = "QueryString", + /** PostArgs */ PostArgs = "PostArgs", + /** RequestUri */ RequestUri = "RequestUri", + /** RequestHeader */ RequestHeader = "RequestHeader", + /** RequestBody */ RequestBody = "RequestBody", + /** RequestScheme */ RequestScheme = "RequestScheme", + /** UrlPath */ UrlPath = "UrlPath", + /** UrlFileExtension */ UrlFileExtension = "UrlFileExtension", + /** UrlFileName */ UrlFileName = "UrlFileName", + /** HttpVersion */ HttpVersion = "HttpVersion", + /** Cookies */ Cookies = "Cookies", + /** IsDevice */ IsDevice = "IsDevice", + /** SocketAddr */ SocketAddr = "SocketAddr", + /** ClientPort */ ClientPort = "ClientPort", + /** ServerPort */ ServerPort = "ServerPort", + /** HostName */ HostName = "HostName", + /** SslProtocol */ SslProtocol = "SslProtocol" } @@ -3413,14 +3515,23 @@ export type MatchVariable = string; /** Known values of {@link DeliveryRuleAction} that the service accepts. */ export enum KnownDeliveryRuleAction { + /** CacheExpiration */ CacheExpiration = "CacheExpiration", + /** CacheKeyQueryString */ CacheKeyQueryString = "CacheKeyQueryString", + /** ModifyRequestHeader */ ModifyRequestHeader = "ModifyRequestHeader", + /** ModifyResponseHeader */ ModifyResponseHeader = "ModifyResponseHeader", + /** UrlRedirect */ UrlRedirect = "UrlRedirect", + /** UrlRewrite */ UrlRewrite = "UrlRewrite", + /** UrlSigning */ UrlSigning = "UrlSigning", + /** OriginGroupOverride */ OriginGroupOverride = "OriginGroupOverride", + /** RouteConfigurationOverride */ RouteConfigurationOverride = "RouteConfigurationOverride" } @@ -3443,7 +3554,9 @@ export type DeliveryRuleAction = string; /** Known values of {@link MatchProcessingBehavior} that the service accepts. */ export enum KnownMatchProcessingBehavior { + /** Continue */ Continue = "Continue", + /** Stop */ Stop = "Stop" } @@ -3459,6 +3572,7 @@ export type MatchProcessingBehavior = string; /** Known values of {@link SecurityPolicyType} that the service accepts. */ export enum KnownSecurityPolicyType { + /** WebApplicationFirewall */ WebApplicationFirewall = "WebApplicationFirewall" } @@ -3473,9 +3587,13 @@ export type SecurityPolicyType = string; /** Known values of {@link SecretType} that the service accepts. */ export enum KnownSecretType { + /** UrlSigningKey */ UrlSigningKey = "UrlSigningKey", + /** CustomerCertificate */ CustomerCertificate = "CustomerCertificate", + /** ManagedCertificate */ ManagedCertificate = "ManagedCertificate", + /** AzureFirstPartyManagedCertificate */ AzureFirstPartyManagedCertificate = "AzureFirstPartyManagedCertificate" } @@ -3493,9 +3611,13 @@ export type SecretType = string; /** Known values of {@link Status} that the service accepts. */ export enum KnownStatus { + /** Valid */ Valid = "Valid", + /** Invalid */ Invalid = "Invalid", + /** AccessDenied */ AccessDenied = "AccessDenied", + /** CertificateExpired */ CertificateExpired = "CertificateExpired" } @@ -3513,11 +3635,17 @@ export type Status = string; /** Known values of {@link LogMetric} that the service accepts. */ export enum KnownLogMetric { + /** ClientRequestCount */ ClientRequestCount = "clientRequestCount", + /** ClientRequestTraffic */ ClientRequestTraffic = "clientRequestTraffic", + /** ClientRequestBandwidth */ ClientRequestBandwidth = "clientRequestBandwidth", + /** OriginRequestTraffic */ OriginRequestTraffic = "originRequestTraffic", + /** OriginRequestBandwidth */ OriginRequestBandwidth = "originRequestBandwidth", + /** TotalLatency */ TotalLatency = "totalLatency" } @@ -3537,8 +3665,11 @@ export type LogMetric = string; /** Known values of {@link LogMetricsGranularity} that the service accepts. */ export enum KnownLogMetricsGranularity { + /** PT5M */ PT5M = "PT5M", + /** PT1H */ PT1H = "PT1H", + /** P1D */ P1D = "P1D" } @@ -3555,10 +3686,15 @@ export type LogMetricsGranularity = string; /** Known values of {@link LogMetricsGroupBy} that the service accepts. */ export enum KnownLogMetricsGroupBy { + /** HttpStatusCode */ HttpStatusCode = "httpStatusCode", + /** Protocol */ Protocol = "protocol", + /** CacheStatus */ CacheStatus = "cacheStatus", + /** CountryOrRegion */ CountryOrRegion = "countryOrRegion", + /** CustomDomain */ CustomDomain = "customDomain" } @@ -3577,8 +3713,11 @@ export type LogMetricsGroupBy = string; /** Known values of {@link MetricsResponseGranularity} that the service accepts. */ export enum KnownMetricsResponseGranularity { + /** PT5M */ PT5M = "PT5M", + /** PT1H */ PT1H = "PT1H", + /** P1D */ P1D = "P1D" } @@ -3595,9 +3734,13 @@ export type MetricsResponseGranularity = string; /** Known values of {@link MetricsResponseSeriesItemUnit} that the service accepts. */ export enum KnownMetricsResponseSeriesItemUnit { + /** Count */ Count = "count", + /** Bytes */ Bytes = "bytes", + /** BitsPerSecond */ BitsPerSecond = "bitsPerSecond", + /** MilliSeconds */ MilliSeconds = "milliSeconds" } @@ -3615,10 +3758,15 @@ export type MetricsResponseSeriesItemUnit = string; /** Known values of {@link LogRanking} that the service accepts. */ export enum KnownLogRanking { + /** Url */ Url = "url", + /** Referrer */ Referrer = "referrer", + /** Browser */ Browser = "browser", + /** UserAgent */ UserAgent = "userAgent", + /** CountryOrRegion */ CountryOrRegion = "countryOrRegion" } @@ -3637,11 +3785,17 @@ export type LogRanking = string; /** Known values of {@link LogRankingMetric} that the service accepts. */ export enum KnownLogRankingMetric { + /** ClientRequestCount */ ClientRequestCount = "clientRequestCount", + /** ClientRequestTraffic */ ClientRequestTraffic = "clientRequestTraffic", + /** HitCount */ HitCount = "hitCount", + /** MissCount */ MissCount = "missCount", + /** UserErrorCount */ UserErrorCount = "userErrorCount", + /** ErrorCount */ ErrorCount = "errorCount" } @@ -3661,6 +3815,7 @@ export type LogRankingMetric = string; /** Known values of {@link WafMetric} that the service accepts. */ export enum KnownWafMetric { + /** ClientRequestCount */ ClientRequestCount = "clientRequestCount" } @@ -3675,8 +3830,11 @@ export type WafMetric = string; /** Known values of {@link WafGranularity} that the service accepts. */ export enum KnownWafGranularity { + /** PT5M */ PT5M = "PT5M", + /** PT1H */ PT1H = "PT1H", + /** P1D */ P1D = "P1D" } @@ -3693,9 +3851,13 @@ export type WafGranularity = string; /** Known values of {@link WafAction} that the service accepts. */ export enum KnownWafAction { + /** Allow */ Allow = "allow", + /** Block */ Block = "block", + /** Log */ Log = "log", + /** Redirect */ Redirect = "redirect" } @@ -3713,7 +3875,9 @@ export type WafAction = string; /** Known values of {@link WafRankingGroupBy} that the service accepts. */ export enum KnownWafRankingGroupBy { + /** HttpStatusCode */ HttpStatusCode = "httpStatusCode", + /** CustomDomain */ CustomDomain = "customDomain" } @@ -3729,8 +3893,11 @@ export type WafRankingGroupBy = string; /** Known values of {@link WafRuleType} that the service accepts. */ export enum KnownWafRuleType { + /** Managed */ Managed = "managed", + /** Custom */ Custom = "custom", + /** Bot */ Bot = "bot" } @@ -3747,8 +3914,11 @@ export type WafRuleType = string; /** Known values of {@link WafMetricsResponseGranularity} that the service accepts. */ export enum KnownWafMetricsResponseGranularity { + /** PT5M */ PT5M = "PT5M", + /** PT1H */ PT1H = "PT1H", + /** P1D */ P1D = "P1D" } @@ -3765,13 +3935,21 @@ export type WafMetricsResponseGranularity = string; /** Known values of {@link WafRankingType} that the service accepts. */ export enum KnownWafRankingType { + /** Action */ Action = "action", + /** RuleGroup */ RuleGroup = "ruleGroup", + /** RuleId */ RuleId = "ruleId", + /** UserAgent */ UserAgent = "userAgent", + /** ClientIp */ ClientIp = "clientIp", + /** Url */ Url = "url", + /** CountryOrRegion */ CountryOrRegion = "countryOrRegion", + /** RuleType */ RuleType = "ruleType" } @@ -3793,18 +3971,31 @@ export type WafRankingType = string; /** Known values of {@link SkuName} that the service accepts. */ export enum KnownSkuName { + /** StandardVerizon */ StandardVerizon = "Standard_Verizon", + /** PremiumVerizon */ PremiumVerizon = "Premium_Verizon", + /** CustomVerizon */ CustomVerizon = "Custom_Verizon", + /** StandardAkamai */ StandardAkamai = "Standard_Akamai", + /** StandardChinaCdn */ StandardChinaCdn = "Standard_ChinaCdn", + /** StandardMicrosoft */ StandardMicrosoft = "Standard_Microsoft", + /** StandardAzureFrontDoor */ StandardAzureFrontDoor = "Standard_AzureFrontDoor", + /** PremiumAzureFrontDoor */ PremiumAzureFrontDoor = "Premium_AzureFrontDoor", + /** Standard955BandWidthChinaCdn */ Standard955BandWidthChinaCdn = "Standard_955BandWidth_ChinaCdn", + /** StandardAvgBandWidthChinaCdn */ StandardAvgBandWidthChinaCdn = "Standard_AvgBandWidth_ChinaCdn", + /** StandardPlusChinaCdn */ StandardPlusChinaCdn = "StandardPlus_ChinaCdn", + /** StandardPlus955BandWidthChinaCdn */ StandardPlus955BandWidthChinaCdn = "StandardPlus_955BandWidth_ChinaCdn", + /** StandardPlusAvgBandWidthChinaCdn */ StandardPlusAvgBandWidthChinaCdn = "StandardPlus_AvgBandWidth_ChinaCdn" } @@ -3831,9 +4022,13 @@ export type SkuName = string; /** Known values of {@link ProfileResourceState} that the service accepts. */ export enum KnownProfileResourceState { + /** Creating */ Creating = "Creating", + /** Active */ Active = "Active", + /** Deleting */ Deleting = "Deleting", + /** Disabled */ Disabled = "Disabled" } @@ -3849,12 +4044,44 @@ export enum KnownProfileResourceState { */ export type ProfileResourceState = string; +/** Known values of {@link ProfileProvisioningState} that the service accepts. */ +export enum KnownProfileProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", + /** Creating */ + Creating = "Creating" +} + +/** + * Defines values for ProfileProvisioningState. \ + * {@link KnownProfileProvisioningState} can be used interchangeably with ProfileProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Deleting** \ + * **Creating** + */ +export type ProfileProvisioningState = string; + /** Known values of {@link OptimizationType} that the service accepts. */ export enum KnownOptimizationType { + /** GeneralWebDelivery */ GeneralWebDelivery = "GeneralWebDelivery", + /** GeneralMediaStreaming */ GeneralMediaStreaming = "GeneralMediaStreaming", + /** VideoOnDemandMediaStreaming */ VideoOnDemandMediaStreaming = "VideoOnDemandMediaStreaming", + /** LargeFileDownload */ LargeFileDownload = "LargeFileDownload", + /** DynamicSiteAcceleration */ DynamicSiteAcceleration = "DynamicSiteAcceleration" } @@ -3871,12 +4098,32 @@ export enum KnownOptimizationType { */ export type OptimizationType = string; +/** Known values of {@link ResourceUsageUnit} that the service accepts. */ +export enum KnownResourceUsageUnit { + /** Count */ + Count = "count" +} + +/** + * Defines values for ResourceUsageUnit. \ + * {@link KnownResourceUsageUnit} can be used interchangeably with ResourceUsageUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **count** + */ +export type ResourceUsageUnit = string; + /** Known values of {@link PrivateEndpointStatus} that the service accepts. */ export enum KnownPrivateEndpointStatus { + /** Pending */ Pending = "Pending", + /** Approved */ Approved = "Approved", + /** Rejected */ Rejected = "Rejected", + /** Disconnected */ Disconnected = "Disconnected", + /** Timeout */ Timeout = "Timeout" } @@ -3893,10 +4140,166 @@ export enum KnownPrivateEndpointStatus { */ export type PrivateEndpointStatus = string; +/** Known values of {@link EndpointResourceState} that the service accepts. */ +export enum KnownEndpointResourceState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Running */ + Running = "Running", + /** Starting */ + Starting = "Starting", + /** Stopped */ + Stopped = "Stopped", + /** Stopping */ + Stopping = "Stopping" +} + +/** + * Defines values for EndpointResourceState. \ + * {@link KnownEndpointResourceState} can be used interchangeably with EndpointResourceState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Running** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** + */ +export type EndpointResourceState = string; + +/** Known values of {@link EndpointProvisioningState} that the service accepts. */ +export enum KnownEndpointProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", + /** Creating */ + Creating = "Creating" +} + +/** + * Defines values for EndpointProvisioningState. \ + * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Deleting** \ + * **Creating** + */ +export type EndpointProvisioningState = string; + +/** Known values of {@link OriginResourceState} that the service accepts. */ +export enum KnownOriginResourceState { + /** Creating */ + Creating = "Creating", + /** Active */ + Active = "Active", + /** Deleting */ + Deleting = "Deleting" +} + +/** + * Defines values for OriginResourceState. \ + * {@link KnownOriginResourceState} can be used interchangeably with OriginResourceState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Active** \ + * **Deleting** + */ +export type OriginResourceState = string; + +/** Known values of {@link OriginProvisioningState} that the service accepts. */ +export enum KnownOriginProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", + /** Creating */ + Creating = "Creating" +} + +/** + * Defines values for OriginProvisioningState. \ + * {@link KnownOriginProvisioningState} can be used interchangeably with OriginProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Deleting** \ + * **Creating** + */ +export type OriginProvisioningState = string; + +/** Known values of {@link OriginGroupResourceState} that the service accepts. */ +export enum KnownOriginGroupResourceState { + /** Creating */ + Creating = "Creating", + /** Active */ + Active = "Active", + /** Deleting */ + Deleting = "Deleting" +} + +/** + * Defines values for OriginGroupResourceState. \ + * {@link KnownOriginGroupResourceState} can be used interchangeably with OriginGroupResourceState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Active** \ + * **Deleting** + */ +export type OriginGroupResourceState = string; + +/** Known values of {@link OriginGroupProvisioningState} that the service accepts. */ +export enum KnownOriginGroupProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", + /** Creating */ + Creating = "Creating" +} + +/** + * Defines values for OriginGroupProvisioningState. \ + * {@link KnownOriginGroupProvisioningState} can be used interchangeably with OriginGroupProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Deleting** \ + * **Creating** + */ +export type OriginGroupProvisioningState = string; + /** Known values of {@link CustomDomainResourceState} that the service accepts. */ export enum KnownCustomDomainResourceState { + /** Creating */ Creating = "Creating", + /** Active */ Active = "Active", + /** Deleting */ Deleting = "Deleting" } @@ -3913,10 +4316,15 @@ export type CustomDomainResourceState = string; /** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */ export enum KnownCustomHttpsProvisioningState { + /** Enabling */ Enabling = "Enabling", + /** Enabled */ Enabled = "Enabled", + /** Disabling */ Disabling = "Disabling", + /** Disabled */ Disabled = "Disabled", + /** Failed */ Failed = "Failed" } @@ -3935,15 +4343,25 @@ export type CustomHttpsProvisioningState = string; /** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */ export enum KnownCustomHttpsProvisioningSubstate { + /** SubmittingDomainControlValidationRequest */ SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest", + /** PendingDomainControlValidationREquestApproval */ PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval", + /** DomainControlValidationRequestApproved */ DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved", + /** DomainControlValidationRequestRejected */ DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected", + /** DomainControlValidationRequestTimedOut */ DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut", + /** IssuingCertificate */ IssuingCertificate = "IssuingCertificate", + /** DeployingCertificate */ DeployingCertificate = "DeployingCertificate", + /** CertificateDeployed */ CertificateDeployed = "CertificateDeployed", + /** DeletingCertificate */ DeletingCertificate = "DeletingCertificate", + /** CertificateDeleted */ CertificateDeleted = "CertificateDeleted" } @@ -3967,7 +4385,9 @@ export type CustomHttpsProvisioningSubstate = string; /** Known values of {@link CertificateSource} that the service accepts. */ export enum KnownCertificateSource { + /** AzureKeyVault */ AzureKeyVault = "AzureKeyVault", + /** Cdn */ Cdn = "Cdn" } @@ -3983,7 +4403,9 @@ export type CertificateSource = string; /** Known values of {@link ProtocolType} that the service accepts. */ export enum KnownProtocolType { + /** ServerNameIndication */ ServerNameIndication = "ServerNameIndication", + /** IPBased */ IPBased = "IPBased" } @@ -3997,69 +4419,11 @@ export enum KnownProtocolType { */ export type ProtocolType = string; -/** Known values of {@link EndpointResourceState} that the service accepts. */ -export enum KnownEndpointResourceState { - Creating = "Creating", - Deleting = "Deleting", - Running = "Running", - Starting = "Starting", - Stopped = "Stopped", - Stopping = "Stopping" -} - -/** - * Defines values for EndpointResourceState. \ - * {@link KnownEndpointResourceState} can be used interchangeably with EndpointResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Deleting** \ - * **Running** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** - */ -export type EndpointResourceState = string; - -/** Known values of {@link OriginResourceState} that the service accepts. */ -export enum KnownOriginResourceState { - Creating = "Creating", - Active = "Active", - Deleting = "Deleting" -} - -/** - * Defines values for OriginResourceState. \ - * {@link KnownOriginResourceState} can be used interchangeably with OriginResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Active** \ - * **Deleting** - */ -export type OriginResourceState = string; - -/** Known values of {@link OriginGroupResourceState} that the service accepts. */ -export enum KnownOriginGroupResourceState { - Creating = "Creating", - Active = "Active", - Deleting = "Deleting" -} - -/** - * Defines values for OriginGroupResourceState. \ - * {@link KnownOriginGroupResourceState} can be used interchangeably with OriginGroupResourceState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Creating** \ - * **Active** \ - * **Deleting** - */ -export type OriginGroupResourceState = string; - /** Known values of {@link PolicyEnabledState} that the service accepts. */ export enum KnownPolicyEnabledState { + /** Disabled */ Disabled = "Disabled", + /** Enabled */ Enabled = "Enabled" } @@ -4075,7 +4439,9 @@ export type PolicyEnabledState = string; /** Known values of {@link PolicyMode} that the service accepts. */ export enum KnownPolicyMode { + /** Prevention */ Prevention = "Prevention", + /** Detection */ Detection = "Detection" } @@ -4091,10 +4457,15 @@ export type PolicyMode = string; /** Known values of {@link PolicySettingsDefaultCustomBlockResponseStatusCode} that the service accepts. */ export enum KnownPolicySettingsDefaultCustomBlockResponseStatusCode { + /** TwoHundred */ TwoHundred = 200, + /** FourHundredThree */ FourHundredThree = 403, + /** FourHundredFive */ FourHundredFive = 405, + /** FourHundredSix */ FourHundredSix = 406, + /** FourHundredTwentyNine */ FourHundredTwentyNine = 429 } @@ -4113,7 +4484,9 @@ export type PolicySettingsDefaultCustomBlockResponseStatusCode = number; /** Known values of {@link CustomRuleEnabledState} that the service accepts. */ export enum KnownCustomRuleEnabledState { + /** Disabled */ Disabled = "Disabled", + /** Enabled */ Enabled = "Enabled" } @@ -4129,14 +4502,23 @@ export type CustomRuleEnabledState = string; /** Known values of {@link WafMatchVariable} that the service accepts. */ export enum KnownWafMatchVariable { + /** RemoteAddr */ RemoteAddr = "RemoteAddr", + /** SocketAddr */ SocketAddr = "SocketAddr", + /** RequestMethod */ RequestMethod = "RequestMethod", + /** RequestHeader */ RequestHeader = "RequestHeader", + /** RequestUri */ RequestUri = "RequestUri", + /** QueryString */ QueryString = "QueryString", + /** RequestBody */ RequestBody = "RequestBody", + /** Cookies */ Cookies = "Cookies", + /** PostArgs */ PostArgs = "PostArgs" } @@ -4159,17 +4541,29 @@ export type WafMatchVariable = string; /** Known values of {@link Operator} that the service accepts. */ export enum KnownOperator { + /** Any */ Any = "Any", + /** IPMatch */ IPMatch = "IPMatch", + /** GeoMatch */ GeoMatch = "GeoMatch", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** LessThan */ LessThan = "LessThan", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** RegEx */ RegEx = "RegEx" } @@ -4195,11 +4589,17 @@ export type Operator = string; /** Known values of {@link TransformType} that the service accepts. */ export enum KnownTransformType { + /** Lowercase */ Lowercase = "Lowercase", + /** Uppercase */ Uppercase = "Uppercase", + /** Trim */ Trim = "Trim", + /** UrlDecode */ UrlDecode = "UrlDecode", + /** UrlEncode */ UrlEncode = "UrlEncode", + /** RemoveNulls */ RemoveNulls = "RemoveNulls" } @@ -4219,9 +4619,13 @@ export type TransformType = string; /** Known values of {@link ActionType} that the service accepts. */ export enum KnownActionType { + /** Allow */ Allow = "Allow", + /** Block */ Block = "Block", + /** Log */ Log = "Log", + /** Redirect */ Redirect = "Redirect" } @@ -4239,7 +4643,9 @@ export type ActionType = string; /** Known values of {@link ManagedRuleEnabledState} that the service accepts. */ export enum KnownManagedRuleEnabledState { + /** Disabled */ Disabled = "Disabled", + /** Enabled */ Enabled = "Enabled" } @@ -4255,8 +4661,11 @@ export type ManagedRuleEnabledState = string; /** Known values of {@link ProvisioningState} that the service accepts. */ export enum KnownProvisioningState { + /** Creating */ Creating = "Creating", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed" } @@ -4273,11 +4682,17 @@ export type ProvisioningState = string; /** Known values of {@link PolicyResourceState} that the service accepts. */ export enum KnownPolicyResourceState { + /** Creating */ Creating = "Creating", + /** Enabling */ Enabling = "Enabling", + /** Enabled */ Enabled = "Enabled", + /** Disabling */ Disabling = "Disabling", + /** Disabled */ Disabled = "Disabled", + /** Deleting */ Deleting = "Deleting" } @@ -4297,8 +4712,11 @@ export type PolicyResourceState = string; /** Known values of {@link RemoteAddressOperator} that the service accepts. */ export enum KnownRemoteAddressOperator { + /** Any */ Any = "Any", + /** IPMatch */ IPMatch = "IPMatch", + /** GeoMatch */ GeoMatch = "GeoMatch" } @@ -4315,11 +4733,17 @@ export type RemoteAddressOperator = string; /** Known values of {@link Transform} that the service accepts. */ export enum KnownTransform { + /** Lowercase */ Lowercase = "Lowercase", + /** Uppercase */ Uppercase = "Uppercase", + /** Trim */ Trim = "Trim", + /** UrlDecode */ UrlDecode = "UrlDecode", + /** UrlEncode */ UrlEncode = "UrlEncode", + /** RemoveNulls */ RemoveNulls = "RemoveNulls" } @@ -4339,6 +4763,7 @@ export type Transform = string; /** Known values of {@link RequestMethodOperator} that the service accepts. */ export enum KnownRequestMethodOperator { + /** Equal */ Equal = "Equal" } @@ -4353,12 +4778,19 @@ export type RequestMethodOperator = string; /** Known values of {@link RequestMethodMatchConditionParametersMatchValuesItem} that the service accepts. */ export enum KnownRequestMethodMatchConditionParametersMatchValuesItem { + /** GET */ GET = "GET", + /** Head */ Head = "HEAD", + /** Post */ Post = "POST", + /** PUT */ PUT = "PUT", + /** Delete */ Delete = "DELETE", + /** Options */ Options = "OPTIONS", + /** Trace */ Trace = "TRACE" } @@ -4379,15 +4811,25 @@ export type RequestMethodMatchConditionParametersMatchValuesItem = string; /** Known values of {@link QueryStringOperator} that the service accepts. */ export enum KnownQueryStringOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4411,15 +4853,25 @@ export type QueryStringOperator = string; /** Known values of {@link PostArgsOperator} that the service accepts. */ export enum KnownPostArgsOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4443,15 +4895,25 @@ export type PostArgsOperator = string; /** Known values of {@link RequestUriOperator} that the service accepts. */ export enum KnownRequestUriOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4475,15 +4937,25 @@ export type RequestUriOperator = string; /** Known values of {@link RequestHeaderOperator} that the service accepts. */ export enum KnownRequestHeaderOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4507,15 +4979,25 @@ export type RequestHeaderOperator = string; /** Known values of {@link RequestBodyOperator} that the service accepts. */ export enum KnownRequestBodyOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4539,7 +5021,9 @@ export type RequestBodyOperator = string; /** Known values of {@link RequestSchemeMatchConditionParametersMatchValuesItem} that the service accepts. */ export enum KnownRequestSchemeMatchConditionParametersMatchValuesItem { + /** Http */ Http = "HTTP", + /** Https */ Https = "HTTPS" } @@ -4555,16 +5039,27 @@ export type RequestSchemeMatchConditionParametersMatchValuesItem = string; /** Known values of {@link UrlPathOperator} that the service accepts. */ export enum KnownUrlPathOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** Wildcard */ Wildcard = "Wildcard", + /** RegEx */ RegEx = "RegEx" } @@ -4589,15 +5084,25 @@ export type UrlPathOperator = string; /** Known values of {@link UrlFileExtensionOperator} that the service accepts. */ export enum KnownUrlFileExtensionOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4621,15 +5126,25 @@ export type UrlFileExtensionOperator = string; /** Known values of {@link UrlFileNameOperator} that the service accepts. */ export enum KnownUrlFileNameOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4653,6 +5168,7 @@ export type UrlFileNameOperator = string; /** Known values of {@link HttpVersionOperator} that the service accepts. */ export enum KnownHttpVersionOperator { + /** Equal */ Equal = "Equal" } @@ -4667,15 +5183,25 @@ export type HttpVersionOperator = string; /** Known values of {@link CookiesOperator} that the service accepts. */ export enum KnownCookiesOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4699,6 +5225,7 @@ export type CookiesOperator = string; /** Known values of {@link IsDeviceOperator} that the service accepts. */ export enum KnownIsDeviceOperator { + /** Equal */ Equal = "Equal" } @@ -4713,7 +5240,9 @@ export type IsDeviceOperator = string; /** Known values of {@link IsDeviceMatchConditionParametersMatchValuesItem} that the service accepts. */ export enum KnownIsDeviceMatchConditionParametersMatchValuesItem { + /** Mobile */ Mobile = "Mobile", + /** Desktop */ Desktop = "Desktop" } @@ -4729,7 +5258,9 @@ export type IsDeviceMatchConditionParametersMatchValuesItem = string; /** Known values of {@link SocketAddrOperator} that the service accepts. */ export enum KnownSocketAddrOperator { + /** Any */ Any = "Any", + /** IPMatch */ IPMatch = "IPMatch" } @@ -4745,15 +5276,25 @@ export type SocketAddrOperator = string; /** Known values of {@link ClientPortOperator} that the service accepts. */ export enum KnownClientPortOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4777,15 +5318,25 @@ export type ClientPortOperator = string; /** Known values of {@link ServerPortOperator} that the service accepts. */ export enum KnownServerPortOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4809,15 +5360,25 @@ export type ServerPortOperator = string; /** Known values of {@link HostNameOperator} that the service accepts. */ export enum KnownHostNameOperator { + /** Any */ Any = "Any", + /** Equal */ Equal = "Equal", + /** Contains */ Contains = "Contains", + /** BeginsWith */ BeginsWith = "BeginsWith", + /** EndsWith */ EndsWith = "EndsWith", + /** LessThan */ LessThan = "LessThan", + /** LessThanOrEqual */ LessThanOrEqual = "LessThanOrEqual", + /** GreaterThan */ GreaterThan = "GreaterThan", + /** GreaterThanOrEqual */ GreaterThanOrEqual = "GreaterThanOrEqual", + /** RegEx */ RegEx = "RegEx" } @@ -4841,6 +5402,7 @@ export type HostNameOperator = string; /** Known values of {@link SslProtocolOperator} that the service accepts. */ export enum KnownSslProtocolOperator { + /** Equal */ Equal = "Equal" } @@ -4855,8 +5417,11 @@ export type SslProtocolOperator = string; /** Known values of {@link SslProtocol} that the service accepts. */ export enum KnownSslProtocol { + /** TLSv1 */ TLSv1 = "TLSv1", + /** TLSv11 */ TLSv11 = "TLSv1.1", + /** TLSv12 */ TLSv12 = "TLSv1.2" } @@ -4873,9 +5438,13 @@ export type SslProtocol = string; /** Known values of {@link RedirectType} that the service accepts. */ export enum KnownRedirectType { + /** Moved */ Moved = "Moved", + /** Found */ Found = "Found", + /** TemporaryRedirect */ TemporaryRedirect = "TemporaryRedirect", + /** PermanentRedirect */ PermanentRedirect = "PermanentRedirect" } @@ -4893,8 +5462,11 @@ export type RedirectType = string; /** Known values of {@link DestinationProtocol} that the service accepts. */ export enum KnownDestinationProtocol { + /** MatchRequest */ MatchRequest = "MatchRequest", + /** Http */ Http = "Http", + /** Https */ Https = "Https" } @@ -4911,6 +5483,7 @@ export type DestinationProtocol = string; /** Known values of {@link Algorithm} that the service accepts. */ export enum KnownAlgorithm { + /** SHA256 */ SHA256 = "SHA256" } @@ -4925,8 +5498,11 @@ export type Algorithm = string; /** Known values of {@link ParamIndicator} that the service accepts. */ export enum KnownParamIndicator { + /** Expires */ Expires = "Expires", + /** KeyId */ KeyId = "KeyId", + /** Signature */ Signature = "Signature" } @@ -4943,8 +5519,11 @@ export type ParamIndicator = string; /** Known values of {@link HeaderAction} that the service accepts. */ export enum KnownHeaderAction { + /** Append */ Append = "Append", + /** Overwrite */ Overwrite = "Overwrite", + /** Delete */ Delete = "Delete" } @@ -4961,8 +5540,11 @@ export type HeaderAction = string; /** Known values of {@link CacheBehavior} that the service accepts. */ export enum KnownCacheBehavior { + /** BypassCache */ BypassCache = "BypassCache", + /** Override */ Override = "Override", + /** SetIfMissing */ SetIfMissing = "SetIfMissing" } @@ -4979,6 +5561,7 @@ export type CacheBehavior = string; /** Known values of {@link CacheType} that the service accepts. */ export enum KnownCacheType { + /** All */ All = "All" } @@ -4993,9 +5576,13 @@ export type CacheType = string; /** Known values of {@link QueryStringBehavior} that the service accepts. */ export enum KnownQueryStringBehavior { + /** Include */ Include = "Include", + /** IncludeAll */ IncludeAll = "IncludeAll", + /** Exclude */ Exclude = "Exclude", + /** ExcludeAll */ ExcludeAll = "ExcludeAll" } @@ -5013,9 +5600,13 @@ export type QueryStringBehavior = string; /** Known values of {@link RuleQueryStringCachingBehavior} that the service accepts. */ export enum KnownRuleQueryStringCachingBehavior { + /** IgnoreQueryString */ IgnoreQueryString = "IgnoreQueryString", + /** UseQueryString */ UseQueryString = "UseQueryString", + /** IgnoreSpecifiedQueryStrings */ IgnoreSpecifiedQueryStrings = "IgnoreSpecifiedQueryStrings", + /** IncludeSpecifiedQueryStrings */ IncludeSpecifiedQueryStrings = "IncludeSpecifiedQueryStrings" } @@ -5033,7 +5624,9 @@ export type RuleQueryStringCachingBehavior = string; /** Known values of {@link RuleIsCompressionEnabled} that the service accepts. */ export enum KnownRuleIsCompressionEnabled { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -5049,8 +5642,11 @@ export type RuleIsCompressionEnabled = string; /** Known values of {@link RuleCacheBehavior} that the service accepts. */ export enum KnownRuleCacheBehavior { + /** HonorOrigin */ HonorOrigin = "HonorOrigin", + /** OverrideAlways */ OverrideAlways = "OverrideAlways", + /** OverrideIfOriginMissing */ OverrideIfOriginMissing = "OverrideIfOriginMissing" } @@ -5067,7 +5663,9 @@ export type RuleCacheBehavior = string; /** Known values of {@link CertificateType} that the service accepts. */ export enum KnownCertificateType { + /** Shared */ Shared = "Shared", + /** Dedicated */ Dedicated = "Dedicated" } @@ -5083,6 +5681,7 @@ export type CertificateType = string; /** Known values of {@link UpdateRule} that the service accepts. */ export enum KnownUpdateRule { + /** NoAction */ NoAction = "NoAction" } @@ -5097,6 +5696,7 @@ export type UpdateRule = string; /** Known values of {@link DeleteRule} that the service accepts. */ export enum KnownDeleteRule { + /** NoAction */ NoAction = "NoAction" } @@ -5126,8 +5726,6 @@ export type ResponseBasedDetectedErrorTypes = | "None" | "TcpErrorsOnly" | "TcpAndHttpErrors"; -/** Defines values for MinimumTlsVersion. */ -export type MinimumTlsVersion = "None" | "TLS10" | "TLS12"; /** Defines values for QueryStringCachingBehavior. */ export type QueryStringCachingBehavior = | "IgnoreQueryString" @@ -5136,6 +5734,8 @@ export type QueryStringCachingBehavior = | "NotSet"; /** Defines values for GeoFilterActions. */ export type GeoFilterActions = "Block" | "Allow"; +/** Defines values for MinimumTlsVersion. */ +export type MinimumTlsVersion = "None" | "TLS10" | "TLS12"; /** Optional parameters. */ export interface CheckEndpointNameAvailabilityOptionalParams @@ -6132,7 +6732,12 @@ export interface CustomDomainsDeleteOptionalParams /** Optional parameters. */ export interface CustomDomainsDisableCustomHttpsOptionalParams - extends coreClient.OperationOptions {} + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the disableCustomHttps operation. */ export type CustomDomainsDisableCustomHttpsResponse = CustomDomain; @@ -6142,6 +6747,10 @@ export interface CustomDomainsEnableCustomHttpsOptionalParams extends coreClient.OperationOptions { /** The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default. */ customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } /** Contains response data for the enableCustomHttps operation. */ diff --git a/sdk/cdn/arm-cdn/src/models/mappers.ts b/sdk/cdn/arm-cdn/src/models/mappers.ts index 21fa23dc17fe..9db4814da70b 100644 --- a/sdk/cdn/arm-cdn/src/models/mappers.ts +++ b/sdk/cdn/arm-cdn/src/models/mappers.ts @@ -2997,35 +2997,28 @@ export const HttpErrorRangeParameters: coreClient.CompositeMapper = { } }; -export const CustomDomainHttpsParameters: coreClient.CompositeMapper = { +export const DeepCreatedCustomDomain: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomainHttpsParameters", - uberParent: "CustomDomainHttpsParameters", - polymorphicDiscriminator: { - serializedName: "certificateSource", - clientName: "certificateSource" - }, + className: "DeepCreatedCustomDomain", modelProperties: { - certificateSource: { - serializedName: "certificateSource", + name: { + serializedName: "name", required: true, type: { name: "String" } }, - protocolType: { - serializedName: "protocolType", - required: true, + hostName: { + serializedName: "properties.hostName", type: { name: "String" } }, - minimumTlsVersion: { - serializedName: "minimumTlsVersion", + validationData: { + serializedName: "properties.validationData", type: { - name: "Enum", - allowedValues: ["None", "TLS10", "TLS12"] + name: "String" } } } @@ -3880,6 +3873,41 @@ export const CustomDomainListResult: coreClient.CompositeMapper = { } }; +export const CustomDomainHttpsParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomDomainHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: { + serializedName: "certificateSource", + clientName: "certificateSource" + }, + modelProperties: { + certificateSource: { + serializedName: "certificateSource", + required: true, + type: { + name: "String" + } + }, + protocolType: { + serializedName: "protocolType", + required: true, + type: { + name: "String" + } + }, + minimumTlsVersion: { + serializedName: "minimumTlsVersion", + type: { + name: "Enum", + allowedValues: ["None", "TLS10", "TLS12"] + } + } + } + } +}; + export const CustomDomainParameters: coreClient.CompositeMapper = { type: { name: "Composite", @@ -7389,48 +7417,6 @@ export const AzureFirstPartyManagedCertificateParameters: coreClient.CompositeMa } }; -export const CdnManagedHttpsParameters: coreClient.CompositeMapper = { - serializedName: "Cdn", - type: { - name: "Composite", - className: "CdnManagedHttpsParameters", - uberParent: "CustomDomainHttpsParameters", - polymorphicDiscriminator: - CustomDomainHttpsParameters.type.polymorphicDiscriminator, - modelProperties: { - ...CustomDomainHttpsParameters.type.modelProperties, - certificateSourceParameters: { - serializedName: "certificateSourceParameters", - type: { - name: "Composite", - className: "CdnCertificateSourceParameters" - } - } - } - } -}; - -export const UserManagedHttpsParameters: coreClient.CompositeMapper = { - serializedName: "AzureKeyVault", - type: { - name: "Composite", - className: "UserManagedHttpsParameters", - uberParent: "CustomDomainHttpsParameters", - polymorphicDiscriminator: - CustomDomainHttpsParameters.type.polymorphicDiscriminator, - modelProperties: { - ...CustomDomainHttpsParameters.type.modelProperties, - certificateSourceParameters: { - serializedName: "certificateSourceParameters", - type: { - name: "Composite", - className: "KeyVaultCertificateSourceParameters" - } - } - } - } -}; - export const EndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -7477,7 +7463,7 @@ export const EndpointProperties: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CustomDomain" + className: "DeepCreatedCustomDomain" } } } @@ -7555,6 +7541,48 @@ export const OriginGroupProperties: coreClient.CompositeMapper = { } }; +export const CdnManagedHttpsParameters: coreClient.CompositeMapper = { + serializedName: "Cdn", + type: { + name: "Composite", + className: "CdnManagedHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: + CustomDomainHttpsParameters.type.polymorphicDiscriminator, + modelProperties: { + ...CustomDomainHttpsParameters.type.modelProperties, + certificateSourceParameters: { + serializedName: "certificateSourceParameters", + type: { + name: "Composite", + className: "CdnCertificateSourceParameters" + } + } + } + } +}; + +export const UserManagedHttpsParameters: coreClient.CompositeMapper = { + serializedName: "AzureKeyVault", + type: { + name: "Composite", + className: "UserManagedHttpsParameters", + uberParent: "CustomDomainHttpsParameters", + polymorphicDiscriminator: + CustomDomainHttpsParameters.type.polymorphicDiscriminator, + modelProperties: { + ...CustomDomainHttpsParameters.type.modelProperties, + certificateSourceParameters: { + serializedName: "certificateSourceParameters", + type: { + name: "Composite", + className: "KeyVaultCertificateSourceParameters" + } + } + } + } +}; + export const RateLimitRule: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8199,63 +8227,6 @@ export const Secret: coreClient.CompositeMapper = { } }; -export const CustomDomain: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomDomain", - modelProperties: { - ...ProxyResource.type.modelProperties, - hostName: { - serializedName: "properties.hostName", - type: { - name: "String" - } - }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, - type: { - name: "String" - } - }, - customHttpsProvisioningState: { - serializedName: "properties.customHttpsProvisioningState", - readOnly: true, - type: { - name: "String" - } - }, - customHttpsProvisioningSubstate: { - serializedName: "properties.customHttpsProvisioningSubstate", - readOnly: true, - type: { - name: "String" - } - }, - customHttpsParameters: { - serializedName: "properties.customHttpsParameters", - type: { - name: "Composite", - className: "CustomDomainHttpsParameters" - } - }, - validationData: { - serializedName: "properties.validationData", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const Origin: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8430,6 +8401,63 @@ export const OriginGroup: coreClient.CompositeMapper = { } }; +export const CustomDomain: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomDomain", + modelProperties: { + ...ProxyResource.type.modelProperties, + hostName: { + serializedName: "properties.hostName", + type: { + name: "String" + } + }, + resourceState: { + serializedName: "properties.resourceState", + readOnly: true, + type: { + name: "String" + } + }, + customHttpsProvisioningState: { + serializedName: "properties.customHttpsProvisioningState", + readOnly: true, + type: { + name: "String" + } + }, + customHttpsProvisioningSubstate: { + serializedName: "properties.customHttpsProvisioningSubstate", + readOnly: true, + type: { + name: "String" + } + }, + customHttpsParameters: { + serializedName: "properties.customHttpsParameters", + type: { + name: "Composite", + className: "CustomDomainHttpsParameters" + } + }, + validationData: { + serializedName: "properties.validationData", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const EdgeNode: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8712,7 +8740,7 @@ export const Endpoint: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "CustomDomain" + className: "DeepCreatedCustomDomain" } } } diff --git a/sdk/cdn/arm-cdn/src/operations/afdCustomDomains.ts b/sdk/cdn/arm-cdn/src/operations/afdCustomDomains.ts index 72900a185654..1f15e8d01588 100644 --- a/sdk/cdn/arm-cdn/src/operations/afdCustomDomains.ts +++ b/sdk/cdn/arm-cdn/src/operations/afdCustomDomains.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { AfdCustomDomains } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -68,11 +69,15 @@ export class AfdCustomDomainsImpl implements AfdCustomDomains { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -81,15 +86,22 @@ export class AfdCustomDomainsImpl implements AfdCustomDomains { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: AfdCustomDomainsListByProfileOptionalParams + options?: AfdCustomDomainsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdCustomDomainsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -98,7 +110,9 @@ export class AfdCustomDomainsImpl implements AfdCustomDomains { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/afdEndpoints.ts b/sdk/cdn/arm-cdn/src/operations/afdEndpoints.ts index ba46654dc1ba..61732f32ddee 100644 --- a/sdk/cdn/arm-cdn/src/operations/afdEndpoints.ts +++ b/sdk/cdn/arm-cdn/src/operations/afdEndpoints.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { AfdEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -18,10 +19,11 @@ import { AFDEndpoint, AfdEndpointsListByProfileNextOptionalParams, AfdEndpointsListByProfileOptionalParams, + AfdEndpointsListByProfileResponse, Usage, AfdEndpointsListResourceUsageNextOptionalParams, AfdEndpointsListResourceUsageOptionalParams, - AfdEndpointsListByProfileResponse, + AfdEndpointsListResourceUsageResponse, AfdEndpointsGetOptionalParams, AfdEndpointsGetResponse, AfdEndpointsCreateOptionalParams, @@ -32,7 +34,6 @@ import { AfdEndpointsDeleteOptionalParams, AfdPurgeParameters, AfdEndpointsPurgeContentOptionalParams, - AfdEndpointsListResourceUsageResponse, ValidateCustomDomainInput, AfdEndpointsValidateCustomDomainOptionalParams, AfdEndpointsValidateCustomDomainResponse, @@ -77,11 +78,15 @@ export class AfdEndpointsImpl implements AfdEndpoints { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -90,15 +95,22 @@ export class AfdEndpointsImpl implements AfdEndpoints { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: AfdEndpointsListByProfileOptionalParams + options?: AfdEndpointsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdEndpointsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -107,7 +119,9 @@ export class AfdEndpointsImpl implements AfdEndpoints { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -126,7 +140,7 @@ export class AfdEndpointsImpl implements AfdEndpoints { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. @@ -152,12 +166,16 @@ export class AfdEndpointsImpl implements AfdEndpoints { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -167,16 +185,23 @@ export class AfdEndpointsImpl implements AfdEndpoints { resourceGroupName: string, profileName: string, endpointName: string, - options?: AfdEndpointsListResourceUsageOptionalParams + options?: AfdEndpointsListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdEndpointsListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -186,7 +211,9 @@ export class AfdEndpointsImpl implements AfdEndpoints { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -651,7 +678,7 @@ export class AfdEndpointsImpl implements AfdEndpoints { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. @@ -671,7 +698,8 @@ export class AfdEndpointsImpl implements AfdEndpoints { } /** - * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api + * isn't work for apex domain. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operations/afdOriginGroups.ts b/sdk/cdn/arm-cdn/src/operations/afdOriginGroups.ts index 81ae0adcd7d4..8cdc63ceb723 100644 --- a/sdk/cdn/arm-cdn/src/operations/afdOriginGroups.ts +++ b/sdk/cdn/arm-cdn/src/operations/afdOriginGroups.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { AfdOriginGroups } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -18,10 +19,11 @@ import { AFDOriginGroup, AfdOriginGroupsListByProfileNextOptionalParams, AfdOriginGroupsListByProfileOptionalParams, + AfdOriginGroupsListByProfileResponse, Usage, AfdOriginGroupsListResourceUsageNextOptionalParams, AfdOriginGroupsListResourceUsageOptionalParams, - AfdOriginGroupsListByProfileResponse, + AfdOriginGroupsListResourceUsageResponse, AfdOriginGroupsGetOptionalParams, AfdOriginGroupsGetResponse, AfdOriginGroupsCreateOptionalParams, @@ -30,7 +32,6 @@ import { AfdOriginGroupsUpdateOptionalParams, AfdOriginGroupsUpdateResponse, AfdOriginGroupsDeleteOptionalParams, - AfdOriginGroupsListResourceUsageResponse, AfdOriginGroupsListByProfileNextResponse, AfdOriginGroupsListResourceUsageNextResponse } from "../models"; @@ -72,11 +73,15 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -85,15 +90,22 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: AfdOriginGroupsListByProfileOptionalParams + options?: AfdOriginGroupsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdOriginGroupsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -102,7 +114,9 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -121,7 +135,8 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN + * profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. @@ -147,12 +162,16 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, originGroupName, - options + options, + settings ); } }; @@ -162,16 +181,23 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { resourceGroupName: string, profileName: string, originGroupName: string, - options?: AfdOriginGroupsListResourceUsageOptionalParams + options?: AfdOriginGroupsListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - originGroupName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdOriginGroupsListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + originGroupName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -181,7 +207,9 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -536,7 +564,8 @@ export class AfdOriginGroupsImpl implements AfdOriginGroups { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN + * profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operations/afdOrigins.ts b/sdk/cdn/arm-cdn/src/operations/afdOrigins.ts index 31ea66daf7d3..a3f11ad7ab8f 100644 --- a/sdk/cdn/arm-cdn/src/operations/afdOrigins.ts +++ b/sdk/cdn/arm-cdn/src/operations/afdOrigins.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { AfdOrigins } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -70,12 +71,16 @@ export class AfdOriginsImpl implements AfdOrigins { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByOriginGroupPagingPage( resourceGroupName, profileName, originGroupName, - options + options, + settings ); } }; @@ -85,16 +90,23 @@ export class AfdOriginsImpl implements AfdOrigins { resourceGroupName: string, profileName: string, originGroupName: string, - options?: AfdOriginsListByOriginGroupOptionalParams + options?: AfdOriginsListByOriginGroupOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByOriginGroup( - resourceGroupName, - profileName, - originGroupName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdOriginsListByOriginGroupResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByOriginGroup( + resourceGroupName, + profileName, + originGroupName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByOriginGroupNext( resourceGroupName, @@ -104,7 +116,9 @@ export class AfdOriginsImpl implements AfdOrigins { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/afdProfiles.ts b/sdk/cdn/arm-cdn/src/operations/afdProfiles.ts index cc172de0ed8c..57c5fed4fa50 100644 --- a/sdk/cdn/arm-cdn/src/operations/afdProfiles.ts +++ b/sdk/cdn/arm-cdn/src/operations/afdProfiles.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { AfdProfiles } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -37,7 +38,7 @@ export class AfdProfilesImpl implements AfdProfiles { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile * which is unique within the resource group. @@ -60,11 +61,15 @@ export class AfdProfilesImpl implements AfdProfiles { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -73,15 +78,22 @@ export class AfdProfilesImpl implements AfdProfiles { private async *listResourceUsagePagingPage( resourceGroupName: string, profileName: string, - options?: AfdProfilesListResourceUsageOptionalParams + options?: AfdProfilesListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: AfdProfilesListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -90,7 +102,9 @@ export class AfdProfilesImpl implements AfdProfiles { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -109,7 +123,7 @@ export class AfdProfilesImpl implements AfdProfiles { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile * which is unique within the resource group. @@ -127,7 +141,7 @@ export class AfdProfilesImpl implements AfdProfiles { } /** - * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * Check the name availability of a host name. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile * which is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operations/customDomains.ts b/sdk/cdn/arm-cdn/src/operations/customDomains.ts index a237f122c4d6..984b398e3dc5 100644 --- a/sdk/cdn/arm-cdn/src/operations/customDomains.ts +++ b/sdk/cdn/arm-cdn/src/operations/customDomains.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { CustomDomains } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; -import * as Models from "../models"; import * as Parameters from "../models/parameters"; import { CdnManagementClient } from "../cdnManagementClient"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; @@ -30,10 +30,10 @@ import { CustomDomainsDisableCustomHttpsResponse, CustomDomainsEnableCustomHttpsOptionalParams, CustomDomainsEnableCustomHttpsResponse, - CustomDomainsListByEndpointNextResponse + CustomDomainsListByEndpointNextResponse, + Profile, + CdnManagedHttpsParameters } from "../models"; -import { ProfilesImpl } from "./profiles"; -import { type } from "os"; /// /** Class containing CustomDomains operations. */ @@ -74,12 +74,16 @@ export class CustomDomainsImpl implements CustomDomains { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByEndpointPagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -89,16 +93,23 @@ export class CustomDomainsImpl implements CustomDomains { resourceGroupName: string, profileName: string, endpointName: string, - options?: CustomDomainsListByEndpointOptionalParams + options?: CustomDomainsListByEndpointOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByEndpoint( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: CustomDomainsListByEndpointResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByEndpoint( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByEndpointNext( resourceGroupName, @@ -108,7 +119,9 @@ export class CustomDomainsImpl implements CustomDomains { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -389,14 +402,59 @@ export class CustomDomainsImpl implements CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - disableCustomHttps( + async beginDisableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams - ): Promise { - return this.client.sendOperationRequest( + ): Promise< + PollerLike< + PollOperationState, + CustomDomainsDisableCustomHttpsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, { resourceGroupName, profileName, @@ -406,6 +464,37 @@ export class CustomDomainsImpl implements CustomDomains { }, disableCustomHttpsOperationSpec ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Disable https delivery of the custom domain. + * @param resourceGroupName Name of the Resource group within the Azure subscription. + * @param profileName Name of the CDN profile which is unique within the resource group. + * @param endpointName Name of the endpoint under the profile which is unique globally. + * @param customDomainName Name of the custom domain within an endpoint. + * @param options The options parameters. + */ + async beginDisableCustomHttpsAndWait( + resourceGroupName: string, + profileName: string, + endpointName: string, + customDomainName: string, + options?: CustomDomainsDisableCustomHttpsOptionalParams + ): Promise { + const poller = await this.beginDisableCustomHttps( + resourceGroupName, + profileName, + endpointName, + customDomainName, + options + ); + return poller.pollUntilDone(); } /** @@ -416,44 +505,108 @@ export class CustomDomainsImpl implements CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - enableCustomHttps( + async beginEnableCustomHttps( resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams - ): Promise { - // #region Added default values to add backwards compatibility - let newOptions: Models.CustomDomainsEnableCustomHttpsOptionalParams = {}; - newOptions = options as Models.CustomDomainsEnableCustomHttpsOptionalParams; - - if (!newOptions) { - newOptions = {}; - } - - let optionsPreparationPromise = Promise.resolve(options); + ): Promise< + PollerLike< + PollOperationState, + CustomDomainsEnableCustomHttpsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + // #region Added default values to add backwards compatibility + let newOptions: CustomDomainsEnableCustomHttpsOptionalParams = options ? options : {}; if (!newOptions.customDomainHttpsParameters) { - let profiles = new ProfilesImpl(this.client); - optionsPreparationPromise = profiles.get(resourceGroupName, profileName).then(profile => { - newOptions.customDomainHttpsParameters = getDefaultCustomDomainHttpsParameters(profile); - return newOptions; - }) + const profile = await this.client.profiles.get(resourceGroupName, profileName); + newOptions.customDomainHttpsParameters = getDefaultCustomDomainHttpsParameters(profile); } + options = newOptions; + // #endregion - return optionsPreparationPromise.then(options => - this.client.sendOperationRequest( - { - resourceGroupName, - profileName, - endpointName, - customDomainName, - options - }, - enableCustomHttpsOperationSpec - ) + const lro = new LroImpl( + sendOperation, + { + resourceGroupName, + profileName, + endpointName, + customDomainName, + options + }, + enableCustomHttpsOperationSpec ); - // #endregion + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Enable https delivery of the custom domain. + * @param resourceGroupName Name of the Resource group within the Azure subscription. + * @param profileName Name of the CDN profile which is unique within the resource group. + * @param endpointName Name of the endpoint under the profile which is unique globally. + * @param customDomainName Name of the custom domain within an endpoint. + * @param options The options parameters. + */ + async beginEnableCustomHttpsAndWait( + resourceGroupName: string, + profileName: string, + endpointName: string, + customDomainName: string, + options?: CustomDomainsEnableCustomHttpsOptionalParams + ): Promise { + const poller = await this.beginEnableCustomHttps( + resourceGroupName, + profileName, + endpointName, + customDomainName, + options + ); + return poller.pollUntilDone(); } /** @@ -477,50 +630,6 @@ export class CustomDomainsImpl implements CustomDomains { ); } } - -// #region Added default values to add backwards compatibility -class SkuNames { - public static get standard_microsoft() { return "Standard_Microsoft"; } - public static get standard_verizon() { return "Standard_Verizon"; } - public static get standard_akamai() { return "Standard_Akamai"; } -} - -function getDefaultCustomDomainHttpsParameters(profile: Models.Profile): Models.CdnManagedHttpsParameters | undefined { - switch (profile.sku.name) { - case SkuNames.standard_microsoft: - return { - certificateSource: "Cdn", - certificateSourceParameters: { - certificateType: "Dedicated", - typeName: "CdnCertificateSourceParameters" - }, - protocolType: "ServerNameIndication" - } - case SkuNames.standard_akamai: - return { - certificateSource: "Cdn", - certificateSourceParameters: { - certificateType: "Shared", - typeName: "CdnCertificateSourceParameters" - }, - protocolType: "ServerNameIndication" - } - case SkuNames.standard_verizon: - return { - certificateSource: "Cdn", - certificateSourceParameters: { - certificateType: "Shared", - typeName: "CdnCertificateSourceParameters" - }, - protocolType: "IPBased" - } - default: - return undefined; - } -} - -// #endregion - // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -636,10 +745,18 @@ const disableCustomHttpsOperationSpec: coreClient.OperationSpec = { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps", httpMethod: "POST", responses: { - 200: {}, + 200: { + bodyMapper: Mappers.CustomDomain + }, + 201: { + bodyMapper: Mappers.CustomDomain + }, 202: { bodyMapper: Mappers.CustomDomain }, + 204: { + bodyMapper: Mappers.CustomDomain + }, default: { bodyMapper: Mappers.ErrorResponse } @@ -661,10 +778,18 @@ const enableCustomHttpsOperationSpec: coreClient.OperationSpec = { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps", httpMethod: "POST", responses: { - 200: {}, + 200: { + bodyMapper: Mappers.CustomDomain + }, + 201: { + bodyMapper: Mappers.CustomDomain + }, 202: { bodyMapper: Mappers.CustomDomain }, + 204: { + bodyMapper: Mappers.CustomDomain + }, default: { bodyMapper: Mappers.ErrorResponse } @@ -706,3 +831,46 @@ const listByEndpointNextOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; + +// #region Added default values to add backwards compatibility +class SkuNames { + public static get standard_microsoft() { return "Standard_Microsoft"; } + public static get standard_verizon() { return "Standard_Verizon"; } + public static get standard_akamai() { return "Standard_Akamai"; } +} + +function getDefaultCustomDomainHttpsParameters(profile: Profile): CdnManagedHttpsParameters | undefined { + switch (profile.sku.name) { + case SkuNames.standard_microsoft: + return { + certificateSource: "Cdn", + certificateSourceParameters: { + certificateType: "Dedicated", + typeName: "CdnCertificateSourceParameters" + }, + protocolType: "ServerNameIndication" + } + case SkuNames.standard_akamai: + return { + certificateSource: "Cdn", + certificateSourceParameters: { + certificateType: "Shared", + typeName: "CdnCertificateSourceParameters" + }, + protocolType: "ServerNameIndication" + } + case SkuNames.standard_verizon: + return { + certificateSource: "Cdn", + certificateSourceParameters: { + certificateType: "Shared", + typeName: "CdnCertificateSourceParameters" + }, + protocolType: "IPBased" + } + default: + return undefined; + } +} + +// #endregion diff --git a/sdk/cdn/arm-cdn/src/operations/edgeNodes.ts b/sdk/cdn/arm-cdn/src/operations/edgeNodes.ts index 46b370217f04..80c638d57e91 100644 --- a/sdk/cdn/arm-cdn/src/operations/edgeNodes.ts +++ b/sdk/cdn/arm-cdn/src/operations/edgeNodes.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { EdgeNodes } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -48,22 +49,34 @@ export class EdgeNodesImpl implements EdgeNodes { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); } }; } private async *listPagingPage( - options?: EdgeNodesListOptionalParams + options?: EdgeNodesListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: EdgeNodesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext(continuationToken, options); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/endpoints.ts b/sdk/cdn/arm-cdn/src/operations/endpoints.ts index 8c1dc61cf9b1..c6d4ea406c60 100644 --- a/sdk/cdn/arm-cdn/src/operations/endpoints.ts +++ b/sdk/cdn/arm-cdn/src/operations/endpoints.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Endpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -18,10 +19,11 @@ import { Endpoint, EndpointsListByProfileNextOptionalParams, EndpointsListByProfileOptionalParams, + EndpointsListByProfileResponse, ResourceUsage, EndpointsListResourceUsageNextOptionalParams, EndpointsListResourceUsageOptionalParams, - EndpointsListByProfileResponse, + EndpointsListResourceUsageResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOptionalParams, @@ -41,7 +43,6 @@ import { ValidateCustomDomainInput, EndpointsValidateCustomDomainOptionalParams, EndpointsValidateCustomDomainResponse, - EndpointsListResourceUsageResponse, EndpointsListByProfileNextResponse, EndpointsListResourceUsageNextResponse } from "../models"; @@ -82,11 +83,15 @@ export class EndpointsImpl implements Endpoints { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -95,15 +100,22 @@ export class EndpointsImpl implements Endpoints { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: EndpointsListByProfileOptionalParams + options?: EndpointsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: EndpointsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -112,7 +124,9 @@ export class EndpointsImpl implements Endpoints { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -156,12 +170,16 @@ export class EndpointsImpl implements Endpoints { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -171,16 +189,23 @@ export class EndpointsImpl implements Endpoints { resourceGroupName: string, profileName: string, endpointName: string, - options?: EndpointsListResourceUsageOptionalParams + options?: EndpointsListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: EndpointsListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -190,7 +215,9 @@ export class EndpointsImpl implements Endpoints { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts b/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts index 45ada4479ba3..7710ab9c0d01 100644 --- a/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts +++ b/sdk/cdn/arm-cdn/src/operations/managedRuleSets.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { ManagedRuleSets } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -48,22 +49,34 @@ export class ManagedRuleSetsImpl implements ManagedRuleSets { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); } }; } private async *listPagingPage( - options?: ManagedRuleSetsListOptionalParams + options?: ManagedRuleSetsListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: ManagedRuleSetsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext(continuationToken, options); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/operations.ts b/sdk/cdn/arm-cdn/src/operations/operations.ts index 8bd584ca8d53..687e663fd325 100644 --- a/sdk/cdn/arm-cdn/src/operations/operations.ts +++ b/sdk/cdn/arm-cdn/src/operations/operations.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Operations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -48,22 +49,34 @@ export class OperationsImpl implements Operations { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); } }; } private async *listPagingPage( - options?: OperationsListOptionalParams + options?: OperationsListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: OperationsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext(continuationToken, options); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/originGroups.ts b/sdk/cdn/arm-cdn/src/operations/originGroups.ts index bb85064a9616..1d1ae190752c 100644 --- a/sdk/cdn/arm-cdn/src/operations/originGroups.ts +++ b/sdk/cdn/arm-cdn/src/operations/originGroups.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { OriginGroups } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -69,12 +70,16 @@ export class OriginGroupsImpl implements OriginGroups { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByEndpointPagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -84,16 +89,23 @@ export class OriginGroupsImpl implements OriginGroups { resourceGroupName: string, profileName: string, endpointName: string, - options?: OriginGroupsListByEndpointOptionalParams + options?: OriginGroupsListByEndpointOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByEndpoint( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: OriginGroupsListByEndpointResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByEndpoint( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByEndpointNext( resourceGroupName, @@ -103,7 +115,9 @@ export class OriginGroupsImpl implements OriginGroups { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/origins.ts b/sdk/cdn/arm-cdn/src/operations/origins.ts index 8d7b3c59f815..d575d7550c05 100644 --- a/sdk/cdn/arm-cdn/src/operations/origins.ts +++ b/sdk/cdn/arm-cdn/src/operations/origins.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Origins } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -69,12 +70,16 @@ export class OriginsImpl implements Origins { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByEndpointPagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -84,16 +89,23 @@ export class OriginsImpl implements Origins { resourceGroupName: string, profileName: string, endpointName: string, - options?: OriginsListByEndpointOptionalParams + options?: OriginsListByEndpointOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByEndpoint( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: OriginsListByEndpointResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByEndpoint( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByEndpointNext( resourceGroupName, @@ -103,7 +115,9 @@ export class OriginsImpl implements Origins { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/policies.ts b/sdk/cdn/arm-cdn/src/operations/policies.ts index cad2172350c1..af77b032a52d 100644 --- a/sdk/cdn/arm-cdn/src/operations/policies.ts +++ b/sdk/cdn/arm-cdn/src/operations/policies.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Policies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -60,19 +61,29 @@ export class PoliciesImpl implements Policies { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(resourceGroupName, options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(resourceGroupName, options, settings); } }; } private async *listPagingPage( resourceGroupName: string, - options?: PoliciesListOptionalParams + options?: PoliciesListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(resourceGroupName, options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: PoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext( resourceGroupName, @@ -80,7 +91,9 @@ export class PoliciesImpl implements Policies { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/profiles.ts b/sdk/cdn/arm-cdn/src/operations/profiles.ts index 0591b170ac38..09ab69e0e02c 100644 --- a/sdk/cdn/arm-cdn/src/operations/profiles.ts +++ b/sdk/cdn/arm-cdn/src/operations/profiles.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Profiles } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -18,13 +19,14 @@ import { Profile, ProfilesListNextOptionalParams, ProfilesListOptionalParams, + ProfilesListResponse, ProfilesListByResourceGroupNextOptionalParams, ProfilesListByResourceGroupOptionalParams, + ProfilesListByResourceGroupResponse, ResourceUsage, ProfilesListResourceUsageNextOptionalParams, ProfilesListResourceUsageOptionalParams, - ProfilesListResponse, - ProfilesListByResourceGroupResponse, + ProfilesListResourceUsageResponse, ProfilesGetOptionalParams, ProfilesGetResponse, ProfilesCreateOptionalParams, @@ -37,7 +39,6 @@ import { ProfilesGenerateSsoUriResponse, ProfilesListSupportedOptimizationTypesOptionalParams, ProfilesListSupportedOptimizationTypesResponse, - ProfilesListResourceUsageResponse, ProfilesListNextResponse, ProfilesListByResourceGroupNextResponse, ProfilesListResourceUsageNextResponse @@ -72,22 +73,34 @@ export class ProfilesImpl implements Profiles { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); } }; } private async *listPagingPage( - options?: ProfilesListOptionalParams + options?: ProfilesListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: ProfilesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext(continuationToken, options); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -117,19 +130,33 @@ export class ProfilesImpl implements Profiles { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listByResourceGroupPagingPage(resourceGroupName, options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings + ); } }; } private async *listByResourceGroupPagingPage( resourceGroupName: string, - options?: ProfilesListByResourceGroupOptionalParams + options?: ProfilesListByResourceGroupOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByResourceGroup(resourceGroupName, options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: ProfilesListByResourceGroupResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByResourceGroup(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByResourceGroupNext( resourceGroupName, @@ -137,7 +164,9 @@ export class ProfilesImpl implements Profiles { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -178,11 +207,15 @@ export class ProfilesImpl implements Profiles { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -191,15 +224,22 @@ export class ProfilesImpl implements Profiles { private async *listResourceUsagePagingPage( resourceGroupName: string, profileName: string, - options?: ProfilesListResourceUsageOptionalParams + options?: ProfilesListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: ProfilesListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -208,7 +248,9 @@ export class ProfilesImpl implements Profiles { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/resourceUsageOperations.ts b/sdk/cdn/arm-cdn/src/operations/resourceUsageOperations.ts index aaac0e25b5bf..d4b8c2f308d3 100644 --- a/sdk/cdn/arm-cdn/src/operations/resourceUsageOperations.ts +++ b/sdk/cdn/arm-cdn/src/operations/resourceUsageOperations.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { ResourceUsageOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -48,22 +49,34 @@ export class ResourceUsageOperationsImpl implements ResourceUsageOperations { [Symbol.asyncIterator]() { return this; }, - byPage: () => { - return this.listPagingPage(options); + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(options, settings); } }; } private async *listPagingPage( - options?: ResourceUsageListOptionalParams + options?: ResourceUsageListOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._list(options); - yield result.value || []; - let continuationToken = result.nextLink; + let result: ResourceUsageListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listNext(continuationToken, options); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/routes.ts b/sdk/cdn/arm-cdn/src/operations/routes.ts index aa73b552ac5f..d8da605b2762 100644 --- a/sdk/cdn/arm-cdn/src/operations/routes.ts +++ b/sdk/cdn/arm-cdn/src/operations/routes.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Routes } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -70,12 +71,16 @@ export class RoutesImpl implements Routes { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByEndpointPagingPage( resourceGroupName, profileName, endpointName, - options + options, + settings ); } }; @@ -85,16 +90,23 @@ export class RoutesImpl implements Routes { resourceGroupName: string, profileName: string, endpointName: string, - options?: RoutesListByEndpointOptionalParams + options?: RoutesListByEndpointOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByEndpoint( - resourceGroupName, - profileName, - endpointName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: RoutesListByEndpointResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByEndpoint( + resourceGroupName, + profileName, + endpointName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByEndpointNext( resourceGroupName, @@ -104,7 +116,9 @@ export class RoutesImpl implements Routes { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/ruleSets.ts b/sdk/cdn/arm-cdn/src/operations/ruleSets.ts index 5c67e7843a60..30bcc91ed278 100644 --- a/sdk/cdn/arm-cdn/src/operations/ruleSets.ts +++ b/sdk/cdn/arm-cdn/src/operations/ruleSets.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { RuleSets } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -18,16 +19,16 @@ import { RuleSet, RuleSetsListByProfileNextOptionalParams, RuleSetsListByProfileOptionalParams, + RuleSetsListByProfileResponse, Usage, RuleSetsListResourceUsageNextOptionalParams, RuleSetsListResourceUsageOptionalParams, - RuleSetsListByProfileResponse, + RuleSetsListResourceUsageResponse, RuleSetsGetOptionalParams, RuleSetsGetResponse, RuleSetsCreateOptionalParams, RuleSetsCreateResponse, RuleSetsDeleteOptionalParams, - RuleSetsListResourceUsageResponse, RuleSetsListByProfileNextResponse, RuleSetsListResourceUsageNextResponse } from "../models"; @@ -69,11 +70,15 @@ export class RuleSetsImpl implements RuleSets { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -82,15 +87,22 @@ export class RuleSetsImpl implements RuleSets { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: RuleSetsListByProfileOptionalParams + options?: RuleSetsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: RuleSetsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -99,7 +111,9 @@ export class RuleSetsImpl implements RuleSets { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -118,7 +132,7 @@ export class RuleSetsImpl implements RuleSets { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. @@ -144,12 +158,16 @@ export class RuleSetsImpl implements RuleSets { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listResourceUsagePagingPage( resourceGroupName, profileName, ruleSetName, - options + options, + settings ); } }; @@ -159,16 +177,23 @@ export class RuleSetsImpl implements RuleSets { resourceGroupName: string, profileName: string, ruleSetName: string, - options?: RuleSetsListResourceUsageOptionalParams + options?: RuleSetsListResourceUsageOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listResourceUsage( - resourceGroupName, - profileName, - ruleSetName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: RuleSetsListResourceUsageResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listResourceUsage( + resourceGroupName, + profileName, + ruleSetName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listResourceUsageNext( resourceGroupName, @@ -178,7 +203,9 @@ export class RuleSetsImpl implements RuleSets { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } @@ -350,7 +377,7 @@ export class RuleSetsImpl implements RuleSets { } /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operations/rules.ts b/sdk/cdn/arm-cdn/src/operations/rules.ts index d545e95c3436..cb7b84b3f1fa 100644 --- a/sdk/cdn/arm-cdn/src/operations/rules.ts +++ b/sdk/cdn/arm-cdn/src/operations/rules.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Rules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -70,12 +71,16 @@ export class RulesImpl implements Rules { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByRuleSetPagingPage( resourceGroupName, profileName, ruleSetName, - options + options, + settings ); } }; @@ -85,16 +90,23 @@ export class RulesImpl implements Rules { resourceGroupName: string, profileName: string, ruleSetName: string, - options?: RulesListByRuleSetOptionalParams + options?: RulesListByRuleSetOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByRuleSet( - resourceGroupName, - profileName, - ruleSetName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: RulesListByRuleSetResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByRuleSet( + resourceGroupName, + profileName, + ruleSetName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByRuleSetNext( resourceGroupName, @@ -104,7 +116,9 @@ export class RulesImpl implements Rules { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/secrets.ts b/sdk/cdn/arm-cdn/src/operations/secrets.ts index 806d9f2c1570..0f639e24e3cc 100644 --- a/sdk/cdn/arm-cdn/src/operations/secrets.ts +++ b/sdk/cdn/arm-cdn/src/operations/secrets.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { Secrets } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -64,11 +65,15 @@ export class SecretsImpl implements Secrets { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -77,15 +82,22 @@ export class SecretsImpl implements Secrets { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: SecretsListByProfileOptionalParams + options?: SecretsListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: SecretsListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -94,7 +106,9 @@ export class SecretsImpl implements Secrets { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts b/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts index e2016adfb456..9db22a6b2816 100644 --- a/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts +++ b/sdk/cdn/arm-cdn/src/operations/securityPolicies.ts @@ -6,7 +6,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; import { SecurityPolicies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; @@ -67,11 +68,15 @@ export class SecurityPoliciesImpl implements SecurityPolicies { [Symbol.asyncIterator]() { return this; }, - byPage: () => { + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } return this.listByProfilePagingPage( resourceGroupName, profileName, - options + options, + settings ); } }; @@ -80,15 +85,22 @@ export class SecurityPoliciesImpl implements SecurityPolicies { private async *listByProfilePagingPage( resourceGroupName: string, profileName: string, - options?: SecurityPoliciesListByProfileOptionalParams + options?: SecurityPoliciesListByProfileOptionalParams, + settings?: PageSettings ): AsyncIterableIterator { - let result = await this._listByProfile( - resourceGroupName, - profileName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; + let result: SecurityPoliciesListByProfileResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByProfile( + resourceGroupName, + profileName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } while (continuationToken) { result = await this._listByProfileNext( resourceGroupName, @@ -97,7 +109,9 @@ export class SecurityPoliciesImpl implements SecurityPolicies { options ); continuationToken = result.nextLink; - yield result.value || []; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; } } diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdEndpoints.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdEndpoints.ts index 071b147c5994..216aa9febad4 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdEndpoints.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdEndpoints.ts @@ -44,7 +44,7 @@ export interface AfdEndpoints { options?: AfdEndpointsListByProfileOptionalParams ): PagedAsyncIterableIterator; /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor endpoint under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. @@ -221,7 +221,8 @@ export interface AfdEndpoints { options?: AfdEndpointsPurgeContentOptionalParams ): Promise; /** - * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.This api + * isn't work for apex domain. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdOriginGroups.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdOriginGroups.ts index 4b29fd9bca96..b682942fe135 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdOriginGroups.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdOriginGroups.ts @@ -39,7 +39,8 @@ export interface AfdOriginGroups { options?: AfdOriginGroupsListByProfileOptionalParams ): PagedAsyncIterableIterator; /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor origin group under the given CDN + * profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdProfiles.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdProfiles.ts index 58cb25bf0a43..6178f5c7b8d8 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/afdProfiles.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/afdProfiles.ts @@ -19,7 +19,7 @@ import { /** Interface representing a AfdProfiles. */ export interface AfdProfiles { /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of AzureFrontDoor endpoints under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile * which is unique within the resource group. @@ -31,7 +31,7 @@ export interface AfdProfiles { options?: AfdProfilesListResourceUsageOptionalParams ): PagedAsyncIterableIterator; /** - * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. + * Check the name availability of a host name. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile * which is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts index cf0939fdfda8..35c1811fd64f 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/customDomains.ts @@ -131,7 +131,27 @@ export interface CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - disableCustomHttps( + beginDisableCustomHttps( + resourceGroupName: string, + profileName: string, + endpointName: string, + customDomainName: string, + options?: CustomDomainsDisableCustomHttpsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + CustomDomainsDisableCustomHttpsResponse + > + >; + /** + * Disable https delivery of the custom domain. + * @param resourceGroupName Name of the Resource group within the Azure subscription. + * @param profileName Name of the CDN profile which is unique within the resource group. + * @param endpointName Name of the endpoint under the profile which is unique globally. + * @param customDomainName Name of the custom domain within an endpoint. + * @param options The options parameters. + */ + beginDisableCustomHttpsAndWait( resourceGroupName: string, profileName: string, endpointName: string, @@ -146,7 +166,27 @@ export interface CustomDomains { * @param customDomainName Name of the custom domain within an endpoint. * @param options The options parameters. */ - enableCustomHttps( + beginEnableCustomHttps( + resourceGroupName: string, + profileName: string, + endpointName: string, + customDomainName: string, + options?: CustomDomainsEnableCustomHttpsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + CustomDomainsEnableCustomHttpsResponse + > + >; + /** + * Enable https delivery of the custom domain. + * @param resourceGroupName Name of the Resource group within the Azure subscription. + * @param profileName Name of the CDN profile which is unique within the resource group. + * @param endpointName Name of the endpoint under the profile which is unique globally. + * @param customDomainName Name of the custom domain within an endpoint. + * @param options The options parameters. + */ + beginEnableCustomHttpsAndWait( resourceGroupName: string, profileName: string, endpointName: string, diff --git a/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts b/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts index 2adec0bcc7c1..02a7a0c27de0 100644 --- a/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts +++ b/sdk/cdn/arm-cdn/src/operationsInterfaces/ruleSets.ts @@ -36,7 +36,7 @@ export interface RuleSets { options?: RuleSetsListByProfileOptionalParams ): PagedAsyncIterableIterator; /** - * Checks the quota and actual usage of endpoints under the given CDN profile. + * Checks the quota and actual usage of the given AzureFrontDoor rule set under the given CDN profile. * @param resourceGroupName Name of the Resource group within the Azure subscription. * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which * is unique within the resource group. diff --git a/sdk/cdn/arm-cdn/src/pagingHelper.ts b/sdk/cdn/arm-cdn/src/pagingHelper.ts new file mode 100644 index 000000000000..d85fc13bce1e --- /dev/null +++ b/sdk/cdn/arm-cdn/src/pagingHelper.ts @@ -0,0 +1,39 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export interface PageInfo { + continuationToken?: string; +} + +const pageMap = new WeakMap(); + +/** + * Given a result page from a pageable operation, returns a + * continuation token that can be used to begin paging from + * that point later. + * @param page A result object from calling .byPage() on a paged operation. + * @returns The continuation token that can be passed into byPage(). + */ +export function getContinuationToken(page: unknown): string | undefined { + if (typeof page !== "object" || page === null) { + return undefined; + } + return pageMap.get(page)?.continuationToken; +} + +export function setContinuationToken( + page: unknown, + continuationToken: string | undefined +): void { + if (typeof page !== "object" || page === null || !continuationToken) { + return; + } + const pageInfo = pageMap.get(page) ?? {}; + pageInfo.continuationToken = continuationToken; + pageMap.set(page, pageInfo); +} diff --git a/sdk/cdn/arm-cdn/test/cdn_examples.ts b/sdk/cdn/arm-cdn/test/cdn_examples.spec.ts similarity index 68% rename from sdk/cdn/arm-cdn/test/cdn_examples.ts rename to sdk/cdn/arm-cdn/test/cdn_examples.spec.ts index dabe4c90309a..f9cf6f4a8b92 100644 --- a/sdk/cdn/arm-cdn/test/cdn_examples.ts +++ b/sdk/cdn/arm-cdn/test/cdn_examples.spec.ts @@ -8,32 +8,28 @@ import { env, - record, - RecorderEnvironmentSetup, - Recorder + Recorder, + RecorderStartOptions, + delay, + isPlaybackMode, } 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 { CdnManagementClient } from "../src/cdnManagementClient"; -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" }; -describe("Cdn test", () => { +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("CDN test", () => { let recorder: Recorder; let subscriptionId: string; let client: CdnManagementClient; @@ -42,16 +38,13 @@ describe("Cdn test", () => { let profileName: string; let endpointName: 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 CdnManagementClient(credential, subscriptionId); + const credential = createTestCredential(); + client = new CdnManagementClient(credential, subscriptionId, recorder.configureClientOptions({})); location = "eastus"; resourceGroup = "myjstest"; profileName = "myprofilexxx"; @@ -124,7 +117,7 @@ describe("Cdn test", () => { assert.equal(resArray.length, 1); }); - it("profiles upeate test", async function () { + it("profiles update test", async function () { const res = await client.profiles.beginUpdateAndWait(resourceGroup, profileName, { tags: { additional_properties: "Tag1" } }); }); @@ -136,11 +129,24 @@ describe("Cdn test", () => { assert.equal(resArray.length, 1); }); - it("endpoints upeate test", async function () { + it("endpoints update test", async function () { const res = await client.endpoints.beginUpdateAndWait(resourceGroup, profileName, endpointName, { tags: { additional_properties: "Tag1" } }); assert.equal(res.type, "Microsoft.Cdn/profiles/endpoints"); }); + it("customDomains enable test", async function () { + // 1. we need to add a custom name https://learn.microsoft.com/en-us/azure/cdn/cdn-map-content-to-custom-domain?tabs=azure-dns%2Cazure-portal%2Cazure-portal-cleanup + // 2. then enable the https https://learn.microsoft.com/en-us/azure/cdn/cdn-custom-ssl?tabs=option-1-default-enable-https-with-a-cdn-managed-certificate + const defaultSetting = { "certificateSource": "Cdn", "protocolType": "IPBased", "certificateSourceParameters": { "typeName": "CdnCertificateSourceParameters", "certificateType": "Shared" } }; + try { + await client.customDomains.beginEnableCustomHttpsAndWait(resourceGroup, profileName, endpointName, "www-qiaozha-xyz"); + } catch (error) { + // ensure we set the default value into the request body + assert.deepEqual(JSON.parse((error as any).request.body), defaultSetting); + } + + }); + it("endpoints delete test", async function () { const res = await client.endpoints.beginDeleteAndWait(resourceGroup, profileName, endpointName); const resArray = new Array(); @@ -158,9 +164,4 @@ describe("Cdn test", () => { } assert.equal(resArray.length, 0); }); - - it("customDomains enable test", async function () { - const res = await client.customDomains.enableCustomHttps(resourceGroup, profileName, endpointName, "www-qiaozha-xyz"); - assert.equal(res.name, "www-qiaozha-xyz"); - }); });