@azure/arm-storage 17.2.2-alpha.20220616.1 → 18.0.1-alpha.20220822.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +40 -1
  2. package/dist/index.js +198 -39
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js +1 -1
  7. package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +2 -2
  8. package/dist-esm/samples-dev/blobContainersCreateSample.js +3 -3
  9. package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +1 -1
  10. package/dist-esm/samples-dev/blobContainersDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +1 -1
  12. package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +1 -1
  13. package/dist-esm/samples-dev/blobContainersGetSample.js +2 -2
  14. package/dist-esm/samples-dev/blobContainersLeaseSample.js +2 -2
  15. package/dist-esm/samples-dev/blobContainersListSample.js +2 -2
  16. package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +1 -1
  17. package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +1 -1
  18. package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +2 -2
  19. package/dist-esm/samples-dev/blobContainersUpdateSample.js +1 -1
  20. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +3 -3
  21. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +1 -1
  23. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +1 -1
  24. package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +1 -1
  25. package/dist-esm/samples-dev/blobServicesListSample.js +1 -1
  26. package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +3 -3
  27. package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
  28. package/dist-esm/samples-dev/deletedAccountsListSample.js +1 -1
  29. package/dist-esm/samples-dev/encryptionScopesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/encryptionScopesListSample.js +1 -1
  31. package/dist-esm/samples-dev/encryptionScopesPatchSample.js +1 -1
  32. package/dist-esm/samples-dev/encryptionScopesPutSample.js +2 -2
  33. package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +1 -1
  34. package/dist-esm/samples-dev/fileServicesListSample.js +1 -1
  35. package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +3 -3
  36. package/dist-esm/samples-dev/fileSharesCreateSample.js +3 -3
  37. package/dist-esm/samples-dev/fileSharesDeleteSample.js +1 -1
  38. package/dist-esm/samples-dev/fileSharesGetSample.js +2 -2
  39. package/dist-esm/samples-dev/fileSharesLeaseSample.js +2 -2
  40. package/dist-esm/samples-dev/fileSharesListSample.js +3 -3
  41. package/dist-esm/samples-dev/fileSharesRestoreSample.js +1 -1
  42. package/dist-esm/samples-dev/fileSharesUpdateSample.js +2 -2
  43. package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +2 -2
  44. package/dist-esm/samples-dev/localUsersDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/localUsersGetSample.js +1 -1
  46. package/dist-esm/samples-dev/localUsersListKeysSample.js +1 -1
  47. package/dist-esm/samples-dev/localUsersListSample.js +1 -1
  48. package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +1 -1
  49. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +6 -6
  50. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
  52. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +4 -4
  53. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
  54. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
  55. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
  56. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  57. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  58. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  59. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  60. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
  61. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
  62. package/dist-esm/samples-dev/queueCreateSample.js +2 -2
  63. package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
  64. package/dist-esm/samples-dev/queueGetSample.js +1 -1
  65. package/dist-esm/samples-dev/queueListSample.js +1 -1
  66. package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
  67. package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
  68. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +1 -1
  69. package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
  70. package/dist-esm/samples-dev/skusListSample.js +1 -1
  71. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
  72. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +1 -1
  73. package/dist-esm/samples-dev/storageAccountsCreateSample.js +12 -12
  74. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
  75. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +1 -1
  76. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +4 -4
  77. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
  78. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +1 -1
  79. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
  80. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
  81. package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
  82. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +1 -1
  83. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +2 -2
  84. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +1 -1
  85. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
  86. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +8 -8
  87. package/dist-esm/samples-dev/tableCreateSample.js +2 -2
  88. package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
  89. package/dist-esm/samples-dev/tableGetSample.js +1 -1
  90. package/dist-esm/samples-dev/tableListSample.js +1 -1
  91. package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
  92. package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
  93. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +1 -1
  94. package/dist-esm/samples-dev/tableUpdateSample.js +2 -2
  95. package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
  96. package/dist-esm/src/models/index.d.ts +229 -68
  97. package/dist-esm/src/models/index.d.ts.map +1 -1
  98. package/dist-esm/src/models/index.js +177 -18
  99. package/dist-esm/src/models/index.js.map +1 -1
  100. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  101. package/dist-esm/src/models/mappers.js +0 -5
  102. package/dist-esm/src/models/mappers.js.map +1 -1
  103. package/dist-esm/src/models/parameters.js +1 -1
  104. package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
  105. package/dist-esm/src/storageManagementClient.js +20 -15
  106. package/dist-esm/src/storageManagementClient.js.map +1 -1
  107. package/dist-esm/test/storage_examples.js.map +1 -1
  108. package/package.json +3 -4
  109. package/review/arm-storage.api.md +185 -321
  110. package/src/models/index.ts +228 -68
  111. package/src/models/mappers.ts +0 -5
  112. package/src/models/parameters.ts +1 -1
  113. package/src/storageManagementClient.ts +25 -18
  114. package/types/arm-storage.d.ts +259 -98
  115. package/dist-esm/test/sampleTest.d.ts +0 -2
  116. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  117. package/dist-esm/test/sampleTest.js +0 -38
  118. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Create or update the properties of a local user associated with the storage account
15
15
  *
16
16
  * @summary Create or update the properties of a local user associated with the storage account
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserCreate.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json
18
18
  */
19
19
  function createLocalUser() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -44,7 +44,7 @@ createLocalUser().catch(console.error);
44
44
  * This sample demonstrates how to Create or update the properties of a local user associated with the storage account
45
45
  *
46
46
  * @summary Create or update the properties of a local user associated with the storage account
47
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserUpdate.json
47
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json
48
48
  */
49
49
  function updateLocalUser() {
50
50
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes the local user associated with the specified storage account.
15
15
  *
16
16
  * @summary Deletes the local user associated with the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserDelete.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json
18
18
  */
19
19
  function deleteLocalUser() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get the local user of the storage account by username.
15
15
  *
16
16
  * @summary Get the local user of the storage account by username.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserGet.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json
18
18
  */
19
19
  function getLocalUser() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List SSH authorized keys and shared key of the local user.
15
15
  *
16
16
  * @summary List SSH authorized keys and shared key of the local user.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserListKeys.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json
18
18
  */
19
19
  function listLocalUserKeys() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List the local users associated with the storage account.
15
15
  *
16
16
  * @summary List the local users associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUsersList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json
18
18
  */
19
19
  function listLocalUsers() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Regenerate the local user SSH password.
15
15
  *
16
16
  * @summary Regenerate the local user SSH password.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/LocalUserRegeneratePassword.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json
18
18
  */
19
19
  function regenerateLocalUserPassword() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
15
15
  *
16
16
  * @summary Sets the managementpolicy to the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json
18
18
  */
19
19
  function storageAccountSetManagementPolicies() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -80,7 +80,7 @@ storageAccountSetManagementPolicies().catch(console.error);
80
80
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
81
81
  *
82
82
  * @summary Sets the managementpolicy to the specified storage account.
83
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json
83
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json
84
84
  */
85
85
  function storageAccountSetManagementPolicyForBlockAndAppendBlobs() {
86
86
  return __awaiter(this, void 0, void 0, function* () {
@@ -121,7 +121,7 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error);
121
121
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
122
122
  *
123
123
  * @summary Sets the managementpolicy to the specified storage account.
124
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json
124
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json
125
125
  */
126
126
  function storageAccountSetManagementPolicyWithSnapshotAndVersion() {
127
127
  return __awaiter(this, void 0, void 0, function* () {
@@ -174,7 +174,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error);
174
174
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
175
175
  *
176
176
  * @summary Sets the managementpolicy to the specified storage account.
177
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json
177
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json
178
178
  */
179
179
  function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() {
180
180
  return __awaiter(this, void 0, void 0, function* () {
@@ -217,7 +217,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch(consol
217
217
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
218
218
  *
219
219
  * @summary Sets the managementpolicy to the specified storage account.
220
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json
220
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json
221
221
  */
222
222
  function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() {
223
223
  return __awaiter(this, void 0, void 0, function* () {
@@ -262,7 +262,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch(console.
262
262
  * This sample demonstrates how to Sets the managementpolicy to the specified storage account.
263
263
  *
264
264
  * @summary Sets the managementpolicy to the specified storage account.
265
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json
265
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json
266
266
  */
267
267
  function storageAccountSetManagementPolicyLastTierChangeTimeActions() {
268
268
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes the managementpolicy associated with the specified storage account.
15
15
  *
16
16
  * @summary Deletes the managementpolicy associated with the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteManagementPolicy.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json
18
18
  */
19
19
  function storageAccountDeleteManagementPolicies() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets the managementpolicy associated with the specified storage account.
15
15
  *
16
16
  * @summary Gets the managementpolicy associated with the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetManagementPolicy.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json
18
18
  */
19
19
  function storageAccountGetManagementPolicies() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Create or update the object replication policy of the storage account.
15
15
  *
16
16
  * @summary Create or update the object replication policy of the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json
18
18
  */
19
19
  function storageAccountCreateObjectReplicationPolicyOnDestination() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -44,7 +44,7 @@ storageAccountCreateObjectReplicationPolicyOnDestination().catch(console.error);
44
44
  * This sample demonstrates how to Create or update the object replication policy of the storage account.
45
45
  *
46
46
  * @summary Create or update the object replication policy of the storage account.
47
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json
47
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json
48
48
  */
49
49
  function storageAccountCreateObjectReplicationPolicyOnSource() {
50
50
  return __awaiter(this, void 0, void 0, function* () {
@@ -78,7 +78,7 @@ storageAccountCreateObjectReplicationPolicyOnSource().catch(console.error);
78
78
  * This sample demonstrates how to Create or update the object replication policy of the storage account.
79
79
  *
80
80
  * @summary Create or update the object replication policy of the storage account.
81
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json
81
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json
82
82
  */
83
83
  function storageAccountUpdateObjectReplicationPolicyOnDestination() {
84
84
  return __awaiter(this, void 0, void 0, function* () {
@@ -110,7 +110,7 @@ storageAccountUpdateObjectReplicationPolicyOnDestination().catch(console.error);
110
110
  * This sample demonstrates how to Create or update the object replication policy of the storage account.
111
111
  *
112
112
  * @summary Create or update the object replication policy of the storage account.
113
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json
113
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json
114
114
  */
115
115
  function storageAccountUpdateObjectReplicationPolicyOnSource() {
116
116
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes the object replication policy associated with the specified storage account.
15
15
  *
16
16
  * @summary Deletes the object replication policy associated with the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeleteObjectReplicationPolicy.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json
18
18
  */
19
19
  function storageAccountDeleteObjectReplicationPolicies() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get the object replication policy of the storage account by policy ID.
15
15
  *
16
16
  * @summary Get the object replication policy of the storage account by policy ID.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetObjectReplicationPolicy.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json
18
18
  */
19
19
  function storageAccountGetObjectReplicationPolicies() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List the object replication policies associated with the storage account.
15
15
  *
16
16
  * @summary List the object replication policies associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListObjectReplicationPolicies.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json
18
18
  */
19
19
  function storageAccountListObjectReplicationPolicies() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Lists all of the available Storage Rest API operations.
15
15
  *
16
16
  * @summary Lists all of the available Storage Rest API operations.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/OperationsList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json
18
18
  */
19
19
  function operationsList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account.
15
15
  *
16
16
  * @summary Deletes the specified private endpoint connection associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDeletePrivateEndpointConnection.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json
18
18
  */
19
19
  function storageAccountDeletePrivateEndpointConnection() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets the specified private endpoint connection associated with the storage account.
15
15
  *
16
16
  * @summary Gets the specified private endpoint connection associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPrivateEndpointConnection.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json
18
18
  */
19
19
  function storageAccountGetPrivateEndpointConnection() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all the private endpoint connections associated with the storage account.
15
15
  *
16
16
  * @summary List all the private endpoint connections associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateEndpointConnections.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json
18
18
  */
19
19
  function storageAccountListPrivateEndpointConnections() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Update the state of specified private endpoint connection associated with the storage account.
15
15
  *
16
16
  * @summary Update the state of specified private endpoint connection associated with the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountPutPrivateEndpointConnection.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json
18
18
  */
19
19
  function storageAccountPutPrivateEndpointConnection() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets the private link resources that need to be created for a storage account.
15
15
  *
16
16
  * @summary Gets the private link resources that need to be created for a storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountListPrivateLinkResources.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json
18
18
  */
19
19
  function storageAccountListPrivateLinkResources() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
15
15
  *
16
16
  * @summary Creates a new queue with the specified queue name, under the specified account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPut.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json
18
18
  */
19
19
  function queueOperationPut() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -34,7 +34,7 @@ queueOperationPut().catch(console.error);
34
34
  * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
35
35
  *
36
36
  * @summary Creates a new queue with the specified queue name, under the specified account.
37
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPutWithMetadata.json
37
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json
38
38
  */
39
39
  function queueOperationPutWithMetadata() {
40
40
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists.
15
15
  *
16
16
  * @summary Deletes the queue with the specified queue name, under the specified account if it exists.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationDelete.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json
18
18
  */
19
19
  function queueOperationDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets the queue with the specified queue name, under the specified account if it exists.
15
15
  *
16
16
  * @summary Gets the queue with the specified queue name, under the specified account if it exists.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationGet.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json
18
18
  */
19
19
  function queueOperationGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Gets a list of all the queues under the specified storage account
15
15
  *
16
16
  * @summary Gets a list of all the queues under the specified storage account
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json
18
18
  */
19
19
  function queueOperationList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * 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.
15
15
  *
16
16
  * @summary Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesGet.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json
18
18
  */
19
19
  function queueServicesGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all queue services for the storage account
15
15
  *
16
16
  * @summary List all queue services for the storage account
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json
18
18
  */
19
19
  function queueServicesList() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * 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.
15
15
  *
16
16
  * @summary Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueServicesPut.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json
18
18
  */
19
19
  function queueServicesPut() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
15
15
  *
16
16
  * @summary Creates a new queue with the specified queue name, under the specified account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/QueueOperationPatch.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json
18
18
  */
19
19
  function queueOperationPatch() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription.
15
15
  *
16
16
  * @summary Lists the available SKUs supported by Microsoft.Storage for given subscription.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/SKUList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json
18
18
  */
19
19
  function skuList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Abort live Migration of storage account to enable Hns
15
15
  *
16
16
  * @summary Abort live Migration of storage account to enable Hns
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json
18
18
  */
19
19
  function storageAccountAbortHierarchicalNamespaceMigration() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Checks that the storage account name is valid and is not already in use.
15
15
  *
16
16
  * @summary Checks that the storage account name is valid and is not already in use.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCheckNameAvailability.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json
18
18
  */
19
19
  function storageAccountCheckNameAvailability() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * 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.
15
15
  *
16
16
  * @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.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/NfsV3AccountCreate.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json
18
18
  */
19
19
  function nfsV3AccountCreate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -50,7 +50,7 @@ nfsV3AccountCreate().catch(console.error);
50
50
  * 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.
51
51
  *
52
52
  * @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.
53
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreate.json
53
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json
54
54
  */
55
55
  function storageAccountCreate() {
56
56
  return __awaiter(this, void 0, void 0, function* () {
@@ -96,7 +96,7 @@ storageAccountCreate().catch(console.error);
96
96
  * 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.
97
97
  *
98
98
  * @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.
99
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json
99
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json
100
100
  */
101
101
  function storageAccountCreateAllowedCopyScopeToAad() {
102
102
  return __awaiter(this, void 0, void 0, function* () {
@@ -140,7 +140,7 @@ storageAccountCreateAllowedCopyScopeToAad().catch(console.error);
140
140
  * 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.
141
141
  *
142
142
  * @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.
143
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json
143
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json
144
144
  */
145
145
  function storageAccountCreateAllowedCopyScopeToPrivateLink() {
146
146
  return __awaiter(this, void 0, void 0, function* () {
@@ -184,7 +184,7 @@ storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error);
184
184
  * 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.
185
185
  *
186
186
  * @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.
187
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json
187
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json
188
188
  */
189
189
  function storageAccountCreateDisallowPublicNetworkAccess() {
190
190
  return __awaiter(this, void 0, void 0, function* () {
@@ -229,7 +229,7 @@ storageAccountCreateDisallowPublicNetworkAccess().catch(console.error);
229
229
  * 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.
230
230
  *
231
231
  * @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.
232
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json
232
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json
233
233
  */
234
234
  function storageAccountCreateDnsEndpointTypeToAzureDnsZone() {
235
235
  return __awaiter(this, void 0, void 0, function* () {
@@ -276,7 +276,7 @@ storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error);
276
276
  * 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.
277
277
  *
278
278
  * @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.
279
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json
279
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json
280
280
  */
281
281
  function storageAccountCreateDnsEndpointTypeToStandard() {
282
282
  return __awaiter(this, void 0, void 0, function* () {
@@ -323,7 +323,7 @@ storageAccountCreateDnsEndpointTypeToStandard().catch(console.error);
323
323
  * 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.
324
324
  *
325
325
  * @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.
326
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json
326
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json
327
327
  */
328
328
  function storageAccountCreateEnablePublicNetworkAccess() {
329
329
  return __awaiter(this, void 0, void 0, function* () {
@@ -368,7 +368,7 @@ storageAccountCreateEnablePublicNetworkAccess().catch(console.error);
368
368
  * 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.
369
369
  *
370
370
  * @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.
371
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json
371
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json
372
372
  */
373
373
  function storageAccountCreatePremiumBlockBlobStorage() {
374
374
  return __awaiter(this, void 0, void 0, function* () {
@@ -402,7 +402,7 @@ storageAccountCreatePremiumBlockBlobStorage().catch(console.error);
402
402
  * 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.
403
403
  *
404
404
  * @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.
405
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json
405
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json
406
406
  */
407
407
  function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() {
408
408
  return __awaiter(this, void 0, void 0, function* () {
@@ -446,7 +446,7 @@ storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch(console.error)
446
446
  * 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.
447
447
  *
448
448
  * @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.
449
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json
449
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json
450
450
  */
451
451
  function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() {
452
452
  return __awaiter(this, void 0, void 0, function* () {
@@ -491,7 +491,7 @@ storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch(co
491
491
  * 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.
492
492
  *
493
493
  * @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.
494
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountCreateWithImmutabilityPolicy.json
494
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json
495
495
  */
496
496
  function storageAccountCreateWithImmutabilityPolicy() {
497
497
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Deletes a storage account in Microsoft Azure.
15
15
  *
16
16
  * @summary Deletes a storage account in Microsoft Azure.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountDelete.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json
18
18
  */
19
19
  function storageAccountDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * 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.
15
15
  *
16
16
  * @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.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountFailover.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json
18
18
  */
19
19
  function storageAccountFailover() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * 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.
15
15
  *
16
16
  * @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.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetAsyncSkuConversionStatus.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json
18
18
  */
19
19
  function storageAccountGetAsyncSkuConversionStatus() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -32,7 +32,7 @@ storageAccountGetAsyncSkuConversionStatus().catch(console.error);
32
32
  * 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.
33
33
  *
34
34
  * @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.
35
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetProperties.json
35
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json
36
36
  */
37
37
  function storageAccountGetProperties() {
38
38
  return __awaiter(this, void 0, void 0, function* () {
@@ -50,7 +50,7 @@ storageAccountGetProperties().catch(console.error);
50
50
  * 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.
51
51
  *
52
52
  * @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.
53
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKEnabled.json
53
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json
54
54
  */
55
55
  function storageAccountGetPropertiesCmkEnabled() {
56
56
  return __awaiter(this, void 0, void 0, function* () {
@@ -68,7 +68,7 @@ storageAccountGetPropertiesCmkEnabled().catch(console.error);
68
68
  * 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.
69
69
  *
70
70
  * @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.
71
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json
71
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json
72
72
  */
73
73
  function storageAccountGetPropertiesCmkVersionExpirationTime() {
74
74
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Live Migration of storage account to enable Hns
15
15
  *
16
16
  * @summary Live Migration of storage account to enable Hns
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json
18
18
  */
19
19
  function storageAccountHierarchicalNamespaceMigration() {
20
20
  return __awaiter(this, void 0, void 0, function* () {