@azure/arm-storage 18.0.1-alpha.20221128.1 → 18.1.0

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 (192) hide show
  1. package/CHANGELOG.md +20 -10
  2. package/dist/index.js +388 -129
  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 +99 -6
  50. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
  52. package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
  53. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +4 -4
  54. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
  55. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
  56. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
  57. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  58. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  59. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  60. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  61. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
  62. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
  63. package/dist-esm/samples-dev/queueCreateSample.js +2 -2
  64. package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
  65. package/dist-esm/samples-dev/queueGetSample.js +1 -1
  66. package/dist-esm/samples-dev/queueListSample.js +1 -1
  67. package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
  68. package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
  69. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +1 -1
  70. package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
  71. package/dist-esm/samples-dev/skusListSample.js +1 -1
  72. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
  73. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +1 -1
  74. package/dist-esm/samples-dev/storageAccountsCreateSample.js +12 -12
  75. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
  76. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +21 -3
  77. package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +1 -1
  78. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +4 -4
  79. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
  80. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +1 -1
  81. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
  82. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
  83. package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
  84. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +1 -1
  85. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +2 -2
  86. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +1 -1
  87. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
  88. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +8 -8
  89. package/dist-esm/samples-dev/tableCreateSample.js +2 -2
  90. package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
  91. package/dist-esm/samples-dev/tableGetSample.js +1 -1
  92. package/dist-esm/samples-dev/tableListSample.js +1 -1
  93. package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
  94. package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
  95. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +1 -1
  96. package/dist-esm/samples-dev/tableUpdateSample.js +2 -2
  97. package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
  98. package/dist-esm/src/index.d.ts +1 -0
  99. package/dist-esm/src/index.d.ts.map +1 -1
  100. package/dist-esm/src/index.js +1 -0
  101. package/dist-esm/src/index.js.map +1 -1
  102. package/dist-esm/src/models/index.d.ts +61 -18
  103. package/dist-esm/src/models/index.d.ts.map +1 -1
  104. package/dist-esm/src/models/index.js +10 -0
  105. package/dist-esm/src/models/index.js.map +1 -1
  106. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  107. package/dist-esm/src/models/mappers.js +42 -0
  108. package/dist-esm/src/models/mappers.js.map +1 -1
  109. package/dist-esm/src/models/parameters.d.ts +6 -3
  110. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  111. package/dist-esm/src/models/parameters.js +46 -13
  112. package/dist-esm/src/models/parameters.js.map +1 -1
  113. package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
  114. package/dist-esm/src/operations/blobContainers.js +23 -11
  115. package/dist-esm/src/operations/blobContainers.js.map +1 -1
  116. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -1
  117. package/dist-esm/src/operations/blobInventoryPolicies.js +8 -4
  118. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
  119. package/dist-esm/src/operations/blobServices.d.ts.map +1 -1
  120. package/dist-esm/src/operations/blobServices.js +8 -4
  121. package/dist-esm/src/operations/blobServices.js.map +1 -1
  122. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -1
  123. package/dist-esm/src/operations/deletedAccounts.js +19 -7
  124. package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
  125. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -1
  126. package/dist-esm/src/operations/encryptionScopes.js +31 -9
  127. package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
  128. package/dist-esm/src/operations/fileShares.d.ts.map +1 -1
  129. package/dist-esm/src/operations/fileShares.js +22 -10
  130. package/dist-esm/src/operations/fileShares.js.map +1 -1
  131. package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -1
  132. package/dist-esm/src/operations/localUsersOperations.js +8 -4
  133. package/dist-esm/src/operations/localUsersOperations.js.map +1 -1
  134. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  135. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +8 -4
  136. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
  137. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  138. package/dist-esm/src/operations/operations.js +8 -4
  139. package/dist-esm/src/operations/operations.js.map +1 -1
  140. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  141. package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
  142. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  143. package/dist-esm/src/operations/queue.d.ts.map +1 -1
  144. package/dist-esm/src/operations/queue.js +23 -11
  145. package/dist-esm/src/operations/queue.js.map +1 -1
  146. package/dist-esm/src/operations/skus.d.ts.map +1 -1
  147. package/dist-esm/src/operations/skus.js +8 -4
  148. package/dist-esm/src/operations/skus.js.map +1 -1
  149. package/dist-esm/src/operations/storageAccounts.d.ts +20 -6
  150. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
  151. package/dist-esm/src/operations/storageAccounts.js +58 -21
  152. package/dist-esm/src/operations/storageAccounts.js.map +1 -1
  153. package/dist-esm/src/operations/tableOperations.d.ts.map +1 -1
  154. package/dist-esm/src/operations/tableOperations.js +19 -7
  155. package/dist-esm/src/operations/tableOperations.js.map +1 -1
  156. package/dist-esm/src/operations/usages.d.ts.map +1 -1
  157. package/dist-esm/src/operations/usages.js +8 -4
  158. package/dist-esm/src/operations/usages.js.map +1 -1
  159. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +20 -6
  160. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -1
  161. package/dist-esm/src/pagingHelper.d.ts +13 -0
  162. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  163. package/dist-esm/src/pagingHelper.js +32 -0
  164. package/dist-esm/src/pagingHelper.js.map +1 -0
  165. package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
  166. package/dist-esm/src/storageManagementClient.js +5 -8
  167. package/dist-esm/src/storageManagementClient.js.map +1 -1
  168. package/package.json +7 -6
  169. package/review/arm-storage.api.md +25 -0
  170. package/src/index.ts +1 -0
  171. package/src/models/index.ts +67 -20
  172. package/src/models/mappers.ts +42 -0
  173. package/src/models/parameters.ts +50 -14
  174. package/src/operations/blobContainers.ts +30 -12
  175. package/src/operations/blobInventoryPolicies.ts +17 -7
  176. package/src/operations/blobServices.ts +15 -5
  177. package/src/operations/deletedAccounts.ts +21 -8
  178. package/src/operations/encryptionScopes.ts +39 -11
  179. package/src/operations/fileShares.ts +29 -11
  180. package/src/operations/localUsersOperations.ts +15 -5
  181. package/src/operations/objectReplicationPoliciesOperations.ts +15 -5
  182. package/src/operations/operations.ts +10 -5
  183. package/src/operations/privateEndpointConnections.ts +15 -5
  184. package/src/operations/queue.ts +31 -13
  185. package/src/operations/skus.ts +10 -5
  186. package/src/operations/storageAccounts.ts +67 -24
  187. package/src/operations/tableOperations.ts +27 -9
  188. package/src/operations/usages.ts +10 -5
  189. package/src/operationsInterfaces/storageAccounts.ts +20 -6
  190. package/src/pagingHelper.ts +39 -0
  191. package/src/storageManagementClient.ts +6 -7
  192. package/types/arm-storage.d.ts +92 -24
@@ -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/2022-05-01/examples/NfsV3AccountCreate.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreate.json
53
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json
99
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json
143
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json
187
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json
232
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json
279
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json
326
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json
371
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json
405
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json
449
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json
494
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountDelete.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountDelete.json
18
18
  */
19
19
  function storageAccountDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -11,10 +11,10 @@ import { __awaiter } from "tslib";
11
11
  import { StorageManagementClient } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  /**
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.
14
+ * This sample demonstrates how to A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
15
15
  *
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/2022-05-01/examples/StorageAccountFailover.json
16
+ * @summary A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountFailover.json
18
18
  */
19
19
  function storageAccountFailover() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -28,4 +28,22 @@ function storageAccountFailover() {
28
28
  });
29
29
  }
30
30
  storageAccountFailover().catch(console.error);
31
+ /**
32
+ * This sample demonstrates how to A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
33
+ *
34
+ * @summary A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
35
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountFailoverPlanned.json
36
+ */
37
+ function storageAccountFailoverPlanned() {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ const subscriptionId = "{subscription-id}";
40
+ const resourceGroupName = "res4228";
41
+ const accountName = "sto2434";
42
+ const credential = new DefaultAzureCredential();
43
+ const client = new StorageManagementClient(credential, subscriptionId);
44
+ const result = yield client.storageAccounts.beginFailoverAndWait(resourceGroupName, accountName);
45
+ console.log(result);
46
+ });
47
+ }
48
+ storageAccountFailoverPlanned().catch(console.error);
31
49
  //# sourceMappingURL=storageAccountsFailoverSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storageAccountsFailoverSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsFailoverSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAC9D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"storageAccountsFailoverSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsFailoverSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAC9D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAE9C;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAC9D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -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/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountGetProperties.json
35
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json
53
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json
71
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountHierarchicalNamespaceMigration.json
18
18
  */
19
19
  function storageAccountHierarchicalNamespaceMigration() {
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 SAS credentials of a storage account.
15
15
  *
16
16
  * @summary List SAS credentials of a storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountListAccountSAS.json
18
18
  */
19
19
  function storageAccountListAccountSas() {
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 all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
15
15
  *
16
16
  * @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.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountListByResourceGroup.json
18
18
  */
19
19
  function storageAccountListByResourceGroup() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
15
15
  *
16
16
  * @summary Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountListKeys.json
18
18
  */
19
19
  function storageAccountListKeys() {
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 all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
15
15
  *
16
16
  * @summary Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountList.json
18
18
  */
19
19
  function storageAccountList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List service SAS credentials of a specific resource.
15
15
  *
16
16
  * @summary List service SAS credentials of a specific resource.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountListServiceSAS.json
18
18
  */
19
19
  function storageAccountListServiceSas() {
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 Regenerates one of the access keys or Kerberos keys for the specified storage account.
15
15
  *
16
16
  * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountRegenerateKerbKey.json
18
18
  */
19
19
  function storageAccountRegenerateKerbKey() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,7 +35,7 @@ storageAccountRegenerateKerbKey().catch(console.error);
35
35
  * This sample demonstrates how to Regenerates one of the access keys or Kerberos keys for the specified storage account.
36
36
  *
37
37
  * @summary Regenerates one of the access keys or Kerberos keys for the specified storage account.
38
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKey.json
38
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountRegenerateKey.json
39
39
  */
40
40
  function storageAccountRegenerateKey() {
41
41
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Restore blobs in the specified blob ranges
15
15
  *
16
16
  * @summary Restore blobs in the specified blob ranges
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobRangesRestore.json
18
18
  */
19
19
  function blobRangesRestore() {
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 Revoke user delegation keys.
15
15
  *
16
16
  * @summary Revoke user delegation keys.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountRevokeUserDelegationKeys.json
18
18
  */
19
19
  function storageAccountRevokeUserDelegationKeys() {
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 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.
15
15
  *
16
16
  * @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.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountEnableAD.json
18
18
  */
19
19
  function storageAccountEnableAd() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -47,7 +47,7 @@ storageAccountEnableAd().catch(console.error);
47
47
  * 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.
48
48
  *
49
49
  * @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.
50
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableCMK.json
50
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountEnableCMK.json
51
51
  */
52
52
  function storageAccountEnableCmk() {
53
53
  return __awaiter(this, void 0, void 0, function* () {
@@ -79,7 +79,7 @@ storageAccountEnableCmk().catch(console.error);
79
79
  * 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.
80
80
  *
81
81
  * @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.
82
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdate.json
82
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdate.json
83
83
  */
84
84
  function storageAccountUpdate() {
85
85
  return __awaiter(this, void 0, void 0, function* () {
@@ -128,7 +128,7 @@ storageAccountUpdate().catch(console.error);
128
128
  * 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.
129
129
  *
130
130
  * @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.
131
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json
131
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json
132
132
  */
133
133
  function storageAccountUpdateAllowedCopyScopeToAad() {
134
134
  return __awaiter(this, void 0, void 0, function* () {
@@ -175,7 +175,7 @@ storageAccountUpdateAllowedCopyScopeToAad().catch(console.error);
175
175
  * 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.
176
176
  *
177
177
  * @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.
178
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json
178
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json
179
179
  */
180
180
  function storageAccountUpdateDisablePublicNetworkAccess() {
181
181
  return __awaiter(this, void 0, void 0, function* () {
@@ -222,7 +222,7 @@ storageAccountUpdateDisablePublicNetworkAccess().catch(console.error);
222
222
  * 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.
223
223
  *
224
224
  * @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.
225
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json
225
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json
226
226
  */
227
227
  function storageAccountUpdateUserAssignedEncryptionIdentityWithCmk() {
228
228
  return __awaiter(this, void 0, void 0, function* () {
@@ -265,7 +265,7 @@ storageAccountUpdateUserAssignedEncryptionIdentityWithCmk().catch(console.error)
265
265
  * 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.
266
266
  *
267
267
  * @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.
268
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json
268
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json
269
269
  */
270
270
  function storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId() {
271
271
  return __awaiter(this, void 0, void 0, function* () {
@@ -309,7 +309,7 @@ storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId().catch(co
309
309
  * 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.
310
310
  *
311
311
  * @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.
312
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json
312
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json
313
313
  */
314
314
  function storageAccountUpdateWithImmutabilityPolicy() {
315
315
  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 table with the specified table name, under the specified account.
15
15
  *
16
16
  * @summary Creates a new table with the specified table name, under the specified account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationPut.json
18
18
  */
19
19
  function tableOperationPut() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -33,7 +33,7 @@ tableOperationPut().catch(console.error);
33
33
  * This sample demonstrates how to Creates a new table with the specified table name, under the specified account.
34
34
  *
35
35
  * @summary Creates a new table with the specified table name, under the specified account.
36
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json
36
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationPutOrPatchAcls.json
37
37
  */
38
38
  function tableOperationPutOrPatchAcls() {
39
39
  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 table with the specified table name, under the specified account if it exists.
15
15
  *
16
16
  * @summary Deletes the table with the specified table name, under the specified account if it exists.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationDelete.json
18
18
  */
19
19
  function tableOperationDelete() {
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 table with the specified table name, under the specified account if it exists.
15
15
  *
16
16
  * @summary Gets the table with the specified table name, under the specified account if it exists.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationGet.json
18
18
  */
19
19
  function tableOperationGet() {
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 tables under the specified storage account
15
15
  *
16
16
  * @summary Gets a list of all the tables under the specified storage account
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationList.json
18
18
  */
19
19
  function tableOperationList() {
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 Table 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 Table 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/2022-05-01/examples/TableServicesGet.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableServicesGet.json
18
18
  */
19
19
  function tableServicesGet() {
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 table services for the storage account.
15
15
  *
16
16
  * @summary List all table services for the storage account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableServicesList.json
18
18
  */
19
19
  function tableServicesList() {
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 Table 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 Table 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/2022-05-01/examples/TableServicesPut.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableServicesPut.json
18
18
  */
19
19
  function tableServicesPut() {
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 table with the specified table name, under the specified account.
15
15
  *
16
16
  * @summary Creates a new table with the specified table name, under the specified account.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationPatch.json
18
18
  */
19
19
  function tableOperationPatch() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -33,7 +33,7 @@ tableOperationPatch().catch(console.error);
33
33
  * This sample demonstrates how to Creates a new table with the specified table name, under the specified account.
34
34
  *
35
35
  * @summary Creates a new table with the specified table name, under the specified account.
36
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json
36
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/TableOperationPutOrPatchAcls.json
37
37
  */
38
38
  function tableOperationPutOrPatchAcls() {
39
39
  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 current usage count and the limit for the resources of the location under the subscription.
15
15
  *
16
16
  * @summary Gets the current usage count and the limit for the resources of the location under the subscription.
17
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json
17
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountListLocationUsage.json
18
18
  */
19
19
  function usageList() {
20
20
  var e_1, _a;
@@ -1,4 +1,5 @@
1
1
  /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
2
3
  export * from "./models";
3
4
  export { StorageManagementClient } from "./storageManagementClient";
4
5
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,wBAAwB,CAAC"}
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
9
10
  export * from "./models";
10
11
  export { StorageManagementClient } from "./storageManagementClient";
11
12
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,wBAAwB,CAAC"}