diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 6563a8fc4477..ef62781da419 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -763,6 +763,21 @@ packages: - supports-color dev: false + /@azure/arm-storage/17.2.1: + resolution: {integrity: sha512-J2jmTPv8ZraSHDTz9l2Bx8gNL3ktfDDWo2mxWfzarn64O9Fjhb+l85YWyubGy2xUdeGuZPKzvQLltGv8bSu8eQ==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.1.0 + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.6.0 + '@azure/core-lro': 2.2.4 + '@azure/core-paging': 1.3.0 + '@azure/core-rest-pipeline': 1.9.0 + tslib: 2.4.0 + transitivePeerDependencies: + - supports-color + dev: false + /@azure/communication-signaling/1.0.0-beta.14: resolution: {integrity: sha512-DuieDUq82DyTpgRIXBJPArtNoyj25WtrznsjaN6w4EgcqDnrTfccD8AO6lZiAO2GqEmMAYB3M1JztrXdoToAVQ==} engines: {node: '>=8.0.0'} @@ -3093,7 +3108,7 @@ packages: dev: false /array-flatten/1.1.1: - resolution: {integrity: sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=} + resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: false /array-includes/3.1.5: @@ -3348,7 +3363,7 @@ packages: dev: false /buffer-equal-constant-time/1.0.1: - resolution: {integrity: sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=} + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} dev: false /buffer-from/1.1.2: @@ -3498,7 +3513,7 @@ packages: dev: false /charenc/0.0.2: - resolution: {integrity: sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=} + resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} dev: false /check-error/1.0.2: @@ -3636,7 +3651,7 @@ packages: dev: false /concat-map/0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: false /concurrently/6.5.1: @@ -3699,7 +3714,7 @@ packages: dev: false /cookie-signature/1.0.6: - resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=} + resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} dev: false /cookie/0.4.2: @@ -3801,7 +3816,7 @@ packages: dev: false /crypt/0.0.2: - resolution: {integrity: sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=} + resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} dev: false /csv-parse/5.3.0: @@ -4082,11 +4097,11 @@ packages: dev: false /edge-launcher/1.2.2: - resolution: {integrity: sha1-60Cq+9Bnpup27/+rBke81VCbN7I=} + resolution: {integrity: sha512-JcD5WBi3BHZXXVSSeEhl6sYO8g5cuynk/hifBzds2Bp4JdzCGLNMHgMCKu5DvrO1yatMgF0goFsxXRGus0yh1g==} dev: false /ee-first/1.1.1: - resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false /electron-to-chromium/1.4.199: @@ -4968,7 +4983,7 @@ packages: dev: false /fresh/0.5.2: - resolution: {integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=} + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} dev: false @@ -5108,7 +5123,7 @@ packages: dev: false /github-from-package/0.0.0: - resolution: {integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=} + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} dev: false /glob-parent/5.1.2: @@ -6516,7 +6531,7 @@ packages: dev: false /media-typer/0.3.0: - resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} + resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} dev: false @@ -6526,7 +6541,7 @@ packages: dev: false /merge-descriptors/1.0.1: - resolution: {integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=} + resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} dev: false /merge-source-map/1.1.0: @@ -6947,7 +6962,7 @@ packages: dev: false /noms/0.0.0: - resolution: {integrity: sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=} + resolution: {integrity: sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==} dependencies: inherits: 2.0.4 readable-stream: 1.0.34 @@ -9074,7 +9089,7 @@ packages: dev: false /utils-merge/1.0.1: - resolution: {integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=} + resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} dev: false @@ -9924,7 +9939,7 @@ packages: dev: false file:projects/api-management-custom-widgets-tools.tgz: - resolution: {integrity: sha512-z0EjPK7PxwYUCKp42H25fSwwEXgwrwi1/FU4Mt6dfL1U2fDqczUIlhrvntVXhen3QOfBtbIePlqksE0+0pUt4w==, tarball: file:projects/api-management-custom-widgets-tools.tgz} + resolution: {integrity: sha512-ZsPRR/ffd14p03B7ZPRoR/MDqDhVHpMW8J+Ke36VhG8xE2fQLbK8H7XFJzHEopWoif3FD6R1KtXfF6cohPeOXg==, tarball: file:projects/api-management-custom-widgets-tools.tgz} name: '@rush-temp/api-management-custom-widgets-tools' version: 0.0.0 dependencies: @@ -10594,10 +10609,11 @@ packages: dev: false file:projects/arm-batch.tgz: - resolution: {integrity: sha512-rwz3C84yuvlxj1GLAPuX0hxvJLz7Bu2/W6ZQ9h+yts5okxKViUbf1IU8CMqGJw+xu4ip2yiDdGc1RDzxfS9Erg==, tarball: file:projects/arm-batch.tgz} + resolution: {integrity: sha512-xqfeQY8vjpNbjq1cmVlpEr2/tm4Ek+9CGFueKekx46O1rKuQxemizTsEJ6r31FDn/xI2cxOcM054LRbKFw1CEg==, tarball: file:projects/arm-batch.tgz} name: '@rush-temp/arm-batch' version: 0.0.0 dependencies: + '@azure/arm-storage': 17.2.1 '@azure/core-lro': 2.2.4 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.18.11 @@ -11919,12 +11935,13 @@ packages: dev: false file:projects/arm-eventhub.tgz: - resolution: {integrity: sha512-0/bLZaWh1M+YMhOqdV7043GLZJYohPa+NnJY//fRmfNe6PRe8MAmhkBP650zKFudSZa6nh/LTZ8mESRtPj6hYA==, tarball: file:projects/arm-eventhub.tgz} + resolution: {integrity: sha512-BSpsy3yIdAjRHhWl2960MX4BhtyOj78kO0/0VPcKyHpI1YmuDN/7QVak93CeF4AkPBXC28EytMu+Cx/5sz5eXg==, tarball: file:projects/arm-eventhub.tgz} name: '@rush-temp/arm-eventhub' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/arm-network': 26.0.0 + '@azure/arm-storage': 17.2.1 '@azure/core-lro': 2.2.4 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.18.11 @@ -12921,10 +12938,11 @@ packages: dev: false file:projects/arm-mediaservices.tgz: - resolution: {integrity: sha512-sVHjnt06bGNZ8H7Hvrn9m0lIBaHe7Dvz1C1p55YKJ2TTFt7pE86Mlu6PWhdBqnD64GnlmhP/V1u042d3B2NYzA==, tarball: file:projects/arm-mediaservices.tgz} + resolution: {integrity: sha512-EOQfG1JpCWLpDvXpBTPYCC3hFQ39krtBLj5Jt5vfknSez10p/E0xsbnmoVAtfVsfRyoW06u877ZaSfgv25ab7w==, tarball: file:projects/arm-mediaservices.tgz} name: '@rush-temp/arm-mediaservices' version: 0.0.0 dependencies: + '@azure/arm-storage': 17.2.1 '@azure/core-lro': 2.2.4 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.18.11 @@ -13059,11 +13077,12 @@ packages: dev: false file:projects/arm-monitor.tgz: - resolution: {integrity: sha512-zTebCe64Jc+Yel0fatpfxLZa5BEDbywyFNqHTFQNKKIXvGubxXfjQN2SFDhWNP5mlkUwy4O3qKZU3Lqk/O7vQw==, tarball: file:projects/arm-monitor.tgz} + resolution: {integrity: sha512-Qc2E0ysraHPrhujtZ/zTxdcmmcdTjy/obZZdzLwtwZeCTM3RWN0MBWb1pkBC9+fqXFsFYXkOnT6yOyHmQyWKqw==, tarball: file:projects/arm-monitor.tgz} name: '@rush-temp/arm-monitor' version: 0.0.0 dependencies: '@azure/arm-operationalinsights': 8.0.1 + '@azure/arm-storage': 17.2.1 '@azure/core-lro': 2.2.4 '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.18.11 @@ -14576,7 +14595,7 @@ packages: dev: false file:projects/arm-storage.tgz: - resolution: {integrity: sha512-ftuAZ4Gz0fDNYNNe41u7kvBI0q6OLW1kkVRajzZDxtK1teNmhhl83xqaESlXNicPRUB2v9IioKxZ3BJrElqYQQ==, tarball: file:projects/arm-storage.tgz} + resolution: {integrity: sha512-Zf8xxrD5p/CJWl+32a0qEK8Ymf/GTFZiG76fu227UINMpnNOoWpDITsuxzH44N8cGdkdz9gxEmrc+5Yobj0kHw==, tarball: file:projects/arm-storage.tgz} name: '@rush-temp/arm-storage' version: 0.0.0 dependencies: @@ -14596,7 +14615,7 @@ packages: rollup: 2.77.2 rollup-plugin-sourcemaps: 0.6.3_rollup@2.77.2 tslib: 2.4.0 - typescript: 4.2.4 + typescript: 4.6.4 uglify-js: 3.16.3 transitivePeerDependencies: - '@types/node' @@ -16541,7 +16560,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-PFdf7/qN4PkTvw7b8K5Jy5go3Ss6rZB/AFGZk71rYGFLgc2yFQie7FoQYcD2dQJjggQNPr07FaYMDKqHA0AfjA==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-DkUTqmVDZOR5ysHE2N/RDsIS5V+7SyJDcPMHyey377LlX7nAJsImruP6KtBaPuGPGxlhg7zBLlc3+NZUZNU1pw==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -18369,7 +18388,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-SI1Ni3HLt1KPQopiQKSMoBe5jZ4plzgZNQejG2wEkXBulblUFIwHcylF0KSrGdto6p8kxzcjmEPfFUduFARR1w==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-K0uTdDVQ8q00CaO90VH0iJxFJMlZkL2eEE+5xdBQrWU+IQCvElqNCwqO0n4XXsNfb9LmMhaO1swjnUDsGhBxOw==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: diff --git a/sdk/storage/arm-storage/CHANGELOG.md b/sdk/storage/arm-storage/CHANGELOG.md index 7bac79a03910..d66fc14c1273 100644 --- a/sdk/storage/arm-storage/CHANGELOG.md +++ b/sdk/storage/arm-storage/CHANGELOG.md @@ -1,15 +1,44 @@ # Release History + +## 18.0.0 (2022-08-16) + +**Features** -## 17.2.2 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Interface AzureEntityResource + - Added Interface BlobContainer + - Added Interface BlobInventoryPolicy + - Added Interface BlobServiceProperties + - Added Interface DeletedAccount + - Added Interface EncryptionScope + - Added Interface FileServiceProperties + - Added Interface FileShare + - Added Interface FileShareItem + - Added Interface ImmutabilityPolicy + - Added Interface ListContainerItem + - Added Interface ListQueue + - Added Interface LocalUser + - Added Interface ManagementPolicy + - Added Interface ObjectReplicationPolicy + - Added Interface PrivateEndpointConnection + - Added Interface PrivateLinkResource + - Added Interface ProxyResource + - Added Interface QueueServiceProperties + - Added Interface StorageAccount + - Added Interface StorageQueue + - Added Interface Table + - Added Interface TableServiceProperties + - Added Interface TrackedResource + - Added Type Alias AccountType + - Added Type Alias AllowedMethods + - Added Enum KnownAccountType + - Added Enum KnownAllowedMethods + - Enum KnownDirectoryServiceOptions has a new value Aadkerb + +**Breaking Changes** + + - Removed Enum KnownActiveDirectoryPropertiesAccountType + - Removed Enum KnownCorsRuleAllowedMethodsItem + ## 17.2.1 (2022-06-15) **Features** diff --git a/sdk/storage/arm-storage/_meta.json b/sdk/storage/arm-storage/_meta.json index 36fb37d8dacc..28dcc5b5eb55 100644 --- a/sdk/storage/arm-storage/_meta.json +++ b/sdk/storage/arm-storage/_meta.json @@ -1,8 +1,8 @@ { - "commit": "aa42d66d5b919ea80c8dde04ae19d30a9c974d7d", + "commit": "3ccabd5f8eb0b3db0c18d21ade484e42ebd1f554", "readme": "specification/storage/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storage\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --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\\storage\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1.20220727.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", - "use": "@autorest/typescript@6.0.0-beta.20" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.1", + "use": "@autorest/typescript@6.0.0-rc.1.20220727.1" +} diff --git a/sdk/storage/arm-storage/package.json b/sdk/storage/arm-storage/package.json index e0f020546df0..abb1f11af334 100644 --- a/sdk/storage/arm-storage/package.json +++ b/sdk/storage/arm-storage/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for StorageManagementClient.", - "version": "17.2.2", + "version": "18.0.0", "engines": { "node": ">=12.0.0" }, @@ -36,7 +36,7 @@ "mkdirp": "^1.0.4", "rollup": "^2.66.1", "rollup-plugin-sourcemaps": "^0.6.3", - "typescript": "~4.2.0", + "typescript": "~4.6.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", @@ -98,8 +98,7 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped", - "docs": "echo skipped" + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -119,4 +118,4 @@ "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview" } -} +} \ No newline at end of file diff --git a/sdk/storage/arm-storage/recordings/node/my_test/recording_sample_test.json b/sdk/storage/arm-storage/recordings/node/my_test/recording_sample_test.json deleted file mode 100644 index f721723386d8..000000000000 --- a/sdk/storage/arm-storage/recordings/node/my_test/recording_sample_test.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Entries": [], - "Variables": {} -} diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.js deleted file mode 100644 index 1722cb73bb7b..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.js +++ /dev/null @@ -1,145 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "73aa5843f89ee1f2f3a1a8706b07786f"; - -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', - '35088ef4-dbbb-428f-a809-022194f20100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AhnmAzWCCF1PtVnY4-UZ7oE; expires=Sat, 01-Jan-2022 06:14:24 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevro3SqDTyddiGwHf0rxg6fUEoVcqqnc9TcrGD1NygUeYbSaTApkCXjLU11Nl8WkftPF4UfBdWFLUz6DV4UnS9PcjxZgdwoEsDVRX2mIEXyeAFSdFYwSL4CJ2RGrwSudBrzUg8i2l_mlOVxuAnlJSXDiCWAh8fAD8qalxgWHbItdmkgAA; 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, 02 Dec 2021 06:14:23 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', - '7d12c7bd-7a69-4ebb-8c3b-7c8bc3150200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=ArZ_0CiAiZpMgHy1a5TXdOI; expires=Sat, 01-Jan-2022 06:14:24 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrShMj7DCdqO5EsdQ9fQf2dpwkq6pKMRYRCSaeaMUdMM8wlzVOvHlnY3mvv21MgQRDEwBufZhW5YXudMOs9GlTG6eKtzOdTde2EgYifHST1d90K2_Jybu5uQsbloCXGgGyEveiDlVVPNE0Nv1UOsvr45ayNknwL7_GqZ7RWXKNbnkgAA; 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, 02 Dec 2021 06:14:23 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=f8b0c387-4bbb-4c5c-a329-f837aef30d54&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', - '7d12c7bd-7a69-4ebb-8c3b-7c8bc7150200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ArcOIfsmobtDtz5G7_MSyegWPr5BAQAAAEBbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:24 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, 02 Dec 2021 06:14:24 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx', {}) - .query(true) - .reply(201, {"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx","name":"mycontainerxxx","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '287', - 'Content-Type', - 'application/json', - 'Expires', - '-1', - 'ETag', - '"0x8D9B55AFD75AD34"', - 'x-ms-request-id', - 'c8ef3113-f519-4820-835d-813a3b1f51fb', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1198', - 'x-ms-correlation-request-id', - 'eb0d23ed-e8ce-4c37-a8a0-01e4ba2dd27d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061425Z:eb0d23ed-e8ce-4c37-a8a0-01e4ba2dd27d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:24 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.json index 8ef5e920ccf9..ef9c784006cd 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_create_test.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2022-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ba53d80-cf7b-44e6-8eb1-6710cdae1a82" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "6ffd3f92-e346-4a01-a77a-fdd9265bc268" }, "RequestBody": {}, "StatusCode": 201, @@ -19,17 +19,17 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:26 GMT", - "ETag": "\u00220x8DA4EA9291A60FC\u0022", + "Date": "Thu, 18 Aug 2022 01:33:25 GMT", + "ETag": "\u00220x8DA80B9A58BC30B\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "69ef3301-842f-4938-803b-11b95999cd6a", + "x-ms-correlation-request-id": "c783af01-62df-4773-8e82-229403213412", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "9f65271c-22d4-46c6-a4f8-7803e73efafe", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082927Z:69ef3301-842f-4938-803b-11b95999cd6a" + "x-ms-request-id": "40abce8a-d1c1-4179-baca-fcafae9d95d9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013326Z:c783af01-62df-4773-8e82-229403213412" }, "ResponseBody": { "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx", diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.js deleted file mode 100644 index ee8089c66c83..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.js +++ /dev/null @@ -1,179 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "3cfcb3544fd483f1a8b18f771e3387a4"; - -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', - '5b88dc2a-b98e-449a-9a73-75be5fbd0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AqoNOndgsLRBrVquIo2i1fk; expires=Sat, 01-Jan-2022 06:14:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqlNzS5G9tsLfRlh9mUQ2TQ3kMygJ-GMSZI5DHUUpGmwTZprliF10wSbPuyVl07Km57OH3znmStc3RfxUZt588jQY6dsVGiu2UHxmvExHeYha2OwyS_rzn8Lr289_2NkJkt2VGgLzff0PvyvbnooHS7P-_soZoh77TXgwR7MagbIgAA; 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, 02 Dec 2021 06:14: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', - '35088ef4-dbbb-428f-a809-0221e7f20100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Atp2pYQ1lDlLmAT9VSIeZVw; expires=Sat, 01-Jan-2022 06:14:35 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevre8Ouqf10aB8lOJFHELLWJ0HX7sI2NHFT0kdqaDLPTNB1eIhy4DtSmUNPCf2mnddzfGe2pgHbZfQkzufsF3CmT5USEHZu7Lgaase3iihkDfYa-rbimSr9Ygmqz3Ya3pqgk8eN44eE2xDMo1VfjPfmW_jfFp_Zhe0GFLBK4xNpDmkgAA; 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, 02 Dec 2021 06:14:34 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=6288597e-74d1-4d39-814f-20c64ada7f55&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', - '7d12c7bd-7a69-4ebb-8c3b-7c8b2f160200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AkksIPfH74xOr5M00cFFuPYWPr5BAQAAAEtbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14: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, 02 Dec 2021 06:14:35 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'x-ms-request-id', - 'b58c4519-5f21-4042-b19c-e4ba831222a9', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14999', - 'x-ms-correlation-request-id', - '69923767-53f0-491a-b763-f032158282ba', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061436Z:69923767-53f0-491a-b763-f032158282ba', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:35 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '2b9a6650-1b6b-4660-8031-d2e22dfd4573', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11944', - 'x-ms-correlation-request-id', - '15b97643-f53c-4b2e-8360-dac0ebbeb866', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061436Z:15b97643-f53c-4b2e-8360-dac0ebbeb866', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:36 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.json index 6e62f3ee8ea1..14674578eee1 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_delete_test.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2022-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "24a8b86c-0cc8-424f-af0b-c7e0aae5ac12" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "b3121e04-0188-42d5-a2d8-c2f5401420cd" }, "RequestBody": null, "StatusCode": 200, @@ -16,29 +16,29 @@ "Cache-Control": "no-cache", "Content-Length": "0", "Content-Type": "text/plain; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:41 GMT", + "Date": "Thu, 18 Aug 2022 01:33:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2161071a-da74-4f0d-ba79-4711e9912a8b", + "x-ms-correlation-request-id": "363695f7-e30b-4332-bfef-543161a458f4", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "5fccd9be-8f7f-4048-935d-260a67f8bfcf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082942Z:2161071a-da74-4f0d-ba79-4711e9912a8b" + "x-ms-request-id": "0d66f91c-c240-47d0-9363-d1316f71217a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013340Z:363695f7-e30b-4332-bfef-543161a458f4" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e5d61279-bc6d-478b-bef6-390d3530c177" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "02818fff-6928-4b2c-b798-9c8c8ce9fdce" }, "RequestBody": null, "StatusCode": 200, @@ -46,7 +46,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:42 GMT", + "Date": "Thu, 18 Aug 2022 01:33:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -54,10 +54,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "845d64c7-079d-42ce-b96f-e78acf2e6cd5", + "x-ms-correlation-request-id": "353fd68d-d24b-4b4e-bcb2-fae8b422cdca", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "568285b1-a90d-4f20-8fe2-e6cc3cd7505e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082942Z:845d64c7-079d-42ce-b96f-e78acf2e6cd5" + "x-ms-request-id": "63fec64e-2851-4f17-803e-2508ed018edf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013341Z:353fd68d-d24b-4b4e-bcb2-fae8b422cdca" }, "ResponseBody": { "value": [] diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.js deleted file mode 100644 index 5452e16e477c..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.js +++ /dev/null @@ -1,149 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "53c673d338ba6a74959a2fcc4eb5d91e"; - -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', - '78434e2b-f6d4-4f30-a1e5-2c4505800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AvGLKsHdQuNDq0FpAu5UTSw; expires=Sat, 01-Jan-2022 06:14:26 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsZtAtN8o-mxPFFeZf5rM-5BYHcRIIsf0FhAwt_Nqpuyp5w8gbpvVkb0vcoKQuJ98Lgd_egfY7KlcN2MuNlYlN5BbQbJoVCDX7qMcqTeI9fT1gAwL6BvW7YXSyNF-OD0rEfUJUYNV0TTPwzD1ZlaBJzJBGJ_4d4k6S5aaimWB5pYgAA; 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, 02 Dec 2021 06:14:25 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', - '5b88dc2a-b98e-449a-9a73-75be1bbd0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=ApJMU62swyVBn3PaGJYVCRM; expires=Sat, 01-Jan-2022 06:14:26 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzNWAPiU0SYA32pGj_eukfBxMVsfcg632Cod3x-u3cZD3Xty4pU4QNEynpryUJQS1psBh2om3KBQ9QnINogwRaBPiGUzzubfrlEmoo9BLS_PICMVP8HDoP31902XKM3INiWalukOq0Vq5ZNUJg0ujt0N-PAQf5ZRbWWwMpPhiMhYgAA; 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, 02 Dec 2021 06:14:25 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=3bc1c737-648a-4b5f-8286-67bb6882a636&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', - 'a8f86547-d252-4116-9a96-079868f30100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AhfkwRjNNRRMkWskpxdNjfwWPr5BAQAAAEJbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:27 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, 02 Dec 2021 06:14:26 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fcf3ba5aaf9abb8beb9f6edabc69efaeeaeab298e57573f78b625a574d75de8e5fb7559d5de4771bf9793c9d56eb65db98bf33f9fb073ff8c1bb77efee4eca6af23aaf2f8b69dedc9de5e7d9ba6cef4eab659b154b805d5cdb3fa8f947a38f96d922a741f43e6faf57f8fc6634821e2d908640e46d7641207edf8f76de1d3c7df8e4fefde3674f1fdc3f7e7a6ffff7fd88bea6b1aef2ba2df2e6a347bff8a3595ee66d4ef43ccfca261f7d54e70b02542c2f5ed1c74b90f669764d2d7746d4948775ba9cd6d74cf4d75382443dfd6e4a8beddc7eb5fd36bfa6be66f9f2bad3fecbcbbcae89d6b6c7d57a5216531a57de503f1fbda89639bd59e65993bf6eb3768d0fbf5a96d5f42da1e97d41103e3abecc8a329b94fc46d6b45f54b3e2bcc8676f0aa6eedecedeeef6eedef6cede9b9d4f1fedee3fdabb3fde91e7a7f0467e9195dfae4a1afd2ffe689e35cfdddf8a1b5192baffdef77fc908df9f2d16eb369b1465d15ebfac08e96bdb90beedbefd4b7e","c9ff03c4dbe773a9020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'ETag', - '"0x8D9B55AFD75AD34"', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '9d840e89-9711-4611-8c5c-6f0460c350ed', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11947', - 'x-ms-correlation-request-id', - '3bb8944d-bab4-45cf-af11-550c92fc6256', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061427Z:3bb8944d-bab4-45cf-af11-550c92fc6256', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:27 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.json index 31300ed3ac1d..6d02c5df30ce 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_get_test.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "155b15bb-9eb5-4c86-bf66-0faf12d4722d" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "7f06a651-5791-4681-90fc-650565f30878" }, "RequestBody": null, "StatusCode": 200, @@ -17,8 +17,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:28 GMT", - "ETag": "\u00220x8DA4EA9291A60FC\u0022", + "Date": "Thu, 18 Aug 2022 01:33:27 GMT", + "ETag": "\u00220x8DA80B9A58BC30B\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -26,16 +26,16 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "74d08404-bf68-4643-a912-8a2ac3d80921", + "x-ms-correlation-request-id": "8475eb51-5ba6-4f1e-8fae-4bda306630d2", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "abd8fb42-26ec-4e8d-8523-fe9edad418dc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082929Z:74d08404-bf68-4643-a912-8a2ac3d80921" + "x-ms-request-id": "c240544d-8175-48d0-b643-9907c2b0f2a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013328Z:8475eb51-5ba6-4f1e-8fae-4bda306630d2" }, "ResponseBody": { "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx", "name": "mycontainerxxx", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", - "etag": "\u00220x8DA4EA9291A60FC\u0022", + "etag": "\u00220x8DA80B9A58BC30B\u0022", "properties": { "deleted": false, "remainingRetentionDays": 0, @@ -44,7 +44,7 @@ "publicAccess": "None", "leaseStatus": "Unlocked", "leaseState": "Available", - "lastModifiedTime": "2022-06-15T08:29:27.0000000Z", + "lastModifiedTime": "2022-08-18T01:33:26.0000000Z", "legalHold": { "hasLegalHold": false, "tags": [] diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.js deleted file mode 100644 index b4e7fc013237..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "59fa7f105eb305dbb2e5eeef83e47606"; - -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', - '78434e2b-f6d4-4f30-a1e5-2c4519800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AgKpKuXY47pEpivsNzGf7FM; expires=Sat, 01-Jan-2022 06:14:28 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW3LlvZ5g0FKi1AQUKfzRe5cjQbEtU1J3zl80k0HCaGRn2pWbrQSf9t0-OOmfLRxTZvPzR5lPVy5ep7ph42O6k7MLJSFAHOSqCyx_3c7J5s6LAfs4lItFYmbkhxTjSbQ7Bs9l_1tDOkCbohUp0Nqz_kBwAUo5OD-xjT4JS3cZigEgAA; 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, 02 Dec 2021 06:14: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', - '78434e2b-f6d4-4f30-a1e5-2c451a800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AonSUNPQ5EtGsUxDtlg_kc8; expires=Sat, 01-Jan-2022 06:14:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrct8UJq24ckn01BClYmVTodBU9nnOoWPooCIHBwblf26fOVs6hKP0P-40tt0qRoJ3Jj_4YLVYunZdmj9xQtr_SPzy82qy5bWNUMVVRi4tf6-C8jVPy1X1_VH3ZcM45KOJZ7lQ-P9sB-7e5Bjl1sS4zcc4JOo5pyNZUrhQHsciWUUgAA; 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, 02 Dec 2021 06:14:28 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=2e13155b-7a00-4085-93f7-c8773552230b&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', - '78434e2b-f6d4-4f30-a1e5-2c451c800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AiAPlq_V6JtPkluJhN9AjE0WPr5BAQAAAERbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:29 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, 02 Dec 2021 06:14:28 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d147779bf5a499d6c5aa2daa6573f7e1def9c3fbb383f3ed7bd34f1f6cefefeeed6f3fdc9d3ed83e989eef3c98ce26e77bfbbb77ebbca9d6f534ffbcaed6abe6eee2faa79b366fdabbabbaba2c6679dddcfda298d655539db7e3d76d556717f9dd467e1e4fa7d57ad936e6ef4cfefec10f7ef0eeddbbbb93b29abcceebcb629a377767f979b62edbbbd36ad966c5126017d7f60f6afed1e8a365b6a0b17cd4fbbcbd5ee1f39bd1087ab4401a0291b7d90581f87d3fda7977f0f4e193fbf78f9f3d7d70fff8e9bdfddff723fa9ac6bacaebb6c89b8f1e1129178b759b4dca5cfbf96ed1ce7f92e0104d8b2581f9c51fe54b7c4d143fcfca26ff25a38f667999b7f683d14775bea0bea9f52bfa7889d9789a5d13f01d34654a9c2ea7f535cfd3eb29754ec8fd6e4abeeddc7eb5fd36bf26f466f9f2bad3fecbcbbcae697a6c8fabf5a42ca6448abca17e3e7a512d737ab3ccb3868691b56b7cf8d5b2aca66f094def0b82f0d1f16556941811bec89af68b6a569c17f9ec4dc113b2b7b3b7bbbdbbb7bdb3f766e7d347bbfb8ff6ee8f77e4f9297a639e356742b1a22cdaeb9715e1716df1a26f9fe71759f9edaa34e4f925bfe4fbbf","e4ff01b0d2fc8abb020000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '5514f7c0-0c28-4afb-89b8-775c71ed186e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11945', - 'x-ms-correlation-request-id', - '466c5484-b222-4a29-a6be-d365f198393d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061429Z:466c5484-b222-4a29-a6be-d365f198393d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:28 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.json index 390b7382ff88..f34324629f1d 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_list_test.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "904b84a1-080b-4dc5-b993-9355137af268" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "ddc8ee38-7994-45a7-a9ed-e01097cc9a2e" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:30 GMT", + "Date": "Thu, 18 Aug 2022 01:33:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -25,10 +25,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c64b358a-c2e7-4286-a84a-76f227e92a63", + "x-ms-correlation-request-id": "b6fad7be-b452-4d97-aae7-8d9ed9e1da9a", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "79e1ed43-771d-4496-8347-d7661e0785bd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082931Z:c64b358a-c2e7-4286-a84a-76f227e92a63" + "x-ms-request-id": "78df46c9-a845-4641-a6de-a63e541c3e67", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013329Z:b6fad7be-b452-4d97-aae7-8d9ed9e1da9a" }, "ResponseBody": { "value": [ @@ -36,7 +36,7 @@ "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx", "name": "mycontainerxxx", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", - "etag": "\u00220x8DA4EA9291A60FC\u0022", + "etag": "\u00220x8DA80B9A58BC30B\u0022", "properties": { "immutableStorageWithVersioning": { "enabled": false @@ -48,7 +48,7 @@ "publicAccess": "None", "leaseStatus": "Unlocked", "leaseState": "Available", - "lastModifiedTime": "2022-06-15T08:29:27.0000000Z", + "lastModifiedTime": "2022-08-18T01:33:26.0000000Z", "hasImmutabilityPolicy": false, "hasLegalHold": false } diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.js deleted file mode 100644 index 1cd3684237f6..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "a1159bc05b4d6c2a2962361afb4cf844"; - -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', - '288cd972-31fc-4e72-8dbd-9f6cef3e0200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AvFefphZnY1FpitZ2W99V8g; expires=Sat, 01-Jan-2022 06:14:34 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUsFQcLCekNvpUdL0c9KSoz2bBQJAoluvsm8kM9GBtRVrwLdsB3wwkWvK69f43f8tBO19Y1gQIwTDWIW6sO6mRvc7QH9JAIbAlWg1tabkBclLTpPycGiA6UXlqOJfHX1seEC_N-GIcpAIJQtj-6kgLnyWFPqZksgnKgtxk393Yg0gAA; 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, 02 Dec 2021 06:14:33 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', - '5b88dc2a-b98e-449a-9a73-75be53bd0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Ah8IoGOxr4lLuhnjZExoHcU; expires=Sat, 01-Jan-2022 06:14:34 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbnuRJcOakUh6NYqapgjUgKtE8QkgcZPcAdBUHCUnnjKC9HFsKgivqIo3WP0eFRF4hn7REtwXNqlqcpNwiDMcgt_3X52OobHi5td25OFFi7wKF7AANBR9KZeKvFLsWa-CJuMVO7vbL1aTMWzE-FbVpF5BTITqniXzTEmrgAS2b0cgAA; 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, 02 Dec 2021 06:14: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.3.3&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=3df9da21-342e-4b8e-963a-74145e0cb780&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', - '288cd972-31fc-4e72-8dbd-9f6cf33e0200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Auiw_6-pUf5Iqg0pjf2E8oUWPr5BAQAAAEpbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14: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, 02 Dec 2021 06:14:33 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx', {}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fdd6dd693665a17abb6a896cddd877be70fefcf0eceb7ef4d3f7db0bdbfbbb7bffd7077fa60fb607abef3603a9b9cefedefdeadf3a65ad7d3fcf3ba5aaf9abb8beb9f6edabc69efaeeaeab298e57573f78b625a574d75de8e5fb7559d5de4771bf9793c9d56eb65db98bf33f9fb073ff8c1bb77efee4eca6af23aaf2f8b69dedc9de5e7d9ba6cef4eab659b154b805d5cdb3fa8f947a38f96d922a741f43e6faf57f8fc6634821e2d90e6a3","5ff2ff00b3f7f56d1f010000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '7f8a8867-6383-46f0-848f-7620015e807e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1196', - 'x-ms-correlation-request-id', - 'dfc29e75-2cb0-4d0b-8bd4-67ba84d8f527', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061435Z:dfc29e75-2cb0-4d0b-8bd4-67ba84d8f527', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:34 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.json index de05607b025a..181cf366dd67 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_blobcontainers_update_test.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx?api-version=2022-05-01", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4cafc5be-8f4e-48c2-b847-cea422aaf25c" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "1dcfd317-4a68-470e-a956-36b31b2b7dc1" }, "RequestBody": {}, "StatusCode": 200, @@ -19,7 +19,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:39 GMT", + "Date": "Thu, 18 Aug 2022 01:33:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -27,10 +27,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8f81e050-d27d-44ef-b769-0a86f5154747", + "x-ms-correlation-request-id": "4b998d9b-d434-498f-a07b-a6dac60a5dd3", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "7b3af927-7dab-46c1-8df4-de156c69db07", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082939Z:8f81e050-d27d-44ef-b769-0a86f5154747" + "x-ms-request-id": "140a465f-d022-4c9f-ad41-3dad07766079", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013338Z:4b998d9b-d434-498f-a07b-a6dac60a5dd3" }, "ResponseBody": { "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx/blobServices/default/containers/mycontainerxxx", diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.js deleted file mode 100644 index 42be8a198402..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.js +++ /dev/null @@ -1,1983 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "8be490d3f5bcda545b6684bcfa373fa8"; - -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', - '35088ef4-dbbb-428f-a809-0221d5f10100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=At72VgZkYuVGu05Yyz6xH44; expires=Sat, 01-Jan-2022 06:14:00 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqOVtGxlCela-FVc3asm39InWhpVwfJQP3CqJpPdDrY--7vQ2rPe22IWhl0Oxm1GmyOl2i029bW1OIYxBHQFc2cVtSrIZNCZeXxjDlWzleXRkVyrooVnwh3NdqP8SNBFg0LnsMHtAcJ-N1qQHB3e6Nz8oxtbw1ED2YD7bPd1ckf0gAA; 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, 02 Dec 2021 06:13:59 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '78434e2b-f6d4-4f30-a1e5-2c45437f0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=Aox9mdMtZ6dNt2-l46fGdP4; expires=Sat, 01-Jan-2022 06:14:00 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLSagEImykThbVAX6tLj713reyGOW0nIe-7of0FrqfQWPRhY0A3wzvAsz4lWlVo49uUbrCaa2VgsncWIn0d7zwbvWwJdgEb-mPpzkqP9fddFuEyvcCSqBO0o9THT1YymVrtpfae99BZzFnE-qTexBuQ6kLIWXtPKhHS5xG7Yl6HogAA; 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, 02 Dec 2021 06:13:59 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=e4d06c12-c2ae-4f37-bae4-27ee6824ea8b&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', - '78434e2b-f6d4-4f30-a1e5-2c45457f0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ArSTkiZnKURElk7Gb5QJyoAWPr5BAQAAAChbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:00 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 02 Dec 2021 06:13:59 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx', {"sku":{"name":"Standard_GRS"},"kind":"StorageV2","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"encryption":{"services":{"blob":{"enabled":true,"keyType":"Account"},"file":{"enabled":true,"keyType":"Account"}},"keySource":"Microsoft.Storage"}}}) - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '02e76839-b3f6-47eb-98c4-26297eb32d88', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1199', - 'x-ms-correlation-request-id', - '61851dad-4d7e-45c6-a32c-4e517241dfea', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061407Z:61851dad-4d7e-45c6-a32c-4e517241dfea', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:06 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e618ece2-12b0-48f3-8257-1b8b6060b0fd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11999', - 'x-ms-correlation-request-id', - 'f660873c-12d7-4beb-88d7-4cc5808d3f88', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061407Z:f660873c-12d7-4beb-88d7-4cc5808d3f88', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:06 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9caf3b26-55f9-4d48-91e6-b4a48a205798', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11998', - 'x-ms-correlation-request-id', - '707f013c-10f0-4179-ae49-2c9f32a291e7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061407Z:707f013c-10f0-4179-ae49-2c9f32a291e7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'eb7fd0df-1290-4c20-8647-d57aada26f21', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11997', - 'x-ms-correlation-request-id', - '0c8b91a9-849f-4221-a94a-00d04c2d4a69', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061408Z:0c8b91a9-849f-4221-a94a-00d04c2d4a69', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '1388b4e7-0d9d-4fac-bfd6-d33152cb889f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11996', - 'x-ms-correlation-request-id', - '5b8f2c76-9fe7-47b5-86b9-7946fe0952e0', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061408Z:5b8f2c76-9fe7-47b5-86b9-7946fe0952e0', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:07 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'f211769a-8264-49bf-a9ca-fd45065ddf69', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11995', - 'x-ms-correlation-request-id', - 'f0811adc-6fc7-409c-a7af-c4286b0cbc9f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061408Z:f0811adc-6fc7-409c-a7af-c4286b0cbc9f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'be48a9ac-351c-4819-bb2f-1a57a21aceb2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11994', - 'x-ms-correlation-request-id', - 'ea96f96f-f53e-430d-9e71-8d28f903a415', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061409Z:ea96f96f-f53e-430d-9e71-8d28f903a415', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8ea3e06c-071d-492c-b4ea-433c125a2749', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11993', - 'x-ms-correlation-request-id', - '5e7d4ad4-29e3-49aa-ae79-afe0fa298863', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061409Z:5e7d4ad4-29e3-49aa-ae79-afe0fa298863', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:08 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'd0fc6977-343f-49f2-a443-12714cf23fbc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11992', - 'x-ms-correlation-request-id', - 'aaf62177-2519-4a53-8a03-e01e4a9d2d80', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061409Z:aaf62177-2519-4a53-8a03-e01e4a9d2d80', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a0d728c3-28f8-4021-bae7-bdaa57b91bb2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11991', - 'x-ms-correlation-request-id', - 'cc67a5f4-689a-42f6-81fd-88e02e23b87e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061410Z:cc67a5f4-689a-42f6-81fd-88e02e23b87e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'f10c94c0-e95c-4b4f-8bb1-08941f1a2b7a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11990', - 'x-ms-correlation-request-id', - 'b10db626-7385-4fa0-8e61-0bc707ff0d9c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061410Z:b10db626-7385-4fa0-8e61-0bc707ff0d9c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:09 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '5c41b4d7-a33b-4ac5-a8b2-09ca04335bf7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11989', - 'x-ms-correlation-request-id', - 'c2923c27-8250-428c-9c2d-c3ea3c0cd1cc', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061410Z:c2923c27-8250-428c-9c2d-c3ea3c0cd1cc', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8432b2c6-c5fa-497c-888a-17f742b3e41a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11988', - 'x-ms-correlation-request-id', - '79902eb1-74cd-45f9-9da8-1c67e62609aa', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061410Z:79902eb1-74cd-45f9-9da8-1c67e62609aa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '33b97ce7-88b0-4da6-b725-a4ad7a1d3965', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11987', - 'x-ms-correlation-request-id', - '90ce6b34-9d37-4d90-86d1-c0d5e59df314', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061411Z:90ce6b34-9d37-4d90-86d1-c0d5e59df314', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'dd716a9d-be3b-4df0-9b5f-79e652c91014', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11986', - 'x-ms-correlation-request-id', - 'ba0a1111-a2a7-40ba-bae1-07ef8b99b67c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061411Z:ba0a1111-a2a7-40ba-bae1-07ef8b99b67c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:10 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8d43efb3-27dd-414d-aeb7-4a73a8e9a859', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11985', - 'x-ms-correlation-request-id', - '4598e565-46fb-4813-a698-3c7c6f0ea510', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061411Z:4598e565-46fb-4813-a698-3c7c6f0ea510', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '4b22a960-6728-4201-940a-853543eb06d2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11984', - 'x-ms-correlation-request-id', - 'b0156010-3ffb-43c6-b612-08ccea7d3f94', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061412Z:b0156010-3ffb-43c6-b612-08ccea7d3f94', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'bd5156cc-5ed0-4043-a0f5-cac617d39ba2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11983', - 'x-ms-correlation-request-id', - 'd27f3be0-3cbf-4640-a43a-1f7783857eae', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061412Z:d27f3be0-3cbf-4640-a43a-1f7783857eae', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:11 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'cc5f5c27-79e1-4de5-9aa7-4da9b9e12486', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11982', - 'x-ms-correlation-request-id', - 'af07da9d-b2e4-43fb-8b27-3708a22e2faa', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061412Z:af07da9d-b2e4-43fb-8b27-3708a22e2faa', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:12 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '5326eaac-e9df-4dfb-878f-c8bc17907fe8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11981', - 'x-ms-correlation-request-id', - '2971ffba-dc7b-4dbf-a584-b51c49ec6d4f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061414Z:2971ffba-dc7b-4dbf-a584-b51c49ec6d4f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '911aaac4-d951-468b-ad66-2b633ec3788d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11980', - 'x-ms-correlation-request-id', - 'bd6370bd-046b-4eb3-b1fe-d9c93485f4d6', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061414Z:bd6370bd-046b-4eb3-b1fe-d9c93485f4d6', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:13 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '77ce030b-d6ec-447d-8147-96c6c98d36e6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11979', - 'x-ms-correlation-request-id', - 'a63b530e-1482-4bb2-b271-5c7982683df3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061414Z:a63b530e-1482-4bb2-b271-5c7982683df3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a0aa3f53-4c30-489f-a8ae-8d3de171be42', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11978', - 'x-ms-correlation-request-id', - 'c949e5f4-798b-4d2a-b193-3ff9d8c836f7', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061415Z:c949e5f4-798b-4d2a-b193-3ff9d8c836f7', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9b238939-0b8b-4a74-a3ff-c9c653c5267f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11977', - 'x-ms-correlation-request-id', - '4eda72f6-e336-4bb3-a762-a5a1cde2bf53', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061415Z:4eda72f6-e336-4bb3-a762-a5a1cde2bf53', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:14 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'fcc88876-db12-4bbf-a7b1-20aed453ea77', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11976', - 'x-ms-correlation-request-id', - '326d8a97-aa8c-4b47-93b7-e669378b6267', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061415Z:326d8a97-aa8c-4b47-93b7-e669378b6267', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b4436671-751e-47ad-8666-d98ca57fc750', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11975', - 'x-ms-correlation-request-id', - '65bc6ad6-b067-49b6-b2f0-ca75c4153b60', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061416Z:65bc6ad6-b067-49b6-b2f0-ca75c4153b60', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '387c4a21-e69a-4926-9089-5dd104a342aa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11974', - 'x-ms-correlation-request-id', - 'a7070c7d-7516-4de1-97f0-987103063b88', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061416Z:a7070c7d-7516-4de1-97f0-987103063b88', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:15 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'd1140c0b-2cec-4a8d-8bdd-8bd081bbb89a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11973', - 'x-ms-correlation-request-id', - '735d96a9-e640-4eb4-a6f2-1085cde836e9', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061416Z:735d96a9-e640-4eb4-a6f2-1085cde836e9', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '575681c4-ae0b-47db-b605-b379b8c0f142', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11972', - 'x-ms-correlation-request-id', - 'cf0f16bc-3998-4b5b-9fc2-a20c7704ab8f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061417Z:cf0f16bc-3998-4b5b-9fc2-a20c7704ab8f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3f9429e8-240e-4a82-863d-a7335a245f77', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11971', - 'x-ms-correlation-request-id', - 'ee671c83-0323-44f6-bc4d-bb778a8727b3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061417Z:ee671c83-0323-44f6-bc4d-bb778a8727b3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:16 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '8e751748-a68f-46ea-8a26-713a9a7bc7e6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11970', - 'x-ms-correlation-request-id', - 'cee710ea-6de6-4736-a5ad-e59d8e292743', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061417Z:cee710ea-6de6-4736-a5ad-e59d8e292743', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e9042ecb-0441-4050-a994-28b15ddd2d74', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11969', - 'x-ms-correlation-request-id', - '2d3320ee-7f01-4bf5-97d9-90bed85a749c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061418Z:2d3320ee-7f01-4bf5-97d9-90bed85a749c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'f494142c-aee6-4935-8f1c-d26ffd8a31cb', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11968', - 'x-ms-correlation-request-id', - 'b1b5a1a3-efab-4604-9374-509dbffce33f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061418Z:b1b5a1a3-efab-4604-9374-509dbffce33f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '4212aa6e-8d7d-43b0-b889-341c483717b6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11967', - 'x-ms-correlation-request-id', - '4c85ce88-7ba5-4cb6-8076-33197cfbc156', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061418Z:4c85ce88-7ba5-4cb6-8076-33197cfbc156', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:17 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '0770d3e2-c5b3-4359-b040-3c68936e8483', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11966', - 'x-ms-correlation-request-id', - 'fcb5be8a-d646-4f25-814b-606845994333', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061418Z:fcb5be8a-d646-4f25-814b-606845994333', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'fa710e3f-7e0c-4465-a306-040b3e9bca00', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11965', - 'x-ms-correlation-request-id', - 'e430f22f-cda0-423b-b83a-0ab41e47a901', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061419Z:e430f22f-cda0-423b-b83a-0ab41e47a901', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '93b034fe-9884-49f0-9153-a1f71ce902e1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11964', - 'x-ms-correlation-request-id', - '551e6911-ce11-4b4e-953e-db510f20cf54', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061419Z:551e6911-ce11-4b4e-953e-db510f20cf54', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:18 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '7999de59-0a9a-4b85-ab95-62395a91802e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11963', - 'x-ms-correlation-request-id', - '2b4d8201-f8f6-40cf-b688-a92db65a7953', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061419Z:2b4d8201-f8f6-40cf-b688-a92db65a7953', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'b6ab33ad-1ef0-4b64-ab7e-111639df8468', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11962', - 'x-ms-correlation-request-id', - '079ae9a6-ca22-4c67-b3f4-8c8c90ea34c3', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061420Z:079ae9a6-ca22-4c67-b3f4-8c8c90ea34c3', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '0bed656d-e2c9-4776-906e-23adf8841709', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11961', - 'x-ms-correlation-request-id', - 'a7a78834-baea-4402-92cc-ceef8a9a789a', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061420Z:a7a78834-baea-4402-92cc-ceef8a9a789a', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:19 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '61115dc1-590d-476c-bd30-aa233869ed9e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11960', - 'x-ms-correlation-request-id', - '30a4a31e-419b-436a-af97-309788211868', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061420Z:30a4a31e-419b-436a-af97-309788211868', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e0c4d6bf-38bb-481e-a10f-fa3b1acf698e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11959', - 'x-ms-correlation-request-id', - 'f7fa114a-3bf9-4499-9f59-8ba69fdc3e66', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061421Z:f7fa114a-3bf9-4499-9f59-8ba69fdc3e66', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '9c648665-9cb0-4377-9dbd-82ed9fe0d41c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11958', - 'x-ms-correlation-request-id', - 'c17de410-38a7-4cfb-ab62-90fd3222d20d', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061421Z:c17de410-38a7-4cfb-ab62-90fd3222d20d', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:20 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '3a456d96-2bdc-4ea8-93ec-c24a04b745ee', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11957', - 'x-ms-correlation-request-id', - '4fdd4522-ac54-42d4-a929-e37cb145e7cf', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061421Z:4fdd4522-ac54-42d4-a929-e37cb145e7cf', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:21 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '89248403-7fe3-4a91-8285-87ab08b5a55d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11956', - 'x-ms-correlation-request-id', - '312c0783-c322-44ec-89fc-bd6d3211683f', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061422Z:312c0783-c322-44ec-89fc-bd6d3211683f', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:21 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '0e4f90df-4c90-4e6f-a1ba-818358016731', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11955', - 'x-ms-correlation-request-id', - 'cd6e4bbb-d600-4c0d-b66a-e45cdb525a7c', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061422Z:cd6e4bbb-d600-4c0d-b66a-e45cdb525a7c', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:21 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'e96585f7-3b21-47fc-99b9-4c7eee15f8d3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11954', - 'x-ms-correlation-request-id', - '42fc323e-8dca-4742-9d5f-8221e67a234e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061422Z:42fc323e-8dca-4742-9d5f-8221e67a234e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:22 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '6c946d06-b1ad-4c0c-9324-32b2c606c3ef', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11953', - 'x-ms-correlation-request-id', - '468ee459-7161-4a5e-b781-0ad3b10f76fb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061423Z:468ee459-7161-4a5e-b781-0ad3b10f76fb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:22 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '23235639-fa53-4efe-8363-139e9c8d2f48', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11952', - 'x-ms-correlation-request-id', - '61aae2d9-646a-4843-8a76-014da324d088', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061423Z:61aae2d9-646a-4843-8a76-014da324d088', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:22 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - '81750386-471f-42d6-81be-8b2e56999b5f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11951', - 'x-ms-correlation-request-id', - '8d2f3c40-1a30-408a-9a0c-97b0649d048e', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061423Z:8d2f3c40-1a30-408a-9a0c-97b0649d048e', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:22 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(202, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'Location', - 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88?monitor=true&api-version=2021-06-01', - 'Retry-After', - '0', - 'x-ms-request-id', - 'a6f45ff0-e6a7-4f96-a0f4-3a728ac45f56', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11950', - 'x-ms-correlation-request-id', - 'c3ce6cbd-2ce6-47eb-a76d-eb6cf5406405', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061424Z:c3ce6cbd-2ce6-47eb-a76d-eb6cf5406405', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:23 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/02e76839-b3f6-47eb-98c4-26297eb32d88') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5ecf7fffcd5eb8f461fb5455e7b9f7ef44b461fbd2d9633fea8aab38bfc27f7a855810fee36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7dae1dd467e1e4fa7d57ad936e6ef4cfefec10f7ef0eedd3bc249c733f06d7bbdc2b73742a7a66535cd30246a7e45b8e5ebbaa277094476d180706ff3eb5dfaee322bd7f92e7d4e7fef99bff740301acc2aaf8992a6f9499d33c4370550e48f00616f676f777b776f7b67efcdcea78f76f71feddc1fef3ed839f8f4debd9f727037b6e2de8acbaccd4f97b355552cdb936ab9cca7e88d7affdef7471f2d8a65b1582fde94cd4f127de97382f9e6f9ebdddf7f87fac8cab2ba7a52569397eb49594c890a7943efb5f53a278ae6ed5555bf3d9e96f4d12ffe6872bdcaf0e547c73f58d7f9ebbcbe2ca83501b92cea769d952fa4f9ab75499f72d7c5cafb63969f67ebb23d66dc00055d6300cd7ab5aaeab6f976dbae9a3775767e5e4cbf5c96d7068d7c39adaf99c9804563faa5dfcf8bd2d0f38dcc2f0d00d34848e5cb6c52e6c4a702a4cc9af6543e9259b891ae13a2cacf1270824e505fb32450e31e53a27b62609a8a37228edfaed02bf1d56581192c961724a02dde7dbda676f98c70197d340dd82c82c3fef8e1cefdbd9d877b602fe29b45565f1bbe6182cecee9c747734cc4a3bb463408130c5b44694c4dc6d3aacec757a416aaab664c5c7297c05de544adcdaffee0d331b58abe2dc4defc3ada445ffe45eb7c8d016f7c9b1b455f6f317137bdce8da2af0b136e7e1b6d222fd334eb2c3c1fd0390d4df3baf9f2fca534a3afb3cbac28810cbecda715d4b4fffa924469de7bffb569492d1c845ff2","4bfe1f677b1f190e060000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '901649ee-c08e-47aa-a696-dcb8fec49350', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11949', - 'x-ms-correlation-request-id', - 'e9492770-2ca3-41f1-9c8c-8bc40ecc443b', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061424Z:e9492770-2ca3-41f1-9c8c-8bc40ecc443b', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:23 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.json index 3ea931057fea..7366514b0a06 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_create_test.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2022-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "278", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "152d7817-6b89-45e0-8263-d8832224ac0f" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "8b35a1c2-1223-447d-8b18-efd8834fb0e9" }, "RequestBody": { "sku": { @@ -44,23 +44,23 @@ "Cache-Control": "no-cache", "Content-Length": "0", "Content-Type": "text/plain; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:06 GMT", + "Date": "Thu, 18 Aug 2022 01:33:05 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "Pragma": "no-cache", "Retry-After": "17", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "94d97172-2314-4607-9949-ed8b57a2dc77", + "x-ms-correlation-request-id": "8dfb9fd9-fc68-4e8e-a852-c1c037c2391c", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082906Z:94d97172-2314-4607-9949-ed8b57a2dc77" + "x-ms-request-id": "d5f21e37-af03-4ceb-a329-22a79ecc3822", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013306Z:8dfb9fd9-fc68-4e8e-a852-c1c037c2391c" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -68,8 +68,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f3b5f3d5-1c56-4e74-9687-f8180aaecd6a" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "534acdf1-bd71-412f-b19a-1afd8d4c8909" }, "RequestBody": null, "StatusCode": 202, @@ -77,23 +77,23 @@ "Cache-Control": "no-cache", "Content-Length": "0", "Content-Type": "text/plain; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:06 GMT", + "Date": "Thu, 18 Aug 2022 01:33:05 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "Pragma": "no-cache", "Retry-After": "17", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "358f45b0-40c3-4a38-93b3-6572b17ef468", + "x-ms-correlation-request-id": "6d452aa5-8013-418a-939c-1f26f71c68c5", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "7bd0d5e6-8074-42b4-9805-8011e2ff3867", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082907Z:358f45b0-40c3-4a38-93b3-6572b17ef468" + "x-ms-request-id": "b1cf62e2-775a-4313-8c78-c1614778963e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013306Z:6d452aa5-8013-418a-939c-1f26f71c68c5" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -101,8 +101,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e5b99a29-726b-46e3-a8df-b4a39d23d737" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "c2d1acf8-f1e9-4cce-a5ee-d745373eb5d4" }, "RequestBody": null, "StatusCode": 202, @@ -110,23 +110,23 @@ "Cache-Control": "no-cache", "Content-Length": "0", "Content-Type": "text/plain; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:07 GMT", + "Date": "Thu, 18 Aug 2022 01:33:06 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "Pragma": "no-cache", "Retry-After": "17", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "12c23c5e-f91c-46c7-8cb6-107fdef0565a", + "x-ms-correlation-request-id": "48676613-697b-4637-a685-0f06d52b1fff", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "90bd9d9a-6455-46ac-8388-1d202a25c61d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082907Z:12c23c5e-f91c-46c7-8cb6-107fdef0565a" + "x-ms-request-id": "abc303c4-55e4-4c29-aeee-bb0850ed94dd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013306Z:48676613-697b-4637-a685-0f06d52b1fff" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/7ce522a6-5fd1-4d5a-97c5-f5d9ba0d581b?monitor=true\u0026api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Storage/locations/westeurope/asyncoperations/d5f21e37-af03-4ceb-a329-22a79ecc3822?monitor=true\u0026api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -134,8 +134,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ba2a974c-4ec2-42aa-b54b-d314aebf46f5" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "b88e4686-bf88-46ba-840a-ba08e52e09f9" }, "RequestBody": null, "StatusCode": 200, @@ -143,7 +143,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:24 GMT", + "Date": "Thu, 18 Aug 2022 01:33:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -151,10 +151,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0bfd6cb9-3a92-433c-981c-a8c6ecfd26da", + "x-ms-correlation-request-id": "b694bc4e-b769-483e-81f3-9a88cbdc2a1e", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "031690ef-437a-49ee-8759-2d2605d0e336", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082925Z:0bfd6cb9-3a92-433c-981c-a8c6ecfd26da" + "x-ms-request-id": "bceb70e7-4772-4187-a359-6f8d8234a8b2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013323Z:b694bc4e-b769-483e-81f3-9a88cbdc2a1e" }, "ResponseBody": { "sku": { @@ -172,8 +172,8 @@ }, "properties": { "keyCreationTime": { - "key1": "2022-06-15T08:29:04.7493314Z", - "key2": "2022-06-15T08:29:04.7493314Z" + "key1": "2022-08-18T01:33:02.1957417Z", + "key2": "2022-08-18T01:33:02.1957417Z" }, "privateEndpointConnections": [], "minimumTlsVersion": "TLS1_0", @@ -190,19 +190,19 @@ "file": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" }, "blob": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" } }, "keySource": "Microsoft.Storage" }, "accessTier": "Hot", "provisioningState": "Succeeded", - "creationTime": "2022-06-15T08:29:04.6243497Z", + "creationTime": "2022-08-18T01:33:02.0550906Z", "primaryEndpoints": { "dfs": "https://storageaccountzzzxxx.dfs.core.windows.net/", "web": "https://storageaccountzzzxxx.z6.web.core.windows.net/", diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.js deleted file mode 100644 index bf64e6364f48..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.js +++ /dev/null @@ -1,177 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7ed101162609716b850536bba4bb022a"; - -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', - '89e13cf8-e5b4-4cbc-934e-57e219240200', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AnLc1WlsWsZMm5LfndAZQPs; expires=Sat, 01-Jan-2022 06:14:36 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm3FOv3MeK9dbsZ7pdzYvgJGVkye-Fij8vlOirU8xce9HKSBaCEuXMGPN1JWQmbxDoqs3tAp6FjPAwj2fdTNdGuJ_0Apqgms06mGCkrT7LRYJFh5CfVtf5wr3OqSGvLDVVZIYqiVfAB17pAxR91Mn8WtBH3dWoS_2VwyR216MotkgAA; 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, 02 Dec 2021 06:14:36 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7d12c7bd-7a69-4ebb-8c3b-7c8b3b160200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AsjfI1CUMkpEsOQNzJbuJLs; expires=Sat, 01-Jan-2022 06:14:37 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7ZcwrA5X4Tj3_mcF2PUo9msjGiXa1K9zb4ZdlefCBvMI3GS2qYuaiZ02m83sJmX6UmBtdDKVB4uyTxdNKk1CiEiXYusxkkGJ5yWHa3aFR-rq1JtI33ZwDS8l4Wz7_VInP5UKHGyN95fFGMa63P3cTt4PBdekbx7VSk_rmFRh7BwgAA; 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, 02 Dec 2021 06:14:36 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=8de4ca91-a2f8-48bc-b3ca-e4ab08d3d65a&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', - '89e13cf8-e5b4-4cbc-934e-57e21f240200', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ai2RnaUl1FxPoVNIvHBd4FgWPr5BAQAAAE1bOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:37 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 02 Dec 2021 06:14:36 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx') - .query(true) - .reply(200, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'text/plain; charset=utf-8', - 'Expires', - '-1', - 'x-ms-request-id', - 'a7de19c9-68f2-4e09-9e4d-a3b5e9bd242d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-deletes', - '14998', - 'x-ms-correlation-request-id', - 'bb93397e-be1f-4df1-95d8-2c30f0aacccb', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061444Z:bb93397e-be1f-4df1-95d8-2c30f0aacccb', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:44 GMT', - 'Content-Length', - '0' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff92ff0742ea40440c000000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-ratelimit-remaining-subscription-reads', - '11943', - 'x-ms-request-id', - 'd63cbf4a-fffc-4358-9df0-1072816e4a79', - 'x-ms-correlation-request-id', - 'd63cbf4a-fffc-4358-9df0-1072816e4a79', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061444Z:d63cbf4a-fffc-4358-9df0-1072816e4a79', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:44 GMT', - 'Content-Length', - '133' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.json index 5cb52cecec4e..f75146b1450e 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_delete_test.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2022-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9d415376-e945-47bb-a700-a9b34ef86141" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "127061ed-47ab-4955-b0fc-c78887a77a22" }, "RequestBody": null, "StatusCode": 200, @@ -16,29 +16,29 @@ "Cache-Control": "no-cache", "Content-Length": "0", "Content-Type": "text/plain; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:52 GMT", + "Date": "Thu, 18 Aug 2022 01:33:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0234b0e0-8f97-4f5d-bfe6-f956f64c6339", + "x-ms-correlation-request-id": "7803f212-3e17-496d-8213-43433bc037c2", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "3fffa23d-cbf8-4e6f-a6ad-c2e7289a9a5e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082952Z:0234b0e0-8f97-4f5d-bfe6-f956f64c6339" + "x-ms-request-id": "06a2656c-7b09-4e91-aee8-788df28ad975", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013350Z:7803f212-3e17-496d-8213-43433bc037c2" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "04b8fab1-cbfd-44da-a19b-5104f227a6c7" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "44f23437-b6a6-48fe-9b2f-f602d0a621ad" }, "RequestBody": null, "StatusCode": 200, @@ -47,16 +47,16 @@ "Content-Encoding": "gzip", "Content-Length": "12", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 15 Jun 2022 08:29:52 GMT", + "Date": "Thu, 18 Aug 2022 01:33:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b5dd327b-deb3-48a4-9686-bce7ac0bcbbe", + "x-ms-correlation-request-id": "63a64260-b18f-4271-9766-e8959156aaa5", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "b5dd327b-deb3-48a4-9686-bce7ac0bcbbe", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082952Z:b5dd327b-deb3-48a4-9686-bce7ac0bcbbe" + "x-ms-request-id": "63a64260-b18f-4271-9766-e8959156aaa5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013350Z:63a64260-b18f-4271-9766-e8959156aaa5" }, "ResponseBody": { "value": [] diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.js deleted file mode 100644 index e452c88dff10..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "cd411e05203af6bcb4d985c37ea1a7f9"; - -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', - 'a8f86547-d252-4116-9a96-07985af30100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AgXgjdMa3uBHmSSm4yp2iHA; expires=Sat, 01-Jan-2022 06:14:25 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlGuRBjp8BjRdAfnkTHtCwnnc_CKBWwekUfYroGnbWAuZwvj5DQMnzGfoIj7cZomWCrbTxpLb3CSWxXJaVfhoKjuR7awpdc-XcGRAXKeRDfi_V7L4duVP8JVg7_OL3d-weGyq0s6NEMNreKSYY02Ief-C4f2KVn3zgqSUyaMH3RcgAA; 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, 02 Dec 2021 06:14:24 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', - 'a8f86547-d252-4116-9a96-07985cf30100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=Aqwqz2WI7WxJkzvbMU7b3vI; expires=Sat, 01-Jan-2022 06:14:25 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHbcXNRHK1UfAC9-ScWTBJ4iENs77EcaNl67FGZ3VOjThUd_sttHzMzMTnf4kEirZrPeq18GpxYpOdnOSm6fvU6V22qNmMqFcwyn6K7NWEC7S4okuE56Qih8gFPLHAad-6VtFbrWz9aKJNlm81VjyukuwbMAPkdiz5dt5JWKqGdEgAA; 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, 02 Dec 2021 06:14:25 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=5bcd2dd1-6ed2-4696-a6cb-b7a197026ab5&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', - '7d12c7bd-7a69-4ebb-8c3b-7c8bd9150200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=ApMDFt60AfBHpEddvfAybOgWPr5BAQAAAEFbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:26 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, 02 Dec 2021 06:14:25 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5ecf7fffcd5eb8f461fb5455e7b9f7ef44b461fbd2d9633fea8aab38bfc27f7a855810fee36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7dae1dd467e1e4fa7d57ad936e6ef4cfefec10f7ef0eedd3bc249c733f06d7bbdc2b73742a7a66535cd30246a7e45b8e5ebbaa277094476d180706ff3eb5dfaee322bd7f92e7d4e7fef99bff740301acc2aaf8992a6f9499d33c4370550e48f00616f676f777b776f7b67efcdcea78f76f71feddc1fef3ed839f8f4debd9f727037b6e2de8acbaccd4f97b355552cdb936ab9cca7e88d7affdef7471f2d8a65b1582fde94cd4f127de97382f9e6f9ebdddf7f87fac8cab2ba7a52569397eb49594c890a7943efb5f53a278ae6ed5555bf3d9e96f4d12ffe6872bdcaf0e547c73f58d7f9ebbcbe2ca83501b92cea769d952fa4f9ab75499f72d7c5cafb63969f67ebb23d66dc00055d6300cd7ab5aaeab6f976dbae9a3775767e5e4cbf5c96d7068d7c39adaf99c9804563faa5dfcf8bd2d0f38dcc2f0d00d34848e5cb6c52e6c4a702a4cc9af6543e9259b891ae13a2cacf1270824e505fb32450e31e53a27b62609a8a37228edfaed02bf1d56581192c961724a02dde7dbda676f98c70197d340dd82c82c3fef8e1cefdbd9d877b602fe29b45565f1bbe6182cecee9c747734cc4a3bb463408130c5b44694c4dc6d3aacec757a416aaab664c5c7297c05de544adcdaffee0d331b58abe2dc4defc3ada445ffe45eb7c8d016f7c9b1b455f6f317137bdce8da2af0b136e7e1b6d222fd334eb2c3c1fd0390d4df3baf9f2fca534a3afb3cbac28810cbecda715d4b4fffa924469de7bffb569492d1c845ff2","4bfe1f677b1f190e060000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '91836308-67ae-4c55-9938-0a674065d82f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11948', - 'x-ms-correlation-request-id', - 'cc6e3809-82d7-45b5-b356-22f68591dbfd', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061426Z:cc6e3809-82d7-45b5-b356-22f68591dbfd', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:25 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.json index fb0c9a167b2c..08b2a02c7bb6 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_get_test.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bde54f8e-dba5-4fb6-9a78-e0da79cf927b" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "04980613-e997-4617-8546-8c1f5554863a" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:27 GMT", + "Date": "Thu, 18 Aug 2022 01:33:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -25,10 +25,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "205a0ef6-a093-4c3f-9c15-358b76b378a4", + "x-ms-correlation-request-id": "287db63e-87bb-4e3b-a626-5943d7419615", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "3bb96d51-d43d-4fd2-b68d-e462b20f0801", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082928Z:205a0ef6-a093-4c3f-9c15-358b76b378a4" + "x-ms-request-id": "809b41fc-d426-40f1-abd1-c170c727635a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013327Z:287db63e-87bb-4e3b-a626-5943d7419615" }, "ResponseBody": { "sku": { @@ -46,8 +46,8 @@ }, "properties": { "keyCreationTime": { - "key1": "2022-06-15T08:29:04.7493314Z", - "key2": "2022-06-15T08:29:04.7493314Z" + "key1": "2022-08-18T01:33:02.1957417Z", + "key2": "2022-08-18T01:33:02.1957417Z" }, "privateEndpointConnections": [], "minimumTlsVersion": "TLS1_0", @@ -64,19 +64,19 @@ "file": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" }, "blob": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" } }, "keySource": "Microsoft.Storage" }, "accessTier": "Hot", "provisioningState": "Succeeded", - "creationTime": "2022-06-15T08:29:04.6243497Z", + "creationTime": "2022-08-18T01:33:02.0550906Z", "primaryEndpoints": { "dfs": "https://storageaccountzzzxxx.dfs.core.windows.net/", "web": "https://storageaccountzzzxxx.z6.web.core.windows.net/", diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.js deleted file mode 100644 index cdb302263267..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "1aba59bbf2d8aca7e007575928258017"; - -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', - '5b88dc2a-b98e-449a-9a73-75be24bd0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AjSbs8rPcExNtRijVibR36o; expires=Sat, 01-Jan-2022 06:14:27 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrw9MJvd6oTDeKyqOap745KozYlsciMGjiMZniWzAyc1ltV5LHbHUanzfoD301fVz2M2Y0c2Qz7K5c0Gu4yoNqSHmpsadqz5ouzHKeZOBEuhfo1OlpNkF4ZZVFfWiwZ7_qTw7L-ma7vNuXhyp864L7YCTK1vkQ-fwSkbFlUTNMt9EgAA; 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, 02 Dec 2021 06:14:27 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', - '78434e2b-f6d4-4f30-a1e5-2c4514800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'Set-Cookie', - 'fpc=AuhmfNO06GhFopYwuAV3F2g; expires=Sat, 01-Jan-2022 06:14:28 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrboDEBDTm4iUQOcTzld00dpT5YdEI4ro6uF-IoY2FtJUAlDgaYBY0ExlLO6kIQwcJzEWqRpTGHA_EENJekIwVkfQlalph_T1d4iXdsMOHvJunPUBZs5480EHsA9dpgIDoK40ES57MqbCpVRNJQCwMYY47YQo-f6IfkXZiYJcX-4QgAA; 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, 02 Dec 2021 06:14:27 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=ede1e51a-c745-4ee5-ada4-8163e297f5cb&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', - '5b88dc2a-b98e-449a-9a73-75be26bd0300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AgB7e3dSzgxIkXVlss-ldn8WPr5BAQAAAENbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:28 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, 02 Dec 2021 06:14:27 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts') - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc51f376fdd1a35ffcd1325bd0df1fbd6eb3e52cab67bfffe7af5e7f34faa82df2dafbf4a35f32fae86db19cf147559d5de43fb947ad0a7c70b7594f9a695dacdaa25a36771fee9d3fbc3f3b38dfbe37fdf4c1f6feeedefef6c3dde983ed83e9f9ce83e96c72beb7bf7bb7ce9b6a5d4ff3cfeb6abd6aee2eae7fba69f3a6bdbbaaabcb6296d7cddd2f8a695d35d5793bd60eef36f2f3783aadd6cbb6317f67f2f70f7ef08377efde114e3a9e816fdbeb15bebd113a352dab69862151f32bc22d5fd715bd4b20b28b06847b9b5fefd2774cd05dfa9cfede337fef81603498555e13254df3933a67886f0aa0c81f01c2decedeeef6eedef6cede9b9d4f1fedee3fdab93fde7db073f0e9bd7b3fe5e06e6cc5bd1597599b9f2e67abaa58b627d572994fd11bf5febdef8f3e5a14cb62b15ebc299b9f24fad2e704f3cdf3d7bbbfff0ef591956575f5a4ac262fd793b2981215f286de6beb754e14cddbabaa7e7b3c2de9a35ffcd1e47a95e1cb8f8e7fb0aef3d7797d59506b027259d4ed3a2b5f48f357eb923ee5ae8b95f7c72c3fcfd6657bccb8010abac6009af56a55d56df3edb65d356feaecfcbc987eb92caf0d1af9725a5f3393018bc6f44bbf9f17a5a1e71b995f1a00a69190ca97d9a4cc894f05489935eda97c24b370235d2744959f25e0049da0be6649a0c63da644f7c4c034156f441cbf5da157e2abcb0233582c2f48405bbcfb7a4dedf219e132fa681ab0590487fdf1c39dfb7b3b0ff7c05ec4378bacbe367cc3049d9dd38f8fe6988847778d68102618b688d2989a8ca7559d8faf482d5457cd98b8e42e81bbca895a9b5ffdc1a7636a157d5b88bdf975b489befc8bd63954dbe6b7b951f4f5161377d3ebdc28faba30e1e6b7d126f2324db3cec2f3019dd3d034af9b2fcf5f4a33fa3abbcc8a12c8e0db7c5a414dfbaf2f4994e6bdf75f9b96d4c241f825bfe4fbbf","e4ff015411227c1a060000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - '4a5af1d4-ce0b-4902-859e-23599bdbd675', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-reads', - '11946', - 'x-ms-correlation-request-id', - 'f425333c-0fc7-4270-829a-6f52e0ebf321', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061428Z:f425333c-0fc7-4270-829a-6f52e0ebf321', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:28 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.json index 287c302d5d82..ed7c0c9613b0 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_list_test.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts?api-version=2022-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "db448a05-49b5-4582-b181-38dcc239bce7" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "eb48544f-dbd4-436c-a4fc-7ddd36a69682" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:29 GMT", + "Date": "Thu, 18 Aug 2022 01:33:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -25,10 +25,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7a80bbea-9235-4299-9484-b475e0c9f65d", + "x-ms-correlation-request-id": "cde72dcf-b152-4862-a08e-e539a8509d33", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "2ce31753-1384-4b8e-a17b-a9f1748c323a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082930Z:7a80bbea-9235-4299-9484-b475e0c9f65d" + "x-ms-request-id": "e21c90e7-fe2b-4569-b19d-270badb45870", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013328Z:cde72dcf-b152-4862-a08e-e539a8509d33" }, "ResponseBody": { "value": [ @@ -48,8 +48,8 @@ }, "properties": { "keyCreationTime": { - "key1": "2022-06-15T08:29:04.7493314Z", - "key2": "2022-06-15T08:29:04.7493314Z" + "key1": "2022-08-18T01:33:02.1957417Z", + "key2": "2022-08-18T01:33:02.1957417Z" }, "privateEndpointConnections": [], "minimumTlsVersion": "TLS1_0", @@ -66,19 +66,19 @@ "file": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" }, "blob": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" } }, "keySource": "Microsoft.Storage" }, "accessTier": "Hot", "provisioningState": "Succeeded", - "creationTime": "2022-06-15T08:29:04.6243497Z", + "creationTime": "2022-08-18T01:33:02.0550906Z", "primaryEndpoints": { "dfs": "https://storageaccountzzzxxx.dfs.core.windows.net/", "web": "https://storageaccountzzzxxx.z6.web.core.windows.net/", diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.js b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.js deleted file mode 100644 index dd20a03426b4..000000000000 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.js +++ /dev/null @@ -1,147 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "c95868bd80f1ad87a57a2fda182303e9"; - -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', - 'a8f86547-d252-4116-9a96-079880f30100', - 'x-ms-ests-server', - '2.1.12231.10 - SEASLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AiKer9INiNJJmZMxV3Ws-gI; expires=Sat, 01-Jan-2022 06:14:29 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqVGemteXSwaJLLqvMzRc_QB6mV0UVcgaxzknzXujkgDxGmyRuYagVfQSB6DBKKcijYWZtyp5Gg_Cpzm1s855yuE_a8RXRZyms9IQ7GYrTDCp5eBL2fBMJ-9y1hZPnRm3BIOnMQsBsEF5AUwS42CGAqj9Hq7LjOt2cf2xUqNU0CcgAA; 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, 02 Dec 2021 06:14: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', - '671db2aa-032a-476a-861e-4035a35d0200', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR2 ProdSlices', - 'Set-Cookie', - 'fpc=AnnPDmTRB4RIqLwjXSEu4ok; expires=Sat, 01-Jan-2022 06:14:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-z2J1wrFDKTwEqo5pu2m-qdfmGNP5f2Vxsdz7x9hEk-AJs7ot38zb_bEhNhmQDuaQrRbJi12ilyejhEtODXTJ5CKpLT-Tb9ArB6m7ReM0VB4t9CspM-7ny_ZxU1siZx6vsLHou8BM9RTcz0n_0g_hejXpuMfDYi6ZzOOJ_vcT6sgAA; 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, 02 Dec 2021 06:14:29 GMT', - 'Content-Length', - '1753' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.3&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=cfedd0a1-cea8-4a00-be39-5abfc8ccbc57&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', - '78434e2b-f6d4-4f30-a1e5-2c4523800300', - 'x-ms-ests-server', - '2.1.12231.10 - KRSLR1 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=At4C-hSNwV5FoK8M7LIn3rMWPr5BAQAAAEVbOtkOAAAA; expires=Sat, 01-Jan-2022 06:14:30 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Thu, 02 Dec 2021 06:14:29 GMT', - 'Content-Length', - '1351' -]); - -nock('https://management.azure.com:443', {"encodedQueryParams":true}) - .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx', {"tags":{"tag1":"value1"}}) - .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147cddbf5478f7ef147cb6c917ff4e8a3d76db69c65f5ecf7fffcd5eb8f461fb5455e7b9f7ef44b461fbd2d9633fea8aab38bfc27f7a855810fee36eb4933ad8b555b54cbe6eec3bdf387f76707e7dbf7a69f3ed8dedfdddbdf7eb83b7db07d303ddf79309d4dcef7f677efd67953adeb69fe795dad57cdddc5f54f376ddeb47757757559ccf2bab9fb4531adaba63a6fc7dae1dd467e1e4fa7d57ad936e6ef4cfefec10f7ef0eedd3bc249c733f06d7bbdc2b73742a7a66535cd30246a7e45b8e5ebbaa277094476d18070f47397bebbccca75be0b0211f2abbc26caf1d76ff3eb933a67086f0aa0c41fe18dbd9dbdddedddbded9dbd373b9f3edadd7fb4737fbcfb60e7e0d37bf77e8ae053abbd9b5a716fc565d6e6a7cbd9aa2a96ed49b55ce653f446bd7feffba38f16c5b258ac176fcae627899ef439c17cf3fcf5eeefbf437d6465595d3d29abc9cbf5a42ca634eabca1f7da7a9d1305f3f6aaaadf1e4f4bfae8177f34b95e65f8f2a3e31facebfc755e5f16d49a805c1675bbceca17d2fcd5baa44fb9eb62e5fd31cbcfb375d91e336e8082ae318066bd5a5575db7cbb6d57cd9b3a3b3f2fa65f2ecb6b8346be9cd6d7cc54c0a231fdd2efe74569e8f946e69306806923a4f265362973e24b0152664d7b2a1fc92cdc48d70951e56709384127a8af99f3a9718f09d13d312c4dc51b11bf6f57e895f8eab2c00c16cb0b12c816efbe5e53bb7c46b88c3e9a066c16c1617ffc70e7fedecec33db017f1cd22abaf0ddf304167e7f4e3a33926e2d15d230a8409862da233a626e36955e7e32b5203d55533262eb94be0ae72a2d6e6577ff0e9985a45df16626f7e1d6da22fffa275bec68037becd8da2afb798b89b5ee746d1d7850937bf8d369197699a75169e0fe89886a679dd7c79fe529ad1d7d96556944006dfe6d30a6ad97f7d49a234efbdffdab4a4160ec22ff925","ff0ff4853516fe050000"], [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json', - 'Content-Encoding', - 'gzip', - 'Expires', - '-1', - 'Vary', - 'Accept-Encoding', - 'x-ms-request-id', - 'b5a0ff8c-ec30-4bc4-aa59-f8e3b761d4b5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Server', - 'Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0', - 'x-ms-ratelimit-remaining-subscription-writes', - '1197', - 'x-ms-correlation-request-id', - '31da2f40-463d-4687-a9e9-72e9e1a8e198', - 'x-ms-routing-request-id', - 'SOUTHEASTASIA:20211202T061434Z:31da2f40-463d-4687-a9e9-72e9e1a8e198', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Thu, 02 Dec 2021 06:14:33 GMT' -]); diff --git a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.json b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.json index ab890a31a600..365e831a83ca 100644 --- a/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.json +++ b/sdk/storage/arm-storage/recordings/node/storage_test/recording_storageaccounts_update_test.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2021-09-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Storage/storageAccounts/storageaccountzzzxxx?api-version=2022-05-01", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "26", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-storage/17.2.3 core-rest-pipeline/1.9.1 Node/v16.15.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "78b6ede9-7179-4450-a4b3-ebb66da4021a" + "User-Agent": "azsdk-js-arm-storage/18.0.0 core-rest-pipeline/1.9.2 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "49f73c4d-8a81-4ce8-ac1b-6e2ff1fa47b9" }, "RequestBody": { "tags": { @@ -23,7 +23,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json", - "Date": "Wed, 15 Jun 2022 08:29:37 GMT", + "Date": "Thu, 18 Aug 2022 01:33:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", @@ -31,10 +31,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b1681811-38c9-40b5-b50a-29e6d09f5846", + "x-ms-correlation-request-id": "2fa1f93f-96c2-4aa9-ac7e-b96f78de959b", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "88a74d8b-b879-41c5-87ed-4362082d32b9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220615T082937Z:b1681811-38c9-40b5-b50a-29e6d09f5846" + "x-ms-request-id": "7bd65800-b7a2-4eef-b4e5-67eb9037d124", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220818T013336Z:2fa1f93f-96c2-4aa9-ac7e-b96f78de959b" }, "ResponseBody": { "sku": { @@ -51,8 +51,8 @@ }, "properties": { "keyCreationTime": { - "key1": "2022-06-15T08:29:04.7493314Z", - "key2": "2022-06-15T08:29:04.7493314Z" + "key1": "2022-08-18T01:33:02.1957417Z", + "key2": "2022-08-18T01:33:02.1957417Z" }, "privateEndpointConnections": [], "minimumTlsVersion": "TLS1_0", @@ -69,19 +69,19 @@ "file": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" }, "blob": { "keyType": "Account", "enabled": true, - "lastEnabledTime": "2022-06-15T08:29:04.7649833Z" + "lastEnabledTime": "2022-08-18T01:33:02.8363242Z" } }, "keySource": "Microsoft.Storage" }, "accessTier": "Hot", "provisioningState": "Succeeded", - "creationTime": "2022-06-15T08:29:04.6243497Z", + "creationTime": "2022-08-18T01:33:02.0550906Z", "primaryEndpoints": { "dfs": "https://storageaccountzzzxxx.dfs.core.windows.net/", "web": "https://storageaccountzzzxxx.z6.web.core.windows.net/", diff --git a/sdk/storage/arm-storage/review/arm-storage.api.md b/sdk/storage/arm-storage/review/arm-storage.api.md index f7d3c9e7dbe1..79ffeaff05ee 100644 --- a/sdk/storage/arm-storage/review/arm-storage.api.md +++ b/sdk/storage/arm-storage/review/arm-storage.api.md @@ -45,28 +45,31 @@ export interface AccountSasParameters { // @public export type AccountStatus = "available" | "unavailable"; +// @public +export type AccountType = string; + // @public export interface ActiveDirectoryProperties { - accountType?: ActiveDirectoryPropertiesAccountType; - azureStorageSid: string; + accountType?: AccountType; + azureStorageSid?: string; domainGuid: string; domainName: string; - domainSid: string; - forestName: string; - netBiosDomainName: string; + domainSid?: string; + forestName?: string; + netBiosDomainName?: string; samAccountName?: string; } // @public -export type ActiveDirectoryPropertiesAccountType = string; +export type AllowedCopyScope = string; // @public -export type AllowedCopyScope = string; +export type AllowedMethods = string; // @public -export type AzureEntityResource = Resource & { +export interface AzureEntityResource extends Resource { readonly etag?: string; -}; +} // @public export interface AzureFilesIdentityBasedAuthentication { @@ -76,29 +79,29 @@ export interface AzureFilesIdentityBasedAuthentication { } // @public -export type BlobContainer = AzureEntityResource & { - readonly version?: string; +export interface BlobContainer extends AzureEntityResource { + defaultEncryptionScope?: string; readonly deleted?: boolean; readonly deletedTime?: Date; - readonly remainingRetentionDays?: number; - defaultEncryptionScope?: string; denyEncryptionScopeOverride?: boolean; - publicAccess?: PublicAccess; + enableNfsV3AllSquash?: boolean; + enableNfsV3RootSquash?: boolean; + readonly hasImmutabilityPolicy?: boolean; + readonly hasLegalHold?: boolean; + readonly immutabilityPolicy?: ImmutabilityPolicyProperties; + immutableStorageWithVersioning?: ImmutableStorageWithVersioning; readonly lastModifiedTime?: Date; - readonly leaseStatus?: LeaseStatus; - readonly leaseState?: LeaseState; readonly leaseDuration?: LeaseDuration; + readonly leaseState?: LeaseState; + readonly leaseStatus?: LeaseStatus; + readonly legalHold?: LegalHoldProperties; metadata?: { [propertyName: string]: string; }; - readonly immutabilityPolicy?: ImmutabilityPolicyProperties; - readonly legalHold?: LegalHoldProperties; - readonly hasLegalHold?: boolean; - readonly hasImmutabilityPolicy?: boolean; - immutableStorageWithVersioning?: ImmutableStorageWithVersioning; - enableNfsV3RootSquash?: boolean; - enableNfsV3AllSquash?: boolean; -}; + publicAccess?: PublicAccess; + readonly remainingRetentionDays?: number; + readonly version?: string; +} // @public export interface BlobContainers { @@ -290,11 +293,11 @@ export interface BlobInventoryPoliciesListOptionalParams extends coreClient.Oper export type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy; // @public -export type BlobInventoryPolicy = Resource & { - readonly systemData?: SystemData; +export interface BlobInventoryPolicy extends Resource { readonly lastModifiedTime?: Date; policy?: BlobInventoryPolicySchema; -}; + readonly systemData?: SystemData; +} // @public export interface BlobInventoryPolicyDefinition { @@ -363,18 +366,18 @@ export interface BlobServiceItems { } // @public -export type BlobServiceProperties = Resource & { - readonly sku?: Sku; +export interface BlobServiceProperties extends Resource { + automaticSnapshotPolicyEnabled?: boolean; + changeFeed?: ChangeFeed; + containerDeleteRetentionPolicy?: DeleteRetentionPolicy; cors?: CorsRules; defaultServiceVersion?: string; deleteRetentionPolicy?: DeleteRetentionPolicy; isVersioningEnabled?: boolean; - automaticSnapshotPolicyEnabled?: boolean; - changeFeed?: ChangeFeed; - restorePolicy?: RestorePolicyProperties; - containerDeleteRetentionPolicy?: DeleteRetentionPolicy; lastAccessTimeTrackingPolicy?: LastAccessTimeTrackingPolicy; -}; + restorePolicy?: RestorePolicyProperties; + readonly sku?: Sku; +} // @public export interface BlobServices { @@ -436,15 +439,12 @@ export interface CloudErrorBody { // @public export interface CorsRule { allowedHeaders: string[]; - allowedMethods: CorsRuleAllowedMethodsItem[]; + allowedMethods: AllowedMethods[]; allowedOrigins: string[]; exposedHeaders: string[]; maxAgeInSeconds: number; } -// @public -export type CorsRuleAllowedMethodsItem = string; - // @public export interface CorsRules { corsRules?: CorsRule[]; @@ -480,13 +480,13 @@ export type DefaultAction = "Allow" | "Deny"; export type DefaultSharePermission = string; // @public -export type DeletedAccount = ProxyResource & { - readonly storageAccountResourceId?: string; - readonly location?: string; - readonly restoreReference?: string; +export interface DeletedAccount extends ProxyResource { readonly creationTime?: string; readonly deletionTime?: string; -}; + readonly location?: string; + readonly restoreReference?: string; + readonly storageAccountResourceId?: string; +} // @public export interface DeletedAccountListResult { @@ -552,7 +552,7 @@ export type EnabledProtocols = string; // @public export interface Encryption { encryptionIdentity?: EncryptionIdentity; - keySource: KeySource; + keySource?: KeySource; keyVaultProperties?: KeyVaultProperties; requireInfrastructureEncryption?: boolean; services?: EncryptionServices; @@ -565,14 +565,14 @@ export interface EncryptionIdentity { } // @public -export type EncryptionScope = Resource & { - source?: EncryptionScopeSource; - state?: EncryptionScopeState; +export interface EncryptionScope extends Resource { readonly creationTime?: Date; - readonly lastModifiedTime?: Date; keyVaultProperties?: EncryptionScopeKeyVaultProperties; + readonly lastModifiedTime?: Date; requireInfrastructureEncryption?: boolean; -}; + source?: EncryptionScopeSource; + state?: EncryptionScopeState; +} // @public export interface EncryptionScopeKeyVaultProperties { @@ -692,12 +692,12 @@ export interface FileServiceItems { } // @public -export type FileServiceProperties = Resource & { - readonly sku?: Sku; +export interface FileServiceProperties extends Resource { cors?: CorsRules; - shareDeleteRetentionPolicy?: DeleteRetentionPolicy; protocolSettings?: ProtocolSettings; -}; + shareDeleteRetentionPolicy?: DeleteRetentionPolicy; + readonly sku?: Sku; +} // @public export interface FileServices { @@ -728,52 +728,52 @@ export interface FileServicesSetServicePropertiesOptionalParams extends coreClie export type FileServicesSetServicePropertiesResponse = FileServiceProperties; // @public -export type FileShare = AzureEntityResource & { +export interface FileShare extends AzureEntityResource { + accessTier?: ShareAccessTier; + readonly accessTierChangeTime?: Date; + readonly accessTierStatus?: string; + readonly deleted?: boolean; + readonly deletedTime?: Date; + enabledProtocols?: EnabledProtocols; readonly lastModifiedTime?: Date; + readonly leaseDuration?: LeaseDuration; + readonly leaseState?: LeaseState; + readonly leaseStatus?: LeaseStatus; metadata?: { [propertyName: string]: string; }; - shareQuota?: number; - enabledProtocols?: EnabledProtocols; - rootSquash?: RootSquashType; - readonly version?: string; - readonly deleted?: boolean; - readonly deletedTime?: Date; readonly remainingRetentionDays?: number; - accessTier?: ShareAccessTier; - readonly accessTierChangeTime?: Date; - readonly accessTierStatus?: string; + rootSquash?: RootSquashType; + shareQuota?: number; readonly shareUsageBytes?: number; - readonly leaseStatus?: LeaseStatus; - readonly leaseState?: LeaseState; - readonly leaseDuration?: LeaseDuration; signedIdentifiers?: SignedIdentifier[]; readonly snapshotTime?: Date; -}; + readonly version?: string; +} // @public -export type FileShareItem = AzureEntityResource & { +export interface FileShareItem extends AzureEntityResource { + accessTier?: ShareAccessTier; + readonly accessTierChangeTime?: Date; + readonly accessTierStatus?: string; + readonly deleted?: boolean; + readonly deletedTime?: Date; + enabledProtocols?: EnabledProtocols; readonly lastModifiedTime?: Date; + readonly leaseDuration?: LeaseDuration; + readonly leaseState?: LeaseState; + readonly leaseStatus?: LeaseStatus; metadata?: { [propertyName: string]: string; }; - shareQuota?: number; - enabledProtocols?: EnabledProtocols; - rootSquash?: RootSquashType; - readonly version?: string; - readonly deleted?: boolean; - readonly deletedTime?: Date; readonly remainingRetentionDays?: number; - accessTier?: ShareAccessTier; - readonly accessTierChangeTime?: Date; - readonly accessTierStatus?: string; + rootSquash?: RootSquashType; + shareQuota?: number; readonly shareUsageBytes?: number; - readonly leaseStatus?: LeaseStatus; - readonly leaseState?: LeaseState; - readonly leaseDuration?: LeaseDuration; signedIdentifiers?: SignedIdentifier[]; readonly snapshotTime?: Date; -}; + readonly version?: string; +} // @public export interface FileShareItems { @@ -890,12 +890,12 @@ export interface Identity { export type IdentityType = string; // @public -export type ImmutabilityPolicy = AzureEntityResource & { - immutabilityPeriodSinceCreationInDays?: number; - readonly state?: ImmutabilityPolicyState; +export interface ImmutabilityPolicy extends AzureEntityResource { allowProtectedAppendWrites?: boolean; allowProtectedAppendWritesAll?: boolean; -}; + immutabilityPeriodSinceCreationInDays?: number; + readonly state?: ImmutabilityPolicyState; +} // @public export interface ImmutabilityPolicyProperties { @@ -973,347 +973,249 @@ export type Kind = string; // @public export enum KnownAccountImmutabilityPolicyState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Locked = "Locked", - // (undocumented) Unlocked = "Unlocked" } // @public -export enum KnownActiveDirectoryPropertiesAccountType { - // (undocumented) +export enum KnownAccountType { Computer = "Computer", - // (undocumented) User = "User" } // @public export enum KnownAllowedCopyScope { - // (undocumented) AAD = "AAD", - // (undocumented) PrivateLink = "PrivateLink" } +// @public +export enum KnownAllowedMethods { + Delete = "DELETE", + GET = "GET", + Head = "HEAD", + Merge = "MERGE", + Options = "OPTIONS", + Patch = "PATCH", + Post = "POST", + PUT = "PUT" +} + // @public export enum KnownBlobInventoryPolicyName { - // (undocumented) Default = "default" } // @public export enum KnownBlobRestoreProgressStatus { - // (undocumented) Complete = "Complete", - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress" } // @public export enum KnownBypass { - // (undocumented) AzureServices = "AzureServices", - // (undocumented) Logging = "Logging", - // (undocumented) Metrics = "Metrics", - // (undocumented) None = "None" } -// @public -export enum KnownCorsRuleAllowedMethodsItem { - // (undocumented) - Delete = "DELETE", - // (undocumented) - GET = "GET", - // (undocumented) - Head = "HEAD", - // (undocumented) - Merge = "MERGE", - // (undocumented) - Options = "OPTIONS", - // (undocumented) - Patch = "PATCH", - // (undocumented) - Post = "POST", - // (undocumented) - PUT = "PUT" -} - // @public export enum KnownCreatedByType { - // (undocumented) Application = "Application", - // (undocumented) Key = "Key", - // (undocumented) ManagedIdentity = "ManagedIdentity", - // (undocumented) User = "User" } // @public export enum KnownDefaultSharePermission { - // (undocumented) None = "None", - // (undocumented) StorageFileDataSmbShareContributor = "StorageFileDataSmbShareContributor", - // (undocumented) StorageFileDataSmbShareElevatedContributor = "StorageFileDataSmbShareElevatedContributor", - // (undocumented) StorageFileDataSmbShareReader = "StorageFileDataSmbShareReader" } // @public export enum KnownDirectoryServiceOptions { - // (undocumented) Aadds = "AADDS", - // (undocumented) + Aadkerb = "AADKERB", AD = "AD", - // (undocumented) None = "None" } // @public export enum KnownDnsEndpointType { - // (undocumented) AzureDnsZone = "AzureDnsZone", - // (undocumented) Standard = "Standard" } // @public export enum KnownEnabledProtocols { - // (undocumented) NFS = "NFS", - // (undocumented) SMB = "SMB" } // @public export enum KnownEncryptionScopeSource { - // (undocumented) MicrosoftKeyVault = "Microsoft.KeyVault", - // (undocumented) MicrosoftStorage = "Microsoft.Storage" } // @public export enum KnownEncryptionScopeState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownExpirationAction { - // (undocumented) Log = "Log" } // @public export enum KnownExtendedLocationTypes { - // (undocumented) EdgeZone = "EdgeZone" } // @public export enum KnownFormat { - // (undocumented) Csv = "Csv", - // (undocumented) Parquet = "Parquet" } // @public export enum KnownGeoReplicationStatus { - // (undocumented) Bootstrap = "Bootstrap", - // (undocumented) Live = "Live", - // (undocumented) Unavailable = "Unavailable" } // @public export enum KnownIdentityType { - // (undocumented) None = "None", - // (undocumented) SystemAssigned = "SystemAssigned", - // (undocumented) SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", - // (undocumented) UserAssigned = "UserAssigned" } // @public export enum KnownImmutabilityPolicyState { - // (undocumented) Locked = "Locked", - // (undocumented) Unlocked = "Unlocked" } // @public export enum KnownImmutabilityPolicyUpdateType { - // (undocumented) Extend = "extend", - // (undocumented) Lock = "lock", - // (undocumented) Put = "put" } // @public export enum KnownInventoryRuleType { - // (undocumented) Inventory = "Inventory" } // @public export enum KnownKeySource { - // (undocumented) MicrosoftKeyvault = "Microsoft.Keyvault", - // (undocumented) MicrosoftStorage = "Microsoft.Storage" } // @public export enum KnownKeyType { - // (undocumented) Account = "Account", - // (undocumented) Service = "Service" } // @public export enum KnownKind { - // (undocumented) BlobStorage = "BlobStorage", - // (undocumented) BlockBlobStorage = "BlockBlobStorage", - // (undocumented) FileStorage = "FileStorage", - // (undocumented) Storage = "Storage", - // (undocumented) StorageV2 = "StorageV2" } // @public export enum KnownLargeFileSharesState { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownLeaseContainerRequestAction { - // (undocumented) Acquire = "Acquire", - // (undocumented) Break = "Break", - // (undocumented) Change = "Change", - // (undocumented) Release = "Release", - // (undocumented) Renew = "Renew" } // @public export enum KnownLeaseDuration { - // (undocumented) Fixed = "Fixed", - // (undocumented) Infinite = "Infinite" } // @public export enum KnownLeaseShareAction { - // (undocumented) Acquire = "Acquire", - // (undocumented) Break = "Break", - // (undocumented) Change = "Change", - // (undocumented) Release = "Release", - // (undocumented) Renew = "Renew" } // @public export enum KnownLeaseState { - // (undocumented) Available = "Available", - // (undocumented) Breaking = "Breaking", - // (undocumented) Broken = "Broken", - // (undocumented) Expired = "Expired", - // (undocumented) Leased = "Leased" } // @public export enum KnownLeaseStatus { - // (undocumented) Locked = "Locked", - // (undocumented) Unlocked = "Unlocked" } // @public export enum KnownListContainersInclude { - // (undocumented) Deleted = "deleted" } // @public export enum KnownManagementPolicyName { - // (undocumented) Default = "default" } // @public export enum KnownMigrationState { - // (undocumented) Completed = "Completed", - // (undocumented) InProgress = "InProgress" } // @public export enum KnownMinimumTlsVersion { - // (undocumented) TLS10 = "TLS1_0", - // (undocumented) TLS11 = "TLS1_1", - // (undocumented) TLS12 = "TLS1_2" } // @public export enum KnownName { - // (undocumented) AccessTimeTracking = "AccessTimeTracking" } // @public export enum KnownObjectType { - // (undocumented) Blob = "Blob", - // (undocumented) Container = "Container" } @@ -1339,71 +1241,52 @@ export enum KnownPermissions { // @public export enum KnownPrivateEndpointConnectionProvisioningState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownPrivateEndpointServiceConnectionStatus { - // (undocumented) Approved = "Approved", - // (undocumented) Pending = "Pending", - // (undocumented) Rejected = "Rejected" } // @public export enum KnownPublicNetworkAccess { - // (undocumented) Disabled = "Disabled", - // (undocumented) Enabled = "Enabled" } // @public export enum KnownReasonCode { - // (undocumented) NotAvailableForSubscription = "NotAvailableForSubscription", - // (undocumented) QuotaId = "QuotaId" } // @public export enum KnownRootSquashType { - // (undocumented) AllSquash = "AllSquash", - // (undocumented) NoRootSquash = "NoRootSquash", - // (undocumented) RootSquash = "RootSquash" } // @public export enum KnownRoutingChoice { - // (undocumented) InternetRouting = "InternetRouting", - // (undocumented) MicrosoftRouting = "MicrosoftRouting" } // @public export enum KnownRuleType { - // (undocumented) Lifecycle = "Lifecycle" } // @public export enum KnownSchedule { - // (undocumented) Daily = "Daily", - // (undocumented) Weekly = "Weekly" } @@ -1421,13 +1304,9 @@ export enum KnownServices { // @public export enum KnownShareAccessTier { - // (undocumented) Cool = "Cool", - // (undocumented) Hot = "Hot", - // (undocumented) Premium = "Premium", - // (undocumented) TransactionOptimized = "TransactionOptimized" } @@ -1455,45 +1334,29 @@ export enum KnownSignedResourceTypes { // @public export enum KnownSkuConversionStatus { - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownSkuName { - // (undocumented) PremiumLRS = "Premium_LRS", - // (undocumented) PremiumZRS = "Premium_ZRS", - // (undocumented) StandardGRS = "Standard_GRS", - // (undocumented) StandardGzrs = "Standard_GZRS", - // (undocumented) StandardLRS = "Standard_LRS", - // (undocumented) StandardRagrs = "Standard_RAGRS", - // (undocumented) StandardRagzrs = "Standard_RAGZRS", - // (undocumented) StandardZRS = "Standard_ZRS" } // @public export enum KnownState { - // (undocumented) Deprovisioning = "Deprovisioning", - // (undocumented) Failed = "Failed", - // (undocumented) NetworkSourceDeleted = "NetworkSourceDeleted", - // (undocumented) Provisioning = "Provisioning", - // (undocumented) Succeeded = "Succeeded" } @@ -1578,29 +1441,29 @@ export interface ListBlobInventoryPolicy { } // @public -export type ListContainerItem = AzureEntityResource & { - readonly version?: string; +export interface ListContainerItem extends AzureEntityResource { + defaultEncryptionScope?: string; readonly deleted?: boolean; readonly deletedTime?: Date; - readonly remainingRetentionDays?: number; - defaultEncryptionScope?: string; denyEncryptionScopeOverride?: boolean; - publicAccess?: PublicAccess; + enableNfsV3AllSquash?: boolean; + enableNfsV3RootSquash?: boolean; + readonly hasImmutabilityPolicy?: boolean; + readonly hasLegalHold?: boolean; + readonly immutabilityPolicy?: ImmutabilityPolicyProperties; + immutableStorageWithVersioning?: ImmutableStorageWithVersioning; readonly lastModifiedTime?: Date; - readonly leaseStatus?: LeaseStatus; - readonly leaseState?: LeaseState; readonly leaseDuration?: LeaseDuration; + readonly leaseState?: LeaseState; + readonly leaseStatus?: LeaseStatus; + readonly legalHold?: LegalHoldProperties; metadata?: { [propertyName: string]: string; }; - readonly immutabilityPolicy?: ImmutabilityPolicyProperties; - readonly legalHold?: LegalHoldProperties; - readonly hasLegalHold?: boolean; - readonly hasImmutabilityPolicy?: boolean; - immutableStorageWithVersioning?: ImmutableStorageWithVersioning; - enableNfsV3RootSquash?: boolean; - enableNfsV3AllSquash?: boolean; -}; + publicAccess?: PublicAccess; + readonly remainingRetentionDays?: number; + readonly version?: string; +} // @public export interface ListContainerItems { @@ -1612,11 +1475,11 @@ export interface ListContainerItems { export type ListContainersInclude = string; // @public (undocumented) -export type ListQueue = Resource & { +export interface ListQueue extends Resource { metadata?: { [propertyName: string]: string; }; -}; +} // @public export interface ListQueueResource { @@ -1646,16 +1509,16 @@ export interface ListTableServices { } // @public -export type LocalUser = Resource & { - readonly systemData?: SystemData; - permissionScopes?: PermissionScope[]; - homeDirectory?: string; - sshAuthorizedKeys?: SshPublicKey[]; - readonly sid?: string; +export interface LocalUser extends Resource { hasSharedKey?: boolean; hasSshKey?: boolean; hasSshPassword?: boolean; -}; + homeDirectory?: string; + permissionScopes?: PermissionScope[]; + readonly sid?: string; + sshAuthorizedKeys?: SshPublicKey[]; + readonly systemData?: SystemData; +} // @public export interface LocalUserKeys { @@ -1748,10 +1611,10 @@ export interface ManagementPoliciesGetOptionalParams extends coreClient.Operatio export type ManagementPoliciesGetResponse = ManagementPolicy; // @public -export type ManagementPolicy = Resource & { +export interface ManagementPolicy extends Resource { readonly lastModifiedTime?: Date; policy?: ManagementPolicySchema; -}; +} // @public export interface ManagementPolicyAction { @@ -1886,13 +1749,13 @@ export interface ObjectReplicationPoliciesOperations { } // @public -export type ObjectReplicationPolicy = Resource & { - readonly policyId?: string; - readonly enabledTime?: Date; - sourceAccount?: string; +export interface ObjectReplicationPolicy extends Resource { destinationAccount?: string; + readonly enabledTime?: Date; + readonly policyId?: string; rules?: ObjectReplicationPolicyRule[]; -}; + sourceAccount?: string; +} // @public export interface ObjectReplicationPolicyFilter { @@ -1961,11 +1824,11 @@ export interface PrivateEndpoint { } // @public -export type PrivateEndpointConnection = Resource & { +export interface PrivateEndpointConnection extends Resource { privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -}; +} // @public export interface PrivateEndpointConnectionListResult { @@ -2012,11 +1875,11 @@ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection; export type PrivateEndpointServiceConnectionStatus = string; // @public -export type PrivateLinkResource = Resource & { +export interface PrivateLinkResource extends Resource { readonly groupId?: string; readonly requiredMembers?: string[]; requiredZoneNames?: string[]; -}; +} // @public export interface PrivateLinkResourceListResult { @@ -2057,7 +1920,8 @@ export interface ProtocolSettings { export type ProvisioningState = "Creating" | "ResolvingDNS" | "Succeeded"; // @public -export type ProxyResource = Resource; +export interface ProxyResource extends Resource { +} // @public export type PublicAccess = "Container" | "Blob" | "None"; @@ -2111,9 +1975,9 @@ export interface QueueListOptionalParams extends coreClient.OperationOptions { export type QueueListResponse = ListQueueResource; // @public -export type QueueServiceProperties = Resource & { +export interface QueueServiceProperties extends Resource { cors?: CorsRules; -}; +} // @public export interface QueueServices { @@ -2317,50 +2181,50 @@ export interface SshPublicKey { export type State = string; // @public -export type StorageAccount = TrackedResource & { - readonly sku?: Sku; - readonly kind?: Kind; - identity?: Identity; - extendedLocation?: ExtendedLocation; - readonly provisioningState?: ProvisioningState; - readonly primaryEndpoints?: Endpoints; - readonly primaryLocation?: string; - readonly statusOfPrimary?: AccountStatus; - readonly lastGeoFailoverTime?: Date; - readonly secondaryLocation?: string; - readonly statusOfSecondary?: AccountStatus; - readonly creationTime?: Date; - readonly customDomain?: CustomDomain; - readonly sasPolicy?: SasPolicy; - readonly keyPolicy?: KeyPolicy; - readonly keyCreationTime?: KeyCreationTime; - readonly secondaryEndpoints?: Endpoints; - readonly encryption?: Encryption; +export interface StorageAccount extends TrackedResource { readonly accessTier?: AccessTier; + allowBlobPublicAccess?: boolean; + allowCrossTenantReplication?: boolean; + allowedCopyScope?: AllowedCopyScope; + allowSharedKeyAccess?: boolean; azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication; + readonly blobRestoreStatus?: BlobRestoreStatus; + readonly creationTime?: Date; + readonly customDomain?: CustomDomain; + defaultToOAuthAuthentication?: boolean; + dnsEndpointType?: DnsEndpointType; enableHttpsTrafficOnly?: boolean; - readonly networkRuleSet?: NetworkRuleSet; - isSftpEnabled?: boolean; - isLocalUserEnabled?: boolean; - isHnsEnabled?: boolean; - readonly geoReplicationStats?: GeoReplicationStats; + enableNfsV3?: boolean; + readonly encryption?: Encryption; + extendedLocation?: ExtendedLocation; readonly failoverInProgress?: boolean; + readonly geoReplicationStats?: GeoReplicationStats; + identity?: Identity; + immutableStorageWithVersioning?: ImmutableStorageAccount; + isHnsEnabled?: boolean; + isLocalUserEnabled?: boolean; + isSftpEnabled?: boolean; + readonly keyCreationTime?: KeyCreationTime; + readonly keyPolicy?: KeyPolicy; + readonly kind?: Kind; largeFileSharesState?: LargeFileSharesState; - readonly privateEndpointConnections?: PrivateEndpointConnection[]; - routingPreference?: RoutingPreference; - readonly blobRestoreStatus?: BlobRestoreStatus; - allowBlobPublicAccess?: boolean; + readonly lastGeoFailoverTime?: Date; minimumTlsVersion?: MinimumTlsVersion; - allowSharedKeyAccess?: boolean; - enableNfsV3?: boolean; - allowCrossTenantReplication?: boolean; - defaultToOAuthAuthentication?: boolean; + readonly networkRuleSet?: NetworkRuleSet; + readonly primaryEndpoints?: Endpoints; + readonly primaryLocation?: string; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + readonly provisioningState?: ProvisioningState; publicNetworkAccess?: PublicNetworkAccess; - immutableStorageWithVersioning?: ImmutableStorageAccount; - allowedCopyScope?: AllowedCopyScope; + routingPreference?: RoutingPreference; + readonly sasPolicy?: SasPolicy; + readonly secondaryEndpoints?: Endpoints; + readonly secondaryLocation?: string; + readonly sku?: Sku; + readonly statusOfPrimary?: AccountStatus; + readonly statusOfSecondary?: AccountStatus; storageAccountSkuConversionStatus?: StorageAccountSkuConversionStatus; - dnsEndpointType?: DnsEndpointType; -}; +} // @public export interface StorageAccountCheckNameAvailabilityParameters { @@ -2693,12 +2557,12 @@ export interface StorageManagementClientOptionalParams extends coreClient.Servic } // @public (undocumented) -export type StorageQueue = Resource & { +export interface StorageQueue extends Resource { + readonly approximateMessageCount?: number; metadata?: { [propertyName: string]: string; }; - readonly approximateMessageCount?: number; -}; +} // @public export interface StorageSkuListResult { @@ -2716,10 +2580,10 @@ export interface SystemData { } // @public -export type Table = Resource & { - readonly tableName?: string; +export interface Table extends Resource { signedIdentifiers?: TableSignedIdentifier[]; -}; + readonly tableName?: string; +} // @public export interface TableAccessPolicy { @@ -2771,9 +2635,9 @@ export interface TableOperations { } // @public -export type TableServiceProperties = Resource & { +export interface TableServiceProperties extends Resource { cors?: CorsRules; -}; +} // @public export interface TableServices { @@ -2834,12 +2698,12 @@ export interface TagProperty { } // @public -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { + location: string; tags?: { [propertyName: string]: string; }; - location: string; -}; +} // @public export interface UpdateHistoryProperty { diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersClearLegalHoldSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersClearLegalHoldSample.ts index 29bd9bc419ae..ef16e937a939 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersClearLegalHoldSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersClearLegalHoldSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. * * @summary Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json */ async function clearLegalHoldContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts index ffed53c47eef..e648292abc53 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json */ async function createOrUpdateImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; @@ -50,7 +50,7 @@ createOrUpdateImmutabilityPolicy().catch(console.error); * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json */ async function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersCreateSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersCreateSample.ts index 53300ddb57c2..c8c271d6783b 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersCreateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutDefaultEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json */ async function putContainerWithDefaultEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ putContainerWithDefaultEncryptionScope().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutObjectLevelWorm.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutObjectLevelWorm.json */ async function putContainerWithObjectLevelWorm() { const subscriptionId = "{subscription-id}"; @@ -70,7 +70,7 @@ putContainerWithObjectLevelWorm().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPut.json */ async function putContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersDeleteImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersDeleteImmutabilityPolicySample.ts index d379c6c0cd68..229689048017 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersDeleteImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersDeleteImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. * * @summary Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json */ async function deleteImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersDeleteSample.ts index 82ac9bfc0803..6662b011680d 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes specified container under its account. * * @summary Deletes specified container under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json */ async function deleteContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersExtendImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersExtendImmutabilityPolicySample.ts index 9c1c76b9271a..43ff3f06df4d 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersExtendImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersExtendImmutabilityPolicySample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. * * @summary Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json */ async function extendImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersGetImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersGetImmutabilityPolicySample.ts index 02c9ba196eda..137a8e39ff77 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersGetImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersGetImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the existing immutability policy along with the corresponding ETag in response headers and body. * * @summary Gets the existing immutability policy along with the corresponding ETag in response headers and body. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json */ async function getImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersGetSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersGetSample.ts index 16d8f17000b8..8abb1a7fa52a 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json */ async function getBlobContainersGetWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; @@ -38,7 +38,7 @@ getBlobContainersGetWithAllowProtectedAppendWritesAll().catch(console.error); * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGet.json */ async function getContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersLeaseSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersLeaseSample.ts index eb426988bb7f..dfc448d324a2 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersLeaseSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersLeaseSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json */ async function acquireALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ acquireALeaseOnAContainer().catch(console.error); * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Break.json */ async function breakALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersListSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersListSample.ts index 50e3164d2177..eb62ced96fc9 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersListSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json */ async function listContainers() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ listContainers().catch(console.error); * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedBlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedBlobContainersList.json */ async function listDeletedContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersLockImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersLockImmutabilityPolicySample.ts index 86df299f638b..db7ddbfdf70f 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersLockImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersLockImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. * * @summary Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLockImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json */ async function lockImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersObjectLevelWormSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersObjectLevelWormSample.ts index 327522fd2426..726aa3788e55 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersObjectLevelWormSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersObjectLevelWormSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. * * @summary This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/ObjectLevelWormContainerMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json */ async function versionLevelWormContainerMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersSetLegalHoldSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersSetLegalHoldSample.ts index 076254cb4aa6..24fea8e23683 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersSetLegalHoldSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersSetLegalHoldSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json */ async function setLegalHoldContainers() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ setLegalHoldContainers().catch(console.error); * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json */ async function setLegalHoldContainersWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobContainersUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/blobContainersUpdateSample.ts index 303664ffdecc..50363dc37ce0 100644 --- a/sdk/storage/arm-storage/samples-dev/blobContainersUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobContainersUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. * * @summary Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json */ async function updateContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts index a85509d0c78d..cb8d088aa5e4 100644 --- a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json */ async function storageAccountSetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; @@ -102,7 +102,7 @@ storageAccountSetBlobInventoryPolicy().catch(console.error); * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() { const subscriptionId = "{subscription-id}"; @@ -206,7 +206,7 @@ storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount().cat * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesDeleteSample.ts index 883c4f357415..76438d0900d3 100644 --- a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the blob inventory policy associated with the specified storage account. * * @summary Deletes the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json */ async function storageAccountDeleteBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesGetSample.ts b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesGetSample.ts index b9de8f19101e..b5be01e92774 100644 --- a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesListSample.ts b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesListSample.ts index 08c5f11f9c3d..38d207f56c9e 100644 --- a/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobInventoryPoliciesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/blobServicesGetServicePropertiesSample.ts index 2ee353d700f7..f17660467a87 100644 --- a/sdk/storage/arm-storage/samples-dev/blobServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json */ async function getBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobServicesListSample.ts b/sdk/storage/arm-storage/samples-dev/blobServicesListSample.ts index 5add0898296b..2b5f6cbdd05d 100644 --- a/sdk/storage/arm-storage/samples-dev/blobServicesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List blob services of storage account. It returns a collection of one object named default. * * @summary List blob services of storage account. It returns a collection of one object named default. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json */ async function listBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/blobServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/blobServicesSetServicePropertiesSample.ts index f479757f32b5..533d162a0085 100644 --- a/sdk/storage/arm-storage/samples-dev/blobServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/blobServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutAllowPermanentDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json */ async function blobServicesPutAllowPermanentDelete() { const subscriptionId = "{subscription-id}"; @@ -48,7 +48,7 @@ blobServicesPutAllowPermanentDelete().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json */ async function blobServicesPutLastAccessTimeBasedTracking() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ blobServicesPutLastAccessTimeBasedTracking().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPut.json */ async function putBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/deletedAccountsGetSample.ts b/sdk/storage/arm-storage/samples-dev/deletedAccountsGetSample.ts index 0238a6d99b14..1797a5d0ba5c 100644 --- a/sdk/storage/arm-storage/samples-dev/deletedAccountsGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/deletedAccountsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get properties of specified deleted account resource. * * @summary Get properties of specified deleted account resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json */ async function deletedAccountGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/deletedAccountsListSample.ts b/sdk/storage/arm-storage/samples-dev/deletedAccountsListSample.ts index ab819a8f2220..c522e279f410 100644 --- a/sdk/storage/arm-storage/samples-dev/deletedAccountsListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/deletedAccountsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists deleted accounts under the subscription. * * @summary Lists deleted accounts under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json */ async function deletedAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/encryptionScopesGetSample.ts b/sdk/storage/arm-storage/samples-dev/encryptionScopesGetSample.ts index da0a6079f63c..5938dbd0e3fa 100644 --- a/sdk/storage/arm-storage/samples-dev/encryptionScopesGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/encryptionScopesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Returns the properties for the specified encryption scope. * * @summary Returns the properties for the specified encryption scope. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json */ async function storageAccountGetEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/encryptionScopesListSample.ts b/sdk/storage/arm-storage/samples-dev/encryptionScopesListSample.ts index 0a75662b7843..9b6467621e8d 100644 --- a/sdk/storage/arm-storage/samples-dev/encryptionScopesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/encryptionScopesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the encryption scopes available under the specified storage account. * * @summary Lists all the encryption scopes available under the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEncryptionScopeList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json */ async function storageAccountEncryptionScopeList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/encryptionScopesPatchSample.ts b/sdk/storage/arm-storage/samples-dev/encryptionScopesPatchSample.ts index 9bb7412630af..df8a57d86235 100644 --- a/sdk/storage/arm-storage/samples-dev/encryptionScopesPatchSample.ts +++ b/sdk/storage/arm-storage/samples-dev/encryptionScopesPatchSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. * * @summary Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPatchEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json */ async function storageAccountPatchEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/encryptionScopesPutSample.ts b/sdk/storage/arm-storage/samples-dev/encryptionScopesPutSample.ts index eca14cad7ef4..f88214cc4ea2 100644 --- a/sdk/storage/arm-storage/samples-dev/encryptionScopesPutSample.ts +++ b/sdk/storage/arm-storage/samples-dev/encryptionScopesPutSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json */ async function storageAccountPutEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ storageAccountPutEncryptionScope().catch(console.error); * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json */ async function storageAccountPutEncryptionScopeWithInfrastructureEncryption() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/fileServicesGetServicePropertiesSample.ts index 3cc802fd0984..efb90f8768a7 100644 --- a/sdk/storage/arm-storage/samples-dev/fileServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json */ async function getFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileServicesListSample.ts b/sdk/storage/arm-storage/samples-dev/fileServicesListSample.ts index b104bd66cce7..54e7593596d4 100644 --- a/sdk/storage/arm-storage/samples-dev/fileServicesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all file services in storage accounts * * @summary List all file services in storage accounts - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json */ async function listFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/fileServicesSetServicePropertiesSample.ts index 33e5e7e765e6..2fa73262a34e 100644 --- a/sdk/storage/arm-storage/samples-dev/fileServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json */ async function putFileServices() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ putFileServices().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSMBMultichannel.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSMBMultichannel.json */ async function putFileServicesEnableSmbMultichannel() { const subscriptionId = "{subscription-id}"; @@ -103,7 +103,7 @@ putFileServicesEnableSmbMultichannel().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSecureSmbFeatures.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json */ async function putFileServicesEnableSecureSmbFeatures() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesCreateSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesCreateSample.ts index b340b5281724..48add7f2e422 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesCreateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_NFS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json */ async function createNfsShares() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ createNfsShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut.json */ async function putShares() { const subscriptionId = "{subscription-id}"; @@ -65,7 +65,7 @@ putShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_AccessTier.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_AccessTier.json */ async function putSharesWithAccessTier() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesDeleteSample.ts index 83a77ca7ab2b..f5a82b81bc2b 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes specified share under its account. * * @summary Deletes specified share under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json */ async function deleteShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesGetSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesGetSample.ts index abfb0aa24b2a..5de8e724cb0f 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesGetSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet_Stats.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json */ async function getShareStats() { const subscriptionId = "{subscription-id}"; @@ -44,7 +44,7 @@ getShareStats().catch(console.error); * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet.json */ async function getShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesLeaseSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesLeaseSample.ts index f1d346ec6327..339326b293a8 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesLeaseSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesLeaseSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json */ async function acquireALeaseOnAShare() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ acquireALeaseOnAShare().catch(console.error); * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Break.json */ async function breakALeaseOnAShare() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesListSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesListSample.ts index ed7cec465c0e..c575667c8bbb 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesListSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedFileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json */ async function listDeletedShares() { const subscriptionId = "{subscription-id}"; @@ -45,7 +45,7 @@ listDeletedShares().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareSnapshotsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareSnapshotsList.json */ async function listShareSnapshots() { const subscriptionId = "{subscription-id}"; @@ -72,7 +72,7 @@ listShareSnapshots().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesList.json */ async function listShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesRestoreSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesRestoreSample.ts index edb2df88194a..e7f648df3c8b 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesRestoreSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesRestoreSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restore a file share within a valid retention days if share soft delete is enabled * * @summary Restore a file share within a valid retention days if share soft delete is enabled - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json */ async function restoreShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/fileSharesUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/fileSharesUpdateSample.ts index 725c3293f112..2d4c5a82b210 100644 --- a/sdk/storage/arm-storage/samples-dev/fileSharesUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/fileSharesUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareAclsPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json */ async function updateShareAcls() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ updateShareAcls().catch(console.error); * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPatch.json */ async function updateShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersCreateOrUpdateSample.ts index eca18448d2bb..c999298efa9c 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json */ async function createLocalUser() { const subscriptionId = "{subscription-id}"; @@ -50,7 +50,7 @@ createLocalUser().catch(console.error); * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json */ async function updateLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersDeleteSample.ts index 50f2d2206ce2..0f3fe92a5af6 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the local user associated with the specified storage account. * * @summary Deletes the local user associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json */ async function deleteLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersGetSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersGetSample.ts index 43204bc5b0ee..8836d0f79759 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the local user of the storage account by username. * * @summary Get the local user of the storage account by username. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json */ async function getLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersListKeysSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersListKeysSample.ts index 0094dde9a9b1..59ea93cd8c98 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersListKeysSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersListKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List SSH authorized keys and shared key of the local user. * * @summary List SSH authorized keys and shared key of the local user. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json */ async function listLocalUserKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersListSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersListSample.ts index 0ee113628657..fde6e9f238ca 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List the local users associated with the storage account. * * @summary List the local users associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json */ async function listLocalUsers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/localUsersRegeneratePasswordSample.ts b/sdk/storage/arm-storage/samples-dev/localUsersRegeneratePasswordSample.ts index d33d53c4f072..1c3e36e8cb14 100644 --- a/sdk/storage/arm-storage/samples-dev/localUsersRegeneratePasswordSample.ts +++ b/sdk/storage/arm-storage/samples-dev/localUsersRegeneratePasswordSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Regenerate the local user SSH password. * * @summary Regenerate the local user SSH password. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json */ async function regenerateLocalUserPassword() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/managementPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/managementPoliciesCreateOrUpdateSample.ts index 63f5bbd8517e..c5eef2d1996e 100644 --- a/sdk/storage/arm-storage/samples-dev/managementPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/managementPoliciesCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json */ async function storageAccountSetManagementPolicies() { const subscriptionId = "{subscription-id}"; @@ -86,7 +86,7 @@ storageAccountSetManagementPolicies().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json */ async function storageAccountSetManagementPolicyForBlockAndAppendBlobs() { const subscriptionId = "{subscription-id}"; @@ -132,7 +132,7 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json */ async function storageAccountSetManagementPolicyWithSnapshotAndVersion() { const subscriptionId = "{subscription-id}"; @@ -190,7 +190,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json */ async function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() { const subscriptionId = "{subscription-id}"; @@ -240,7 +240,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch( * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json */ async function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() { const subscriptionId = "{subscription-id}"; @@ -292,7 +292,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch( * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json */ async function storageAccountSetManagementPolicyLastTierChangeTimeActions() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/managementPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/managementPoliciesDeleteSample.ts index f0f8937090cb..d78f36926510 100644 --- a/sdk/storage/arm-storage/samples-dev/managementPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/managementPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the managementpolicy associated with the specified storage account. * * @summary Deletes the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json */ async function storageAccountDeleteManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/managementPoliciesGetSample.ts b/sdk/storage/arm-storage/samples-dev/managementPoliciesGetSample.ts index b0fda4678853..11dc585db316 100644 --- a/sdk/storage/arm-storage/samples-dev/managementPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/managementPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the managementpolicy associated with the specified storage account. * * @summary Gets the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json */ async function storageAccountGetManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts index 3ea7256b4a6e..051dd25a44c1 100644 --- a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json */ async function storageAccountCreateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -53,7 +53,7 @@ storageAccountCreateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json */ async function storageAccountCreateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; @@ -92,7 +92,7 @@ storageAccountCreateObjectReplicationPolicyOnSource().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json */ async function storageAccountUpdateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -129,7 +129,7 @@ storageAccountUpdateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json */ async function storageAccountUpdateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesDeleteSample.ts index 54bf3fd0f738..c8cb74923795 100644 --- a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the object replication policy associated with the specified storage account. * * @summary Deletes the object replication policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json */ async function storageAccountDeleteObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesGetSample.ts b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesGetSample.ts index b229682cdc6c..91d6e8cf199d 100644 --- a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the object replication policy of the storage account by policy ID. * * @summary Get the object replication policy of the storage account by policy ID. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json */ async function storageAccountGetObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesListSample.ts b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesListSample.ts index 280eeb894841..86c796465e83 100644 --- a/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/objectReplicationPoliciesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List the object replication policies associated with the storage account. * * @summary List the object replication policies associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json */ async function storageAccountListObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/operationsListSample.ts b/sdk/storage/arm-storage/samples-dev/operationsListSample.ts index 949bbc1220a2..3a5c5f93cba1 100644 --- a/sdk/storage/arm-storage/samples-dev/operationsListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/operationsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all of the available Storage Rest API operations. * * @summary Lists all of the available Storage Rest API operations. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json */ async function operationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsDeleteSample.ts index d0021074c438..20906fdf0a1c 100644 --- a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account. * * @summary Deletes the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json */ async function storageAccountDeletePrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsGetSample.ts b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsGetSample.ts index 39b4189cb445..e1b33fdeebca 100644 --- a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified private endpoint connection associated with the storage account. * * @summary Gets the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json */ async function storageAccountGetPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsListSample.ts b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsListSample.ts index 38b5f1e134e3..cd9de4ae694b 100644 --- a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all the private endpoint connections associated with the storage account. * * @summary List all the private endpoint connections associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json */ async function storageAccountListPrivateEndpointConnections() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsPutSample.ts b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsPutSample.ts index 018374321e82..88eb10ad578e 100644 --- a/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsPutSample.ts +++ b/sdk/storage/arm-storage/samples-dev/privateEndpointConnectionsPutSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update the state of specified private endpoint connection associated with the storage account. * * @summary Update the state of specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json */ async function storageAccountPutPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/privateLinkResourcesListByStorageAccountSample.ts b/sdk/storage/arm-storage/samples-dev/privateLinkResourcesListByStorageAccountSample.ts index 19ee510cfbb9..f1d859821b25 100644 --- a/sdk/storage/arm-storage/samples-dev/privateLinkResourcesListByStorageAccountSample.ts +++ b/sdk/storage/arm-storage/samples-dev/privateLinkResourcesListByStorageAccountSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the private link resources that need to be created for a storage account. * * @summary Gets the private link resources that need to be created for a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json */ async function storageAccountListPrivateLinkResources() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueCreateSample.ts b/sdk/storage/arm-storage/samples-dev/queueCreateSample.ts index 0624a3145af4..43f69c583560 100644 --- a/sdk/storage/arm-storage/samples-dev/queueCreateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json */ async function queueOperationPut() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ queueOperationPut().catch(console.error); * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPutWithMetadata.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json */ async function queueOperationPutWithMetadata() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/queueDeleteSample.ts index d723991ffbad..a547c6b13096 100644 --- a/sdk/storage/arm-storage/samples-dev/queueDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists. * * @summary Deletes the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json */ async function queueOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueGetSample.ts b/sdk/storage/arm-storage/samples-dev/queueGetSample.ts index 60af48b21661..dd3320bb65f2 100644 --- a/sdk/storage/arm-storage/samples-dev/queueGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the queue with the specified queue name, under the specified account if it exists. * * @summary Gets the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json */ async function queueOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueListSample.ts b/sdk/storage/arm-storage/samples-dev/queueListSample.ts index fd0cce8961a6..98685c05cd6f 100644 --- a/sdk/storage/arm-storage/samples-dev/queueListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all the queues under the specified storage account * * @summary Gets a list of all the queues under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json */ async function queueOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/queueServicesGetServicePropertiesSample.ts index 003bab0250e0..351379fbca56 100644 --- a/sdk/storage/arm-storage/samples-dev/queueServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json */ async function queueServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueServicesListSample.ts b/sdk/storage/arm-storage/samples-dev/queueServicesListSample.ts index f66cdf72b4b4..407a984baece 100644 --- a/sdk/storage/arm-storage/samples-dev/queueServicesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all queue services for the storage account * * @summary List all queue services for the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json */ async function queueServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/queueServicesSetServicePropertiesSample.ts index adc18a881d12..75fc1566cbe0 100644 --- a/sdk/storage/arm-storage/samples-dev/queueServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json */ async function queueServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/queueUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/queueUpdateSample.ts index 9b25fc8ab655..671d6361971c 100644 --- a/sdk/storage/arm-storage/samples-dev/queueUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/queueUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json */ async function queueOperationPatch() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/skusListSample.ts b/sdk/storage/arm-storage/samples-dev/skusListSample.ts index 37bc1d84b875..f404fc950ce3 100644 --- a/sdk/storage/arm-storage/samples-dev/skusListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/skusListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription. * * @summary Lists the available SKUs supported by Microsoft.Storage for given subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json */ async function skuList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts index 547bda696b4a..2cb75e7eb9bb 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Abort live Migration of storage account to enable Hns * * @summary Abort live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json */ async function storageAccountAbortHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsCheckNameAvailabilitySample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsCheckNameAvailabilitySample.ts index cd08d0d1a138..b6ff86e9af98 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsCheckNameAvailabilitySample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsCheckNameAvailabilitySample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Checks that the storage account name is valid and is not already in use. * * @summary Checks that the storage account name is valid and is not already in use. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json */ async function storageAccountCheckNameAvailability() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsCreateSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsCreateSample.ts index e20ee11a14fa..ea380878dab8 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsCreateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsCreateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json */ async function nfsV3AccountCreate() { const subscriptionId = "{subscription-id}"; @@ -59,7 +59,7 @@ nfsV3AccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json */ async function storageAccountCreate() { const subscriptionId = "{subscription-id}"; @@ -109,7 +109,7 @@ storageAccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json */ async function storageAccountCreateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -157,7 +157,7 @@ storageAccountCreateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json */ async function storageAccountCreateAllowedCopyScopeToPrivateLink() { const subscriptionId = "{subscription-id}"; @@ -205,7 +205,7 @@ storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json */ async function storageAccountCreateDisallowPublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -254,7 +254,7 @@ storageAccountCreateDisallowPublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json */ async function storageAccountCreateDnsEndpointTypeToAzureDnsZone() { const subscriptionId = "{subscription-id}"; @@ -305,7 +305,7 @@ storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json */ async function storageAccountCreateDnsEndpointTypeToStandard() { const subscriptionId = "{subscription-id}"; @@ -356,7 +356,7 @@ storageAccountCreateDnsEndpointTypeToStandard().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json */ async function storageAccountCreateEnablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -405,7 +405,7 @@ storageAccountCreateEnablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json */ async function storageAccountCreatePremiumBlockBlobStorage() { const subscriptionId = "{subscription-id}"; @@ -443,7 +443,7 @@ storageAccountCreatePremiumBlockBlobStorage().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -494,7 +494,7 @@ storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch( * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -547,7 +547,7 @@ storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch( * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json */ async function storageAccountCreateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsDeleteSample.ts index 0694926ac98f..6d128b2f6092 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a storage account in Microsoft Azure. * * @summary Deletes a storage account in Microsoft Azure. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json */ async function storageAccountDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsFailoverSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsFailoverSample.ts index 2f7327985bf5..14bc2868ac7d 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsFailoverSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsFailoverSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. * * @summary Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json */ async function storageAccountFailover() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsGetPropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsGetPropertiesSample.ts index fd1465828e0a..9e07f9b58cee 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsGetPropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsGetPropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json */ async function storageAccountGetAsyncSkuConversionStatus() { const subscriptionId = "{subscription-id}"; @@ -36,7 +36,7 @@ storageAccountGetAsyncSkuConversionStatus().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetProperties.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json */ async function storageAccountGetProperties() { const subscriptionId = "{subscription-id}"; @@ -57,7 +57,7 @@ storageAccountGetProperties().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKEnabled.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json */ async function storageAccountGetPropertiesCmkEnabled() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ storageAccountGetPropertiesCmkEnabled().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json */ async function storageAccountGetPropertiesCmkVersionExpirationTime() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.ts index bb79fd0f712f..a5daae6f9144 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Live Migration of storage account to enable Hns * * @summary Live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json */ async function storageAccountHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsListAccountSasSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsListAccountSasSample.ts index 33ff26becd08..ad61a1f18ffb 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsListAccountSasSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsListAccountSasSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List SAS credentials of a storage account. * * @summary List SAS credentials of a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListAccountSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json */ async function storageAccountListAccountSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsListByResourceGroupSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsListByResourceGroupSample.ts index 9a37919d1567..479e2063ae2c 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsListByResourceGroupSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListByResourceGroup.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json */ async function storageAccountListByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsListKeysSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsListKeysSample.ts index 599eff5783bc..37f2e36aa942 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsListKeysSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsListKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. * * @summary Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json */ async function storageAccountListKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsListSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsListSample.ts index 8419463f9712..2808eda778ab 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json */ async function storageAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsListServiceSasSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsListServiceSasSample.ts index 4a2c277a0354..12871e774a02 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsListServiceSasSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsListServiceSasSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List service SAS credentials of a specific resource. * * @summary List service SAS credentials of a specific resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListServiceSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json */ async function storageAccountListServiceSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsRegenerateKeySample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsRegenerateKeySample.ts index d9b753452ef0..99800c3f26f5 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsRegenerateKeySample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsRegenerateKeySample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKerbKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json */ async function storageAccountRegenerateKerbKey() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ storageAccountRegenerateKerbKey().catch(console.error); * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKey.json */ async function storageAccountRegenerateKey() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsRestoreBlobRangesSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsRestoreBlobRangesSample.ts index 703ccdba36d6..c77fbb5e9bee 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsRestoreBlobRangesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsRestoreBlobRangesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restore blobs in the specified blob ranges * * @summary Restore blobs in the specified blob ranges - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobRangesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json */ async function blobRangesRestore() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsRevokeUserDelegationKeysSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsRevokeUserDelegationKeysSample.ts index b5c9b8f0238f..2189829b5ee9 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsRevokeUserDelegationKeysSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsRevokeUserDelegationKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Revoke user delegation keys. * * @summary Revoke user delegation keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRevokeUserDelegationKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json */ async function storageAccountRevokeUserDelegationKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/storageAccountsUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/storageAccountsUpdateSample.ts index 2f4f760c66aa..36246d3910f2 100644 --- a/sdk/storage/arm-storage/samples-dev/storageAccountsUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/storageAccountsUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json */ async function storageAccountEnableAd() { const subscriptionId = "{subscription-id}"; @@ -55,7 +55,7 @@ storageAccountEnableAd().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableCMK.json */ async function storageAccountEnableCmk() { const subscriptionId = "{subscription-id}"; @@ -91,7 +91,7 @@ storageAccountEnableCmk().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdate.json */ async function storageAccountUpdate() { const subscriptionId = "{subscription-id}"; @@ -145,7 +145,7 @@ storageAccountUpdate().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json */ async function storageAccountUpdateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -197,7 +197,7 @@ storageAccountUpdateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json */ async function storageAccountUpdateDisablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -249,7 +249,7 @@ storageAccountUpdateDisablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountUpdateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -299,7 +299,7 @@ storageAccountUpdateUserAssignedEncryptionIdentityWithCmk().catch( * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -351,7 +351,7 @@ storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId().catch( * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json */ async function storageAccountUpdateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableCreateSample.ts b/sdk/storage/arm-storage/samples-dev/tableCreateSample.ts index 1d8240c3c3c0..2da309e2fd5d 100644 --- a/sdk/storage/arm-storage/samples-dev/tableCreateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableCreateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json */ async function tableOperationPut() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ tableOperationPut().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableDeleteSample.ts b/sdk/storage/arm-storage/samples-dev/tableDeleteSample.ts index bd78b1cbeb16..ba6a98edf879 100644 --- a/sdk/storage/arm-storage/samples-dev/tableDeleteSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the table with the specified table name, under the specified account if it exists. * * @summary Deletes the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json */ async function tableOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableGetSample.ts b/sdk/storage/arm-storage/samples-dev/tableGetSample.ts index 29aa90c17cec..34f7bccd7056 100644 --- a/sdk/storage/arm-storage/samples-dev/tableGetSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the table with the specified table name, under the specified account if it exists. * * @summary Gets the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json */ async function tableOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableListSample.ts b/sdk/storage/arm-storage/samples-dev/tableListSample.ts index 659bc9263bec..84dabc7b6983 100644 --- a/sdk/storage/arm-storage/samples-dev/tableListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all the tables under the specified storage account * * @summary Gets a list of all the tables under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json */ async function tableOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/tableServicesGetServicePropertiesSample.ts index 3c736ab23703..e8d435dcab21 100644 --- a/sdk/storage/arm-storage/samples-dev/tableServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json */ async function tableServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableServicesListSample.ts b/sdk/storage/arm-storage/samples-dev/tableServicesListSample.ts index e98edaf4f164..4b9de78f6318 100644 --- a/sdk/storage/arm-storage/samples-dev/tableServicesListSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all table services for the storage account. * * @summary List all table services for the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json */ async function tableServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples-dev/tableServicesSetServicePropertiesSample.ts index 91d95877bbe4..695004527580 100644 --- a/sdk/storage/arm-storage/samples-dev/tableServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json */ async function tableServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/tableUpdateSample.ts b/sdk/storage/arm-storage/samples-dev/tableUpdateSample.ts index 7120f4b553b3..d5cbc3133351 100644 --- a/sdk/storage/arm-storage/samples-dev/tableUpdateSample.ts +++ b/sdk/storage/arm-storage/samples-dev/tableUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json */ async function tableOperationPatch() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ tableOperationPatch().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples-dev/usagesListByLocationSample.ts b/sdk/storage/arm-storage/samples-dev/usagesListByLocationSample.ts index 41796a51e215..89e619a63f9e 100644 --- a/sdk/storage/arm-storage/samples-dev/usagesListByLocationSample.ts +++ b/sdk/storage/arm-storage/samples-dev/usagesListByLocationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the current usage count and the limit for the resources of the location under the subscription. * * @summary Gets the current usage count and the limit for the resources of the location under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListLocationUsage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json */ async function usageList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/README.md b/sdk/storage/arm-storage/samples/v18/javascript/README.md similarity index 88% rename from sdk/storage/arm-storage/samples/v17/javascript/README.md rename to sdk/storage/arm-storage/samples/v18/javascript/README.md index 03a5bda05f84..bc2c35d26361 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/README.md +++ b/sdk/storage/arm-storage/samples/v18/javascript/README.md @@ -4,96 +4,96 @@ These sample programs show how to use the JavaScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [blobContainersClearLegalHoldSample.js][blobcontainersclearlegalholdsample] | Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json | -| [blobContainersCreateOrUpdateImmutabilityPolicySample.js][blobcontainerscreateorupdateimmutabilitypolicysample] | Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicy.json | -| [blobContainersCreateSample.js][blobcontainerscreatesample] | Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutDefaultEncryptionScope.json | -| [blobContainersDeleteImmutabilityPolicySample.js][blobcontainersdeleteimmutabilitypolicysample] | Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json | -| [blobContainersDeleteSample.js][blobcontainersdeletesample] | Deletes specified container under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json | -| [blobContainersExtendImmutabilityPolicySample.js][blobcontainersextendimmutabilitypolicysample] | Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json | -| [blobContainersGetImmutabilityPolicySample.js][blobcontainersgetimmutabilitypolicysample] | Gets the existing immutability policy along with the corresponding ETag in response headers and body. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetImmutabilityPolicy.json | -| [blobContainersGetSample.js][blobcontainersgetsample] | Gets properties of a specified container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json | -| [blobContainersLeaseSample.js][blobcontainersleasesample] | The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Acquire.json | -| [blobContainersListSample.js][blobcontainerslistsample] | Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersList.json | -| [blobContainersLockImmutabilityPolicySample.js][blobcontainerslockimmutabilitypolicysample] | Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLockImmutabilityPolicy.json | -| [blobContainersObjectLevelWormSample.js][blobcontainersobjectlevelwormsample] | This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/ObjectLevelWormContainerMigration.json | -| [blobContainersSetLegalHoldSample.js][blobcontainerssetlegalholdsample] | Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHold.json | -| [blobContainersUpdateSample.js][blobcontainersupdatesample] | Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPatch.json | -| [blobInventoryPoliciesCreateOrUpdateSample.js][blobinventorypoliciescreateorupdatesample] | Sets the blob inventory policy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicy.json | -| [blobInventoryPoliciesDeleteSample.js][blobinventorypoliciesdeletesample] | Deletes the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteBlobInventoryPolicy.json | -| [blobInventoryPoliciesGetSample.js][blobinventorypoliciesgetsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetBlobInventoryPolicy.json | -| [blobInventoryPoliciesListSample.js][blobinventorypolicieslistsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListBlobInventoryPolicy.json | -| [blobServicesGetServicePropertiesSample.js][blobservicesgetservicepropertiessample] | Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesGet.json | -| [blobServicesListSample.js][blobserviceslistsample] | List blob services of storage account. It returns a collection of one object named default. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesList.json | -| [blobServicesSetServicePropertiesSample.js][blobservicessetservicepropertiessample] | Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutAllowPermanentDelete.json | -| [deletedAccountsGetSample.js][deletedaccountsgetsample] | Get properties of specified deleted account resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountGet.json | -| [deletedAccountsListSample.js][deletedaccountslistsample] | Lists deleted accounts under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountList.json | -| [encryptionScopesGetSample.js][encryptionscopesgetsample] | Returns the properties for the specified encryption scope. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetEncryptionScope.json | -| [encryptionScopesListSample.js][encryptionscopeslistsample] | Lists all the encryption scopes available under the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEncryptionScopeList.json | -| [encryptionScopesPatchSample.js][encryptionscopespatchsample] | Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPatchEncryptionScope.json | -| [encryptionScopesPutSample.js][encryptionscopesputsample] | Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScope.json | -| [fileServicesGetServicePropertiesSample.js][fileservicesgetservicepropertiessample] | Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesGet.json | -| [fileServicesListSample.js][fileserviceslistsample] | List all file services in storage accounts x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesList.json | -| [fileServicesSetServicePropertiesSample.js][fileservicessetservicepropertiessample] | Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut.json | -| [fileSharesCreateSample.js][filesharescreatesample] | Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_NFS.json | -| [fileSharesDeleteSample.js][filesharesdeletesample] | Deletes specified share under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesDelete.json | -| [fileSharesGetSample.js][filesharesgetsample] | Gets properties of a specified share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet_Stats.json | -| [fileSharesLeaseSample.js][filesharesleasesample] | The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Acquire.json | -| [fileSharesListSample.js][fileshareslistsample] | Lists all shares. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedFileSharesList.json | -| [fileSharesRestoreSample.js][filesharesrestoresample] | Restore a file share within a valid retention days if share soft delete is enabled x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesRestore.json | -| [fileSharesUpdateSample.js][filesharesupdatesample] | Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareAclsPatch.json | -| [localUsersCreateOrUpdateSample.js][localuserscreateorupdatesample] | Create or update the properties of a local user associated with the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json | -| [localUsersDeleteSample.js][localusersdeletesample] | Deletes the local user associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json | -| [localUsersGetSample.js][localusersgetsample] | Get the local user of the storage account by username. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json | -| [localUsersListKeysSample.js][localuserslistkeyssample] | List SSH authorized keys and shared key of the local user. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json | -| [localUsersListSample.js][localuserslistsample] | List the local users associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json | -| [localUsersRegeneratePasswordSample.js][localusersregeneratepasswordsample] | Regenerate the local user SSH password. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json | -| [managementPoliciesCreateOrUpdateSample.js][managementpoliciescreateorupdatesample] | Sets the managementpolicy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json | -| [managementPoliciesDeleteSample.js][managementpoliciesdeletesample] | Deletes the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json | -| [managementPoliciesGetSample.js][managementpoliciesgetsample] | Gets the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json | -| [objectReplicationPoliciesCreateOrUpdateSample.js][objectreplicationpoliciescreateorupdatesample] | Create or update the object replication policy of the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json | -| [objectReplicationPoliciesDeleteSample.js][objectreplicationpoliciesdeletesample] | Deletes the object replication policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json | -| [objectReplicationPoliciesGetSample.js][objectreplicationpoliciesgetsample] | Get the object replication policy of the storage account by policy ID. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json | -| [objectReplicationPoliciesListSample.js][objectreplicationpolicieslistsample] | List the object replication policies associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json | -| [operationsListSample.js][operationslistsample] | Lists all of the available Storage Rest API operations. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json | -| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json | -| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json | -| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | List all the private endpoint connections associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json | -| [privateEndpointConnectionsPutSample.js][privateendpointconnectionsputsample] | Update the state of specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json | -| [privateLinkResourcesListByStorageAccountSample.js][privatelinkresourceslistbystorageaccountsample] | Gets the private link resources that need to be created for a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json | -| [queueCreateSample.js][queuecreatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json | -| [queueDeleteSample.js][queuedeletesample] | Deletes the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json | -| [queueGetSample.js][queuegetsample] | Gets the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json | -| [queueListSample.js][queuelistsample] | Gets a list of all the queues under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json | -| [queueServicesGetServicePropertiesSample.js][queueservicesgetservicepropertiessample] | Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json | -| [queueServicesListSample.js][queueserviceslistsample] | List all queue services for the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json | -| [queueServicesSetServicePropertiesSample.js][queueservicessetservicepropertiessample] | Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json | -| [queueUpdateSample.js][queueupdatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json | -| [skusListSample.js][skuslistsample] | Lists the available SKUs supported by Microsoft.Storage for given subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json | -| [storageAccountsAbortHierarchicalNamespaceMigrationSample.js][storageaccountsaborthierarchicalnamespacemigrationsample] | Abort live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json | -| [storageAccountsCheckNameAvailabilitySample.js][storageaccountschecknameavailabilitysample] | Checks that the storage account name is valid and is not already in use. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json | -| [storageAccountsCreateSample.js][storageaccountscreatesample] | Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json | -| [storageAccountsDeleteSample.js][storageaccountsdeletesample] | Deletes a storage account in Microsoft Azure. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json | -| [storageAccountsFailoverSample.js][storageaccountsfailoversample] | Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json | -| [storageAccountsGetPropertiesSample.js][storageaccountsgetpropertiessample] | Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json | -| [storageAccountsHierarchicalNamespaceMigrationSample.js][storageaccountshierarchicalnamespacemigrationsample] | Live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json | -| [storageAccountsListAccountSasSample.js][storageaccountslistaccountsassample] | List SAS credentials of a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListAccountSAS.json | -| [storageAccountsListByResourceGroupSample.js][storageaccountslistbyresourcegroupsample] | Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListByResourceGroup.json | -| [storageAccountsListKeysSample.js][storageaccountslistkeyssample] | Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListKeys.json | -| [storageAccountsListSample.js][storageaccountslistsample] | Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountList.json | -| [storageAccountsListServiceSasSample.js][storageaccountslistservicesassample] | List service SAS credentials of a specific resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListServiceSAS.json | -| [storageAccountsRegenerateKeySample.js][storageaccountsregeneratekeysample] | Regenerates one of the access keys or Kerberos keys for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKerbKey.json | -| [storageAccountsRestoreBlobRangesSample.js][storageaccountsrestoreblobrangessample] | Restore blobs in the specified blob ranges x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobRangesRestore.json | -| [storageAccountsRevokeUserDelegationKeysSample.js][storageaccountsrevokeuserdelegationkeyssample] | Revoke user delegation keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRevokeUserDelegationKeys.json | -| [storageAccountsUpdateSample.js][storageaccountsupdatesample] | The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableAD.json | -| [tableCreateSample.js][tablecreatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPut.json | -| [tableDeleteSample.js][tabledeletesample] | Deletes the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationDelete.json | -| [tableGetSample.js][tablegetsample] | Gets the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationGet.json | -| [tableListSample.js][tablelistsample] | Gets a list of all the tables under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationList.json | -| [tableServicesGetServicePropertiesSample.js][tableservicesgetservicepropertiessample] | Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesGet.json | -| [tableServicesListSample.js][tableserviceslistsample] | List all table services for the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesList.json | -| [tableServicesSetServicePropertiesSample.js][tableservicessetservicepropertiessample] | Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesPut.json | -| [tableUpdateSample.js][tableupdatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPatch.json | -| [usagesListByLocationSample.js][usageslistbylocationsample] | Gets the current usage count and the limit for the resources of the location under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListLocationUsage.json | +| [blobContainersClearLegalHoldSample.js][blobcontainersclearlegalholdsample] | Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json | +| [blobContainersCreateOrUpdateImmutabilityPolicySample.js][blobcontainerscreateorupdateimmutabilitypolicysample] | Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json | +| [blobContainersCreateSample.js][blobcontainerscreatesample] | Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json | +| [blobContainersDeleteImmutabilityPolicySample.js][blobcontainersdeleteimmutabilitypolicysample] | Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json | +| [blobContainersDeleteSample.js][blobcontainersdeletesample] | Deletes specified container under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json | +| [blobContainersExtendImmutabilityPolicySample.js][blobcontainersextendimmutabilitypolicysample] | Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json | +| [blobContainersGetImmutabilityPolicySample.js][blobcontainersgetimmutabilitypolicysample] | Gets the existing immutability policy along with the corresponding ETag in response headers and body. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json | +| [blobContainersGetSample.js][blobcontainersgetsample] | Gets properties of a specified container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json | +| [blobContainersLeaseSample.js][blobcontainersleasesample] | The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json | +| [blobContainersListSample.js][blobcontainerslistsample] | Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json | +| [blobContainersLockImmutabilityPolicySample.js][blobcontainerslockimmutabilitypolicysample] | Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json | +| [blobContainersObjectLevelWormSample.js][blobcontainersobjectlevelwormsample] | This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json | +| [blobContainersSetLegalHoldSample.js][blobcontainerssetlegalholdsample] | Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json | +| [blobContainersUpdateSample.js][blobcontainersupdatesample] | Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json | +| [blobInventoryPoliciesCreateOrUpdateSample.js][blobinventorypoliciescreateorupdatesample] | Sets the blob inventory policy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json | +| [blobInventoryPoliciesDeleteSample.js][blobinventorypoliciesdeletesample] | Deletes the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json | +| [blobInventoryPoliciesGetSample.js][blobinventorypoliciesgetsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json | +| [blobInventoryPoliciesListSample.js][blobinventorypolicieslistsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json | +| [blobServicesGetServicePropertiesSample.js][blobservicesgetservicepropertiessample] | Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json | +| [blobServicesListSample.js][blobserviceslistsample] | List blob services of storage account. It returns a collection of one object named default. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json | +| [blobServicesSetServicePropertiesSample.js][blobservicessetservicepropertiessample] | Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json | +| [deletedAccountsGetSample.js][deletedaccountsgetsample] | Get properties of specified deleted account resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json | +| [deletedAccountsListSample.js][deletedaccountslistsample] | Lists deleted accounts under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json | +| [encryptionScopesGetSample.js][encryptionscopesgetsample] | Returns the properties for the specified encryption scope. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json | +| [encryptionScopesListSample.js][encryptionscopeslistsample] | Lists all the encryption scopes available under the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json | +| [encryptionScopesPatchSample.js][encryptionscopespatchsample] | Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json | +| [encryptionScopesPutSample.js][encryptionscopesputsample] | Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json | +| [fileServicesGetServicePropertiesSample.js][fileservicesgetservicepropertiessample] | Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json | +| [fileServicesListSample.js][fileserviceslistsample] | List all file services in storage accounts x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json | +| [fileServicesSetServicePropertiesSample.js][fileservicessetservicepropertiessample] | Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json | +| [fileSharesCreateSample.js][filesharescreatesample] | Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json | +| [fileSharesDeleteSample.js][filesharesdeletesample] | Deletes specified share under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json | +| [fileSharesGetSample.js][filesharesgetsample] | Gets properties of a specified share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json | +| [fileSharesLeaseSample.js][filesharesleasesample] | The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json | +| [fileSharesListSample.js][fileshareslistsample] | Lists all shares. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json | +| [fileSharesRestoreSample.js][filesharesrestoresample] | Restore a file share within a valid retention days if share soft delete is enabled x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json | +| [fileSharesUpdateSample.js][filesharesupdatesample] | Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json | +| [localUsersCreateOrUpdateSample.js][localuserscreateorupdatesample] | Create or update the properties of a local user associated with the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json | +| [localUsersDeleteSample.js][localusersdeletesample] | Deletes the local user associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json | +| [localUsersGetSample.js][localusersgetsample] | Get the local user of the storage account by username. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json | +| [localUsersListKeysSample.js][localuserslistkeyssample] | List SSH authorized keys and shared key of the local user. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json | +| [localUsersListSample.js][localuserslistsample] | List the local users associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json | +| [localUsersRegeneratePasswordSample.js][localusersregeneratepasswordsample] | Regenerate the local user SSH password. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json | +| [managementPoliciesCreateOrUpdateSample.js][managementpoliciescreateorupdatesample] | Sets the managementpolicy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json | +| [managementPoliciesDeleteSample.js][managementpoliciesdeletesample] | Deletes the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json | +| [managementPoliciesGetSample.js][managementpoliciesgetsample] | Gets the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json | +| [objectReplicationPoliciesCreateOrUpdateSample.js][objectreplicationpoliciescreateorupdatesample] | Create or update the object replication policy of the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json | +| [objectReplicationPoliciesDeleteSample.js][objectreplicationpoliciesdeletesample] | Deletes the object replication policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json | +| [objectReplicationPoliciesGetSample.js][objectreplicationpoliciesgetsample] | Get the object replication policy of the storage account by policy ID. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json | +| [objectReplicationPoliciesListSample.js][objectreplicationpolicieslistsample] | List the object replication policies associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available Storage Rest API operations. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json | +| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json | +| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json | +| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | List all the private endpoint connections associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json | +| [privateEndpointConnectionsPutSample.js][privateendpointconnectionsputsample] | Update the state of specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json | +| [privateLinkResourcesListByStorageAccountSample.js][privatelinkresourceslistbystorageaccountsample] | Gets the private link resources that need to be created for a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json | +| [queueCreateSample.js][queuecreatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json | +| [queueDeleteSample.js][queuedeletesample] | Deletes the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json | +| [queueGetSample.js][queuegetsample] | Gets the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json | +| [queueListSample.js][queuelistsample] | Gets a list of all the queues under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json | +| [queueServicesGetServicePropertiesSample.js][queueservicesgetservicepropertiessample] | Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json | +| [queueServicesListSample.js][queueserviceslistsample] | List all queue services for the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json | +| [queueServicesSetServicePropertiesSample.js][queueservicessetservicepropertiessample] | Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json | +| [queueUpdateSample.js][queueupdatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json | +| [skusListSample.js][skuslistsample] | Lists the available SKUs supported by Microsoft.Storage for given subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json | +| [storageAccountsAbortHierarchicalNamespaceMigrationSample.js][storageaccountsaborthierarchicalnamespacemigrationsample] | Abort live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json | +| [storageAccountsCheckNameAvailabilitySample.js][storageaccountschecknameavailabilitysample] | Checks that the storage account name is valid and is not already in use. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json | +| [storageAccountsCreateSample.js][storageaccountscreatesample] | Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json | +| [storageAccountsDeleteSample.js][storageaccountsdeletesample] | Deletes a storage account in Microsoft Azure. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json | +| [storageAccountsFailoverSample.js][storageaccountsfailoversample] | Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json | +| [storageAccountsGetPropertiesSample.js][storageaccountsgetpropertiessample] | Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json | +| [storageAccountsHierarchicalNamespaceMigrationSample.js][storageaccountshierarchicalnamespacemigrationsample] | Live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json | +| [storageAccountsListAccountSasSample.js][storageaccountslistaccountsassample] | List SAS credentials of a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json | +| [storageAccountsListByResourceGroupSample.js][storageaccountslistbyresourcegroupsample] | Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json | +| [storageAccountsListKeysSample.js][storageaccountslistkeyssample] | Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json | +| [storageAccountsListSample.js][storageaccountslistsample] | Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json | +| [storageAccountsListServiceSasSample.js][storageaccountslistservicesassample] | List service SAS credentials of a specific resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json | +| [storageAccountsRegenerateKeySample.js][storageaccountsregeneratekeysample] | Regenerates one of the access keys or Kerberos keys for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json | +| [storageAccountsRestoreBlobRangesSample.js][storageaccountsrestoreblobrangessample] | Restore blobs in the specified blob ranges x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json | +| [storageAccountsRevokeUserDelegationKeysSample.js][storageaccountsrevokeuserdelegationkeyssample] | Revoke user delegation keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json | +| [storageAccountsUpdateSample.js][storageaccountsupdatesample] | The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json | +| [tableCreateSample.js][tablecreatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json | +| [tableDeleteSample.js][tabledeletesample] | Deletes the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json | +| [tableGetSample.js][tablegetsample] | Gets the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json | +| [tableListSample.js][tablelistsample] | Gets a list of all the tables under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json | +| [tableServicesGetServicePropertiesSample.js][tableservicesgetservicepropertiessample] | Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json | +| [tableServicesListSample.js][tableserviceslistsample] | List all table services for the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json | +| [tableServicesSetServicePropertiesSample.js][tableservicessetservicepropertiessample] | Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json | +| [tableUpdateSample.js][tableupdatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json | +| [usagesListByLocationSample.js][usageslistbylocationsample] | Gets the current usage count and the limit for the resources of the location under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json | ## Prerequisites @@ -133,96 +133,96 @@ npx cross-env node blobContainersClearLegalHoldSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[blobcontainersclearlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersClearLegalHoldSample.js -[blobcontainerscreateorupdateimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js -[blobcontainerscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateSample.js -[blobcontainersdeleteimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteImmutabilityPolicySample.js -[blobcontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteSample.js -[blobcontainersextendimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersExtendImmutabilityPolicySample.js -[blobcontainersgetimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetImmutabilityPolicySample.js -[blobcontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetSample.js -[blobcontainersleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLeaseSample.js -[blobcontainerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersListSample.js -[blobcontainerslockimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLockImmutabilityPolicySample.js -[blobcontainersobjectlevelwormsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersObjectLevelWormSample.js -[blobcontainerssetlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersSetLegalHoldSample.js -[blobcontainersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobContainersUpdateSample.js -[blobinventorypoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesCreateOrUpdateSample.js -[blobinventorypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesDeleteSample.js -[blobinventorypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesGetSample.js -[blobinventorypolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesListSample.js -[blobservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobServicesGetServicePropertiesSample.js -[blobserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobServicesListSample.js -[blobservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/blobServicesSetServicePropertiesSample.js -[deletedaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsGetSample.js -[deletedaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsListSample.js -[encryptionscopesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesGetSample.js -[encryptionscopeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesListSample.js -[encryptionscopespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPatchSample.js -[encryptionscopesputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPutSample.js -[fileservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileServicesGetServicePropertiesSample.js -[fileserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileServicesListSample.js -[fileservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileServicesSetServicePropertiesSample.js -[filesharescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesCreateSample.js -[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesDeleteSample.js -[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesGetSample.js -[filesharesleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesLeaseSample.js -[fileshareslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesListSample.js -[filesharesrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesRestoreSample.js -[filesharesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/fileSharesUpdateSample.js -[localuserscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersCreateOrUpdateSample.js -[localusersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersDeleteSample.js -[localusersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersGetSample.js -[localuserslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersListKeysSample.js -[localuserslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersListSample.js -[localusersregeneratepasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/localUsersRegeneratePasswordSample.js -[managementpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesCreateOrUpdateSample.js -[managementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesDeleteSample.js -[managementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesGetSample.js -[objectreplicationpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesCreateOrUpdateSample.js -[objectreplicationpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesDeleteSample.js -[objectreplicationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesGetSample.js -[objectreplicationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesListSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/operationsListSample.js -[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsDeleteSample.js -[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsGetSample.js -[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsListSample.js -[privateendpointconnectionsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsPutSample.js -[privatelinkresourceslistbystorageaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/privateLinkResourcesListByStorageAccountSample.js -[queuecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueCreateSample.js -[queuedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueDeleteSample.js -[queuegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueGetSample.js -[queuelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueListSample.js -[queueservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueServicesGetServicePropertiesSample.js -[queueserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueServicesListSample.js -[queueservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueServicesSetServicePropertiesSample.js -[queueupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/queueUpdateSample.js -[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/skusListSample.js -[storageaccountsaborthierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js -[storageaccountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCheckNameAvailabilitySample.js -[storageaccountscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCreateSample.js -[storageaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsDeleteSample.js -[storageaccountsfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsFailoverSample.js -[storageaccountsgetpropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsGetPropertiesSample.js -[storageaccountshierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js -[storageaccountslistaccountsassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListAccountSasSample.js -[storageaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListByResourceGroupSample.js -[storageaccountslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListKeysSample.js -[storageaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListSample.js -[storageaccountslistservicesassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListServiceSasSample.js -[storageaccountsregeneratekeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRegenerateKeySample.js -[storageaccountsrestoreblobrangessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRestoreBlobRangesSample.js -[storageaccountsrevokeuserdelegationkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRevokeUserDelegationKeysSample.js -[storageaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsUpdateSample.js -[tablecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableCreateSample.js -[tabledeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableDeleteSample.js -[tablegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableGetSample.js -[tablelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableListSample.js -[tableservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableServicesGetServicePropertiesSample.js -[tableserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableServicesListSample.js -[tableservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableServicesSetServicePropertiesSample.js -[tableupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/tableUpdateSample.js -[usageslistbylocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/javascript/usagesListByLocationSample.js +[blobcontainersclearlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersClearLegalHoldSample.js +[blobcontainerscreateorupdateimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js +[blobcontainerscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateSample.js +[blobcontainersdeleteimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteImmutabilityPolicySample.js +[blobcontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteSample.js +[blobcontainersextendimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersExtendImmutabilityPolicySample.js +[blobcontainersgetimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetImmutabilityPolicySample.js +[blobcontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetSample.js +[blobcontainersleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLeaseSample.js +[blobcontainerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersListSample.js +[blobcontainerslockimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLockImmutabilityPolicySample.js +[blobcontainersobjectlevelwormsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersObjectLevelWormSample.js +[blobcontainerssetlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersSetLegalHoldSample.js +[blobcontainersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobContainersUpdateSample.js +[blobinventorypoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesCreateOrUpdateSample.js +[blobinventorypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesDeleteSample.js +[blobinventorypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesGetSample.js +[blobinventorypolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesListSample.js +[blobservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobServicesGetServicePropertiesSample.js +[blobserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobServicesListSample.js +[blobservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/blobServicesSetServicePropertiesSample.js +[deletedaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsGetSample.js +[deletedaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsListSample.js +[encryptionscopesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesGetSample.js +[encryptionscopeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesListSample.js +[encryptionscopespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPatchSample.js +[encryptionscopesputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPutSample.js +[fileservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileServicesGetServicePropertiesSample.js +[fileserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileServicesListSample.js +[fileservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileServicesSetServicePropertiesSample.js +[filesharescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesCreateSample.js +[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesDeleteSample.js +[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesGetSample.js +[filesharesleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesLeaseSample.js +[fileshareslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesListSample.js +[filesharesrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesRestoreSample.js +[filesharesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/fileSharesUpdateSample.js +[localuserscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersCreateOrUpdateSample.js +[localusersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersDeleteSample.js +[localusersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersGetSample.js +[localuserslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersListKeysSample.js +[localuserslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersListSample.js +[localusersregeneratepasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/localUsersRegeneratePasswordSample.js +[managementpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesCreateOrUpdateSample.js +[managementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesDeleteSample.js +[managementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesGetSample.js +[objectreplicationpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesCreateOrUpdateSample.js +[objectreplicationpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesDeleteSample.js +[objectreplicationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesGetSample.js +[objectreplicationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesListSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/operationsListSample.js +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsDeleteSample.js +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsGetSample.js +[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsListSample.js +[privateendpointconnectionsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsPutSample.js +[privatelinkresourceslistbystorageaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/privateLinkResourcesListByStorageAccountSample.js +[queuecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueCreateSample.js +[queuedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueDeleteSample.js +[queuegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueGetSample.js +[queuelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueListSample.js +[queueservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueServicesGetServicePropertiesSample.js +[queueserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueServicesListSample.js +[queueservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueServicesSetServicePropertiesSample.js +[queueupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/queueUpdateSample.js +[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/skusListSample.js +[storageaccountsaborthierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +[storageaccountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCheckNameAvailabilitySample.js +[storageaccountscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCreateSample.js +[storageaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsDeleteSample.js +[storageaccountsfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsFailoverSample.js +[storageaccountsgetpropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsGetPropertiesSample.js +[storageaccountshierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js +[storageaccountslistaccountsassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListAccountSasSample.js +[storageaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListByResourceGroupSample.js +[storageaccountslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListKeysSample.js +[storageaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListSample.js +[storageaccountslistservicesassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListServiceSasSample.js +[storageaccountsregeneratekeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRegenerateKeySample.js +[storageaccountsrestoreblobrangessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRestoreBlobRangesSample.js +[storageaccountsrevokeuserdelegationkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRevokeUserDelegationKeysSample.js +[storageaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsUpdateSample.js +[tablecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableCreateSample.js +[tabledeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableDeleteSample.js +[tablegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableGetSample.js +[tablelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableListSample.js +[tableservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableServicesGetServicePropertiesSample.js +[tableserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableServicesListSample.js +[tableservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableServicesSetServicePropertiesSample.js +[tableupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/tableUpdateSample.js +[usageslistbylocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/javascript/usagesListByLocationSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage/README.md diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersClearLegalHoldSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersClearLegalHoldSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersClearLegalHoldSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersClearLegalHoldSample.js index a66e86dfbd83..aaea7257d492 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersClearLegalHoldSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersClearLegalHoldSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. * * @summary Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json */ async function clearLegalHoldContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js index 59bb0df0f22b..1ac8f88250c3 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateOrUpdateImmutabilityPolicySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json */ async function createOrUpdateImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; @@ -46,7 +46,7 @@ createOrUpdateImmutabilityPolicy().catch(console.error); * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json */ async function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateSample.js index bf4ac1d2c654..0784b488589e 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersCreateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersCreateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutDefaultEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json */ async function putContainerWithDefaultEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ putContainerWithDefaultEncryptionScope().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutObjectLevelWorm.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutObjectLevelWorm.json */ async function putContainerWithObjectLevelWorm() { const subscriptionId = "{subscription-id}"; @@ -70,7 +70,7 @@ putContainerWithObjectLevelWorm().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPut.json */ async function putContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteImmutabilityPolicySample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteImmutabilityPolicySample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteImmutabilityPolicySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteImmutabilityPolicySample.js index 04bda3f6a52e..40e8fe61055f 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteImmutabilityPolicySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteImmutabilityPolicySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. * * @summary Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json */ async function deleteImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteSample.js index 0fc25e922f9f..61a9754213c2 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes specified container under its account. * * @summary Deletes specified container under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json */ async function deleteContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersExtendImmutabilityPolicySample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersExtendImmutabilityPolicySample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersExtendImmutabilityPolicySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersExtendImmutabilityPolicySample.js index de27b89c2baf..f7811ee74fb6 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersExtendImmutabilityPolicySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersExtendImmutabilityPolicySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. * * @summary Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json */ async function extendImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetImmutabilityPolicySample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetImmutabilityPolicySample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetImmutabilityPolicySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetImmutabilityPolicySample.js index d61f049103ec..6b71f4350a05 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetImmutabilityPolicySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetImmutabilityPolicySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the existing immutability policy along with the corresponding ETag in response headers and body. * * @summary Gets the existing immutability policy along with the corresponding ETag in response headers and body. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json */ async function getImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetSample.js similarity index 93% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetSample.js index b840442bf19b..a8149f796034 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json */ async function getBlobContainersGetWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; @@ -34,7 +34,7 @@ getBlobContainersGetWithAllowProtectedAppendWritesAll().catch(console.error); * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGet.json */ async function getContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLeaseSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLeaseSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersLeaseSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersLeaseSample.js index 73f4f0449378..1c8a13e161f6 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLeaseSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLeaseSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json */ async function acquireALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; @@ -47,7 +47,7 @@ acquireALeaseOnAContainer().catch(console.error); * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Break.json */ async function breakALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersListSample.js index 4a38a2c82c31..2d9cac69a343 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json */ async function listContainers() { const subscriptionId = "{subscription-id}"; @@ -36,7 +36,7 @@ listContainers().catch(console.error); * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedBlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedBlobContainersList.json */ async function listDeletedContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLockImmutabilityPolicySample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLockImmutabilityPolicySample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersLockImmutabilityPolicySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersLockImmutabilityPolicySample.js index c172d977b2b7..504bb18f5972 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersLockImmutabilityPolicySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersLockImmutabilityPolicySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. * * @summary Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLockImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json */ async function lockImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersObjectLevelWormSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersObjectLevelWormSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersObjectLevelWormSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersObjectLevelWormSample.js index cd53f6653436..1381849e8db4 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersObjectLevelWormSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersObjectLevelWormSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. * * @summary This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/ObjectLevelWormContainerMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json */ async function versionLevelWormContainerMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersSetLegalHoldSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersSetLegalHoldSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersSetLegalHoldSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersSetLegalHoldSample.js index 991491990638..28cd0e527d96 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersSetLegalHoldSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersSetLegalHoldSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json */ async function setLegalHoldContainers() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ setLegalHoldContainers().catch(console.error); * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json */ async function setLegalHoldContainersWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersUpdateSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/blobContainersUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobContainersUpdateSample.js index b0d5b6c82a3e..a83590a9a3a5 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobContainersUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobContainersUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. * * @summary Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json */ async function updateContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesCreateOrUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesCreateOrUpdateSample.js similarity index 97% rename from sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesCreateOrUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesCreateOrUpdateSample.js index 9646b53a9c1c..1021d38e3d71 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesCreateOrUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json */ async function storageAccountSetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; @@ -99,7 +99,7 @@ storageAccountSetBlobInventoryPolicy().catch(console.error); * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() { const subscriptionId = "{subscription-id}"; @@ -201,7 +201,7 @@ storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount().cat * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesDeleteSample.js index 1402af820303..8c41674abe80 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the blob inventory policy associated with the specified storage account. * * @summary Deletes the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json */ async function storageAccountDeleteBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesGetSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesGetSample.js index 029269912299..59911605e0ee 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesListSample.js index 4e804d96210f..73bc198e81fb 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobInventoryPoliciesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobInventoryPoliciesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesGetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesGetServicePropertiesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobServicesGetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobServicesGetServicePropertiesSample.js index 8038ba7661e0..5c5a9bcf311d 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesGetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesGetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json */ async function getBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/blobServicesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobServicesListSample.js index 11ae8a7992e6..ff3554cbc278 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List blob services of storage account. It returns a collection of one object named default. * * @summary List blob services of storage account. It returns a collection of one object named default. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json */ async function listBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesSetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesSetServicePropertiesSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/blobServicesSetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/blobServicesSetServicePropertiesSample.js index b5fabd3f8450..ad7ebb08b0f0 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/blobServicesSetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/blobServicesSetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutAllowPermanentDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json */ async function blobServicesPutAllowPermanentDelete() { const subscriptionId = "{subscription-id}"; @@ -45,7 +45,7 @@ blobServicesPutAllowPermanentDelete().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json */ async function blobServicesPutLastAccessTimeBasedTracking() { const subscriptionId = "{subscription-id}"; @@ -75,7 +75,7 @@ blobServicesPutLastAccessTimeBasedTracking().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPut.json */ async function putBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsGetSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsGetSample.js index 1630e467c964..1906441821fe 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Get properties of specified deleted account resource. * * @summary Get properties of specified deleted account resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json */ async function deletedAccountGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsListSample.js index da071544c067..e9868592f87b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/deletedAccountsListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/deletedAccountsListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists deleted accounts under the subscription. * * @summary Lists deleted accounts under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json */ async function deletedAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesGetSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesGetSample.js index 81f75f62b711..fdf7e2aff738 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Returns the properties for the specified encryption scope. * * @summary Returns the properties for the specified encryption scope. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json */ async function storageAccountGetEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesListSample.js index e1b6e2cbc3d9..a32496ccbe1b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all the encryption scopes available under the specified storage account. * * @summary Lists all the encryption scopes available under the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEncryptionScopeList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json */ async function storageAccountEncryptionScopeList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPatchSample.js b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPatchSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPatchSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPatchSample.js index a05f9eee1662..63708c8d93b0 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPatchSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPatchSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. * * @summary Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPatchEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json */ async function storageAccountPatchEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPutSample.js b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPutSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPutSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPutSample.js index 985fd851d027..b2068b48f92b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/encryptionScopesPutSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/encryptionScopesPutSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json */ async function storageAccountPutEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ storageAccountPutEncryptionScope().catch(console.error); * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json */ async function storageAccountPutEncryptionScopeWithInfrastructureEncryption() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesGetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesGetServicePropertiesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileServicesGetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileServicesGetServicePropertiesSample.js index 381f44d2f7f8..d3f942bb4af1 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesGetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesGetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json */ async function getFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/fileServicesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileServicesListSample.js index 1f453cc6b6f3..08ad0da1198b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List all file services in storage accounts * * @summary List all file services in storage accounts - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json */ async function listFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesSetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesSetServicePropertiesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileServicesSetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileServicesSetServicePropertiesSample.js index eaf91b222dc1..5c421b9c6737 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileServicesSetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileServicesSetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json */ async function putFileServices() { const subscriptionId = "{subscription-id}"; @@ -64,7 +64,7 @@ putFileServices().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSMBMultichannel.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSMBMultichannel.json */ async function putFileServicesEnableSmbMultichannel() { const subscriptionId = "{subscription-id}"; @@ -89,7 +89,7 @@ putFileServicesEnableSmbMultichannel().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSecureSmbFeatures.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json */ async function putFileServicesEnableSecureSmbFeatures() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesCreateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesCreateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesCreateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesCreateSample.js index 15fc7fd9eae7..4222feda158d 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesCreateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesCreateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_NFS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json */ async function createNfsShares() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ createNfsShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut.json */ async function putShares() { const subscriptionId = "{subscription-id}"; @@ -65,7 +65,7 @@ putShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_AccessTier.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_AccessTier.json */ async function putSharesWithAccessTier() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesDeleteSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesDeleteSample.js index acee26d4f8c7..f63677a8c572 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes specified share under its account. * * @summary Deletes specified share under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json */ async function deleteShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesGetSample.js similarity index 93% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesGetSample.js index d0aa4d0af23d..124e7ec8bc51 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet_Stats.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json */ async function getShareStats() { const subscriptionId = "{subscription-id}"; @@ -36,7 +36,7 @@ getShareStats().catch(console.error); * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet.json */ async function getShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesLeaseSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesLeaseSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesLeaseSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesLeaseSample.js index 7d217245da20..158715b76f45 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesLeaseSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesLeaseSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json */ async function acquireALeaseOnAShare() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ acquireALeaseOnAShare().catch(console.error); * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Break.json */ async function breakALeaseOnAShare() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesListSample.js similarity index 92% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesListSample.js index 269ec4502605..e284c8a70be4 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedFileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json */ async function listDeletedShares() { const subscriptionId = "{subscription-id}"; @@ -38,7 +38,7 @@ listDeletedShares().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareSnapshotsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareSnapshotsList.json */ async function listShareSnapshots() { const subscriptionId = "{subscription-id}"; @@ -61,7 +61,7 @@ listShareSnapshots().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesList.json */ async function listShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesRestoreSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesRestoreSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesRestoreSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesRestoreSample.js index 9056dddb1559..b41ebef105d6 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesRestoreSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesRestoreSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Restore a file share within a valid retention days if share soft delete is enabled * * @summary Restore a file share within a valid retention days if share soft delete is enabled - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json */ async function restoreShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesUpdateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/fileSharesUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/fileSharesUpdateSample.js index b4859d7eff82..c480e790aa34 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/fileSharesUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/fileSharesUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareAclsPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json */ async function updateShareAcls() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ updateShareAcls().catch(console.error); * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPatch.json */ async function updateShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersCreateOrUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersCreateOrUpdateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersCreateOrUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersCreateOrUpdateSample.js index c880b685ec45..ddbcc2cb71ba 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersCreateOrUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json */ async function createLocalUser() { const subscriptionId = "{subscription-id}"; @@ -48,7 +48,7 @@ createLocalUser().catch(console.error); * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json */ async function updateLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersDeleteSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersDeleteSample.js index 2eebe20ac3f1..47a923cae96e 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the local user associated with the specified storage account. * * @summary Deletes the local user associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json */ async function deleteLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersGetSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersGetSample.js index 462a677c154f..6866e9522245 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Get the local user of the storage account by username. * * @summary Get the local user of the storage account by username. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json */ async function getLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersListKeysSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersListKeysSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersListKeysSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersListKeysSample.js index 6b9a19fdc779..8266bff87669 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersListKeysSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersListKeysSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List SSH authorized keys and shared key of the local user. * * @summary List SSH authorized keys and shared key of the local user. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json */ async function listLocalUserKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersListSample.js index e5fca78df20b..07aaf4530f73 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List the local users associated with the storage account. * * @summary List the local users associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json */ async function listLocalUsers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/localUsersRegeneratePasswordSample.js b/sdk/storage/arm-storage/samples/v18/javascript/localUsersRegeneratePasswordSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/localUsersRegeneratePasswordSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/localUsersRegeneratePasswordSample.js index 8bc74bc2a862..2d3c5037581a 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/localUsersRegeneratePasswordSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/localUsersRegeneratePasswordSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Regenerate the local user SSH password. * * @summary Regenerate the local user SSH password. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json */ async function regenerateLocalUserPassword() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesCreateOrUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesCreateOrUpdateSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesCreateOrUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesCreateOrUpdateSample.js index 7094be4ac9a2..9a2a79132a04 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesCreateOrUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json */ async function storageAccountSetManagementPolicies() { const subscriptionId = "{subscription-id}"; @@ -86,7 +86,7 @@ storageAccountSetManagementPolicies().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json */ async function storageAccountSetManagementPolicyForBlockAndAppendBlobs() { const subscriptionId = "{subscription-id}"; @@ -132,7 +132,7 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json */ async function storageAccountSetManagementPolicyWithSnapshotAndVersion() { const subscriptionId = "{subscription-id}"; @@ -190,7 +190,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json */ async function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() { const subscriptionId = "{subscription-id}"; @@ -238,7 +238,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch(consol * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json */ async function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() { const subscriptionId = "{subscription-id}"; @@ -288,7 +288,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch(console. * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json */ async function storageAccountSetManagementPolicyLastTierChangeTimeActions() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesDeleteSample.js index a1176ff45235..7153575901b1 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the managementpolicy associated with the specified storage account. * * @summary Deletes the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json */ async function storageAccountDeleteManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesGetSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesGetSample.js index 2a21761a7f91..97543a60f3de 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/managementPoliciesGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/managementPoliciesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the managementpolicy associated with the specified storage account. * * @summary Gets the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json */ async function storageAccountGetManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesCreateOrUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesCreateOrUpdateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesCreateOrUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesCreateOrUpdateSample.js index 0363a2ce44e0..f51e8e42c61c 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesCreateOrUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json */ async function storageAccountCreateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -50,7 +50,7 @@ storageAccountCreateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json */ async function storageAccountCreateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; @@ -89,7 +89,7 @@ storageAccountCreateObjectReplicationPolicyOnSource().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json */ async function storageAccountUpdateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -126,7 +126,7 @@ storageAccountUpdateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json */ async function storageAccountUpdateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesDeleteSample.js index 74bc091d2515..f197596c4e3c 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the object replication policy associated with the specified storage account. * * @summary Deletes the object replication policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json */ async function storageAccountDeleteObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesGetSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesGetSample.js index 5f4917a4a28c..4ba08d317333 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Get the object replication policy of the storage account by policy ID. * * @summary Get the object replication policy of the storage account by policy ID. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json */ async function storageAccountGetObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesListSample.js index 352a6bb6857e..8b1e41df632b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/objectReplicationPoliciesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/objectReplicationPoliciesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List the object replication policies associated with the storage account. * * @summary List the object replication policies associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json */ async function storageAccountListObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/operationsListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/operationsListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/operationsListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/operationsListSample.js index 90a56e736456..1a8e03e2aa2e 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/operationsListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/operationsListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all of the available Storage Rest API operations. * * @summary Lists all of the available Storage Rest API operations. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json */ async function operationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/package.json b/sdk/storage/arm-storage/samples/v18/javascript/package.json similarity index 100% rename from sdk/storage/arm-storage/samples/v17/javascript/package.json rename to sdk/storage/arm-storage/samples/v18/javascript/package.json diff --git a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsDeleteSample.js index 917cb9fee1a7..2906b83f0e35 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account. * * @summary Deletes the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json */ async function storageAccountDeletePrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsGetSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsGetSample.js index 50345f5cf7b9..3264e0198524 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the specified private endpoint connection associated with the storage account. * * @summary Gets the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json */ async function storageAccountGetPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsListSample.js index 62084165aa86..4192b37a66bd 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List all the private endpoint connections associated with the storage account. * * @summary List all the private endpoint connections associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json */ async function storageAccountListPrivateEndpointConnections() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsPutSample.js b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsPutSample.js similarity index 96% rename from sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsPutSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsPutSample.js index f671d44c1f95..fcdd498d3814 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/privateEndpointConnectionsPutSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/privateEndpointConnectionsPutSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Update the state of specified private endpoint connection associated with the storage account. * * @summary Update the state of specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json */ async function storageAccountPutPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/privateLinkResourcesListByStorageAccountSample.js b/sdk/storage/arm-storage/samples/v18/javascript/privateLinkResourcesListByStorageAccountSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/privateLinkResourcesListByStorageAccountSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/privateLinkResourcesListByStorageAccountSample.js index fa0a4dd9e8b9..7002cda7fa22 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/privateLinkResourcesListByStorageAccountSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/privateLinkResourcesListByStorageAccountSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the private link resources that need to be created for a storage account. * * @summary Gets the private link resources that need to be created for a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json */ async function storageAccountListPrivateLinkResources() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueCreateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueCreateSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/queueCreateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueCreateSample.js index f9ba31c038da..77498f9755e9 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueCreateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueCreateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json */ async function queueOperationPut() { const subscriptionId = "{subscription-id}"; @@ -35,7 +35,7 @@ queueOperationPut().catch(console.error); * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPutWithMetadata.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json */ async function queueOperationPutWithMetadata() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/queueDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueDeleteSample.js index b724d076a513..4b821e6f6694 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists. * * @summary Deletes the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json */ async function queueOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueGetSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/queueGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueGetSample.js index 64645d1b41a2..f3bb75acb71c 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the queue with the specified queue name, under the specified account if it exists. * * @summary Gets the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json */ async function queueOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/queueListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueListSample.js index 15bb1e5ad6c3..0629159be18d 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all the queues under the specified storage account * * @summary Gets a list of all the queues under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json */ async function queueOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesGetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesGetServicePropertiesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/queueServicesGetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueServicesGetServicePropertiesSample.js index cd1723549a2e..8657485d84c7 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesGetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesGetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json */ async function queueServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/queueServicesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueServicesListSample.js index 855a4f8778f3..da1f5961a847 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List all queue services for the storage account * * @summary List all queue services for the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json */ async function queueServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesSetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesSetServicePropertiesSample.js similarity index 97% rename from sdk/storage/arm-storage/samples/v17/javascript/queueServicesSetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueServicesSetServicePropertiesSample.js index e8ac9cf2edd2..aafddfbb1765 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueServicesSetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueServicesSetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json */ async function queueServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/queueUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/queueUpdateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/queueUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/queueUpdateSample.js index 286bdefbf3dc..6924f87adb94 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/queueUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/queueUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json */ async function queueOperationPatch() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/sample.env b/sdk/storage/arm-storage/samples/v18/javascript/sample.env similarity index 100% rename from sdk/storage/arm-storage/samples/v17/javascript/sample.env rename to sdk/storage/arm-storage/samples/v18/javascript/sample.env diff --git a/sdk/storage/arm-storage/samples/v17/javascript/skusListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/skusListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/skusListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/skusListSample.js index ce5cf4c65f5e..f9bd37a19bbf 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/skusListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/skusListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription. * * @summary Lists the available SKUs supported by Microsoft.Storage for given subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json */ async function skuList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js index 14cf6b4c6d02..97dc796a753a 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsAbortHierarchicalNamespaceMigrationSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Abort live Migration of storage account to enable Hns * * @summary Abort live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json */ async function storageAccountAbortHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCheckNameAvailabilitySample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCheckNameAvailabilitySample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCheckNameAvailabilitySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCheckNameAvailabilitySample.js index e55fc4c87a35..34c8ed0deaac 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCheckNameAvailabilitySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCheckNameAvailabilitySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Checks that the storage account name is valid and is not already in use. * * @summary Checks that the storage account name is valid and is not already in use. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json */ async function storageAccountCheckNameAvailability() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCreateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCreateSample.js similarity index 97% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCreateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCreateSample.js index 258549e916f5..4e8716f3c0ca 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsCreateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsCreateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json */ async function nfsV3AccountCreate() { const subscriptionId = "{subscription-id}"; @@ -56,7 +56,7 @@ nfsV3AccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json */ async function storageAccountCreate() { const subscriptionId = "{subscription-id}"; @@ -106,7 +106,7 @@ storageAccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json */ async function storageAccountCreateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -154,7 +154,7 @@ storageAccountCreateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json */ async function storageAccountCreateAllowedCopyScopeToPrivateLink() { const subscriptionId = "{subscription-id}"; @@ -202,7 +202,7 @@ storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json */ async function storageAccountCreateDisallowPublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -251,7 +251,7 @@ storageAccountCreateDisallowPublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json */ async function storageAccountCreateDnsEndpointTypeToAzureDnsZone() { const subscriptionId = "{subscription-id}"; @@ -302,7 +302,7 @@ storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json */ async function storageAccountCreateDnsEndpointTypeToStandard() { const subscriptionId = "{subscription-id}"; @@ -353,7 +353,7 @@ storageAccountCreateDnsEndpointTypeToStandard().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json */ async function storageAccountCreateEnablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -402,7 +402,7 @@ storageAccountCreateEnablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json */ async function storageAccountCreatePremiumBlockBlobStorage() { const subscriptionId = "{subscription-id}"; @@ -440,7 +440,7 @@ storageAccountCreatePremiumBlockBlobStorage().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -490,7 +490,7 @@ storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch(console.error) * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -541,7 +541,7 @@ storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch(co * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json */ async function storageAccountCreateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsDeleteSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsDeleteSample.js index 929c3caabb0e..fc1fbbd2214a 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes a storage account in Microsoft Azure. * * @summary Deletes a storage account in Microsoft Azure. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json */ async function storageAccountDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsFailoverSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsFailoverSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsFailoverSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsFailoverSample.js index b0f5982a987d..8cdea2c24f8f 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsFailoverSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsFailoverSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. * * @summary Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json */ async function storageAccountFailover() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsGetPropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsGetPropertiesSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsGetPropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsGetPropertiesSample.js index 191d74b660d6..1f89e19799bb 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsGetPropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsGetPropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json */ async function storageAccountGetAsyncSkuConversionStatus() { const subscriptionId = "{subscription-id}"; @@ -33,7 +33,7 @@ storageAccountGetAsyncSkuConversionStatus().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetProperties.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json */ async function storageAccountGetProperties() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ storageAccountGetProperties().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKEnabled.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json */ async function storageAccountGetPropertiesCmkEnabled() { const subscriptionId = "{subscription-id}"; @@ -69,7 +69,7 @@ storageAccountGetPropertiesCmkEnabled().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json */ async function storageAccountGetPropertiesCmkVersionExpirationTime() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js index 360640113986..87d5064f6333 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsHierarchicalNamespaceMigrationSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Live Migration of storage account to enable Hns * * @summary Live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json */ async function storageAccountHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListAccountSasSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListAccountSasSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListAccountSasSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListAccountSasSample.js index dc0206f8e382..77d3900a6e07 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListAccountSasSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListAccountSasSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List SAS credentials of a storage account. * * @summary List SAS credentials of a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListAccountSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json */ async function storageAccountListAccountSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListByResourceGroupSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListByResourceGroupSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListByResourceGroupSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListByResourceGroupSample.js index e72297d5a3d4..1c6a7d5cdd3b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListByResourceGroupSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListByResourceGroupSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListByResourceGroup.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json */ async function storageAccountListByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListKeysSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListKeysSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListKeysSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListKeysSample.js index db7a27eee9a3..47da98788455 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListKeysSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListKeysSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. * * @summary Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json */ async function storageAccountListKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListSample.js index d5930ece2d89..0ddfb04197a0 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json */ async function storageAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListServiceSasSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListServiceSasSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListServiceSasSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListServiceSasSample.js index 91cb45b08b94..da16a085a8dd 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsListServiceSasSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsListServiceSasSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List service SAS credentials of a specific resource. * * @summary List service SAS credentials of a specific resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListServiceSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json */ async function storageAccountListServiceSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRegenerateKeySample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRegenerateKeySample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRegenerateKeySample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRegenerateKeySample.js index ac2b757977fd..c7a3e3fac2c0 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRegenerateKeySample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRegenerateKeySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKerbKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json */ async function storageAccountRegenerateKerbKey() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ storageAccountRegenerateKerbKey().catch(console.error); * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKey.json */ async function storageAccountRegenerateKey() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRestoreBlobRangesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRestoreBlobRangesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRestoreBlobRangesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRestoreBlobRangesSample.js index c7ee19561cf3..d77e325147d9 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRestoreBlobRangesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRestoreBlobRangesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Restore blobs in the specified blob ranges * * @summary Restore blobs in the specified blob ranges - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobRangesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json */ async function blobRangesRestore() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRevokeUserDelegationKeysSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRevokeUserDelegationKeysSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRevokeUserDelegationKeysSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRevokeUserDelegationKeysSample.js index cb4082c65007..c76dca7f9a93 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsRevokeUserDelegationKeysSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsRevokeUserDelegationKeysSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Revoke user delegation keys. * * @summary Revoke user delegation keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRevokeUserDelegationKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json */ async function storageAccountRevokeUserDelegationKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsUpdateSample.js similarity index 97% rename from sdk/storage/arm-storage/samples/v17/javascript/storageAccountsUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/storageAccountsUpdateSample.js index 41624796e2cc..37d745eb747b 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/storageAccountsUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/storageAccountsUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json */ async function storageAccountEnableAd() { const subscriptionId = "{subscription-id}"; @@ -48,7 +48,7 @@ storageAccountEnableAd().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableCMK.json */ async function storageAccountEnableCmk() { const subscriptionId = "{subscription-id}"; @@ -80,7 +80,7 @@ storageAccountEnableCmk().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdate.json */ async function storageAccountUpdate() { const subscriptionId = "{subscription-id}"; @@ -130,7 +130,7 @@ storageAccountUpdate().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json */ async function storageAccountUpdateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -178,7 +178,7 @@ storageAccountUpdateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json */ async function storageAccountUpdateDisablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -226,7 +226,7 @@ storageAccountUpdateDisablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountUpdateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -271,7 +271,7 @@ storageAccountUpdateUserAssignedEncryptionIdentityWithCmk().catch(console.error) * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -317,7 +317,7 @@ storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId().catch(co * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json */ async function storageAccountUpdateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableCreateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableCreateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/tableCreateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableCreateSample.js index 45037c139038..af9e6c43f7bf 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableCreateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableCreateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json */ async function tableOperationPut() { const subscriptionId = "{subscription-id}"; @@ -34,7 +34,7 @@ tableOperationPut().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableDeleteSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableDeleteSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/tableDeleteSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableDeleteSample.js index aa857617eda7..6f2064adb997 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableDeleteSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes the table with the specified table name, under the specified account if it exists. * * @summary Deletes the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json */ async function tableOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableGetSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableGetSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/tableGetSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableGetSample.js index 1b149760c2bc..ec26d393da5e 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableGetSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the table with the specified table name, under the specified account if it exists. * * @summary Gets the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json */ async function tableOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/tableListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableListSample.js index da9ab3358286..85e83a625360 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all the tables under the specified storage account * * @summary Gets a list of all the tables under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json */ async function tableOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesGetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesGetServicePropertiesSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/tableServicesGetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableServicesGetServicePropertiesSample.js index 04d6de3c29b3..894cf588b212 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesGetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesGetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json */ async function tableServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesListSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesListSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/tableServicesListSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableServicesListSample.js index e71e8c020dcc..b53b1e954c2e 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesListSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to List all table services for the storage account. * * @summary List all table services for the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json */ async function tableServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesSetServicePropertiesSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesSetServicePropertiesSample.js similarity index 97% rename from sdk/storage/arm-storage/samples/v17/javascript/tableServicesSetServicePropertiesSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableServicesSetServicePropertiesSample.js index fac1ffbfc93d..1fff912cf396 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableServicesSetServicePropertiesSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableServicesSetServicePropertiesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json */ async function tableServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/tableUpdateSample.js b/sdk/storage/arm-storage/samples/v18/javascript/tableUpdateSample.js similarity index 95% rename from sdk/storage/arm-storage/samples/v17/javascript/tableUpdateSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/tableUpdateSample.js index 7824ec74add2..53e394aae12c 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/tableUpdateSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/tableUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json */ async function tableOperationPatch() { const subscriptionId = "{subscription-id}"; @@ -34,7 +34,7 @@ tableOperationPatch().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/javascript/usagesListByLocationSample.js b/sdk/storage/arm-storage/samples/v18/javascript/usagesListByLocationSample.js similarity index 94% rename from sdk/storage/arm-storage/samples/v17/javascript/usagesListByLocationSample.js rename to sdk/storage/arm-storage/samples/v18/javascript/usagesListByLocationSample.js index a6b4f5713a07..58b665ed4eda 100644 --- a/sdk/storage/arm-storage/samples/v17/javascript/usagesListByLocationSample.js +++ b/sdk/storage/arm-storage/samples/v18/javascript/usagesListByLocationSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the current usage count and the limit for the resources of the location under the subscription. * * @summary Gets the current usage count and the limit for the resources of the location under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListLocationUsage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json */ async function usageList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/README.md b/sdk/storage/arm-storage/samples/v18/typescript/README.md similarity index 88% rename from sdk/storage/arm-storage/samples/v17/typescript/README.md rename to sdk/storage/arm-storage/samples/v18/typescript/README.md index 9d30e28ff146..faf71020ca6f 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/README.md +++ b/sdk/storage/arm-storage/samples/v18/typescript/README.md @@ -4,96 +4,96 @@ These sample programs show how to use the TypeScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [blobContainersClearLegalHoldSample.ts][blobcontainersclearlegalholdsample] | Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json | -| [blobContainersCreateOrUpdateImmutabilityPolicySample.ts][blobcontainerscreateorupdateimmutabilitypolicysample] | Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicy.json | -| [blobContainersCreateSample.ts][blobcontainerscreatesample] | Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutDefaultEncryptionScope.json | -| [blobContainersDeleteImmutabilityPolicySample.ts][blobcontainersdeleteimmutabilitypolicysample] | Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json | -| [blobContainersDeleteSample.ts][blobcontainersdeletesample] | Deletes specified container under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json | -| [blobContainersExtendImmutabilityPolicySample.ts][blobcontainersextendimmutabilitypolicysample] | Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json | -| [blobContainersGetImmutabilityPolicySample.ts][blobcontainersgetimmutabilitypolicysample] | Gets the existing immutability policy along with the corresponding ETag in response headers and body. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetImmutabilityPolicy.json | -| [blobContainersGetSample.ts][blobcontainersgetsample] | Gets properties of a specified container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json | -| [blobContainersLeaseSample.ts][blobcontainersleasesample] | The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Acquire.json | -| [blobContainersListSample.ts][blobcontainerslistsample] | Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersList.json | -| [blobContainersLockImmutabilityPolicySample.ts][blobcontainerslockimmutabilitypolicysample] | Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLockImmutabilityPolicy.json | -| [blobContainersObjectLevelWormSample.ts][blobcontainersobjectlevelwormsample] | This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/ObjectLevelWormContainerMigration.json | -| [blobContainersSetLegalHoldSample.ts][blobcontainerssetlegalholdsample] | Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHold.json | -| [blobContainersUpdateSample.ts][blobcontainersupdatesample] | Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPatch.json | -| [blobInventoryPoliciesCreateOrUpdateSample.ts][blobinventorypoliciescreateorupdatesample] | Sets the blob inventory policy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicy.json | -| [blobInventoryPoliciesDeleteSample.ts][blobinventorypoliciesdeletesample] | Deletes the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteBlobInventoryPolicy.json | -| [blobInventoryPoliciesGetSample.ts][blobinventorypoliciesgetsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetBlobInventoryPolicy.json | -| [blobInventoryPoliciesListSample.ts][blobinventorypolicieslistsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListBlobInventoryPolicy.json | -| [blobServicesGetServicePropertiesSample.ts][blobservicesgetservicepropertiessample] | Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesGet.json | -| [blobServicesListSample.ts][blobserviceslistsample] | List blob services of storage account. It returns a collection of one object named default. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesList.json | -| [blobServicesSetServicePropertiesSample.ts][blobservicessetservicepropertiessample] | Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutAllowPermanentDelete.json | -| [deletedAccountsGetSample.ts][deletedaccountsgetsample] | Get properties of specified deleted account resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountGet.json | -| [deletedAccountsListSample.ts][deletedaccountslistsample] | Lists deleted accounts under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountList.json | -| [encryptionScopesGetSample.ts][encryptionscopesgetsample] | Returns the properties for the specified encryption scope. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetEncryptionScope.json | -| [encryptionScopesListSample.ts][encryptionscopeslistsample] | Lists all the encryption scopes available under the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEncryptionScopeList.json | -| [encryptionScopesPatchSample.ts][encryptionscopespatchsample] | Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPatchEncryptionScope.json | -| [encryptionScopesPutSample.ts][encryptionscopesputsample] | Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScope.json | -| [fileServicesGetServicePropertiesSample.ts][fileservicesgetservicepropertiessample] | Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesGet.json | -| [fileServicesListSample.ts][fileserviceslistsample] | List all file services in storage accounts x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesList.json | -| [fileServicesSetServicePropertiesSample.ts][fileservicessetservicepropertiessample] | Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut.json | -| [fileSharesCreateSample.ts][filesharescreatesample] | Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_NFS.json | -| [fileSharesDeleteSample.ts][filesharesdeletesample] | Deletes specified share under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesDelete.json | -| [fileSharesGetSample.ts][filesharesgetsample] | Gets properties of a specified share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet_Stats.json | -| [fileSharesLeaseSample.ts][filesharesleasesample] | The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Acquire.json | -| [fileSharesListSample.ts][fileshareslistsample] | Lists all shares. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedFileSharesList.json | -| [fileSharesRestoreSample.ts][filesharesrestoresample] | Restore a file share within a valid retention days if share soft delete is enabled x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesRestore.json | -| [fileSharesUpdateSample.ts][filesharesupdatesample] | Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareAclsPatch.json | -| [localUsersCreateOrUpdateSample.ts][localuserscreateorupdatesample] | Create or update the properties of a local user associated with the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json | -| [localUsersDeleteSample.ts][localusersdeletesample] | Deletes the local user associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json | -| [localUsersGetSample.ts][localusersgetsample] | Get the local user of the storage account by username. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json | -| [localUsersListKeysSample.ts][localuserslistkeyssample] | List SSH authorized keys and shared key of the local user. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json | -| [localUsersListSample.ts][localuserslistsample] | List the local users associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json | -| [localUsersRegeneratePasswordSample.ts][localusersregeneratepasswordsample] | Regenerate the local user SSH password. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json | -| [managementPoliciesCreateOrUpdateSample.ts][managementpoliciescreateorupdatesample] | Sets the managementpolicy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json | -| [managementPoliciesDeleteSample.ts][managementpoliciesdeletesample] | Deletes the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json | -| [managementPoliciesGetSample.ts][managementpoliciesgetsample] | Gets the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json | -| [objectReplicationPoliciesCreateOrUpdateSample.ts][objectreplicationpoliciescreateorupdatesample] | Create or update the object replication policy of the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json | -| [objectReplicationPoliciesDeleteSample.ts][objectreplicationpoliciesdeletesample] | Deletes the object replication policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json | -| [objectReplicationPoliciesGetSample.ts][objectreplicationpoliciesgetsample] | Get the object replication policy of the storage account by policy ID. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json | -| [objectReplicationPoliciesListSample.ts][objectreplicationpolicieslistsample] | List the object replication policies associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json | -| [operationsListSample.ts][operationslistsample] | Lists all of the available Storage Rest API operations. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json | -| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json | -| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | Gets the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json | -| [privateEndpointConnectionsListSample.ts][privateendpointconnectionslistsample] | List all the private endpoint connections associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json | -| [privateEndpointConnectionsPutSample.ts][privateendpointconnectionsputsample] | Update the state of specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json | -| [privateLinkResourcesListByStorageAccountSample.ts][privatelinkresourceslistbystorageaccountsample] | Gets the private link resources that need to be created for a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json | -| [queueCreateSample.ts][queuecreatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json | -| [queueDeleteSample.ts][queuedeletesample] | Deletes the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json | -| [queueGetSample.ts][queuegetsample] | Gets the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json | -| [queueListSample.ts][queuelistsample] | Gets a list of all the queues under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json | -| [queueServicesGetServicePropertiesSample.ts][queueservicesgetservicepropertiessample] | Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json | -| [queueServicesListSample.ts][queueserviceslistsample] | List all queue services for the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json | -| [queueServicesSetServicePropertiesSample.ts][queueservicessetservicepropertiessample] | Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json | -| [queueUpdateSample.ts][queueupdatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json | -| [skusListSample.ts][skuslistsample] | Lists the available SKUs supported by Microsoft.Storage for given subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json | -| [storageAccountsAbortHierarchicalNamespaceMigrationSample.ts][storageaccountsaborthierarchicalnamespacemigrationsample] | Abort live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json | -| [storageAccountsCheckNameAvailabilitySample.ts][storageaccountschecknameavailabilitysample] | Checks that the storage account name is valid and is not already in use. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json | -| [storageAccountsCreateSample.ts][storageaccountscreatesample] | Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json | -| [storageAccountsDeleteSample.ts][storageaccountsdeletesample] | Deletes a storage account in Microsoft Azure. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json | -| [storageAccountsFailoverSample.ts][storageaccountsfailoversample] | Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json | -| [storageAccountsGetPropertiesSample.ts][storageaccountsgetpropertiessample] | Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json | -| [storageAccountsHierarchicalNamespaceMigrationSample.ts][storageaccountshierarchicalnamespacemigrationsample] | Live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json | -| [storageAccountsListAccountSasSample.ts][storageaccountslistaccountsassample] | List SAS credentials of a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListAccountSAS.json | -| [storageAccountsListByResourceGroupSample.ts][storageaccountslistbyresourcegroupsample] | Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListByResourceGroup.json | -| [storageAccountsListKeysSample.ts][storageaccountslistkeyssample] | Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListKeys.json | -| [storageAccountsListSample.ts][storageaccountslistsample] | Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountList.json | -| [storageAccountsListServiceSasSample.ts][storageaccountslistservicesassample] | List service SAS credentials of a specific resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListServiceSAS.json | -| [storageAccountsRegenerateKeySample.ts][storageaccountsregeneratekeysample] | Regenerates one of the access keys or Kerberos keys for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKerbKey.json | -| [storageAccountsRestoreBlobRangesSample.ts][storageaccountsrestoreblobrangessample] | Restore blobs in the specified blob ranges x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobRangesRestore.json | -| [storageAccountsRevokeUserDelegationKeysSample.ts][storageaccountsrevokeuserdelegationkeyssample] | Revoke user delegation keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRevokeUserDelegationKeys.json | -| [storageAccountsUpdateSample.ts][storageaccountsupdatesample] | The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableAD.json | -| [tableCreateSample.ts][tablecreatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPut.json | -| [tableDeleteSample.ts][tabledeletesample] | Deletes the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationDelete.json | -| [tableGetSample.ts][tablegetsample] | Gets the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationGet.json | -| [tableListSample.ts][tablelistsample] | Gets a list of all the tables under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationList.json | -| [tableServicesGetServicePropertiesSample.ts][tableservicesgetservicepropertiessample] | Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesGet.json | -| [tableServicesListSample.ts][tableserviceslistsample] | List all table services for the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesList.json | -| [tableServicesSetServicePropertiesSample.ts][tableservicessetservicepropertiessample] | Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesPut.json | -| [tableUpdateSample.ts][tableupdatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPatch.json | -| [usagesListByLocationSample.ts][usageslistbylocationsample] | Gets the current usage count and the limit for the resources of the location under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListLocationUsage.json | +| [blobContainersClearLegalHoldSample.ts][blobcontainersclearlegalholdsample] | Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json | +| [blobContainersCreateOrUpdateImmutabilityPolicySample.ts][blobcontainerscreateorupdateimmutabilitypolicysample] | Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json | +| [blobContainersCreateSample.ts][blobcontainerscreatesample] | Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json | +| [blobContainersDeleteImmutabilityPolicySample.ts][blobcontainersdeleteimmutabilitypolicysample] | Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json | +| [blobContainersDeleteSample.ts][blobcontainersdeletesample] | Deletes specified container under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json | +| [blobContainersExtendImmutabilityPolicySample.ts][blobcontainersextendimmutabilitypolicysample] | Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json | +| [blobContainersGetImmutabilityPolicySample.ts][blobcontainersgetimmutabilitypolicysample] | Gets the existing immutability policy along with the corresponding ETag in response headers and body. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json | +| [blobContainersGetSample.ts][blobcontainersgetsample] | Gets properties of a specified container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json | +| [blobContainersLeaseSample.ts][blobcontainersleasesample] | The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json | +| [blobContainersListSample.ts][blobcontainerslistsample] | Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json | +| [blobContainersLockImmutabilityPolicySample.ts][blobcontainerslockimmutabilitypolicysample] | Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json | +| [blobContainersObjectLevelWormSample.ts][blobcontainersobjectlevelwormsample] | This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json | +| [blobContainersSetLegalHoldSample.ts][blobcontainerssetlegalholdsample] | Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json | +| [blobContainersUpdateSample.ts][blobcontainersupdatesample] | Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json | +| [blobInventoryPoliciesCreateOrUpdateSample.ts][blobinventorypoliciescreateorupdatesample] | Sets the blob inventory policy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json | +| [blobInventoryPoliciesDeleteSample.ts][blobinventorypoliciesdeletesample] | Deletes the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json | +| [blobInventoryPoliciesGetSample.ts][blobinventorypoliciesgetsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json | +| [blobInventoryPoliciesListSample.ts][blobinventorypolicieslistsample] | Gets the blob inventory policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json | +| [blobServicesGetServicePropertiesSample.ts][blobservicesgetservicepropertiessample] | Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json | +| [blobServicesListSample.ts][blobserviceslistsample] | List blob services of storage account. It returns a collection of one object named default. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json | +| [blobServicesSetServicePropertiesSample.ts][blobservicessetservicepropertiessample] | Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json | +| [deletedAccountsGetSample.ts][deletedaccountsgetsample] | Get properties of specified deleted account resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json | +| [deletedAccountsListSample.ts][deletedaccountslistsample] | Lists deleted accounts under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json | +| [encryptionScopesGetSample.ts][encryptionscopesgetsample] | Returns the properties for the specified encryption scope. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json | +| [encryptionScopesListSample.ts][encryptionscopeslistsample] | Lists all the encryption scopes available under the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json | +| [encryptionScopesPatchSample.ts][encryptionscopespatchsample] | Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json | +| [encryptionScopesPutSample.ts][encryptionscopesputsample] | Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json | +| [fileServicesGetServicePropertiesSample.ts][fileservicesgetservicepropertiessample] | Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json | +| [fileServicesListSample.ts][fileserviceslistsample] | List all file services in storage accounts x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json | +| [fileServicesSetServicePropertiesSample.ts][fileservicessetservicepropertiessample] | Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json | +| [fileSharesCreateSample.ts][filesharescreatesample] | Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json | +| [fileSharesDeleteSample.ts][filesharesdeletesample] | Deletes specified share under its account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json | +| [fileSharesGetSample.ts][filesharesgetsample] | Gets properties of a specified share. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json | +| [fileSharesLeaseSample.ts][filesharesleasesample] | The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json | +| [fileSharesListSample.ts][fileshareslistsample] | Lists all shares. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json | +| [fileSharesRestoreSample.ts][filesharesrestoresample] | Restore a file share within a valid retention days if share soft delete is enabled x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json | +| [fileSharesUpdateSample.ts][filesharesupdatesample] | Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json | +| [localUsersCreateOrUpdateSample.ts][localuserscreateorupdatesample] | Create or update the properties of a local user associated with the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json | +| [localUsersDeleteSample.ts][localusersdeletesample] | Deletes the local user associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json | +| [localUsersGetSample.ts][localusersgetsample] | Get the local user of the storage account by username. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json | +| [localUsersListKeysSample.ts][localuserslistkeyssample] | List SSH authorized keys and shared key of the local user. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json | +| [localUsersListSample.ts][localuserslistsample] | List the local users associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json | +| [localUsersRegeneratePasswordSample.ts][localusersregeneratepasswordsample] | Regenerate the local user SSH password. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json | +| [managementPoliciesCreateOrUpdateSample.ts][managementpoliciescreateorupdatesample] | Sets the managementpolicy to the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json | +| [managementPoliciesDeleteSample.ts][managementpoliciesdeletesample] | Deletes the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json | +| [managementPoliciesGetSample.ts][managementpoliciesgetsample] | Gets the managementpolicy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json | +| [objectReplicationPoliciesCreateOrUpdateSample.ts][objectreplicationpoliciescreateorupdatesample] | Create or update the object replication policy of the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json | +| [objectReplicationPoliciesDeleteSample.ts][objectreplicationpoliciesdeletesample] | Deletes the object replication policy associated with the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json | +| [objectReplicationPoliciesGetSample.ts][objectreplicationpoliciesgetsample] | Get the object replication policy of the storage account by policy ID. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json | +| [objectReplicationPoliciesListSample.ts][objectreplicationpolicieslistsample] | List the object replication policies associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available Storage Rest API operations. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json | +| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json | +| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | Gets the specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json | +| [privateEndpointConnectionsListSample.ts][privateendpointconnectionslistsample] | List all the private endpoint connections associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json | +| [privateEndpointConnectionsPutSample.ts][privateendpointconnectionsputsample] | Update the state of specified private endpoint connection associated with the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json | +| [privateLinkResourcesListByStorageAccountSample.ts][privatelinkresourceslistbystorageaccountsample] | Gets the private link resources that need to be created for a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json | +| [queueCreateSample.ts][queuecreatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json | +| [queueDeleteSample.ts][queuedeletesample] | Deletes the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json | +| [queueGetSample.ts][queuegetsample] | Gets the queue with the specified queue name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json | +| [queueListSample.ts][queuelistsample] | Gets a list of all the queues under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json | +| [queueServicesGetServicePropertiesSample.ts][queueservicesgetservicepropertiessample] | Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json | +| [queueServicesListSample.ts][queueserviceslistsample] | List all queue services for the storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json | +| [queueServicesSetServicePropertiesSample.ts][queueservicessetservicepropertiessample] | Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json | +| [queueUpdateSample.ts][queueupdatesample] | Creates a new queue with the specified queue name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json | +| [skusListSample.ts][skuslistsample] | Lists the available SKUs supported by Microsoft.Storage for given subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json | +| [storageAccountsAbortHierarchicalNamespaceMigrationSample.ts][storageaccountsaborthierarchicalnamespacemigrationsample] | Abort live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json | +| [storageAccountsCheckNameAvailabilitySample.ts][storageaccountschecknameavailabilitysample] | Checks that the storage account name is valid and is not already in use. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json | +| [storageAccountsCreateSample.ts][storageaccountscreatesample] | Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json | +| [storageAccountsDeleteSample.ts][storageaccountsdeletesample] | Deletes a storage account in Microsoft Azure. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json | +| [storageAccountsFailoverSample.ts][storageaccountsfailoversample] | Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json | +| [storageAccountsGetPropertiesSample.ts][storageaccountsgetpropertiessample] | Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json | +| [storageAccountsHierarchicalNamespaceMigrationSample.ts][storageaccountshierarchicalnamespacemigrationsample] | Live Migration of storage account to enable Hns x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json | +| [storageAccountsListAccountSasSample.ts][storageaccountslistaccountsassample] | List SAS credentials of a storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json | +| [storageAccountsListByResourceGroupSample.ts][storageaccountslistbyresourcegroupsample] | Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json | +| [storageAccountsListKeysSample.ts][storageaccountslistkeyssample] | Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json | +| [storageAccountsListSample.ts][storageaccountslistsample] | Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json | +| [storageAccountsListServiceSasSample.ts][storageaccountslistservicesassample] | List service SAS credentials of a specific resource. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json | +| [storageAccountsRegenerateKeySample.ts][storageaccountsregeneratekeysample] | Regenerates one of the access keys or Kerberos keys for the specified storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json | +| [storageAccountsRestoreBlobRangesSample.ts][storageaccountsrestoreblobrangessample] | Restore blobs in the specified blob ranges x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json | +| [storageAccountsRevokeUserDelegationKeysSample.ts][storageaccountsrevokeuserdelegationkeyssample] | Revoke user delegation keys. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json | +| [storageAccountsUpdateSample.ts][storageaccountsupdatesample] | The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json | +| [tableCreateSample.ts][tablecreatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json | +| [tableDeleteSample.ts][tabledeletesample] | Deletes the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json | +| [tableGetSample.ts][tablegetsample] | Gets the table with the specified table name, under the specified account if it exists. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json | +| [tableListSample.ts][tablelistsample] | Gets a list of all the tables under the specified storage account x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json | +| [tableServicesGetServicePropertiesSample.ts][tableservicesgetservicepropertiessample] | Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json | +| [tableServicesListSample.ts][tableserviceslistsample] | List all table services for the storage account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json | +| [tableServicesSetServicePropertiesSample.ts][tableservicessetservicepropertiessample] | Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json | +| [tableUpdateSample.ts][tableupdatesample] | Creates a new table with the specified table name, under the specified account. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json | +| [usagesListByLocationSample.ts][usageslistbylocationsample] | Gets the current usage count and the limit for the resources of the location under the subscription. x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json | ## Prerequisites @@ -145,96 +145,96 @@ npx cross-env node dist/blobContainersClearLegalHoldSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[blobcontainersclearlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersClearLegalHoldSample.ts -[blobcontainerscreateorupdateimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts -[blobcontainerscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateSample.ts -[blobcontainersdeleteimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts -[blobcontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteSample.ts -[blobcontainersextendimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersExtendImmutabilityPolicySample.ts -[blobcontainersgetimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetImmutabilityPolicySample.ts -[blobcontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetSample.ts -[blobcontainersleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLeaseSample.ts -[blobcontainerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersListSample.ts -[blobcontainerslockimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLockImmutabilityPolicySample.ts -[blobcontainersobjectlevelwormsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersObjectLevelWormSample.ts -[blobcontainerssetlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersSetLegalHoldSample.ts -[blobcontainersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersUpdateSample.ts -[blobinventorypoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts -[blobinventorypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesDeleteSample.ts -[blobinventorypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesGetSample.ts -[blobinventorypolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesListSample.ts -[blobservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesGetServicePropertiesSample.ts -[blobserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesListSample.ts -[blobservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesSetServicePropertiesSample.ts -[deletedaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsGetSample.ts -[deletedaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsListSample.ts -[encryptionscopesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesGetSample.ts -[encryptionscopeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesListSample.ts -[encryptionscopespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPatchSample.ts -[encryptionscopesputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPutSample.ts -[fileservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesGetServicePropertiesSample.ts -[fileserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesListSample.ts -[fileservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesSetServicePropertiesSample.ts -[filesharescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesCreateSample.ts -[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesDeleteSample.ts -[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesGetSample.ts -[filesharesleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesLeaseSample.ts -[fileshareslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesListSample.ts -[filesharesrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesRestoreSample.ts -[filesharesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesUpdateSample.ts -[localuserscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersCreateOrUpdateSample.ts -[localusersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersDeleteSample.ts -[localusersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersGetSample.ts -[localuserslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListKeysSample.ts -[localuserslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListSample.ts -[localusersregeneratepasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersRegeneratePasswordSample.ts -[managementpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesCreateOrUpdateSample.ts -[managementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesDeleteSample.ts -[managementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesGetSample.ts -[objectreplicationpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts -[objectreplicationpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesDeleteSample.ts -[objectreplicationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesGetSample.ts -[objectreplicationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesListSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/operationsListSample.ts -[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsDeleteSample.ts -[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsGetSample.ts -[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsListSample.ts -[privateendpointconnectionsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsPutSample.ts -[privatelinkresourceslistbystorageaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/privateLinkResourcesListByStorageAccountSample.ts -[queuecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueCreateSample.ts -[queuedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueDeleteSample.ts -[queuegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueGetSample.ts -[queuelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueListSample.ts -[queueservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesGetServicePropertiesSample.ts -[queueserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesListSample.ts -[queueservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesSetServicePropertiesSample.ts -[queueupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/queueUpdateSample.ts -[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/skusListSample.ts -[storageaccountsaborthierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts -[storageaccountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCheckNameAvailabilitySample.ts -[storageaccountscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCreateSample.ts -[storageaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsDeleteSample.ts -[storageaccountsfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsFailoverSample.ts -[storageaccountsgetpropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsGetPropertiesSample.ts -[storageaccountshierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts -[storageaccountslistaccountsassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListAccountSasSample.ts -[storageaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListByResourceGroupSample.ts -[storageaccountslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListKeysSample.ts -[storageaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListSample.ts -[storageaccountslistservicesassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListServiceSasSample.ts -[storageaccountsregeneratekeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRegenerateKeySample.ts -[storageaccountsrestoreblobrangessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRestoreBlobRangesSample.ts -[storageaccountsrevokeuserdelegationkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts -[storageaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsUpdateSample.ts -[tablecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableCreateSample.ts -[tabledeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableDeleteSample.ts -[tablegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableGetSample.ts -[tablelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableListSample.ts -[tableservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesGetServicePropertiesSample.ts -[tableserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesListSample.ts -[tableservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesSetServicePropertiesSample.ts -[tableupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/tableUpdateSample.ts -[usageslistbylocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v17/typescript/src/usagesListByLocationSample.ts +[blobcontainersclearlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersClearLegalHoldSample.ts +[blobcontainerscreateorupdateimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts +[blobcontainerscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateSample.ts +[blobcontainersdeleteimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts +[blobcontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteSample.ts +[blobcontainersextendimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersExtendImmutabilityPolicySample.ts +[blobcontainersgetimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetImmutabilityPolicySample.ts +[blobcontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetSample.ts +[blobcontainersleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLeaseSample.ts +[blobcontainerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersListSample.ts +[blobcontainerslockimmutabilitypolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLockImmutabilityPolicySample.ts +[blobcontainersobjectlevelwormsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersObjectLevelWormSample.ts +[blobcontainerssetlegalholdsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersSetLegalHoldSample.ts +[blobcontainersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersUpdateSample.ts +[blobinventorypoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts +[blobinventorypoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesDeleteSample.ts +[blobinventorypoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesGetSample.ts +[blobinventorypolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesListSample.ts +[blobservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesGetServicePropertiesSample.ts +[blobserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesListSample.ts +[blobservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesSetServicePropertiesSample.ts +[deletedaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsGetSample.ts +[deletedaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsListSample.ts +[encryptionscopesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesGetSample.ts +[encryptionscopeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesListSample.ts +[encryptionscopespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPatchSample.ts +[encryptionscopesputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPutSample.ts +[fileservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesGetServicePropertiesSample.ts +[fileserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesListSample.ts +[fileservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesSetServicePropertiesSample.ts +[filesharescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesCreateSample.ts +[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesDeleteSample.ts +[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesGetSample.ts +[filesharesleasesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesLeaseSample.ts +[fileshareslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesListSample.ts +[filesharesrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesRestoreSample.ts +[filesharesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesUpdateSample.ts +[localuserscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersCreateOrUpdateSample.ts +[localusersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersDeleteSample.ts +[localusersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersGetSample.ts +[localuserslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListKeysSample.ts +[localuserslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListSample.ts +[localusersregeneratepasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersRegeneratePasswordSample.ts +[managementpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesCreateOrUpdateSample.ts +[managementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesDeleteSample.ts +[managementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesGetSample.ts +[objectreplicationpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts +[objectreplicationpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesDeleteSample.ts +[objectreplicationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesGetSample.ts +[objectreplicationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesListSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/operationsListSample.ts +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsDeleteSample.ts +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsGetSample.ts +[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsListSample.ts +[privateendpointconnectionsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsPutSample.ts +[privatelinkresourceslistbystorageaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/privateLinkResourcesListByStorageAccountSample.ts +[queuecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueCreateSample.ts +[queuedeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueDeleteSample.ts +[queuegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueGetSample.ts +[queuelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueListSample.ts +[queueservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesGetServicePropertiesSample.ts +[queueserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesListSample.ts +[queueservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesSetServicePropertiesSample.ts +[queueupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/queueUpdateSample.ts +[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/skusListSample.ts +[storageaccountsaborthierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts +[storageaccountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCheckNameAvailabilitySample.ts +[storageaccountscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCreateSample.ts +[storageaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsDeleteSample.ts +[storageaccountsfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsFailoverSample.ts +[storageaccountsgetpropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsGetPropertiesSample.ts +[storageaccountshierarchicalnamespacemigrationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts +[storageaccountslistaccountsassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListAccountSasSample.ts +[storageaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListByResourceGroupSample.ts +[storageaccountslistkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListKeysSample.ts +[storageaccountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListSample.ts +[storageaccountslistservicesassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListServiceSasSample.ts +[storageaccountsregeneratekeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRegenerateKeySample.ts +[storageaccountsrestoreblobrangessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRestoreBlobRangesSample.ts +[storageaccountsrevokeuserdelegationkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts +[storageaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsUpdateSample.ts +[tablecreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableCreateSample.ts +[tabledeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableDeleteSample.ts +[tablegetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableGetSample.ts +[tablelistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableListSample.ts +[tableservicesgetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesGetServicePropertiesSample.ts +[tableserviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesListSample.ts +[tableservicessetservicepropertiessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesSetServicePropertiesSample.ts +[tableupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/tableUpdateSample.ts +[usageslistbylocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/arm-storage/samples/v18/typescript/src/usagesListByLocationSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage/README.md diff --git a/sdk/storage/arm-storage/samples/v17/typescript/package.json b/sdk/storage/arm-storage/samples/v18/typescript/package.json similarity index 97% rename from sdk/storage/arm-storage/samples/v17/typescript/package.json rename to sdk/storage/arm-storage/samples/v18/typescript/package.json index f85f412ed48b..aa55fdb695b3 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/package.json +++ b/sdk/storage/arm-storage/samples/v18/typescript/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@types/node": "^12.0.0", - "typescript": "~4.4.0", + "typescript": "~4.6.0", "rimraf": "latest" } } diff --git a/sdk/storage/arm-storage/samples/v17/typescript/sample.env b/sdk/storage/arm-storage/samples/v18/typescript/sample.env similarity index 100% rename from sdk/storage/arm-storage/samples/v17/typescript/sample.env rename to sdk/storage/arm-storage/samples/v18/typescript/sample.env diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersClearLegalHoldSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersClearLegalHoldSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersClearLegalHoldSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersClearLegalHoldSample.ts index 29bd9bc419ae..ef16e937a939 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersClearLegalHoldSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersClearLegalHoldSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. * * @summary Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json */ async function clearLegalHoldContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts index ffed53c47eef..e648292abc53 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateOrUpdateImmutabilityPolicySample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json */ async function createOrUpdateImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; @@ -50,7 +50,7 @@ createOrUpdateImmutabilityPolicy().catch(console.error); * This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. * * @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json */ async function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateSample.ts index 53300ddb57c2..c8c271d6783b 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersCreateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutDefaultEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json */ async function putContainerWithDefaultEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ putContainerWithDefaultEncryptionScope().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPutObjectLevelWorm.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutObjectLevelWorm.json */ async function putContainerWithObjectLevelWorm() { const subscriptionId = "{subscription-id}"; @@ -70,7 +70,7 @@ putContainerWithObjectLevelWorm().catch(console.error); * This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. * * @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPut.json */ async function putContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts index d379c6c0cd68..229689048017 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. * * @summary Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json */ async function deleteImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteSample.ts index 82ac9bfc0803..6662b011680d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes specified container under its account. * * @summary Deletes specified container under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json */ async function deleteContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersExtendImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersExtendImmutabilityPolicySample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersExtendImmutabilityPolicySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersExtendImmutabilityPolicySample.ts index 9c1c76b9271a..43ff3f06df4d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersExtendImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersExtendImmutabilityPolicySample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. * * @summary Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json */ async function extendImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetImmutabilityPolicySample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetImmutabilityPolicySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetImmutabilityPolicySample.ts index 02c9ba196eda..137a8e39ff77 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the existing immutability policy along with the corresponding ETag in response headers and body. * * @summary Gets the existing immutability policy along with the corresponding ETag in response headers and body. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json */ async function getImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetSample.ts similarity index 93% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetSample.ts index 16d8f17000b8..8abb1a7fa52a 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json */ async function getBlobContainersGetWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; @@ -38,7 +38,7 @@ getBlobContainersGetWithAllowProtectedAppendWritesAll().catch(console.error); * This sample demonstrates how to Gets properties of a specified container. * * @summary Gets properties of a specified container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGet.json */ async function getContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLeaseSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLeaseSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLeaseSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLeaseSample.ts index eb426988bb7f..dfc448d324a2 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLeaseSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLeaseSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json */ async function acquireALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ acquireALeaseOnAContainer().catch(console.error); * This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Break.json */ async function breakALeaseOnAContainer() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersListSample.ts index 50e3164d2177..eb62ced96fc9 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersListSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json */ async function listContainers() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ listContainers().catch(console.error); * This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. * * @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedBlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedBlobContainersList.json */ async function listDeletedContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLockImmutabilityPolicySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLockImmutabilityPolicySample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLockImmutabilityPolicySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLockImmutabilityPolicySample.ts index 86df299f638b..db7ddbfdf70f 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersLockImmutabilityPolicySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersLockImmutabilityPolicySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. * * @summary Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersLockImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json */ async function lockImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersObjectLevelWormSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersObjectLevelWormSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersObjectLevelWormSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersObjectLevelWormSample.ts index 327522fd2426..726aa3788e55 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersObjectLevelWormSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersObjectLevelWormSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. * * @summary This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/ObjectLevelWormContainerMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json */ async function versionLevelWormContainerMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersSetLegalHoldSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersSetLegalHoldSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersSetLegalHoldSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersSetLegalHoldSample.ts index 076254cb4aa6..24fea8e23683 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersSetLegalHoldSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersSetLegalHoldSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json */ async function setLegalHoldContainers() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ setLegalHoldContainers().catch(console.error); * This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. * * @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json */ async function setLegalHoldContainersWithAllowProtectedAppendWritesAll() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersUpdateSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersUpdateSample.ts index 303664ffdecc..50363dc37ce0 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobContainersUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobContainersUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. * * @summary Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json */ async function updateContainers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts similarity index 98% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts index a85509d0c78d..cb8d088aa5e4 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json */ async function storageAccountSetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; @@ -102,7 +102,7 @@ storageAccountSetBlobInventoryPolicy().catch(console.error); * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() { const subscriptionId = "{subscription-id}"; @@ -206,7 +206,7 @@ storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount().cat * This sample demonstrates how to Sets the blob inventory policy to the specified storage account. * * @summary Sets the blob inventory policy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json */ async function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesDeleteSample.ts index 883c4f357415..76438d0900d3 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the blob inventory policy associated with the specified storage account. * * @summary Deletes the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json */ async function storageAccountDeleteBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesGetSample.ts index b9de8f19101e..b5be01e92774 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesListSample.ts index 08c5f11f9c3d..38d207f56c9e 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobInventoryPoliciesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobInventoryPoliciesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the blob inventory policy associated with the specified storage account. * * @summary Gets the blob inventory policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json */ async function storageAccountGetBlobInventoryPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesGetServicePropertiesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesGetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesGetServicePropertiesSample.ts index 2ee353d700f7..f17660467a87 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json */ async function getBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesListSample.ts index 5add0898296b..2b5f6cbdd05d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List blob services of storage account. It returns a collection of one object named default. * * @summary List blob services of storage account. It returns a collection of one object named default. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json */ async function listBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesSetServicePropertiesSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesSetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesSetServicePropertiesSample.ts index f479757f32b5..533d162a0085 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/blobServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/blobServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutAllowPermanentDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json */ async function blobServicesPutAllowPermanentDelete() { const subscriptionId = "{subscription-id}"; @@ -48,7 +48,7 @@ blobServicesPutAllowPermanentDelete().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json */ async function blobServicesPutLastAccessTimeBasedTracking() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ blobServicesPutLastAccessTimeBasedTracking().catch(console.error); * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPut.json */ async function putBlobServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsGetSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsGetSample.ts index 0238a6d99b14..1797a5d0ba5c 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get properties of specified deleted account resource. * * @summary Get properties of specified deleted account resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json */ async function deletedAccountGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsListSample.ts index ab819a8f2220..c522e279f410 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/deletedAccountsListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/deletedAccountsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists deleted accounts under the subscription. * * @summary Lists deleted accounts under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json */ async function deletedAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesGetSample.ts index da0a6079f63c..5938dbd0e3fa 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Returns the properties for the specified encryption scope. * * @summary Returns the properties for the specified encryption scope. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json */ async function storageAccountGetEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesListSample.ts index 0a75662b7843..9b6467621e8d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the encryption scopes available under the specified storage account. * * @summary Lists all the encryption scopes available under the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEncryptionScopeList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json */ async function storageAccountEncryptionScopeList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPatchSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPatchSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPatchSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPatchSample.ts index 9bb7412630af..df8a57d86235 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPatchSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPatchSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. * * @summary Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPatchEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json */ async function storageAccountPatchEncryptionScope() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPutSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPutSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPutSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPutSample.ts index eca14cad7ef4..f88214cc4ea2 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/encryptionScopesPutSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/encryptionScopesPutSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json */ async function storageAccountPutEncryptionScope() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ storageAccountPutEncryptionScope().catch(console.error); * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. * * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json */ async function storageAccountPutEncryptionScopeWithInfrastructureEncryption() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesGetServicePropertiesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesGetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesGetServicePropertiesSample.ts index 3cc802fd0984..efb90f8768a7 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json */ async function getFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesListSample.ts index b104bd66cce7..54e7593596d4 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all file services in storage accounts * * @summary List all file services in storage accounts - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json */ async function listFileServices() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesSetServicePropertiesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesSetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesSetServicePropertiesSample.ts index 33e5e7e765e6..2fa73262a34e 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json */ async function putFileServices() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ putFileServices().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSMBMultichannel.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSMBMultichannel.json */ async function putFileServicesEnableSmbMultichannel() { const subscriptionId = "{subscription-id}"; @@ -103,7 +103,7 @@ putFileServicesEnableSmbMultichannel().catch(console.error); * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileServicesPut_EnableSecureSmbFeatures.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json */ async function putFileServicesEnableSecureSmbFeatures() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesCreateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesCreateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesCreateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesCreateSample.ts index b340b5281724..48add7f2e422 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesCreateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_NFS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json */ async function createNfsShares() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ createNfsShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut.json */ async function putShares() { const subscriptionId = "{subscription-id}"; @@ -65,7 +65,7 @@ putShares().catch(console.error); * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. * * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPut_AccessTier.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_AccessTier.json */ async function putSharesWithAccessTier() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesDeleteSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesDeleteSample.ts index 83a77ca7ab2b..f5a82b81bc2b 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes specified share under its account. * * @summary Deletes specified share under its account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json */ async function deleteShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesGetSample.ts similarity index 93% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesGetSample.ts index abfb0aa24b2a..5de8e724cb0f 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesGetSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet_Stats.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json */ async function getShareStats() { const subscriptionId = "{subscription-id}"; @@ -44,7 +44,7 @@ getShareStats().catch(console.error); * This sample demonstrates how to Gets properties of a specified share. * * @summary Gets properties of a specified share. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet.json */ async function getShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesLeaseSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesLeaseSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesLeaseSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesLeaseSample.ts index f1d346ec6327..339326b293a8 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesLeaseSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesLeaseSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json */ async function acquireALeaseOnAShare() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ acquireALeaseOnAShare().catch(console.error); * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. * * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Break.json */ async function breakALeaseOnAShare() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesListSample.ts similarity index 93% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesListSample.ts index ed7cec465c0e..c575667c8bbb 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesListSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/DeletedFileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json */ async function listDeletedShares() { const subscriptionId = "{subscription-id}"; @@ -45,7 +45,7 @@ listDeletedShares().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareSnapshotsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareSnapshotsList.json */ async function listShareSnapshots() { const subscriptionId = "{subscription-id}"; @@ -72,7 +72,7 @@ listShareSnapshots().catch(console.error); * This sample demonstrates how to Lists all shares. * * @summary Lists all shares. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesList.json */ async function listShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesRestoreSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesRestoreSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesRestoreSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesRestoreSample.ts index edb2df88194a..e7f648df3c8b 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesRestoreSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesRestoreSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restore a file share within a valid retention days if share soft delete is enabled * * @summary Restore a file share within a valid retention days if share soft delete is enabled - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json */ async function restoreShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesUpdateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesUpdateSample.ts index 725c3293f112..2d4c5a82b210 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/fileSharesUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/fileSharesUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileShareAclsPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json */ async function updateShareAcls() { const subscriptionId = "{subscription-id}"; @@ -51,7 +51,7 @@ updateShareAcls().catch(console.error); * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. * * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/FileSharesPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPatch.json */ async function updateShares() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersCreateOrUpdateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersCreateOrUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersCreateOrUpdateSample.ts index eca18448d2bb..c999298efa9c 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json */ async function createLocalUser() { const subscriptionId = "{subscription-id}"; @@ -50,7 +50,7 @@ createLocalUser().catch(console.error); * This sample demonstrates how to Create or update the properties of a local user associated with the storage account * * @summary Create or update the properties of a local user associated with the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json */ async function updateLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersDeleteSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersDeleteSample.ts index 50f2d2206ce2..0f3fe92a5af6 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the local user associated with the specified storage account. * * @summary Deletes the local user associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json */ async function deleteLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersGetSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersGetSample.ts index 43204bc5b0ee..8836d0f79759 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the local user of the storage account by username. * * @summary Get the local user of the storage account by username. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json */ async function getLocalUser() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListKeysSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListKeysSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListKeysSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListKeysSample.ts index 0094dde9a9b1..59ea93cd8c98 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListKeysSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List SSH authorized keys and shared key of the local user. * * @summary List SSH authorized keys and shared key of the local user. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json */ async function listLocalUserKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListSample.ts index 0ee113628657..fde6e9f238ca 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List the local users associated with the storage account. * * @summary List the local users associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json */ async function listLocalUsers() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersRegeneratePasswordSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersRegeneratePasswordSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/localUsersRegeneratePasswordSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/localUsersRegeneratePasswordSample.ts index d33d53c4f072..1c3e36e8cb14 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/localUsersRegeneratePasswordSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/localUsersRegeneratePasswordSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Regenerate the local user SSH password. * * @summary Regenerate the local user SSH password. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json */ async function regenerateLocalUserPassword() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesCreateOrUpdateSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesCreateOrUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesCreateOrUpdateSample.ts index 63f5bbd8517e..c5eef2d1996e 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json */ async function storageAccountSetManagementPolicies() { const subscriptionId = "{subscription-id}"; @@ -86,7 +86,7 @@ storageAccountSetManagementPolicies().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json */ async function storageAccountSetManagementPolicyForBlockAndAppendBlobs() { const subscriptionId = "{subscription-id}"; @@ -132,7 +132,7 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json */ async function storageAccountSetManagementPolicyWithSnapshotAndVersion() { const subscriptionId = "{subscription-id}"; @@ -190,7 +190,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error); * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json */ async function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() { const subscriptionId = "{subscription-id}"; @@ -240,7 +240,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch( * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json */ async function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() { const subscriptionId = "{subscription-id}"; @@ -292,7 +292,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch( * This sample demonstrates how to Sets the managementpolicy to the specified storage account. * * @summary Sets the managementpolicy to the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json */ async function storageAccountSetManagementPolicyLastTierChangeTimeActions() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesDeleteSample.ts index f0f8937090cb..d78f36926510 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the managementpolicy associated with the specified storage account. * * @summary Deletes the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json */ async function storageAccountDeleteManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesGetSample.ts index b0fda4678853..11dc585db316 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/managementPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/managementPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the managementpolicy associated with the specified storage account. * * @summary Gets the managementpolicy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json */ async function storageAccountGetManagementPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts index 3ea7256b4a6e..051dd25a44c1 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json */ async function storageAccountCreateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -53,7 +53,7 @@ storageAccountCreateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json */ async function storageAccountCreateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; @@ -92,7 +92,7 @@ storageAccountCreateObjectReplicationPolicyOnSource().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json */ async function storageAccountUpdateObjectReplicationPolicyOnDestination() { const subscriptionId = "{subscription-id}"; @@ -129,7 +129,7 @@ storageAccountUpdateObjectReplicationPolicyOnDestination().catch(console.error); * This sample demonstrates how to Create or update the object replication policy of the storage account. * * @summary Create or update the object replication policy of the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json */ async function storageAccountUpdateObjectReplicationPolicyOnSource() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesDeleteSample.ts index 54bf3fd0f738..c8cb74923795 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the object replication policy associated with the specified storage account. * * @summary Deletes the object replication policy associated with the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json */ async function storageAccountDeleteObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesGetSample.ts index b229682cdc6c..91d6e8cf199d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Get the object replication policy of the storage account by policy ID. * * @summary Get the object replication policy of the storage account by policy ID. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json */ async function storageAccountGetObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesListSample.ts index 280eeb894841..86c796465e83 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/objectReplicationPoliciesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/objectReplicationPoliciesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List the object replication policies associated with the storage account. * * @summary List the object replication policies associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json */ async function storageAccountListObjectReplicationPolicies() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/operationsListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/operationsListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/operationsListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/operationsListSample.ts index 949bbc1220a2..3a5c5f93cba1 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/operationsListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/operationsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all of the available Storage Rest API operations. * * @summary Lists all of the available Storage Rest API operations. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json */ async function operationsList() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsDeleteSample.ts index d0021074c438..20906fdf0a1c 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account. * * @summary Deletes the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json */ async function storageAccountDeletePrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsGetSample.ts index 39b4189cb445..e1b33fdeebca 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified private endpoint connection associated with the storage account. * * @summary Gets the specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json */ async function storageAccountGetPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsListSample.ts index 38b5f1e134e3..cd9de4ae694b 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all the private endpoint connections associated with the storage account. * * @summary List all the private endpoint connections associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json */ async function storageAccountListPrivateEndpointConnections() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsPutSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsPutSample.ts similarity index 96% rename from sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsPutSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsPutSample.ts index 018374321e82..88eb10ad578e 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/privateEndpointConnectionsPutSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/privateEndpointConnectionsPutSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update the state of specified private endpoint connection associated with the storage account. * * @summary Update the state of specified private endpoint connection associated with the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json */ async function storageAccountPutPrivateEndpointConnection() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/privateLinkResourcesListByStorageAccountSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/privateLinkResourcesListByStorageAccountSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/privateLinkResourcesListByStorageAccountSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/privateLinkResourcesListByStorageAccountSample.ts index 19ee510cfbb9..f1d859821b25 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/privateLinkResourcesListByStorageAccountSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/privateLinkResourcesListByStorageAccountSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the private link resources that need to be created for a storage account. * * @summary Gets the private link resources that need to be created for a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json */ async function storageAccountListPrivateLinkResources() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueCreateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueCreateSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueCreateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueCreateSample.ts index 0624a3145af4..43f69c583560 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueCreateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueCreateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json */ async function queueOperationPut() { const subscriptionId = "{subscription-id}"; @@ -40,7 +40,7 @@ queueOperationPut().catch(console.error); * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPutWithMetadata.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json */ async function queueOperationPutWithMetadata() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueDeleteSample.ts index d723991ffbad..a547c6b13096 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists. * * @summary Deletes the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json */ async function queueOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueGetSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueGetSample.ts index 60af48b21661..dd3320bb65f2 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the queue with the specified queue name, under the specified account if it exists. * * @summary Gets the queue with the specified queue name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json */ async function queueOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueListSample.ts index fd0cce8961a6..98685c05cd6f 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all the queues under the specified storage account * * @summary Gets a list of all the queues under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json */ async function queueOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesGetServicePropertiesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesGetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesGetServicePropertiesSample.ts index 003bab0250e0..351379fbca56 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json */ async function queueServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesListSample.ts index f66cdf72b4b4..407a984baece 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all queue services for the storage account * * @summary List all queue services for the storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json */ async function queueServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesSetServicePropertiesSample.ts similarity index 97% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesSetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesSetServicePropertiesSample.ts index adc18a881d12..75fc1566cbe0 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json */ async function queueServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/queueUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/queueUpdateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/queueUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/queueUpdateSample.ts index 9b25fc8ab655..671d6361971c 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/queueUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/queueUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account. * * @summary Creates a new queue with the specified queue name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json */ async function queueOperationPatch() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/skusListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/skusListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/skusListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/skusListSample.ts index 37bc1d84b875..f404fc950ce3 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/skusListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/skusListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription. * * @summary Lists the available SKUs supported by Microsoft.Storage for given subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json */ async function skuList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts index 547bda696b4a..2cb75e7eb9bb 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Abort live Migration of storage account to enable Hns * * @summary Abort live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json */ async function storageAccountAbortHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCheckNameAvailabilitySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCheckNameAvailabilitySample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCheckNameAvailabilitySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCheckNameAvailabilitySample.ts index cd08d0d1a138..b6ff86e9af98 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCheckNameAvailabilitySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCheckNameAvailabilitySample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Checks that the storage account name is valid and is not already in use. * * @summary Checks that the storage account name is valid and is not already in use. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json */ async function storageAccountCheckNameAvailability() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCreateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCreateSample.ts similarity index 97% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCreateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCreateSample.ts index e20ee11a14fa..ea380878dab8 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsCreateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsCreateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json */ async function nfsV3AccountCreate() { const subscriptionId = "{subscription-id}"; @@ -59,7 +59,7 @@ nfsV3AccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json */ async function storageAccountCreate() { const subscriptionId = "{subscription-id}"; @@ -109,7 +109,7 @@ storageAccountCreate().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json */ async function storageAccountCreateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -157,7 +157,7 @@ storageAccountCreateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json */ async function storageAccountCreateAllowedCopyScopeToPrivateLink() { const subscriptionId = "{subscription-id}"; @@ -205,7 +205,7 @@ storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json */ async function storageAccountCreateDisallowPublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -254,7 +254,7 @@ storageAccountCreateDisallowPublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json */ async function storageAccountCreateDnsEndpointTypeToAzureDnsZone() { const subscriptionId = "{subscription-id}"; @@ -305,7 +305,7 @@ storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json */ async function storageAccountCreateDnsEndpointTypeToStandard() { const subscriptionId = "{subscription-id}"; @@ -356,7 +356,7 @@ storageAccountCreateDnsEndpointTypeToStandard().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json */ async function storageAccountCreateEnablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -405,7 +405,7 @@ storageAccountCreateEnablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json */ async function storageAccountCreatePremiumBlockBlobStorage() { const subscriptionId = "{subscription-id}"; @@ -443,7 +443,7 @@ storageAccountCreatePremiumBlockBlobStorage().catch(console.error); * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -494,7 +494,7 @@ storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch( * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -547,7 +547,7 @@ storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch( * This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. * * @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json */ async function storageAccountCreateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsDeleteSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsDeleteSample.ts index 0694926ac98f..6d128b2f6092 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a storage account in Microsoft Azure. * * @summary Deletes a storage account in Microsoft Azure. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json */ async function storageAccountDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsFailoverSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsFailoverSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsFailoverSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsFailoverSample.ts index 2f7327985bf5..14bc2868ac7d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsFailoverSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsFailoverSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. * * @summary Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json */ async function storageAccountFailover() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsGetPropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsGetPropertiesSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsGetPropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsGetPropertiesSample.ts index fd1465828e0a..9e07f9b58cee 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsGetPropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsGetPropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json */ async function storageAccountGetAsyncSkuConversionStatus() { const subscriptionId = "{subscription-id}"; @@ -36,7 +36,7 @@ storageAccountGetAsyncSkuConversionStatus().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetProperties.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json */ async function storageAccountGetProperties() { const subscriptionId = "{subscription-id}"; @@ -57,7 +57,7 @@ storageAccountGetProperties().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKEnabled.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json */ async function storageAccountGetPropertiesCmkEnabled() { const subscriptionId = "{subscription-id}"; @@ -78,7 +78,7 @@ storageAccountGetPropertiesCmkEnabled().catch(console.error); * This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. * * @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json */ async function storageAccountGetPropertiesCmkVersionExpirationTime() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts index bb79fd0f712f..a5daae6f9144 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsHierarchicalNamespaceMigrationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Live Migration of storage account to enable Hns * * @summary Live Migration of storage account to enable Hns - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json */ async function storageAccountHierarchicalNamespaceMigration() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListAccountSasSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListAccountSasSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListAccountSasSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListAccountSasSample.ts index 33ff26becd08..ad61a1f18ffb 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListAccountSasSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListAccountSasSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List SAS credentials of a storage account. * * @summary List SAS credentials of a storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListAccountSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json */ async function storageAccountListAccountSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListByResourceGroupSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListByResourceGroupSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListByResourceGroupSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListByResourceGroupSample.ts index 9a37919d1567..479e2063ae2c 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListByResourceGroupSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListByResourceGroup.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json */ async function storageAccountListByResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListKeysSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListKeysSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListKeysSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListKeysSample.ts index 599eff5783bc..37f2e36aa942 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListKeysSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. * * @summary Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json */ async function storageAccountListKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListSample.ts index 8419463f9712..2808eda778ab 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. * * @summary Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json */ async function storageAccountList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListServiceSasSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListServiceSasSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListServiceSasSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListServiceSasSample.ts index 4a2c277a0354..12871e774a02 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsListServiceSasSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsListServiceSasSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List service SAS credentials of a specific resource. * * @summary List service SAS credentials of a specific resource. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListServiceSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json */ async function storageAccountListServiceSas() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRegenerateKeySample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRegenerateKeySample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRegenerateKeySample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRegenerateKeySample.ts index d9b753452ef0..99800c3f26f5 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRegenerateKeySample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRegenerateKeySample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKerbKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json */ async function storageAccountRegenerateKerbKey() { const subscriptionId = "{subscription-id}"; @@ -43,7 +43,7 @@ storageAccountRegenerateKerbKey().catch(console.error); * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account. * * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRegenerateKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKey.json */ async function storageAccountRegenerateKey() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRestoreBlobRangesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRestoreBlobRangesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRestoreBlobRangesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRestoreBlobRangesSample.ts index 703ccdba36d6..c77fbb5e9bee 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRestoreBlobRangesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRestoreBlobRangesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restore blobs in the specified blob ranges * * @summary Restore blobs in the specified blob ranges - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobRangesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json */ async function blobRangesRestore() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts index b5c9b8f0238f..2189829b5ee9 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsRevokeUserDelegationKeysSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Revoke user delegation keys. * * @summary Revoke user delegation keys. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountRevokeUserDelegationKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json */ async function storageAccountRevokeUserDelegationKeys() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsUpdateSample.ts similarity index 97% rename from sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsUpdateSample.ts index 2f4f760c66aa..36246d3910f2 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/storageAccountsUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/storageAccountsUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json */ async function storageAccountEnableAd() { const subscriptionId = "{subscription-id}"; @@ -55,7 +55,7 @@ storageAccountEnableAd().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountEnableCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableCMK.json */ async function storageAccountEnableCmk() { const subscriptionId = "{subscription-id}"; @@ -91,7 +91,7 @@ storageAccountEnableCmk().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdate.json */ async function storageAccountUpdate() { const subscriptionId = "{subscription-id}"; @@ -145,7 +145,7 @@ storageAccountUpdate().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json */ async function storageAccountUpdateAllowedCopyScopeToAad() { const subscriptionId = "{subscription-id}"; @@ -197,7 +197,7 @@ storageAccountUpdateAllowedCopyScopeToAad().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json */ async function storageAccountUpdateDisablePublicNetworkAccess() { const subscriptionId = "{subscription-id}"; @@ -249,7 +249,7 @@ storageAccountUpdateDisablePublicNetworkAccess().catch(console.error); * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json */ async function storageAccountUpdateUserAssignedEncryptionIdentityWithCmk() { const subscriptionId = "{subscription-id}"; @@ -299,7 +299,7 @@ storageAccountUpdateUserAssignedEncryptionIdentityWithCmk().catch( * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json */ async function storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId() { const subscriptionId = "{subscription-id}"; @@ -351,7 +351,7 @@ storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId().catch( * This sample demonstrates how to The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. * * @summary The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json */ async function storageAccountUpdateWithImmutabilityPolicy() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableCreateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableCreateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableCreateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableCreateSample.ts index 1d8240c3c3c0..2da309e2fd5d 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableCreateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableCreateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json */ async function tableOperationPut() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ tableOperationPut().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableDeleteSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableDeleteSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableDeleteSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableDeleteSample.ts index bd78b1cbeb16..ba6a98edf879 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableDeleteSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes the table with the specified table name, under the specified account if it exists. * * @summary Deletes the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json */ async function tableOperationDelete() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableGetSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableGetSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableGetSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableGetSample.ts index 29aa90c17cec..34f7bccd7056 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableGetSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the table with the specified table name, under the specified account if it exists. * * @summary Gets the table with the specified table name, under the specified account if it exists. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json */ async function tableOperationGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableListSample.ts index 659bc9263bec..84dabc7b6983 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all the tables under the specified storage account * * @summary Gets a list of all the tables under the specified storage account - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json */ async function tableOperationList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesGetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesGetServicePropertiesSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesGetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesGetServicePropertiesSample.ts index 3c736ab23703..e8d435dcab21 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesGetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesGetServicePropertiesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json */ async function tableServicesGet() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesListSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesListSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesListSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesListSample.ts index e98edaf4f164..4b9de78f6318 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesListSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to List all table services for the storage account. * * @summary List all table services for the storage account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json */ async function tableServicesList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesSetServicePropertiesSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesSetServicePropertiesSample.ts similarity index 97% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesSetServicePropertiesSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesSetServicePropertiesSample.ts index 91d95877bbe4..695004527580 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableServicesSetServicePropertiesSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableServicesSetServicePropertiesSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. * * @summary Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json */ async function tableServicesPut() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/tableUpdateSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/tableUpdateSample.ts similarity index 95% rename from sdk/storage/arm-storage/samples/v17/typescript/src/tableUpdateSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/tableUpdateSample.ts index 7120f4b553b3..d5cbc3133351 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/tableUpdateSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/tableUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json */ async function tableOperationPatch() { const subscriptionId = "{subscription-id}"; @@ -42,7 +42,7 @@ tableOperationPatch().catch(console.error); * This sample demonstrates how to Creates a new table with the specified table name, under the specified account. * * @summary Creates a new table with the specified table name, under the specified account. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/TableOperationPutOrPatchAcls.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json */ async function tableOperationPutOrPatchAcls() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/src/usagesListByLocationSample.ts b/sdk/storage/arm-storage/samples/v18/typescript/src/usagesListByLocationSample.ts similarity index 94% rename from sdk/storage/arm-storage/samples/v17/typescript/src/usagesListByLocationSample.ts rename to sdk/storage/arm-storage/samples/v18/typescript/src/usagesListByLocationSample.ts index 41796a51e215..89e619a63f9e 100644 --- a/sdk/storage/arm-storage/samples/v17/typescript/src/usagesListByLocationSample.ts +++ b/sdk/storage/arm-storage/samples/v18/typescript/src/usagesListByLocationSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the current usage count and the limit for the resources of the location under the subscription. * * @summary Gets the current usage count and the limit for the resources of the location under the subscription. - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListLocationUsage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json */ async function usageList() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/storage/arm-storage/samples/v17/typescript/tsconfig.json b/sdk/storage/arm-storage/samples/v18/typescript/tsconfig.json similarity index 100% rename from sdk/storage/arm-storage/samples/v17/typescript/tsconfig.json rename to sdk/storage/arm-storage/samples/v18/typescript/tsconfig.json diff --git a/sdk/storage/arm-storage/src/models/index.ts b/sdk/storage/arm-storage/src/models/index.ts index 21f8b965f7f2..987a9ceb41e7 100644 --- a/sdk/storage/arm-storage/src/models/index.ts +++ b/sdk/storage/arm-storage/src/models/index.ts @@ -313,7 +313,7 @@ export interface Encryption { /** List of services which support encryption. */ services?: EncryptionServices; /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault */ - keySource: KeySource; + keySource?: KeySource; /** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */ requireInfrastructureEncryption?: boolean; /** Properties provided by key vault. */ @@ -422,9 +422,9 @@ export interface IPRule { /** Settings for Azure Files identity based authentication. */ export interface AzureFilesIdentityBasedAuthentication { - /** Indicates the directory service used. */ + /** Indicates the directory service used. Note that this enum may be extended in the future. */ directoryServiceOptions: DirectoryServiceOptions; - /** Required if choose AD. */ + /** Required if directoryServiceOptions are AD, optional if they are AADKERB. */ activeDirectoryProperties?: ActiveDirectoryProperties; /** Default share permission for users using Kerberos authentication if RBAC role is not assigned. */ defaultSharePermission?: DefaultSharePermission; @@ -435,19 +435,19 @@ export interface ActiveDirectoryProperties { /** Specifies the primary domain that the AD DNS server is authoritative for. */ domainName: string; /** Specifies the NetBIOS domain name. */ - netBiosDomainName: string; + netBiosDomainName?: string; /** Specifies the Active Directory forest to get. */ - forestName: string; + forestName?: string; /** Specifies the domain GUID. */ domainGuid: string; /** Specifies the security identifier (SID). */ - domainSid: string; + domainSid?: string; /** Specifies the security identifier (SID) for Azure Storage. */ - azureStorageSid: string; + azureStorageSid?: string; /** Specifies the Active Directory SAMAccountName for Azure Storage. */ samAccountName?: string; /** Specifies the Active Directory account type for Azure Storage. */ - accountType?: ActiveDirectoryPropertiesAccountType; + accountType?: AccountType; } /** Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing */ @@ -1292,7 +1292,7 @@ export interface CorsRule { /** Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains */ allowedOrigins: string[]; /** Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. */ - allowedMethods: CorsRuleAllowedMethodsItem[]; + allowedMethods: AllowedMethods[]; /** Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. */ maxAgeInSeconds: number; /** Required if CorsRule element is present. A list of response headers to expose to CORS clients. */ @@ -1687,7 +1687,7 @@ export interface ListTableResource { } /** The Private Endpoint Connection resource. */ -export type PrivateEndpointConnection = Resource & { +export interface PrivateEndpointConnection extends Resource { /** The resource of private end point. */ privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ @@ -1697,21 +1697,21 @@ export type PrivateEndpointConnection = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -}; +} /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string }; /** The geo-location where the resource lives */ location: string; -}; +} /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export type ProxyResource = Resource; +export interface ProxyResource extends Resource {} /** The Get Storage Account ManagementPolicies operation response. */ -export type ManagementPolicy = Resource & { +export interface ManagementPolicy extends Resource { /** * Returns the date and time the ManagementPolicies was last modified. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1719,10 +1719,10 @@ export type ManagementPolicy = Resource & { readonly lastModifiedTime?: Date; /** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */ policy?: ManagementPolicySchema; -}; +} /** The storage account blob inventory policy. */ -export type BlobInventoryPolicy = Resource & { +export interface BlobInventoryPolicy extends Resource { /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1735,10 +1735,10 @@ export type BlobInventoryPolicy = Resource & { readonly lastModifiedTime?: Date; /** The storage account blob inventory policy object. It is composed of policy rules. */ policy?: BlobInventoryPolicySchema; -}; +} /** A private link resource */ -export type PrivateLinkResource = Resource & { +export interface PrivateLinkResource extends Resource { /** * The private link resource group id. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1751,10 +1751,10 @@ export type PrivateLinkResource = Resource & { readonly requiredMembers?: string[]; /** The private link resource Private link DNS zone name. */ requiredZoneNames?: string[]; -}; +} /** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */ -export type ObjectReplicationPolicy = Resource & { +export interface ObjectReplicationPolicy extends Resource { /** * A unique id for object replication policy. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1771,10 +1771,10 @@ export type ObjectReplicationPolicy = Resource & { destinationAccount?: string; /** The storage account object replication rules. */ rules?: ObjectReplicationPolicyRule[]; -}; +} /** The local user associated with the storage accounts. */ -export type LocalUser = Resource & { +export interface LocalUser extends Resource { /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1797,10 +1797,10 @@ export type LocalUser = Resource & { hasSshKey?: boolean; /** Indicates whether ssh password exists. Set it to false to remove existing SSH password. */ hasSshPassword?: boolean; -}; +} /** The Encryption Scope resource. */ -export type EncryptionScope = Resource & { +export interface EncryptionScope extends Resource { /** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */ source?: EncryptionScopeSource; /** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */ @@ -1819,10 +1819,10 @@ export type EncryptionScope = Resource & { keyVaultProperties?: EncryptionScopeKeyVaultProperties; /** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */ requireInfrastructureEncryption?: boolean; -}; +} /** The properties of a storage account’s Blob service. */ -export type BlobServiceProperties = Resource & { +export interface BlobServiceProperties extends Resource { /** * Sku name and tier. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1846,19 +1846,19 @@ export type BlobServiceProperties = Resource & { containerDeleteRetentionPolicy?: DeleteRetentionPolicy; /** The blob service property to configure last access time based tracking policy. */ lastAccessTimeTrackingPolicy?: LastAccessTimeTrackingPolicy; -}; +} /** The resource model definition for an Azure Resource Manager resource with an etag. */ -export type AzureEntityResource = Resource & { +export interface AzureEntityResource extends Resource { /** * Resource Etag. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly etag?: string; -}; +} /** The properties of File services in storage account. */ -export type FileServiceProperties = Resource & { +export interface FileServiceProperties extends Resource { /** * Sku name and tier. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1870,15 +1870,15 @@ export type FileServiceProperties = Resource & { shareDeleteRetentionPolicy?: DeleteRetentionPolicy; /** Protocol settings for file service */ protocolSettings?: ProtocolSettings; -}; +} /** The properties of a storage account’s Queue service. */ -export type QueueServiceProperties = Resource & { +export interface QueueServiceProperties extends Resource { /** Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. */ cors?: CorsRules; -}; +} -export type StorageQueue = Resource & { +export interface StorageQueue extends Resource { /** A name-value pair that represents queue metadata. */ metadata?: { [propertyName: string]: string }; /** @@ -1886,21 +1886,21 @@ export type StorageQueue = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly approximateMessageCount?: number; -}; +} -export type ListQueue = Resource & { +export interface ListQueue extends Resource { /** A name-value pair that represents queue metadata. */ metadata?: { [propertyName: string]: string }; -}; +} /** The properties of a storage account’s Table service. */ -export type TableServiceProperties = Resource & { +export interface TableServiceProperties extends Resource { /** Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service. */ cors?: CorsRules; -}; +} /** Properties of the table, including Id, resource name, resource type. */ -export type Table = Resource & { +export interface Table extends Resource { /** * Table name under the specified account * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1908,10 +1908,10 @@ export type Table = Resource & { readonly tableName?: string; /** List of stored access policies specified on the table. */ signedIdentifiers?: TableSignedIdentifier[]; -}; +} /** The storage account. */ -export type StorageAccount = TrackedResource & { +export interface StorageAccount extends TrackedResource { /** * Gets the SKU. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2062,10 +2062,10 @@ export type StorageAccount = TrackedResource & { storageAccountSkuConversionStatus?: StorageAccountSkuConversionStatus; /** Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. */ dnsEndpointType?: DnsEndpointType; -}; +} /** Deleted storage account */ -export type DeletedAccount = ProxyResource & { +export interface DeletedAccount extends ProxyResource { /** * Full resource id of the original storage account. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2091,10 +2091,10 @@ export type DeletedAccount = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deletionTime?: string; -}; +} /** The blob container properties be listed out. */ -export type ListContainerItem = AzureEntityResource & { +export interface ListContainerItem extends AzureEntityResource { /** * The version of the deleted blob container. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2169,10 +2169,10 @@ export type ListContainerItem = AzureEntityResource & { enableNfsV3RootSquash?: boolean; /** Enable NFSv3 all squash on blob container. */ enableNfsV3AllSquash?: boolean; -}; +} /** Properties of the blob container, including Id, resource name, resource type, Etag. */ -export type BlobContainer = AzureEntityResource & { +export interface BlobContainer extends AzureEntityResource { /** * The version of the deleted blob container. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2247,10 +2247,10 @@ export type BlobContainer = AzureEntityResource & { enableNfsV3RootSquash?: boolean; /** Enable NFSv3 all squash on blob container. */ enableNfsV3AllSquash?: boolean; -}; +} /** The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. */ -export type ImmutabilityPolicy = AzureEntityResource & { +export interface ImmutabilityPolicy extends AzureEntityResource { /** The immutability period for the blobs in the container since the policy creation, in days. */ immutabilityPeriodSinceCreationInDays?: number; /** @@ -2262,10 +2262,10 @@ export type ImmutabilityPolicy = AzureEntityResource & { allowProtectedAppendWrites?: boolean; /** This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. */ allowProtectedAppendWritesAll?: boolean; -}; +} /** The file share properties be listed out. */ -export type FileShareItem = AzureEntityResource & { +export interface FileShareItem extends AzureEntityResource { /** * Returns the date and time the share was last modified. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2338,10 +2338,10 @@ export type FileShareItem = AzureEntityResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly snapshotTime?: Date; -}; +} /** Properties of the file share, including Id, resource name, resource type, Etag. */ -export type FileShare = AzureEntityResource & { +export interface FileShare extends AzureEntityResource { /** * Returns the date and time the share was last modified. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2414,7 +2414,7 @@ export type FileShare = AzureEntityResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly snapshotTime?: Date; -}; +} /** Defines headers for BlobContainers_createOrUpdateImmutabilityPolicy operation. */ export interface BlobContainersCreateOrUpdateImmutabilityPolicyHeaders { @@ -2454,13 +2454,21 @@ export interface FileSharesLeaseHeaders { /** Known values of {@link SkuName} that the service accepts. */ export enum KnownSkuName { + /** StandardLRS */ StandardLRS = "Standard_LRS", + /** StandardGRS */ StandardGRS = "Standard_GRS", + /** StandardRagrs */ StandardRagrs = "Standard_RAGRS", + /** StandardZRS */ StandardZRS = "Standard_ZRS", + /** PremiumLRS */ PremiumLRS = "Premium_LRS", + /** PremiumZRS */ PremiumZRS = "Premium_ZRS", + /** StandardGzrs */ StandardGzrs = "Standard_GZRS", + /** StandardRagzrs */ StandardRagzrs = "Standard_RAGZRS" } @@ -2482,10 +2490,15 @@ export type SkuName = string; /** Known values of {@link Kind} that the service accepts. */ export enum KnownKind { + /** Storage */ Storage = "Storage", + /** StorageV2 */ StorageV2 = "StorageV2", + /** BlobStorage */ BlobStorage = "BlobStorage", + /** FileStorage */ FileStorage = "FileStorage", + /** BlockBlobStorage */ BlockBlobStorage = "BlockBlobStorage" } @@ -2504,7 +2517,9 @@ export type Kind = string; /** Known values of {@link ReasonCode} that the service accepts. */ export enum KnownReasonCode { + /** QuotaId */ QuotaId = "QuotaId", + /** NotAvailableForSubscription */ NotAvailableForSubscription = "NotAvailableForSubscription" } @@ -2520,6 +2535,7 @@ export type ReasonCode = string; /** Known values of {@link ExtendedLocationTypes} that the service accepts. */ export enum KnownExtendedLocationTypes { + /** EdgeZone */ EdgeZone = "EdgeZone" } @@ -2534,9 +2550,13 @@ export type ExtendedLocationTypes = string; /** Known values of {@link IdentityType} that the service accepts. */ export enum KnownIdentityType { + /** None */ None = "None", + /** SystemAssigned */ SystemAssigned = "SystemAssigned", + /** UserAssigned */ UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" } @@ -2554,7 +2574,9 @@ export type IdentityType = string; /** Known values of {@link AllowedCopyScope} that the service accepts. */ export enum KnownAllowedCopyScope { + /** PrivateLink */ PrivateLink = "PrivateLink", + /** AAD */ AAD = "AAD" } @@ -2570,7 +2592,9 @@ export type AllowedCopyScope = string; /** Known values of {@link PublicNetworkAccess} that the service accepts. */ export enum KnownPublicNetworkAccess { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -2586,6 +2610,7 @@ export type PublicNetworkAccess = string; /** Known values of {@link ExpirationAction} that the service accepts. */ export enum KnownExpirationAction { + /** Log */ Log = "Log" } @@ -2600,7 +2625,9 @@ export type ExpirationAction = string; /** Known values of {@link KeyType} that the service accepts. */ export enum KnownKeyType { + /** Service */ Service = "Service", + /** Account */ Account = "Account" } @@ -2616,7 +2643,9 @@ export type KeyType = string; /** Known values of {@link KeySource} that the service accepts. */ export enum KnownKeySource { + /** MicrosoftStorage */ MicrosoftStorage = "Microsoft.Storage", + /** MicrosoftKeyvault */ MicrosoftKeyvault = "Microsoft.Keyvault" } @@ -2632,9 +2661,13 @@ export type KeySource = string; /** Known values of {@link Bypass} that the service accepts. */ export enum KnownBypass { + /** None */ None = "None", + /** Logging */ Logging = "Logging", + /** Metrics */ Metrics = "Metrics", + /** AzureServices */ AzureServices = "AzureServices" } @@ -2652,10 +2685,15 @@ export type Bypass = string; /** Known values of {@link State} that the service accepts. */ export enum KnownState { + /** Provisioning */ Provisioning = "Provisioning", + /** Deprovisioning */ Deprovisioning = "Deprovisioning", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed", + /** NetworkSourceDeleted */ NetworkSourceDeleted = "NetworkSourceDeleted" } @@ -2674,9 +2712,14 @@ export type State = string; /** Known values of {@link DirectoryServiceOptions} that the service accepts. */ export enum KnownDirectoryServiceOptions { + /** None */ None = "None", + /** Aadds */ Aadds = "AADDS", - AD = "AD" + /** AD */ + AD = "AD", + /** Aadkerb */ + Aadkerb = "AADKERB" } /** @@ -2686,31 +2729,38 @@ export enum KnownDirectoryServiceOptions { * ### Known values supported by the service * **None** \ * **AADDS** \ - * **AD** + * **AD** \ + * **AADKERB** */ export type DirectoryServiceOptions = string; -/** Known values of {@link ActiveDirectoryPropertiesAccountType} that the service accepts. */ -export enum KnownActiveDirectoryPropertiesAccountType { +/** Known values of {@link AccountType} that the service accepts. */ +export enum KnownAccountType { + /** User */ User = "User", + /** Computer */ Computer = "Computer" } /** - * Defines values for ActiveDirectoryPropertiesAccountType. \ - * {@link KnownActiveDirectoryPropertiesAccountType} can be used interchangeably with ActiveDirectoryPropertiesAccountType, + * Defines values for AccountType. \ + * {@link KnownAccountType} can be used interchangeably with AccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User** \ * **Computer** */ -export type ActiveDirectoryPropertiesAccountType = string; +export type AccountType = string; /** Known values of {@link DefaultSharePermission} that the service accepts. */ export enum KnownDefaultSharePermission { + /** None */ None = "None", + /** StorageFileDataSmbShareReader */ StorageFileDataSmbShareReader = "StorageFileDataSmbShareReader", + /** StorageFileDataSmbShareContributor */ StorageFileDataSmbShareContributor = "StorageFileDataSmbShareContributor", + /** StorageFileDataSmbShareElevatedContributor */ StorageFileDataSmbShareElevatedContributor = "StorageFileDataSmbShareElevatedContributor" } @@ -2728,7 +2778,9 @@ export type DefaultSharePermission = string; /** Known values of {@link LargeFileSharesState} that the service accepts. */ export enum KnownLargeFileSharesState { + /** Disabled */ Disabled = "Disabled", + /** Enabled */ Enabled = "Enabled" } @@ -2744,7 +2796,9 @@ export type LargeFileSharesState = string; /** Known values of {@link RoutingChoice} that the service accepts. */ export enum KnownRoutingChoice { + /** MicrosoftRouting */ MicrosoftRouting = "MicrosoftRouting", + /** InternetRouting */ InternetRouting = "InternetRouting" } @@ -2760,8 +2814,11 @@ export type RoutingChoice = string; /** Known values of {@link MinimumTlsVersion} that the service accepts. */ export enum KnownMinimumTlsVersion { + /** TLS10 */ TLS10 = "TLS1_0", + /** TLS11 */ TLS11 = "TLS1_1", + /** TLS12 */ TLS12 = "TLS1_2" } @@ -2778,8 +2835,11 @@ export type MinimumTlsVersion = string; /** Known values of {@link AccountImmutabilityPolicyState} that the service accepts. */ export enum KnownAccountImmutabilityPolicyState { + /** Unlocked */ Unlocked = "Unlocked", + /** Locked */ Locked = "Locked", + /** Disabled */ Disabled = "Disabled" } @@ -2796,7 +2856,9 @@ export type AccountImmutabilityPolicyState = string; /** Known values of {@link DnsEndpointType} that the service accepts. */ export enum KnownDnsEndpointType { + /** Standard */ Standard = "Standard", + /** AzureDnsZone */ AzureDnsZone = "AzureDnsZone" } @@ -2812,8 +2874,11 @@ export type DnsEndpointType = string; /** Known values of {@link GeoReplicationStatus} that the service accepts. */ export enum KnownGeoReplicationStatus { + /** Live */ Live = "Live", + /** Bootstrap */ Bootstrap = "Bootstrap", + /** Unavailable */ Unavailable = "Unavailable" } @@ -2830,8 +2895,11 @@ export type GeoReplicationStatus = string; /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ export enum KnownPrivateEndpointServiceConnectionStatus { + /** Pending */ Pending = "Pending", + /** Approved */ Approved = "Approved", + /** Rejected */ Rejected = "Rejected" } @@ -2848,9 +2916,13 @@ export type PrivateEndpointServiceConnectionStatus = string; /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ Succeeded = "Succeeded", + /** Creating */ Creating = "Creating", + /** Deleting */ Deleting = "Deleting", + /** Failed */ Failed = "Failed" } @@ -2868,8 +2940,11 @@ export type PrivateEndpointConnectionProvisioningState = string; /** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */ export enum KnownBlobRestoreProgressStatus { + /** InProgress */ InProgress = "InProgress", + /** Complete */ Complete = "Complete", + /** Failed */ Failed = "Failed" } @@ -2886,8 +2961,11 @@ export type BlobRestoreProgressStatus = string; /** Known values of {@link SkuConversionStatus} that the service accepts. */ export enum KnownSkuConversionStatus { + /** InProgress */ InProgress = "InProgress", + /** Succeeded */ Succeeded = "Succeeded", + /** Failed */ Failed = "Failed" } @@ -2904,9 +2982,13 @@ export type SkuConversionStatus = string; /** Known values of {@link Services} that the service accepts. */ export enum KnownServices { + /** B */ B = "b", + /** Q */ Q = "q", + /** T */ T = "t", + /** F */ F = "f" } @@ -2924,8 +3006,11 @@ export type Services = string; /** Known values of {@link SignedResourceTypes} that the service accepts. */ export enum KnownSignedResourceTypes { + /** S */ S = "s", + /** C */ C = "c", + /** O */ O = "o" } @@ -2942,13 +3027,21 @@ export type SignedResourceTypes = string; /** Known values of {@link Permissions} that the service accepts. */ export enum KnownPermissions { + /** R */ R = "r", + /** D */ D = "d", + /** W */ W = "w", + /** L */ L = "l", + /** A */ A = "a", + /** C */ C = "c", + /** U */ U = "u", + /** P */ P = "p" } @@ -2970,9 +3063,13 @@ export type Permissions = string; /** Known values of {@link SignedResource} that the service accepts. */ export enum KnownSignedResource { + /** B */ B = "b", + /** C */ C = "c", + /** F */ F = "f", + /** S */ S = "s" } @@ -2990,6 +3087,7 @@ export type SignedResource = string; /** Known values of {@link ManagementPolicyName} that the service accepts. */ export enum KnownManagementPolicyName { + /** Default */ Default = "default" } @@ -3004,6 +3102,7 @@ export type ManagementPolicyName = string; /** Known values of {@link RuleType} that the service accepts. */ export enum KnownRuleType { + /** Lifecycle */ Lifecycle = "Lifecycle" } @@ -3018,6 +3117,7 @@ export type RuleType = string; /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */ export enum KnownBlobInventoryPolicyName { + /** Default */ Default = "default" } @@ -3032,6 +3132,7 @@ export type BlobInventoryPolicyName = string; /** Known values of {@link InventoryRuleType} that the service accepts. */ export enum KnownInventoryRuleType { + /** Inventory */ Inventory = "Inventory" } @@ -3046,7 +3147,9 @@ export type InventoryRuleType = string; /** Known values of {@link Format} that the service accepts. */ export enum KnownFormat { + /** Csv */ Csv = "Csv", + /** Parquet */ Parquet = "Parquet" } @@ -3062,7 +3165,9 @@ export type Format = string; /** Known values of {@link Schedule} that the service accepts. */ export enum KnownSchedule { + /** Daily */ Daily = "Daily", + /** Weekly */ Weekly = "Weekly" } @@ -3078,7 +3183,9 @@ export type Schedule = string; /** Known values of {@link ObjectType} that the service accepts. */ export enum KnownObjectType { + /** Blob */ Blob = "Blob", + /** Container */ Container = "Container" } @@ -3094,9 +3201,13 @@ export type ObjectType = string; /** Known values of {@link CreatedByType} that the service accepts. */ export enum KnownCreatedByType { + /** User */ User = "User", + /** Application */ Application = "Application", + /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", + /** Key */ Key = "Key" } @@ -3114,7 +3225,9 @@ export type CreatedByType = string; /** Known values of {@link EncryptionScopeSource} that the service accepts. */ export enum KnownEncryptionScopeSource { + /** MicrosoftStorage */ MicrosoftStorage = "Microsoft.Storage", + /** MicrosoftKeyVault */ MicrosoftKeyVault = "Microsoft.KeyVault" } @@ -3130,7 +3243,9 @@ export type EncryptionScopeSource = string; /** Known values of {@link EncryptionScopeState} that the service accepts. */ export enum KnownEncryptionScopeState { + /** Enabled */ Enabled = "Enabled", + /** Disabled */ Disabled = "Disabled" } @@ -3144,21 +3259,29 @@ export enum KnownEncryptionScopeState { */ export type EncryptionScopeState = string; -/** Known values of {@link CorsRuleAllowedMethodsItem} that the service accepts. */ -export enum KnownCorsRuleAllowedMethodsItem { +/** Known values of {@link AllowedMethods} that the service accepts. */ +export enum KnownAllowedMethods { + /** Delete */ Delete = "DELETE", + /** GET */ GET = "GET", + /** Head */ Head = "HEAD", + /** Merge */ Merge = "MERGE", + /** Post */ Post = "POST", + /** Options */ Options = "OPTIONS", + /** PUT */ PUT = "PUT", + /** Patch */ Patch = "PATCH" } /** - * Defines values for CorsRuleAllowedMethodsItem. \ - * {@link KnownCorsRuleAllowedMethodsItem} can be used interchangeably with CorsRuleAllowedMethodsItem, + * Defines values for AllowedMethods. \ + * {@link KnownAllowedMethods} can be used interchangeably with AllowedMethods, * this enum contains the known values that the service supports. * ### Known values supported by the service * **DELETE** \ @@ -3170,10 +3293,11 @@ export enum KnownCorsRuleAllowedMethodsItem { * **PUT** \ * **PATCH** */ -export type CorsRuleAllowedMethodsItem = string; +export type AllowedMethods = string; /** Known values of {@link Name} that the service accepts. */ export enum KnownName { + /** AccessTimeTracking */ AccessTimeTracking = "AccessTimeTracking" } @@ -3188,6 +3312,7 @@ export type Name = string; /** Known values of {@link ListContainersInclude} that the service accepts. */ export enum KnownListContainersInclude { + /** Deleted */ Deleted = "deleted" } @@ -3202,7 +3327,9 @@ export type ListContainersInclude = string; /** Known values of {@link LeaseStatus} that the service accepts. */ export enum KnownLeaseStatus { + /** Locked */ Locked = "Locked", + /** Unlocked */ Unlocked = "Unlocked" } @@ -3218,10 +3345,15 @@ export type LeaseStatus = string; /** Known values of {@link LeaseState} that the service accepts. */ export enum KnownLeaseState { + /** Available */ Available = "Available", + /** Leased */ Leased = "Leased", + /** Expired */ Expired = "Expired", + /** Breaking */ Breaking = "Breaking", + /** Broken */ Broken = "Broken" } @@ -3240,7 +3372,9 @@ export type LeaseState = string; /** Known values of {@link LeaseDuration} that the service accepts. */ export enum KnownLeaseDuration { + /** Infinite */ Infinite = "Infinite", + /** Fixed */ Fixed = "Fixed" } @@ -3256,7 +3390,9 @@ export type LeaseDuration = string; /** Known values of {@link ImmutabilityPolicyState} that the service accepts. */ export enum KnownImmutabilityPolicyState { + /** Locked */ Locked = "Locked", + /** Unlocked */ Unlocked = "Unlocked" } @@ -3272,8 +3408,11 @@ export type ImmutabilityPolicyState = string; /** Known values of {@link ImmutabilityPolicyUpdateType} that the service accepts. */ export enum KnownImmutabilityPolicyUpdateType { + /** Put */ Put = "put", + /** Lock */ Lock = "lock", + /** Extend */ Extend = "extend" } @@ -3290,7 +3429,9 @@ export type ImmutabilityPolicyUpdateType = string; /** Known values of {@link MigrationState} that the service accepts. */ export enum KnownMigrationState { + /** InProgress */ InProgress = "InProgress", + /** Completed */ Completed = "Completed" } @@ -3306,10 +3447,15 @@ export type MigrationState = string; /** Known values of {@link LeaseContainerRequestAction} that the service accepts. */ export enum KnownLeaseContainerRequestAction { + /** Acquire */ Acquire = "Acquire", + /** Renew */ Renew = "Renew", + /** Change */ Change = "Change", + /** Release */ Release = "Release", + /** Break */ Break = "Break" } @@ -3328,7 +3474,9 @@ export type LeaseContainerRequestAction = string; /** Known values of {@link EnabledProtocols} that the service accepts. */ export enum KnownEnabledProtocols { + /** SMB */ SMB = "SMB", + /** NFS */ NFS = "NFS" } @@ -3344,8 +3492,11 @@ export type EnabledProtocols = string; /** Known values of {@link RootSquashType} that the service accepts. */ export enum KnownRootSquashType { + /** NoRootSquash */ NoRootSquash = "NoRootSquash", + /** RootSquash */ RootSquash = "RootSquash", + /** AllSquash */ AllSquash = "AllSquash" } @@ -3362,9 +3513,13 @@ export type RootSquashType = string; /** Known values of {@link ShareAccessTier} that the service accepts. */ export enum KnownShareAccessTier { + /** TransactionOptimized */ TransactionOptimized = "TransactionOptimized", + /** Hot */ Hot = "Hot", + /** Cool */ Cool = "Cool", + /** Premium */ Premium = "Premium" } @@ -3382,10 +3537,15 @@ export type ShareAccessTier = string; /** Known values of {@link LeaseShareAction} that the service accepts. */ export enum KnownLeaseShareAction { + /** Acquire */ Acquire = "Acquire", + /** Renew */ Renew = "Renew", + /** Change */ Change = "Change", + /** Release */ Release = "Release", + /** Break */ Break = "Break" } diff --git a/sdk/storage/arm-storage/src/models/mappers.ts b/sdk/storage/arm-storage/src/models/mappers.ts index 4bd5fa4bb20b..a24c763b7d83 100644 --- a/sdk/storage/arm-storage/src/models/mappers.ts +++ b/sdk/storage/arm-storage/src/models/mappers.ts @@ -799,7 +799,6 @@ export const Encryption: coreClient.CompositeMapper = { keySource: { defaultValue: "Microsoft.Storage", serializedName: "keySource", - required: true, type: { name: "String" } @@ -1141,14 +1140,12 @@ export const ActiveDirectoryProperties: coreClient.CompositeMapper = { }, netBiosDomainName: { serializedName: "netBiosDomainName", - required: true, type: { name: "String" } }, forestName: { serializedName: "forestName", - required: true, type: { name: "String" } @@ -1162,14 +1159,12 @@ export const ActiveDirectoryProperties: coreClient.CompositeMapper = { }, domainSid: { serializedName: "domainSid", - required: true, type: { name: "String" } }, azureStorageSid: { serializedName: "azureStorageSid", - required: true, type: { name: "String" } diff --git a/sdk/storage/arm-storage/src/models/parameters.ts b/sdk/storage/arm-storage/src/models/parameters.ts index c19d7df4a995..ccd80e0e79c6 100644 --- a/sdk/storage/arm-storage/src/models/parameters.ts +++ b/sdk/storage/arm-storage/src/models/parameters.ts @@ -67,7 +67,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-09-01", + defaultValue: "2022-05-01", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/storage/arm-storage/src/storageManagementClient.ts b/sdk/storage/arm-storage/src/storageManagementClient.ts index dab492ff0dd2..f272dab7c2cd 100644 --- a/sdk/storage/arm-storage/src/storageManagementClient.ts +++ b/sdk/storage/arm-storage/src/storageManagementClient.ts @@ -92,7 +92,7 @@ export class StorageManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-storage/17.2.2`; + const packageDetails = `azsdk-js-arm-storage/18.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -112,34 +112,41 @@ export class StorageManagementClient extends coreClient.ServiceClient { }; super(optionsWithDefaults); + let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); - const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName ); - if (!bearerTokenAuthenticationPolicyFound) { - this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName - }); - this.pipeline.addPolicy( - coreRestPipeline.bearerTokenAuthenticationPolicy({ - scopes: `${optionsWithDefaults.baseUri}/.default`, - challengeCallbacks: { - authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) - ); - } + } + 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}`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); } // Parameter assignments this.subscriptionId = subscriptionId; // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2021-09-01"; + this.apiVersion = options.apiVersion || "2022-05-01"; this.operations = new OperationsImpl(this); this.skus = new SkusImpl(this); this.storageAccounts = new StorageAccountsImpl(this); @@ -180,7 +187,7 @@ export class StorageManagementClient extends coreClient.ServiceClient { if (param.length > 1) { const newParams = param[1].split("&").map((item) => { if (item.indexOf("api-version") > -1) { - return item.replace(/(?<==).*$/, apiVersion); + return "api-version=" + apiVersion; } else { return item; } diff --git a/sdk/storage/arm-storage/test/sampleTest.ts b/sdk/storage/arm-storage/test/sampleTest.ts deleted file mode 100644 index 25aeb3ebcc36..000000000000 --- a/sdk/storage/arm-storage/test/sampleTest.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - Recorder, - RecorderStartOptions, - env -} from "@azure-tools/test-recorder"; -import { assert } from "chai"; -import { Context } from "mocha"; - -const replaceableVariables: Record = { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" -}; - -const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables -}; - -describe("My test", () => { - let recorder: Recorder; - - beforeEach(async function(this: Context) { - recorder = new Recorder(this.currentTest); - await recorder.start(recorderOptions); - }); - - afterEach(async function() { - await recorder.stop(); - }); - - it("sample test", async function() { - console.log("Hi, I'm a test!"); - }); -}); diff --git a/sdk/storage/arm-storage/test/storage_examples.ts b/sdk/storage/arm-storage/test/storage_examples.ts index 36ac4431c2be..849a06fd7aa7 100644 --- a/sdk/storage/arm-storage/test/storage_examples.ts +++ b/sdk/storage/arm-storage/test/storage_examples.ts @@ -84,7 +84,7 @@ describe("Storage test", () => { key2: "value2", } }, testPollingOptions) - assert.equal(res.name,storageAccountName) + assert.equal(res.name, storageAccountName) }); it("blobContainers create test", async function () {