@azure/arm-storage 18.1.1-alpha.20230810.1 → 18.2.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 (261) hide show
  1. package/CHANGELOG.md +90 -57
  2. package/LICENSE +1 -1
  3. package/dist/index.js +519 -102
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js +11 -4
  8. package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js.map +1 -1
  9. package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +15 -8
  10. package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js.map +1 -1
  11. package/dist-esm/samples-dev/blobContainersCreateSample.js +19 -12
  12. package/dist-esm/samples-dev/blobContainersCreateSample.js.map +1 -1
  13. package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +12 -5
  14. package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js.map +1 -1
  15. package/dist-esm/samples-dev/blobContainersDeleteSample.js +11 -4
  16. package/dist-esm/samples-dev/blobContainersDeleteSample.js.map +1 -1
  17. package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +12 -5
  18. package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js.map +1 -1
  19. package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +11 -4
  20. package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js.map +1 -1
  21. package/dist-esm/samples-dev/blobContainersGetSample.js +15 -8
  22. package/dist-esm/samples-dev/blobContainersGetSample.js.map +1 -1
  23. package/dist-esm/samples-dev/blobContainersLeaseSample.js +15 -8
  24. package/dist-esm/samples-dev/blobContainersLeaseSample.js.map +1 -1
  25. package/dist-esm/samples-dev/blobContainersListSample.js +15 -8
  26. package/dist-esm/samples-dev/blobContainersListSample.js.map +1 -1
  27. package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +12 -5
  28. package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js.map +1 -1
  29. package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +11 -4
  30. package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js.map +1 -1
  31. package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +15 -8
  32. package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js.map +1 -1
  33. package/dist-esm/samples-dev/blobContainersUpdateSample.js +11 -4
  34. package/dist-esm/samples-dev/blobContainersUpdateSample.js.map +1 -1
  35. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +20 -13
  36. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +11 -4
  38. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js.map +1 -1
  39. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +11 -4
  40. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js.map +1 -1
  41. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +11 -4
  42. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js.map +1 -1
  43. package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +11 -4
  44. package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js.map +1 -1
  45. package/dist-esm/samples-dev/blobServicesListSample.js +11 -4
  46. package/dist-esm/samples-dev/blobServicesListSample.js.map +1 -1
  47. package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +19 -12
  48. package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js.map +1 -1
  49. package/dist-esm/samples-dev/deletedAccountsGetSample.js +10 -3
  50. package/dist-esm/samples-dev/deletedAccountsGetSample.js.map +1 -1
  51. package/dist-esm/samples-dev/deletedAccountsListSample.js +10 -3
  52. package/dist-esm/samples-dev/deletedAccountsListSample.js.map +1 -1
  53. package/dist-esm/samples-dev/encryptionScopesGetSample.js +12 -5
  54. package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +1 -1
  55. package/dist-esm/samples-dev/encryptionScopesListSample.js +12 -5
  56. package/dist-esm/samples-dev/encryptionScopesListSample.js.map +1 -1
  57. package/dist-esm/samples-dev/encryptionScopesPatchSample.js +12 -5
  58. package/dist-esm/samples-dev/encryptionScopesPatchSample.js.map +1 -1
  59. package/dist-esm/samples-dev/encryptionScopesPutSample.js +17 -10
  60. package/dist-esm/samples-dev/encryptionScopesPutSample.js.map +1 -1
  61. package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +11 -4
  62. package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js.map +1 -1
  63. package/dist-esm/samples-dev/fileServicesListSample.js +11 -4
  64. package/dist-esm/samples-dev/fileServicesListSample.js.map +1 -1
  65. package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +19 -12
  66. package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js.map +1 -1
  67. package/dist-esm/samples-dev/fileSharesCreateSample.js +19 -12
  68. package/dist-esm/samples-dev/fileSharesCreateSample.js.map +1 -1
  69. package/dist-esm/samples-dev/fileSharesDeleteSample.js +11 -4
  70. package/dist-esm/samples-dev/fileSharesDeleteSample.js.map +1 -1
  71. package/dist-esm/samples-dev/fileSharesGetSample.js +15 -8
  72. package/dist-esm/samples-dev/fileSharesGetSample.js.map +1 -1
  73. package/dist-esm/samples-dev/fileSharesLeaseSample.js +15 -8
  74. package/dist-esm/samples-dev/fileSharesLeaseSample.js.map +1 -1
  75. package/dist-esm/samples-dev/fileSharesListSample.js +19 -12
  76. package/dist-esm/samples-dev/fileSharesListSample.js.map +1 -1
  77. package/dist-esm/samples-dev/fileSharesRestoreSample.js +11 -4
  78. package/dist-esm/samples-dev/fileSharesRestoreSample.js.map +1 -1
  79. package/dist-esm/samples-dev/fileSharesUpdateSample.js +15 -8
  80. package/dist-esm/samples-dev/fileSharesUpdateSample.js.map +1 -1
  81. package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +15 -8
  82. package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js.map +1 -1
  83. package/dist-esm/samples-dev/localUsersDeleteSample.js +11 -4
  84. package/dist-esm/samples-dev/localUsersDeleteSample.js.map +1 -1
  85. package/dist-esm/samples-dev/localUsersGetSample.js +11 -4
  86. package/dist-esm/samples-dev/localUsersGetSample.js.map +1 -1
  87. package/dist-esm/samples-dev/localUsersListKeysSample.js +11 -4
  88. package/dist-esm/samples-dev/localUsersListKeysSample.js.map +1 -1
  89. package/dist-esm/samples-dev/localUsersListSample.js +11 -4
  90. package/dist-esm/samples-dev/localUsersListSample.js.map +1 -1
  91. package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +11 -4
  92. package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js.map +1 -1
  93. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +39 -32
  94. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +1 -1
  95. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +11 -4
  96. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js.map +1 -1
  97. package/dist-esm/samples-dev/managementPoliciesGetSample.js +11 -4
  98. package/dist-esm/samples-dev/managementPoliciesGetSample.js.map +1 -1
  99. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +23 -16
  100. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +11 -4
  102. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js.map +1 -1
  103. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +11 -4
  104. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js.map +1 -1
  105. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +11 -4
  106. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js.map +1 -1
  107. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  108. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  109. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
  110. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  111. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
  112. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  113. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +11 -4
  114. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  115. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +11 -4
  116. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  117. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +11 -4
  118. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js.map +1 -1
  119. package/dist-esm/samples-dev/queueCreateSample.js +15 -8
  120. package/dist-esm/samples-dev/queueCreateSample.js.map +1 -1
  121. package/dist-esm/samples-dev/queueDeleteSample.js +11 -4
  122. package/dist-esm/samples-dev/queueDeleteSample.js.map +1 -1
  123. package/dist-esm/samples-dev/queueGetSample.js +11 -4
  124. package/dist-esm/samples-dev/queueGetSample.js.map +1 -1
  125. package/dist-esm/samples-dev/queueListSample.js +11 -4
  126. package/dist-esm/samples-dev/queueListSample.js.map +1 -1
  127. package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +11 -4
  128. package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js.map +1 -1
  129. package/dist-esm/samples-dev/queueServicesListSample.js +11 -4
  130. package/dist-esm/samples-dev/queueServicesListSample.js.map +1 -1
  131. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +11 -4
  132. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js.map +1 -1
  133. package/dist-esm/samples-dev/queueUpdateSample.js +11 -4
  134. package/dist-esm/samples-dev/queueUpdateSample.js.map +1 -1
  135. package/dist-esm/samples-dev/skusListSample.js +10 -3
  136. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  137. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +11 -4
  138. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map +1 -1
  139. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +10 -3
  140. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -1
  141. package/dist-esm/samples-dev/storageAccountsCreateSample.js +55 -48
  142. package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -1
  143. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.d.ts +2 -0
  144. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.d.ts.map +1 -0
  145. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js +39 -0
  146. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js.map +1 -0
  147. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +11 -4
  148. package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +1 -1
  149. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +15 -8
  150. package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +1 -1
  151. package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.d.ts +2 -0
  152. package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.d.ts.map +1 -0
  153. package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js +58 -0
  154. package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js.map +1 -0
  155. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +63 -16
  156. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -1
  157. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +11 -4
  158. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js.map +1 -1
  159. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +11 -4
  160. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -1
  161. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +11 -4
  162. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js.map +1 -1
  163. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +11 -4
  164. package/dist-esm/samples-dev/storageAccountsListKeysSample.js.map +1 -1
  165. package/dist-esm/samples-dev/storageAccountsListSample.js +10 -3
  166. package/dist-esm/samples-dev/storageAccountsListSample.js.map +1 -1
  167. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +11 -4
  168. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -1
  169. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +15 -8
  170. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -1
  171. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +11 -4
  172. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -1
  173. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +11 -4
  174. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js.map +1 -1
  175. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +39 -32
  176. package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -1
  177. package/dist-esm/samples-dev/tableCreateSample.js +15 -8
  178. package/dist-esm/samples-dev/tableCreateSample.js.map +1 -1
  179. package/dist-esm/samples-dev/tableDeleteSample.js +11 -4
  180. package/dist-esm/samples-dev/tableDeleteSample.js.map +1 -1
  181. package/dist-esm/samples-dev/tableGetSample.js +11 -4
  182. package/dist-esm/samples-dev/tableGetSample.js.map +1 -1
  183. package/dist-esm/samples-dev/tableListSample.js +11 -4
  184. package/dist-esm/samples-dev/tableListSample.js.map +1 -1
  185. package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +11 -4
  186. package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js.map +1 -1
  187. package/dist-esm/samples-dev/tableServicesListSample.js +11 -4
  188. package/dist-esm/samples-dev/tableServicesListSample.js.map +1 -1
  189. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +11 -4
  190. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js.map +1 -1
  191. package/dist-esm/samples-dev/tableUpdateSample.js +15 -8
  192. package/dist-esm/samples-dev/tableUpdateSample.js.map +1 -1
  193. package/dist-esm/samples-dev/usagesListByLocationSample.js +10 -3
  194. package/dist-esm/samples-dev/usagesListByLocationSample.js.map +1 -1
  195. package/dist-esm/src/lroImpl.d.ts +6 -11
  196. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  197. package/dist-esm/src/lroImpl.js +12 -20
  198. package/dist-esm/src/lroImpl.js.map +1 -1
  199. package/dist-esm/src/models/index.d.ts +213 -30
  200. package/dist-esm/src/models/index.d.ts.map +1 -1
  201. package/dist-esm/src/models/index.js +44 -0
  202. package/dist-esm/src/models/index.js.map +1 -1
  203. package/dist-esm/src/models/mappers.d.ts +6 -0
  204. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  205. package/dist-esm/src/models/mappers.js +220 -0
  206. package/dist-esm/src/models/mappers.js.map +1 -1
  207. package/dist-esm/src/models/parameters.d.ts +9 -6
  208. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  209. package/dist-esm/src/models/parameters.js +39 -10
  210. package/dist-esm/src/models/parameters.js.map +1 -1
  211. package/dist-esm/src/operations/blobContainers.d.ts +2 -2
  212. package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
  213. package/dist-esm/src/operations/blobContainers.js +14 -16
  214. package/dist-esm/src/operations/blobContainers.js.map +1 -1
  215. package/dist-esm/src/operations/blobServices.js +1 -1
  216. package/dist-esm/src/operations/deletedAccounts.js +0 -1
  217. package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
  218. package/dist-esm/src/operations/encryptionScopes.js +0 -6
  219. package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
  220. package/dist-esm/src/operations/fileServices.js +1 -1
  221. package/dist-esm/src/operations/fileShares.js +1 -7
  222. package/dist-esm/src/operations/fileShares.js.map +1 -1
  223. package/dist-esm/src/operations/queue.js +0 -5
  224. package/dist-esm/src/operations/queue.js.map +1 -1
  225. package/dist-esm/src/operations/queueServices.js +1 -1
  226. package/dist-esm/src/operations/storageAccounts.d.ts +46 -7
  227. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
  228. package/dist-esm/src/operations/storageAccounts.js +177 -30
  229. package/dist-esm/src/operations/storageAccounts.js.map +1 -1
  230. package/dist-esm/src/operations/tableOperations.js +2 -3
  231. package/dist-esm/src/operations/tableOperations.js.map +1 -1
  232. package/dist-esm/src/operations/tableServices.js +1 -1
  233. package/dist-esm/src/operationsInterfaces/blobContainers.d.ts +2 -2
  234. package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -1
  235. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +47 -8
  236. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -1
  237. package/dist-esm/src/pagingHelper.d.ts +4 -4
  238. package/dist-esm/src/pagingHelper.js +4 -4
  239. package/dist-esm/src/storageManagementClient.js +2 -2
  240. package/package.json +7 -6
  241. package/review/arm-storage.api.md +115 -20
  242. package/src/lroImpl.ts +31 -23
  243. package/src/models/index.ts +235 -38
  244. package/src/models/mappers.ts +228 -0
  245. package/src/models/parameters.ts +42 -9
  246. package/src/operations/blobContainers.ts +19 -21
  247. package/src/operations/blobServices.ts +1 -1
  248. package/src/operations/deletedAccounts.ts +0 -1
  249. package/src/operations/encryptionScopes.ts +0 -6
  250. package/src/operations/fileServices.ts +1 -1
  251. package/src/operations/fileShares.ts +1 -7
  252. package/src/operations/queue.ts +0 -5
  253. package/src/operations/queueServices.ts +1 -1
  254. package/src/operations/storageAccounts.ts +240 -57
  255. package/src/operations/tableOperations.ts +2 -3
  256. package/src/operations/tableServices.ts +1 -1
  257. package/src/operationsInterfaces/blobContainers.ts +2 -2
  258. package/src/operationsInterfaces/storageAccounts.ts +68 -9
  259. package/src/pagingHelper.ts +4 -4
  260. package/src/storageManagementClient.ts +2 -2
  261. package/types/arm-storage.d.ts +282 -43
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  export declare interface AccessPolicy {
8
8
  /** Start time of the access policy */
@@ -112,7 +112,9 @@ export declare type AllowedCopyScope = string;
112
112
  * **POST** \
113
113
  * **OPTIONS** \
114
114
  * **PUT** \
115
- * **PATCH**
115
+ * **PATCH** \
116
+ * **CONNECT** \
117
+ * **TRACE**
116
118
  */
117
119
  export declare type AllowedMethods = string;
118
120
 
@@ -438,7 +440,7 @@ export declare interface BlobContainers {
438
440
  * number.
439
441
  * @param options The options parameters.
440
442
  */
441
- beginObjectLevelWorm(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersObjectLevelWormOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
443
+ beginObjectLevelWorm(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersObjectLevelWormOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
442
444
  /**
443
445
  * This operation migrates a blob container from container level WORM to object level immutability
444
446
  * enabled container. Prerequisites require a container level immutability policy either in locked or
@@ -554,12 +556,6 @@ export declare type BlobContainersLeaseResponse = LeaseContainerResponse;
554
556
 
555
557
  /** Optional parameters. */
556
558
  export declare interface BlobContainersListNextOptionalParams extends coreClient.OperationOptions {
557
- /** Optional. When specified, only container names starting with the filter will be listed. */
558
- filter?: string;
559
- /** Optional. Specified maximum number of containers that can be included in the list. */
560
- maxpagesize?: string;
561
- /** Optional, used to include the properties for soft deleted blob containers. */
562
- include?: ListContainersInclude;
563
559
  }
564
560
 
565
561
  /** Contains response data for the listNext operation. */
@@ -613,6 +609,12 @@ export declare interface BlobContainersUpdateOptionalParams extends coreClient.O
613
609
  /** Contains response data for the update operation. */
614
610
  export declare type BlobContainersUpdateResponse = BlobContainer;
615
611
 
612
+ /** This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter. */
613
+ export declare interface BlobInventoryCreationTime {
614
+ /** When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500. */
615
+ lastNDays?: number;
616
+ }
617
+
616
618
  /** Interface representing a BlobInventoryPolicies. */
617
619
  export declare interface BlobInventoryPolicies {
618
620
  /**
@@ -733,6 +735,8 @@ export declare interface BlobInventoryPolicyFilter {
733
735
  includeSnapshots?: boolean;
734
736
  /** For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. */
735
737
  includeDeleted?: boolean;
738
+ /** This property is used to filter objects based on the object creation time */
739
+ creationTime?: BlobInventoryCreationTime;
736
740
  }
737
741
 
738
742
  /**
@@ -1330,12 +1334,6 @@ export declare type EncryptionScopesGetResponse = EncryptionScope;
1330
1334
 
1331
1335
  /** Optional parameters. */
1332
1336
  export declare interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
1333
- /** Optional, specifies the maximum number of encryption scopes that will be included in the list response. */
1334
- maxpagesize?: number;
1335
- /** Optional. When specified, only encryption scope names starting with the filter will be listed. */
1336
- filter?: string;
1337
- /** Optional, when specified, will list encryption scopes with the specific state. Defaults to All */
1338
- include?: ListEncryptionScopesInclude;
1339
1337
  }
1340
1338
 
1341
1339
  /** Contains response data for the listNext operation. */
@@ -1451,12 +1449,61 @@ export declare interface Endpoints {
1451
1449
  internetEndpoints?: StorageAccountInternetEndpoints;
1452
1450
  }
1453
1451
 
1452
+ /** The resource management error additional info. */
1453
+ export declare interface ErrorAdditionalInfo {
1454
+ /**
1455
+ * The additional info type.
1456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1457
+ */
1458
+ readonly type?: string;
1459
+ /**
1460
+ * The additional info.
1461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1462
+ */
1463
+ readonly info?: Record<string, unknown>;
1464
+ }
1465
+
1466
+ /** The error detail. */
1467
+ export declare interface ErrorDetail {
1468
+ /**
1469
+ * The error code.
1470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1471
+ */
1472
+ readonly code?: string;
1473
+ /**
1474
+ * The error message.
1475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1476
+ */
1477
+ readonly message?: string;
1478
+ /**
1479
+ * The error target.
1480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1481
+ */
1482
+ readonly target?: string;
1483
+ /**
1484
+ * The error details.
1485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1486
+ */
1487
+ readonly details?: ErrorDetail[];
1488
+ /**
1489
+ * The error additional info.
1490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1491
+ */
1492
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1493
+ }
1494
+
1454
1495
  /** An error response from the storage resource provider. */
1455
1496
  export declare interface ErrorResponse {
1456
1497
  /** Azure Storage Resource Provider error response body. */
1457
1498
  error?: ErrorResponseBody;
1458
1499
  }
1459
1500
 
1501
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1502
+ export declare interface ErrorResponseAutoGenerated {
1503
+ /** The error object. */
1504
+ error?: ErrorDetail;
1505
+ }
1506
+
1460
1507
  /** Error response body contract. */
1461
1508
  export declare interface ErrorResponseBody {
1462
1509
  /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
@@ -1889,12 +1936,6 @@ export declare type FileSharesLeaseResponse = FileSharesLeaseHeaders & LeaseShar
1889
1936
 
1890
1937
  /** Optional parameters. */
1891
1938
  export declare interface FileSharesListNextOptionalParams extends coreClient.OperationOptions {
1892
- /** Optional. When specified, only share names starting with the filter will be listed. */
1893
- filter?: string;
1894
- /** Optional. Specified maximum number of shares that can be included in the list. */
1895
- maxpagesize?: string;
1896
- /** Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ',' */
1897
- expand?: string;
1898
1939
  }
1899
1940
 
1900
1941
  /** Contains response data for the listNext operation. */
@@ -1951,6 +1992,21 @@ export declare interface GeoReplicationStats {
1951
1992
  * NOTE: This property will not be serialized. It can only be populated by the server.
1952
1993
  */
1953
1994
  readonly canFailover?: boolean;
1995
+ /**
1996
+ * A boolean flag which indicates whether or not planned account failover is supported for the account.
1997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1998
+ */
1999
+ readonly canPlannedFailover?: boolean;
2000
+ /**
2001
+ * The redundancy type of the account after an account failover is performed.
2002
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2003
+ */
2004
+ readonly postFailoverRedundancy?: PostFailoverRedundancy;
2005
+ /**
2006
+ * The redundancy type of the account after a planned account failover is performed.
2007
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2008
+ */
2009
+ readonly postPlannedFailoverRedundancy?: PostPlannedFailoverRedundancy;
1954
2010
  }
1955
2011
 
1956
2012
  /**
@@ -1965,11 +2021,11 @@ export declare interface GeoReplicationStats {
1965
2021
  export declare type GeoReplicationStatus = string;
1966
2022
 
1967
2023
  /**
1968
- * Given a result page from a pageable operation, returns a
1969
- * continuation token that can be used to begin paging from
2024
+ * Given the last `.value` produced by the `byPage` iterator,
2025
+ * returns a continuation token that can be used to begin paging from
1970
2026
  * that point later.
1971
- * @param page A result object from calling .byPage() on a paged operation.
1972
- * @returns The continuation token that can be passed into byPage().
2027
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
2028
+ * @returns The continuation token that can be passed into byPage() during future calls.
1973
2029
  */
1974
2030
  export declare function getContinuationToken(page: unknown): string | undefined;
1975
2031
 
@@ -2227,7 +2283,11 @@ export declare enum KnownAllowedMethods {
2227
2283
  /** PUT */
2228
2284
  PUT = "PUT",
2229
2285
  /** Patch */
2230
- Patch = "PATCH"
2286
+ Patch = "PATCH",
2287
+ /** Connect */
2288
+ Connect = "CONNECT",
2289
+ /** Trace */
2290
+ Trace = "TRACE"
2231
2291
  }
2232
2292
 
2233
2293
  /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
@@ -2510,6 +2570,12 @@ export declare enum KnownManagementPolicyName {
2510
2570
  Default = "default"
2511
2571
  }
2512
2572
 
2573
+ /** Known values of {@link MigrationName} that the service accepts. */
2574
+ export declare enum KnownMigrationName {
2575
+ /** Default */
2576
+ Default = "default"
2577
+ }
2578
+
2513
2579
  /** Known values of {@link MigrationState} that the service accepts. */
2514
2580
  export declare enum KnownMigrationState {
2515
2581
  /** InProgress */
@@ -2518,6 +2584,20 @@ export declare enum KnownMigrationState {
2518
2584
  Completed = "Completed"
2519
2585
  }
2520
2586
 
2587
+ /** Known values of {@link MigrationStatus} that the service accepts. */
2588
+ export declare enum KnownMigrationStatus {
2589
+ /** Invalid */
2590
+ Invalid = "Invalid",
2591
+ /** SubmittedForConversion */
2592
+ SubmittedForConversion = "SubmittedForConversion",
2593
+ /** InProgress */
2594
+ InProgress = "InProgress",
2595
+ /** Complete */
2596
+ Complete = "Complete",
2597
+ /** Failed */
2598
+ Failed = "Failed"
2599
+ }
2600
+
2521
2601
  /** Known values of {@link MinimumTlsVersion} that the service accepts. */
2522
2602
  export declare enum KnownMinimumTlsVersion {
2523
2603
  /** TLS10 */
@@ -2562,6 +2642,26 @@ export declare enum KnownPermissions {
2562
2642
  P = "p"
2563
2643
  }
2564
2644
 
2645
+ /** Known values of {@link PostFailoverRedundancy} that the service accepts. */
2646
+ export declare enum KnownPostFailoverRedundancy {
2647
+ /** StandardLRS */
2648
+ StandardLRS = "Standard_LRS",
2649
+ /** StandardZRS */
2650
+ StandardZRS = "Standard_ZRS"
2651
+ }
2652
+
2653
+ /** Known values of {@link PostPlannedFailoverRedundancy} that the service accepts. */
2654
+ export declare enum KnownPostPlannedFailoverRedundancy {
2655
+ /** StandardGRS */
2656
+ StandardGRS = "Standard_GRS",
2657
+ /** StandardGzrs */
2658
+ StandardGzrs = "Standard_GZRS",
2659
+ /** StandardRagrs */
2660
+ StandardRagrs = "Standard_RAGRS",
2661
+ /** StandardRagzrs */
2662
+ StandardRagzrs = "Standard_RAGZRS"
2663
+ }
2664
+
2565
2665
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2566
2666
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
2567
2667
  /** Succeeded */
@@ -3422,6 +3522,15 @@ export declare interface MetricSpecification {
3422
3522
  resourceIdDimensionNameOverride?: string;
3423
3523
  }
3424
3524
 
3525
+ /**
3526
+ * Defines values for MigrationName. \
3527
+ * {@link KnownMigrationName} can be used interchangeably with MigrationName,
3528
+ * this enum contains the known values that the service supports.
3529
+ * ### Known values supported by the service
3530
+ * **default**
3531
+ */
3532
+ export declare type MigrationName = string;
3533
+
3425
3534
  /**
3426
3535
  * Defines values for MigrationState. \
3427
3536
  * {@link KnownMigrationState} can be used interchangeably with MigrationState,
@@ -3432,6 +3541,19 @@ export declare interface MetricSpecification {
3432
3541
  */
3433
3542
  export declare type MigrationState = string;
3434
3543
 
3544
+ /**
3545
+ * Defines values for MigrationStatus. \
3546
+ * {@link KnownMigrationStatus} can be used interchangeably with MigrationStatus,
3547
+ * this enum contains the known values that the service supports.
3548
+ * ### Known values supported by the service
3549
+ * **Invalid** \
3550
+ * **SubmittedForConversion** \
3551
+ * **InProgress** \
3552
+ * **Complete** \
3553
+ * **Failed**
3554
+ */
3555
+ export declare type MigrationStatus = string;
3556
+
3435
3557
  /**
3436
3558
  * Defines values for MinimumTlsVersion. \
3437
3559
  * {@link KnownMinimumTlsVersion} can be used interchangeably with MinimumTlsVersion,
@@ -3683,6 +3805,28 @@ export declare interface PermissionScope {
3683
3805
  resourceName: string;
3684
3806
  }
3685
3807
 
3808
+ /**
3809
+ * Defines values for PostFailoverRedundancy. \
3810
+ * {@link KnownPostFailoverRedundancy} can be used interchangeably with PostFailoverRedundancy,
3811
+ * this enum contains the known values that the service supports.
3812
+ * ### Known values supported by the service
3813
+ * **Standard_LRS** \
3814
+ * **Standard_ZRS**
3815
+ */
3816
+ export declare type PostFailoverRedundancy = string;
3817
+
3818
+ /**
3819
+ * Defines values for PostPlannedFailoverRedundancy. \
3820
+ * {@link KnownPostPlannedFailoverRedundancy} can be used interchangeably with PostPlannedFailoverRedundancy,
3821
+ * this enum contains the known values that the service supports.
3822
+ * ### Known values supported by the service
3823
+ * **Standard_GRS** \
3824
+ * **Standard_GZRS** \
3825
+ * **Standard_RAGRS** \
3826
+ * **Standard_RAGZRS**
3827
+ */
3828
+ export declare type PostPlannedFailoverRedundancy = string;
3829
+
3686
3830
  /** The Private Endpoint resource. */
3687
3831
  export declare interface PrivateEndpoint {
3688
3832
  /**
@@ -3988,10 +4132,6 @@ export declare type QueueGetResponse = StorageQueue;
3988
4132
 
3989
4133
  /** Optional parameters. */
3990
4134
  export declare interface QueueListNextOptionalParams extends coreClient.OperationOptions {
3991
- /** Optional, When specified, only the queues with a name starting with the given filter will be listed. */
3992
- filter?: string;
3993
- /** Optional, a maximum number of queues that should be included in a list queue response */
3994
- maxpagesize?: string;
3995
4135
  }
3996
4136
 
3997
4137
  /** Contains response data for the listNext operation. */
@@ -4580,7 +4720,7 @@ export declare interface StorageAccount extends TrackedResource {
4580
4720
  * NOTE: This property will not be serialized. It can only be populated by the server.
4581
4721
  */
4582
4722
  readonly blobRestoreStatus?: BlobRestoreStatus;
4583
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
4723
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. */
4584
4724
  allowBlobPublicAccess?: boolean;
4585
4725
  /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
4586
4726
  minimumTlsVersion?: MinimumTlsVersion;
@@ -4588,7 +4728,7 @@ export declare interface StorageAccount extends TrackedResource {
4588
4728
  allowSharedKeyAccess?: boolean;
4589
4729
  /** NFS 3.0 protocol support enabled if set to true. */
4590
4730
  enableNfsV3?: boolean;
4591
- /** Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. */
4731
+ /** Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. */
4592
4732
  allowCrossTenantReplication?: boolean;
4593
4733
  /** A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. */
4594
4734
  defaultToOAuthAuthentication?: boolean;
@@ -4602,6 +4742,16 @@ export declare interface StorageAccount extends TrackedResource {
4602
4742
  storageAccountSkuConversionStatus?: StorageAccountSkuConversionStatus;
4603
4743
  /** Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. */
4604
4744
  dnsEndpointType?: DnsEndpointType;
4745
+ /**
4746
+ * This property will be set to true or false on an event of ongoing migration. Default value is null.
4747
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4748
+ */
4749
+ readonly isSkuConversionBlocked?: boolean;
4750
+ /**
4751
+ * If customer initiated account migration is in progress, the value will be true else it will be null.
4752
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4753
+ */
4754
+ readonly accountMigrationInProgress?: boolean;
4605
4755
  }
4606
4756
 
4607
4757
  /** The parameters used to check the availability of the storage account name. */
@@ -4658,7 +4808,7 @@ export declare interface StorageAccountCreateParameters {
4658
4808
  largeFileSharesState?: LargeFileSharesState;
4659
4809
  /** Maintains information about the network routing choice opted by the user for data transfer */
4660
4810
  routingPreference?: RoutingPreference;
4661
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
4811
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. */
4662
4812
  allowBlobPublicAccess?: boolean;
4663
4813
  /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
4664
4814
  minimumTlsVersion?: MinimumTlsVersion;
@@ -4666,7 +4816,7 @@ export declare interface StorageAccountCreateParameters {
4666
4816
  allowSharedKeyAccess?: boolean;
4667
4817
  /** NFS 3.0 protocol support enabled if set to true. */
4668
4818
  enableNfsV3?: boolean;
4669
- /** Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. */
4819
+ /** Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. */
4670
4820
  allowCrossTenantReplication?: boolean;
4671
4821
  /** A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. */
4672
4822
  defaultToOAuthAuthentication?: boolean;
@@ -4784,6 +4934,36 @@ export declare interface StorageAccountMicrosoftEndpoints {
4784
4934
  readonly dfs?: string;
4785
4935
  }
4786
4936
 
4937
+ /** The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region. */
4938
+ export declare interface StorageAccountMigration {
4939
+ /**
4940
+ * Migration Resource Id
4941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4942
+ */
4943
+ readonly id?: string;
4944
+ /** current value is 'default' for customer initiated migration */
4945
+ name?: string;
4946
+ /** SrpAccountMigrationType in ARM contract which is 'accountMigrations' */
4947
+ type?: string;
4948
+ /** Target sku name for the account */
4949
+ targetSkuName: SkuName;
4950
+ /**
4951
+ * Current status of migration
4952
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4953
+ */
4954
+ readonly migrationStatus?: MigrationStatus;
4955
+ /**
4956
+ * Error code for migration failure
4957
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4958
+ */
4959
+ readonly migrationFailedReason?: string;
4960
+ /**
4961
+ * Reason for migration failure
4962
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4963
+ */
4964
+ readonly migrationFailedDetailedReason?: string;
4965
+ }
4966
+
4787
4967
  /** The parameters used to regenerate the storage account key. */
4788
4968
  export declare interface StorageAccountRegenerateKeyParameters {
4789
4969
  /** The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. */
@@ -4827,7 +5007,7 @@ export declare interface StorageAccounts {
4827
5007
  * @param parameters The parameters to provide for the created account.
4828
5008
  * @param options The options parameters.
4829
5009
  */
4830
- beginCreate(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsCreateResponse>, StorageAccountsCreateResponse>>;
5010
+ beginCreate(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<SimplePollerLike<OperationState<StorageAccountsCreateResponse>, StorageAccountsCreateResponse>>;
4831
5011
  /**
4832
5012
  * Asynchronously creates a new storage account with the specified parameters. If an account is already
4833
5013
  * created and a subsequent create request is issued with different properties, the account properties
@@ -4935,7 +5115,7 @@ export declare interface StorageAccounts {
4935
5115
  * primary and secondary endpoints are available. The primary use case of a Planned Failover is
4936
5116
  * disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
4937
5117
  * to 'Planned'. Learn more about the failover options here-
4938
- * https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidanceS
5118
+ * https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
4939
5119
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
4940
5120
  * case insensitive.
4941
5121
  * @param accountName The name of the storage account within the specified resource group. Storage
@@ -4943,7 +5123,7 @@ export declare interface StorageAccounts {
4943
5123
  * only.
4944
5124
  * @param options The options parameters.
4945
5125
  */
4946
- beginFailover(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
5126
+ beginFailover(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
4947
5127
  /**
4948
5128
  * A failover request can be triggered for a storage account in the event a primary endpoint becomes
4949
5129
  * unavailable for any reason. The failover occurs from the storage account's primary cluster to the
@@ -4976,7 +5156,7 @@ export declare interface StorageAccounts {
4976
5156
  * request will migrate the account.
4977
5157
  * @param options The options parameters.
4978
5158
  */
4979
- beginHierarchicalNamespaceMigration(resourceGroupName: string, accountName: string, requestType: string, options?: StorageAccountsHierarchicalNamespaceMigrationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
5159
+ beginHierarchicalNamespaceMigration(resourceGroupName: string, accountName: string, requestType: string, options?: StorageAccountsHierarchicalNamespaceMigrationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
4980
5160
  /**
4981
5161
  * Live Migration of storage account to enable Hns
4982
5162
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
@@ -5000,7 +5180,7 @@ export declare interface StorageAccounts {
5000
5180
  * only.
5001
5181
  * @param options The options parameters.
5002
5182
  */
5003
- beginAbortHierarchicalNamespaceMigration(resourceGroupName: string, accountName: string, options?: StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
5183
+ beginAbortHierarchicalNamespaceMigration(resourceGroupName: string, accountName: string, options?: StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
5004
5184
  /**
5005
5185
  * Abort live Migration of storage account to enable Hns
5006
5186
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
@@ -5011,6 +5191,45 @@ export declare interface StorageAccounts {
5011
5191
  * @param options The options parameters.
5012
5192
  */
5013
5193
  beginAbortHierarchicalNamespaceMigrationAndWait(resourceGroupName: string, accountName: string, options?: StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams): Promise<void>;
5194
+ /**
5195
+ * Account Migration request can be triggered for a storage account to change its redundancy level. The
5196
+ * migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa
5197
+ * in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your
5198
+ * storage account synchronously across three Azure availability zones in the primary region.
5199
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
5200
+ * case insensitive.
5201
+ * @param accountName The name of the storage account within the specified resource group. Storage
5202
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
5203
+ * only.
5204
+ * @param parameters The request parameters required to perform storage account migration.
5205
+ * @param options The options parameters.
5206
+ */
5207
+ beginCustomerInitiatedMigration(resourceGroupName: string, accountName: string, parameters: StorageAccountMigration, options?: StorageAccountsCustomerInitiatedMigrationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
5208
+ /**
5209
+ * Account Migration request can be triggered for a storage account to change its redundancy level. The
5210
+ * migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa
5211
+ * in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your
5212
+ * storage account synchronously across three Azure availability zones in the primary region.
5213
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
5214
+ * case insensitive.
5215
+ * @param accountName The name of the storage account within the specified resource group. Storage
5216
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
5217
+ * only.
5218
+ * @param parameters The request parameters required to perform storage account migration.
5219
+ * @param options The options parameters.
5220
+ */
5221
+ beginCustomerInitiatedMigrationAndWait(resourceGroupName: string, accountName: string, parameters: StorageAccountMigration, options?: StorageAccountsCustomerInitiatedMigrationOptionalParams): Promise<void>;
5222
+ /**
5223
+ * Gets the status of the ongoing migration for the specified storage account.
5224
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
5225
+ * case insensitive.
5226
+ * @param accountName The name of the storage account within the specified resource group. Storage
5227
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
5228
+ * only.
5229
+ * @param migrationName The name of the Storage Account Migration. It should always be 'default'
5230
+ * @param options The options parameters.
5231
+ */
5232
+ getCustomerInitiatedMigration(resourceGroupName: string, accountName: string, migrationName: MigrationName, options?: StorageAccountsGetCustomerInitiatedMigrationOptionalParams): Promise<StorageAccountsGetCustomerInitiatedMigrationResponse>;
5014
5233
  /**
5015
5234
  * Restore blobs in the specified blob ranges
5016
5235
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
@@ -5021,7 +5240,7 @@ export declare interface StorageAccounts {
5021
5240
  * @param parameters The parameters to provide for restore blob ranges.
5022
5241
  * @param options The options parameters.
5023
5242
  */
5024
- beginRestoreBlobRanges(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsRestoreBlobRangesResponse>, StorageAccountsRestoreBlobRangesResponse>>;
5243
+ beginRestoreBlobRanges(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<SimplePollerLike<OperationState<StorageAccountsRestoreBlobRangesResponse>, StorageAccountsRestoreBlobRangesResponse>>;
5025
5244
  /**
5026
5245
  * Restore blobs in the specified blob ranges
5027
5246
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
@@ -5071,6 +5290,19 @@ export declare interface StorageAccountsCreateOptionalParams extends coreClient.
5071
5290
  /** Contains response data for the create operation. */
5072
5291
  export declare type StorageAccountsCreateResponse = StorageAccount;
5073
5292
 
5293
+ /** Defines headers for StorageAccounts_customerInitiatedMigration operation. */
5294
+ export declare interface StorageAccountsCustomerInitiatedMigrationHeaders {
5295
+ location?: string;
5296
+ }
5297
+
5298
+ /** Optional parameters. */
5299
+ export declare interface StorageAccountsCustomerInitiatedMigrationOptionalParams extends coreClient.OperationOptions {
5300
+ /** Delay to wait until next poll, in milliseconds. */
5301
+ updateIntervalInMs?: number;
5302
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5303
+ resumeFrom?: string;
5304
+ }
5305
+
5074
5306
  /** Optional parameters. */
5075
5307
  export declare interface StorageAccountsDeleteOptionalParams extends coreClient.OperationOptions {
5076
5308
  }
@@ -5083,6 +5315,13 @@ export declare interface StorageAccountsFailoverOptionalParams extends coreClien
5083
5315
  resumeFrom?: string;
5084
5316
  }
5085
5317
 
5318
+ /** Optional parameters. */
5319
+ export declare interface StorageAccountsGetCustomerInitiatedMigrationOptionalParams extends coreClient.OperationOptions {
5320
+ }
5321
+
5322
+ /** Contains response data for the getCustomerInitiatedMigration operation. */
5323
+ export declare type StorageAccountsGetCustomerInitiatedMigrationResponse = StorageAccountMigration;
5324
+
5086
5325
  /** Optional parameters. */
5087
5326
  export declare interface StorageAccountsGetPropertiesOptionalParams extends coreClient.OperationOptions {
5088
5327
  /** May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. */
@@ -5235,13 +5474,13 @@ export declare interface StorageAccountUpdateParameters {
5235
5474
  largeFileSharesState?: LargeFileSharesState;
5236
5475
  /** Maintains information about the network routing choice opted by the user for data transfer */
5237
5476
  routingPreference?: RoutingPreference;
5238
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
5477
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. */
5239
5478
  allowBlobPublicAccess?: boolean;
5240
5479
  /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
5241
5480
  minimumTlsVersion?: MinimumTlsVersion;
5242
5481
  /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
5243
5482
  allowSharedKeyAccess?: boolean;
5244
- /** Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. */
5483
+ /** Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. */
5245
5484
  allowCrossTenantReplication?: boolean;
5246
5485
  /** A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. */
5247
5486
  defaultToOAuthAuthentication?: boolean;