@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1

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 (388) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +63 -80
  4. package/dist/index.js +10964 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/coreClientLro.d.ts +26 -0
  9. package/esm/coreClientLro.d.ts.map +1 -0
  10. package/esm/coreClientLro.js +186 -0
  11. package/esm/coreClientLro.js.map +1 -0
  12. package/esm/index.d.ts +5002 -0
  13. package/esm/index.d.ts.map +1 -0
  14. package/esm/index.js +13 -0
  15. package/esm/index.js.map +1 -0
  16. package/esm/lro/azureAsyncPolling.d.ts +3 -0
  17. package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
  18. package/esm/lro/azureAsyncPolling.js +67 -0
  19. package/esm/lro/azureAsyncPolling.js.map +1 -0
  20. package/esm/lro/bodyPolling.d.ts +8 -0
  21. package/esm/lro/bodyPolling.d.ts.map +1 -0
  22. package/esm/lro/bodyPolling.js +37 -0
  23. package/esm/lro/bodyPolling.js.map +1 -0
  24. package/esm/lro/index.d.ts +4 -0
  25. package/esm/lro/index.d.ts.map +1 -0
  26. package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
  27. package/esm/lro/index.js.map +1 -0
  28. package/esm/lro/locationPolling.d.ts +3 -0
  29. package/esm/lro/locationPolling.d.ts.map +1 -0
  30. package/esm/lro/locationPolling.js +19 -0
  31. package/esm/lro/locationPolling.js.map +1 -0
  32. package/esm/lro/lroEngine.d.ts +14 -0
  33. package/esm/lro/lroEngine.d.ts.map +1 -0
  34. package/esm/lro/lroEngine.js +41 -0
  35. package/esm/lro/lroEngine.js.map +1 -0
  36. package/esm/lro/models.d.ts +138 -0
  37. package/esm/lro/models.d.ts.map +1 -0
  38. package/esm/lro/models.js +14 -0
  39. package/esm/lro/models.js.map +1 -0
  40. package/esm/lro/operation.d.ts +36 -0
  41. package/esm/lro/operation.d.ts.map +1 -0
  42. package/esm/lro/operation.js +82 -0
  43. package/esm/lro/operation.js.map +1 -0
  44. package/esm/lro/passthrough.d.ts +3 -0
  45. package/esm/lro/passthrough.d.ts.map +1 -0
  46. package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
  47. package/esm/lro/passthrough.js.map +1 -0
  48. package/esm/lro/requestUtils.d.ts +16 -0
  49. package/esm/lro/requestUtils.d.ts.map +1 -0
  50. package/esm/lro/requestUtils.js +73 -0
  51. package/esm/lro/requestUtils.js.map +1 -0
  52. package/esm/lro/stateMachine.d.ts +18 -0
  53. package/esm/lro/stateMachine.d.ts.map +1 -0
  54. package/esm/lro/stateMachine.js +84 -0
  55. package/esm/lro/stateMachine.js.map +1 -0
  56. package/esm/models/index.d.ts +2673 -4395
  57. package/esm/models/index.d.ts.map +1 -1
  58. package/esm/models/index.js +331 -0
  59. package/esm/models/index.js.map +1 -1
  60. package/esm/models/mappers.d.ts +146 -138
  61. package/esm/models/mappers.d.ts.map +1 -1
  62. package/esm/models/mappers.js +2734 -2563
  63. package/esm/models/mappers.js.map +1 -1
  64. package/esm/models/parameters.d.ts +59 -33
  65. package/esm/models/parameters.d.ts.map +1 -1
  66. package/esm/models/parameters.js +267 -159
  67. package/esm/models/parameters.js.map +1 -1
  68. package/esm/operations/blobContainers.d.ts +213 -561
  69. package/esm/operations/blobContainers.d.ts.map +1 -1
  70. package/esm/operations/blobContainers.js +578 -429
  71. package/esm/operations/blobContainers.js.map +1 -1
  72. package/esm/operations/blobInventoryPolicies.d.ts +47 -109
  73. package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
  74. package/esm/operations/blobInventoryPolicies.js +163 -105
  75. package/esm/operations/blobInventoryPolicies.js.map +1 -1
  76. package/esm/operations/blobServices.d.ts +39 -89
  77. package/esm/operations/blobServices.d.ts.map +1 -1
  78. package/esm/operations/blobServices.js +133 -89
  79. package/esm/operations/blobServices.js.map +1 -1
  80. package/esm/operations/deletedAccounts.d.ts +20 -47
  81. package/esm/operations/deletedAccounts.d.ts.map +1 -1
  82. package/esm/operations/deletedAccounts.js +111 -69
  83. package/esm/operations/deletedAccounts.js.map +1 -1
  84. package/esm/operations/encryptionScopes.d.ts +65 -166
  85. package/esm/operations/encryptionScopes.d.ts.map +1 -1
  86. package/esm/operations/encryptionScopes.js +211 -131
  87. package/esm/operations/encryptionScopes.js.map +1 -1
  88. package/esm/operations/fileServices.d.ts +25 -89
  89. package/esm/operations/fileServices.d.ts.map +1 -1
  90. package/esm/operations/fileServices.js +86 -83
  91. package/esm/operations/fileServices.js.map +1 -1
  92. package/esm/operations/fileShares.d.ts +100 -256
  93. package/esm/operations/fileShares.d.ts.map +1 -1
  94. package/esm/operations/fileShares.js +316 -164
  95. package/esm/operations/fileShares.js.map +1 -1
  96. package/esm/operations/index.d.ts.map +1 -1
  97. package/esm/operations/index.js +1 -2
  98. package/esm/operations/index.js.map +1 -1
  99. package/esm/operations/managementPolicies.d.ts +30 -89
  100. package/esm/operations/managementPolicies.d.ts.map +1 -1
  101. package/esm/operations/managementPolicies.js +89 -92
  102. package/esm/operations/managementPolicies.js.map +1 -1
  103. package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
  104. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  105. package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
  106. package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
  107. package/esm/operations/operations.d.ts +14 -15
  108. package/esm/operations/operations.d.ts.map +1 -1
  109. package/esm/operations/operations.js +67 -29
  110. package/esm/operations/operations.js.map +1 -1
  111. package/esm/operations/privateEndpointConnections.d.ts +46 -126
  112. package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  113. package/esm/operations/privateEndpointConnections.js +171 -103
  114. package/esm/operations/privateEndpointConnections.js.map +1 -1
  115. package/esm/operations/privateLinkResources.d.ts +11 -31
  116. package/esm/operations/privateLinkResources.d.ts.map +1 -1
  117. package/esm/operations/privateLinkResources.js +32 -36
  118. package/esm/operations/privateLinkResources.js.map +1 -1
  119. package/esm/operations/queue.d.ts +69 -196
  120. package/esm/operations/queue.d.ts.map +1 -1
  121. package/esm/operations/queue.js +230 -162
  122. package/esm/operations/queue.js.map +1 -1
  123. package/esm/operations/queueServices.d.ts +29 -87
  124. package/esm/operations/queueServices.d.ts.map +1 -1
  125. package/esm/operations/queueServices.js +86 -87
  126. package/esm/operations/queueServices.js.map +1 -1
  127. package/esm/operations/skus.d.ts +14 -15
  128. package/esm/operations/skus.d.ts.map +1 -1
  129. package/esm/operations/skus.js +67 -32
  130. package/esm/operations/skus.js.map +1 -1
  131. package/esm/operations/storageAccounts.d.ts +163 -381
  132. package/esm/operations/storageAccounts.d.ts.map +1 -1
  133. package/esm/operations/storageAccounts.js +605 -501
  134. package/esm/operations/storageAccounts.js.map +1 -1
  135. package/esm/operations/tableOperations.d.ts +67 -184
  136. package/esm/operations/tableOperations.d.ts.map +1 -1
  137. package/esm/operations/tableOperations.js +220 -143
  138. package/esm/operations/tableOperations.js.map +1 -1
  139. package/esm/operations/tableServices.d.ts +29 -87
  140. package/esm/operations/tableServices.d.ts.map +1 -1
  141. package/esm/operations/tableServices.js +86 -87
  142. package/esm/operations/tableServices.js.map +1 -1
  143. package/esm/operations/usages.d.ts +15 -18
  144. package/esm/operations/usages.d.ts.map +1 -1
  145. package/esm/operations/usages.js +73 -34
  146. package/esm/operations/usages.js.map +1 -1
  147. package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
  148. package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
  149. package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
  150. package/esm/operationsInterfaces/blobContainers.js.map +1 -0
  151. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
  152. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  153. package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
  154. package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  155. package/esm/operationsInterfaces/blobServices.d.ts +41 -0
  156. package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
  157. package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
  158. package/esm/operationsInterfaces/blobServices.js.map +1 -0
  159. package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
  160. package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  161. package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
  162. package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
  163. package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
  164. package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  165. package/esm/operationsInterfaces/encryptionScopes.js +9 -0
  166. package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
  167. package/esm/operationsInterfaces/fileServices.d.ts +39 -0
  168. package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
  169. package/esm/operationsInterfaces/fileServices.js +9 -0
  170. package/esm/operationsInterfaces/fileServices.js.map +1 -0
  171. package/esm/operationsInterfaces/fileShares.d.ts +102 -0
  172. package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
  173. package/esm/operationsInterfaces/fileShares.js +9 -0
  174. package/esm/operationsInterfaces/fileShares.js.map +1 -0
  175. package/esm/operationsInterfaces/index.d.ts +20 -0
  176. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  177. package/esm/operationsInterfaces/index.js +27 -0
  178. package/esm/operationsInterfaces/index.js.map +1 -0
  179. package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
  180. package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  181. package/esm/operationsInterfaces/managementPolicies.js +9 -0
  182. package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
  183. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
  184. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  185. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  186. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  187. package/esm/operationsInterfaces/operations.d.ts +12 -0
  188. package/esm/operationsInterfaces/operations.d.ts.map +1 -0
  189. package/esm/operationsInterfaces/operations.js +9 -0
  190. package/esm/operationsInterfaces/operations.js.map +1 -0
  191. package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
  192. package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  193. package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  194. package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  195. package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  196. package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  197. package/esm/operationsInterfaces/privateLinkResources.js +9 -0
  198. package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  199. package/esm/operationsInterfaces/queue.d.ts +71 -0
  200. package/esm/operationsInterfaces/queue.d.ts.map +1 -0
  201. package/esm/operationsInterfaces/queue.js +9 -0
  202. package/esm/operationsInterfaces/queue.js.map +1 -0
  203. package/esm/operationsInterfaces/queueServices.d.ts +39 -0
  204. package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
  205. package/esm/operationsInterfaces/queueServices.js +9 -0
  206. package/esm/operationsInterfaces/queueServices.js.map +1 -0
  207. package/esm/operationsInterfaces/skus.d.ts +12 -0
  208. package/esm/operationsInterfaces/skus.d.ts.map +1 -0
  209. package/esm/operationsInterfaces/skus.js +9 -0
  210. package/esm/operationsInterfaces/skus.js.map +1 -0
  211. package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
  212. package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  213. package/esm/operationsInterfaces/storageAccounts.js +9 -0
  214. package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
  215. package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
  216. package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
  217. package/esm/operationsInterfaces/tableOperations.js +9 -0
  218. package/esm/operationsInterfaces/tableOperations.js.map +1 -0
  219. package/esm/operationsInterfaces/tableServices.d.ts +39 -0
  220. package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
  221. package/esm/operationsInterfaces/tableServices.js +9 -0
  222. package/esm/operationsInterfaces/tableServices.js.map +1 -0
  223. package/esm/operationsInterfaces/usages.d.ts +13 -0
  224. package/esm/operationsInterfaces/usages.d.ts.map +1 -0
  225. package/esm/operationsInterfaces/usages.js +9 -0
  226. package/esm/operationsInterfaces/usages.js.map +1 -0
  227. package/esm/storageManagementClient.d.ts +26 -35
  228. package/esm/storageManagementClient.d.ts.map +1 -1
  229. package/esm/storageManagementClient.js +27 -42
  230. package/esm/storageManagementClient.js.map +1 -1
  231. package/esm/storageManagementClientContext.d.ts +10 -16
  232. package/esm/storageManagementClientContext.d.ts.map +1 -1
  233. package/esm/storageManagementClientContext.js +32 -44
  234. package/esm/storageManagementClientContext.js.map +1 -1
  235. package/package.json +57 -18
  236. package/review/arm-storage.api.md +2659 -0
  237. package/rollup.config.js +181 -30
  238. package/src/coreClientLro.ts +323 -0
  239. package/src/index.ts +13 -0
  240. package/src/lro/azureAsyncPolling.ts +96 -0
  241. package/src/lro/bodyPolling.ts +54 -0
  242. package/src/lro/index.ts +26 -0
  243. package/src/lro/locationPolling.ts +30 -0
  244. package/src/lro/lroEngine.ts +61 -0
  245. package/src/lro/models.ts +173 -0
  246. package/src/lro/operation.ts +120 -0
  247. package/src/lro/passthrough.ts +23 -0
  248. package/src/lro/requestUtils.ts +105 -0
  249. package/src/lro/stateMachine.ts +138 -0
  250. package/src/models/index.ts +2813 -4492
  251. package/src/models/mappers.ts +2745 -2553
  252. package/src/models/parameters.ts +354 -160
  253. package/src/operations/blobContainers.ts +719 -1037
  254. package/src/operations/blobInventoryPolicies.ts +182 -211
  255. package/src/operations/blobServices.ts +150 -177
  256. package/src/operations/deletedAccounts.ts +111 -112
  257. package/src/operations/encryptionScopes.ts +233 -291
  258. package/src/operations/fileServices.ts +99 -171
  259. package/src/operations/fileShares.ts +335 -560
  260. package/src/operations/index.ts +1 -2
  261. package/src/operations/managementPolicies.ts +102 -175
  262. package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
  263. package/src/operations/operations.ts +61 -38
  264. package/src/operations/privateEndpointConnections.ts +177 -214
  265. package/src/operations/privateLinkResources.ts +37 -60
  266. package/src/operations/queue.ts +269 -365
  267. package/src/operations/queueServices.ts +103 -173
  268. package/src/operations/skus.ts +59 -41
  269. package/src/operations/storageAccounts.ts +779 -872
  270. package/src/operations/tableOperations.ts +255 -328
  271. package/src/operations/tableServices.ts +103 -173
  272. package/src/operations/usages.ts +73 -45
  273. package/src/operationsInterfaces/blobContainers.ts +366 -0
  274. package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
  275. package/src/operationsInterfaces/blobServices.ts +70 -0
  276. package/src/operationsInterfaces/deletedAccounts.ts +39 -0
  277. package/src/operationsInterfaces/encryptionScopes.ts +103 -0
  278. package/src/operationsInterfaces/fileServices.ts +68 -0
  279. package/src/operationsInterfaces/fileShares.ts +163 -0
  280. package/src/operationsInterfaces/index.ts +27 -0
  281. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  282. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
  283. package/src/operationsInterfaces/operations.ts +23 -0
  284. package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
  285. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  286. package/src/operationsInterfaces/queue.ts +117 -0
  287. package/src/operationsInterfaces/queueServices.ts +68 -0
  288. package/src/operationsInterfaces/skus.ts +23 -0
  289. package/src/operationsInterfaces/storageAccounts.ts +320 -0
  290. package/src/operationsInterfaces/tableOperations.ts +112 -0
  291. package/src/operationsInterfaces/tableServices.ts +68 -0
  292. package/src/operationsInterfaces/usages.ts +25 -0
  293. package/src/storageManagementClient.ts +94 -67
  294. package/src/storageManagementClientContext.ts +42 -46
  295. package/tsconfig.json +2 -1
  296. package/dist/arm-storage.js +0 -10687
  297. package/dist/arm-storage.js.map +0 -1
  298. package/dist/arm-storage.min.js +0 -1
  299. package/dist/arm-storage.min.js.map +0 -1
  300. package/esm/models/blobContainersMappers.d.ts +0 -2
  301. package/esm/models/blobContainersMappers.d.ts.map +0 -1
  302. package/esm/models/blobContainersMappers.js +0 -9
  303. package/esm/models/blobContainersMappers.js.map +0 -1
  304. package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
  305. package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
  306. package/esm/models/blobInventoryPoliciesMappers.js +0 -9
  307. package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
  308. package/esm/models/blobServicesMappers.d.ts +0 -2
  309. package/esm/models/blobServicesMappers.d.ts.map +0 -1
  310. package/esm/models/blobServicesMappers.js +0 -9
  311. package/esm/models/blobServicesMappers.js.map +0 -1
  312. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  313. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  314. package/esm/models/deletedAccountsMappers.js +0 -9
  315. package/esm/models/deletedAccountsMappers.js.map +0 -1
  316. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  317. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  318. package/esm/models/encryptionScopesMappers.js +0 -9
  319. package/esm/models/encryptionScopesMappers.js.map +0 -1
  320. package/esm/models/fileServicesMappers.d.ts +0 -2
  321. package/esm/models/fileServicesMappers.d.ts.map +0 -1
  322. package/esm/models/fileServicesMappers.js +0 -9
  323. package/esm/models/fileServicesMappers.js.map +0 -1
  324. package/esm/models/fileSharesMappers.d.ts +0 -2
  325. package/esm/models/fileSharesMappers.d.ts.map +0 -1
  326. package/esm/models/fileSharesMappers.js +0 -9
  327. package/esm/models/fileSharesMappers.js.map +0 -1
  328. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  329. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  330. package/esm/models/managementPoliciesMappers.js +0 -9
  331. package/esm/models/managementPoliciesMappers.js.map +0 -1
  332. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  333. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  334. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  335. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  336. package/esm/models/operationsMappers.d.ts +0 -2
  337. package/esm/models/operationsMappers.d.ts.map +0 -1
  338. package/esm/models/operationsMappers.js.map +0 -1
  339. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  340. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  341. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  342. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  343. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  344. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  345. package/esm/models/privateLinkResourcesMappers.js +0 -9
  346. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  347. package/esm/models/queueMappers.d.ts +0 -2
  348. package/esm/models/queueMappers.d.ts.map +0 -1
  349. package/esm/models/queueMappers.js +0 -9
  350. package/esm/models/queueMappers.js.map +0 -1
  351. package/esm/models/queueServicesMappers.d.ts +0 -2
  352. package/esm/models/queueServicesMappers.d.ts.map +0 -1
  353. package/esm/models/queueServicesMappers.js +0 -9
  354. package/esm/models/queueServicesMappers.js.map +0 -1
  355. package/esm/models/skusMappers.d.ts +0 -2
  356. package/esm/models/skusMappers.d.ts.map +0 -1
  357. package/esm/models/skusMappers.js.map +0 -1
  358. package/esm/models/storageAccountsMappers.d.ts +0 -2
  359. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  360. package/esm/models/storageAccountsMappers.js +0 -9
  361. package/esm/models/storageAccountsMappers.js.map +0 -1
  362. package/esm/models/tableOperationsMappers.d.ts +0 -2
  363. package/esm/models/tableOperationsMappers.d.ts.map +0 -1
  364. package/esm/models/tableOperationsMappers.js +0 -9
  365. package/esm/models/tableOperationsMappers.js.map +0 -1
  366. package/esm/models/tableServicesMappers.d.ts +0 -2
  367. package/esm/models/tableServicesMappers.d.ts.map +0 -1
  368. package/esm/models/tableServicesMappers.js +0 -9
  369. package/esm/models/tableServicesMappers.js.map +0 -1
  370. package/esm/models/usagesMappers.d.ts +0 -2
  371. package/esm/models/usagesMappers.d.ts.map +0 -1
  372. package/esm/models/usagesMappers.js.map +0 -1
  373. package/src/models/blobContainersMappers.ts +0 -106
  374. package/src/models/blobInventoryPoliciesMappers.ts +0 -99
  375. package/src/models/blobServicesMappers.ts +0 -98
  376. package/src/models/deletedAccountsMappers.ts +0 -99
  377. package/src/models/encryptionScopesMappers.ts +0 -100
  378. package/src/models/fileServicesMappers.ts +0 -98
  379. package/src/models/fileSharesMappers.ts +0 -99
  380. package/src/models/managementPoliciesMappers.ts +0 -97
  381. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
  382. package/src/models/privateEndpointConnectionsMappers.ts +0 -100
  383. package/src/models/privateLinkResourcesMappers.ts +0 -98
  384. package/src/models/queueMappers.ts +0 -98
  385. package/src/models/queueServicesMappers.ts +0 -98
  386. package/src/models/storageAccountsMappers.ts +0 -109
  387. package/src/models/tableOperationsMappers.ts +0 -98
  388. package/src/models/tableServicesMappers.ts +0 -98
@@ -1,455 +1,237 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
1
+ import "@azure/core-paging";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { StorageAccounts } from "../operationsInterfaces";
4
4
  import { StorageManagementClientContext } from "../storageManagementClientContext";
5
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
6
+ import { StorageAccount, StorageAccountsListOptionalParams, StorageAccountsListByResourceGroupOptionalParams, StorageAccountCheckNameAvailabilityParameters, StorageAccountsCheckNameAvailabilityOptionalParams, StorageAccountsCheckNameAvailabilityResponse, StorageAccountCreateParameters, StorageAccountsCreateOptionalParams, StorageAccountsCreateResponse, StorageAccountsDeleteOptionalParams, StorageAccountsGetPropertiesOptionalParams, StorageAccountsGetPropertiesResponse, StorageAccountUpdateParameters, StorageAccountsUpdateOptionalParams, StorageAccountsUpdateResponse, StorageAccountsListKeysOptionalParams, StorageAccountsListKeysResponse, StorageAccountRegenerateKeyParameters, StorageAccountsRegenerateKeyOptionalParams, StorageAccountsRegenerateKeyResponse, AccountSasParameters, StorageAccountsListAccountSASOptionalParams, StorageAccountsListAccountSASResponse, ServiceSasParameters, StorageAccountsListServiceSASOptionalParams, StorageAccountsListServiceSASResponse, StorageAccountsFailoverOptionalParams, BlobRestoreParameters, StorageAccountsRestoreBlobRangesOptionalParams, StorageAccountsRestoreBlobRangesResponse, StorageAccountsRevokeUserDelegationKeysOptionalParams } from "../models";
5
7
  /** Class representing a StorageAccounts. */
6
- export declare class StorageAccounts {
8
+ export declare class StorageAccountsImpl implements StorageAccounts {
7
9
  private readonly client;
8
10
  /**
9
- * Create a StorageAccounts.
10
- * @param {StorageManagementClientContext} client Reference to the service client.
11
+ * Initialize a new instance of the class StorageAccounts class.
12
+ * @param client Reference to the service client
11
13
  */
12
14
  constructor(client: StorageManagementClientContext);
13
15
  /**
14
- * Checks that the storage account name is valid and is not already in use.
15
- * @param name The storage account name.
16
- * @param [options] The optional parameters
17
- * @returns Promise<Models.StorageAccountsCheckNameAvailabilityResponse>
18
- */
19
- checkNameAvailability(name: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsCheckNameAvailabilityResponse>;
20
- /**
21
- * @param name The storage account name.
22
- * @param callback The callback
16
+ * Lists all the storage accounts available under the subscription. Note that storage keys are not
17
+ * returned; use the ListKeys operation for this.
18
+ * @param options The options parameters.
23
19
  */
24
- checkNameAvailability(name: string, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void;
20
+ list(options?: StorageAccountsListOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
21
+ private listPagingPage;
22
+ private listPagingAll;
25
23
  /**
26
- * @param name The storage account name.
27
- * @param options The optional parameters
28
- * @param callback The callback
24
+ * Lists all the storage accounts available under the given resource group. Note that storage keys are
25
+ * not returned; use the ListKeys operation for this.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
27
+ * case insensitive.
28
+ * @param options The options parameters.
29
29
  */
30
- checkNameAvailability(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void;
30
+ listByResourceGroup(resourceGroupName: string, options?: StorageAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
31
+ private listByResourceGroupPagingPage;
32
+ private listByResourceGroupPagingAll;
31
33
  /**
32
- * Asynchronously creates a new storage account with the specified parameters. If an account is
33
- * already created and a subsequent create request is issued with different properties, the account
34
- * properties will be updated. If an account is already created and a subsequent create or update
35
- * request is issued with the exact same set of properties, the request will succeed.
36
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
37
- * is case insensitive.
34
+ * Checks that the storage account name is valid and is not already in use.
38
35
  * @param accountName The name of the storage account within the specified resource group. Storage
39
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
40
- * letters only.
41
- * @param parameters The parameters to provide for the created account.
42
- * @param [options] The optional parameters
43
- * @returns Promise<Models.StorageAccountsCreateResponse>
36
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
37
+ * only.
38
+ * @param options The options parameters.
44
39
  */
45
- create(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountCreateParameters, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsCreateResponse>;
40
+ checkNameAvailability(accountName: StorageAccountCheckNameAvailabilityParameters, options?: StorageAccountsCheckNameAvailabilityOptionalParams): Promise<StorageAccountsCheckNameAvailabilityResponse>;
46
41
  /**
47
- * Deletes a storage account in Microsoft Azure.
48
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
49
- * is case insensitive.
42
+ * Asynchronously creates a new storage account with the specified parameters. If an account is already
43
+ * created and a subsequent create request is issued with different properties, the account properties
44
+ * will be updated. If an account is already created and a subsequent create or update request is
45
+ * issued with the exact same set of properties, the request will succeed.
46
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
47
+ * case insensitive.
50
48
  * @param accountName The name of the storage account within the specified resource group. Storage
51
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
52
- * letters only.
53
- * @param [options] The optional parameters
54
- * @returns Promise<msRest.RestResponse>
49
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
50
+ * only.
51
+ * @param parameters The parameters to provide for the created account.
52
+ * @param options The options parameters.
55
53
  */
56
- deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
54
+ beginCreate(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsCreateResponse>, StorageAccountsCreateResponse>>;
57
55
  /**
58
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
59
- * is case insensitive.
56
+ * Asynchronously creates a new storage account with the specified parameters. If an account is already
57
+ * created and a subsequent create request is issued with different properties, the account properties
58
+ * will be updated. If an account is already created and a subsequent create or update request is
59
+ * issued with the exact same set of properties, the request will succeed.
60
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
61
+ * case insensitive.
60
62
  * @param accountName The name of the storage account within the specified resource group. Storage
61
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
62
- * letters only.
63
- * @param callback The callback
63
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
64
+ * only.
65
+ * @param parameters The parameters to provide for the created account.
66
+ * @param options The options parameters.
64
67
  */
65
- deleteMethod(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
68
+ beginCreateAndWait(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<StorageAccountsCreateResponse>;
66
69
  /**
67
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
68
- * is case insensitive.
70
+ * Deletes a storage account in Microsoft Azure.
71
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
72
+ * case insensitive.
69
73
  * @param accountName The name of the storage account within the specified resource group. Storage
70
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
71
- * letters only.
72
- * @param options The optional parameters
73
- * @param callback The callback
74
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
75
+ * only.
76
+ * @param options The options parameters.
74
77
  */
75
- deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
78
+ delete(resourceGroupName: string, accountName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>;
76
79
  /**
77
80
  * Returns the properties for the specified storage account including but not limited to name, SKU
78
- * name, location, and account status. The ListKeys operation should be used to retrieve storage
79
- * keys.
80
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
81
- * is case insensitive.
82
- * @param accountName The name of the storage account within the specified resource group. Storage
83
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
84
- * letters only.
85
- * @param [options] The optional parameters
86
- * @returns Promise<Models.StorageAccountsGetPropertiesResponse>
87
- */
88
- getProperties(resourceGroupName: string, accountName: string, options?: Models.StorageAccountsGetPropertiesOptionalParams): Promise<Models.StorageAccountsGetPropertiesResponse>;
89
- /**
90
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
91
- * is case insensitive.
92
- * @param accountName The name of the storage account within the specified resource group. Storage
93
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
94
- * letters only.
95
- * @param callback The callback
96
- */
97
- getProperties(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.StorageAccount>): void;
98
- /**
99
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
100
- * is case insensitive.
101
- * @param accountName The name of the storage account within the specified resource group. Storage
102
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
103
- * letters only.
104
- * @param options The optional parameters
105
- * @param callback The callback
106
- */
107
- getProperties(resourceGroupName: string, accountName: string, options: Models.StorageAccountsGetPropertiesOptionalParams, callback: msRest.ServiceCallback<Models.StorageAccount>): void;
108
- /**
109
- * The update operation can be used to update the SKU, encryption, access tier, or tags for a
110
- * storage account. It can also be used to map the account to a custom domain. Only one custom
111
- * domain is supported per storage account; the replacement/change of custom domain is not
112
- * supported. In order to replace an old custom domain, the old value must be cleared/unregistered
113
- * before a new value can be set. The update of multiple properties is supported. This call does
114
- * not change the storage keys for the account. If you want to change the storage account keys, use
115
- * the regenerate keys operation. The location and name of the storage account cannot be changed
116
- * after creation.
117
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
118
- * is case insensitive.
119
- * @param accountName The name of the storage account within the specified resource group. Storage
120
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
121
- * letters only.
122
- * @param parameters The parameters to provide for the updated account.
123
- * @param [options] The optional parameters
124
- * @returns Promise<Models.StorageAccountsUpdateResponse>
125
- */
126
- update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsUpdateResponse>;
127
- /**
128
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
129
- * is case insensitive.
130
- * @param accountName The name of the storage account within the specified resource group. Storage
131
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
132
- * letters only.
81
+ * name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
82
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
83
+ * case insensitive.
84
+ * @param accountName The name of the storage account within the specified resource group. Storage
85
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
86
+ * only.
87
+ * @param options The options parameters.
88
+ */
89
+ getProperties(resourceGroupName: string, accountName: string, options?: StorageAccountsGetPropertiesOptionalParams): Promise<StorageAccountsGetPropertiesResponse>;
90
+ /**
91
+ * The update operation can be used to update the SKU, encryption, access tier, or tags for a storage
92
+ * account. It can also be used to map the account to a custom domain. Only one custom domain is
93
+ * supported per storage account; the replacement/change of custom domain is not supported. In order to
94
+ * replace an old custom domain, the old value must be cleared/unregistered before a new value can be
95
+ * set. The update of multiple properties is supported. This call does not change the storage keys for
96
+ * the account. If you want to change the storage account keys, use the regenerate keys operation. The
97
+ * location and name of the storage account cannot be changed after creation.
98
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
99
+ * case insensitive.
100
+ * @param accountName The name of the storage account within the specified resource group. Storage
101
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
102
+ * only.
133
103
  * @param parameters The parameters to provide for the updated account.
134
- * @param callback The callback
104
+ * @param options The options parameters.
135
105
  */
136
- update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, callback: msRest.ServiceCallback<Models.StorageAccount>): void;
137
- /**
138
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
139
- * is case insensitive.
140
- * @param accountName The name of the storage account within the specified resource group. Storage
141
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
142
- * letters only.
143
- * @param parameters The parameters to provide for the updated account.
144
- * @param options The optional parameters
145
- * @param callback The callback
146
- */
147
- update(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccount>): void;
106
+ update(resourceGroupName: string, accountName: string, parameters: StorageAccountUpdateParameters, options?: StorageAccountsUpdateOptionalParams): Promise<StorageAccountsUpdateResponse>;
148
107
  /**
149
108
  * Lists all the storage accounts available under the subscription. Note that storage keys are not
150
109
  * returned; use the ListKeys operation for this.
151
- * @param [options] The optional parameters
152
- * @returns Promise<Models.StorageAccountsListResponse>
153
- */
154
- list(options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListResponse>;
155
- /**
156
- * @param callback The callback
157
- */
158
- list(callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
159
- /**
160
- * @param options The optional parameters
161
- * @param callback The callback
110
+ * @param options The options parameters.
162
111
  */
163
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
112
+ private _list;
164
113
  /**
165
- * Lists all the storage accounts available under the given resource group. Note that storage keys
166
- * are not returned; use the ListKeys operation for this.
167
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
168
- * is case insensitive.
169
- * @param [options] The optional parameters
170
- * @returns Promise<Models.StorageAccountsListByResourceGroupResponse>
114
+ * Lists all the storage accounts available under the given resource group. Note that storage keys are
115
+ * not returned; use the ListKeys operation for this.
116
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
117
+ * case insensitive.
118
+ * @param options The options parameters.
171
119
  */
172
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListByResourceGroupResponse>;
173
- /**
174
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
175
- * is case insensitive.
176
- * @param callback The callback
177
- */
178
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
179
- /**
180
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
181
- * is case insensitive.
182
- * @param options The optional parameters
183
- * @param callback The callback
184
- */
185
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
120
+ private _listByResourceGroup;
186
121
  /**
187
122
  * Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage
188
123
  * account.
189
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
190
- * is case insensitive.
124
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
125
+ * case insensitive.
191
126
  * @param accountName The name of the storage account within the specified resource group. Storage
192
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
193
- * letters only.
194
- * @param [options] The optional parameters
195
- * @returns Promise<Models.StorageAccountsListKeysResponse>
127
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
128
+ * only.
129
+ * @param options The options parameters.
196
130
  */
197
- listKeys(resourceGroupName: string, accountName: string, options?: Models.StorageAccountsListKeysOptionalParams): Promise<Models.StorageAccountsListKeysResponse>;
198
- /**
199
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
200
- * is case insensitive.
201
- * @param accountName The name of the storage account within the specified resource group. Storage
202
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
203
- * letters only.
204
- * @param callback The callback
205
- */
206
- listKeys(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.StorageAccountListKeysResult>): void;
207
- /**
208
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
209
- * is case insensitive.
210
- * @param accountName The name of the storage account within the specified resource group. Storage
211
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
212
- * letters only.
213
- * @param options The optional parameters
214
- * @param callback The callback
215
- */
216
- listKeys(resourceGroupName: string, accountName: string, options: Models.StorageAccountsListKeysOptionalParams, callback: msRest.ServiceCallback<Models.StorageAccountListKeysResult>): void;
131
+ listKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsListKeysOptionalParams): Promise<StorageAccountsListKeysResponse>;
217
132
  /**
218
133
  * Regenerates one of the access keys or Kerberos keys for the specified storage account.
219
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
220
- * is case insensitive.
134
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
135
+ * case insensitive.
221
136
  * @param accountName The name of the storage account within the specified resource group. Storage
222
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
223
- * letters only.
224
- * @param keyName The name of storage keys that want to be regenerated, possible values are key1,
225
- * key2, kerb1, kerb2.
226
- * @param [options] The optional parameters
227
- * @returns Promise<Models.StorageAccountsRegenerateKeyResponse>
137
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
138
+ * only.
139
+ * @param regenerateKey Specifies name of the key which should be regenerated -- key1, key2, kerb1,
140
+ * kerb2.
141
+ * @param options The options parameters.
228
142
  */
229
- regenerateKey(resourceGroupName: string, accountName: string, keyName: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsRegenerateKeyResponse>;
230
- /**
231
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
232
- * is case insensitive.
233
- * @param accountName The name of the storage account within the specified resource group. Storage
234
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
235
- * letters only.
236
- * @param keyName The name of storage keys that want to be regenerated, possible values are key1,
237
- * key2, kerb1, kerb2.
238
- * @param callback The callback
239
- */
240
- regenerateKey(resourceGroupName: string, accountName: string, keyName: string, callback: msRest.ServiceCallback<Models.StorageAccountListKeysResult>): void;
241
- /**
242
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
243
- * is case insensitive.
244
- * @param accountName The name of the storage account within the specified resource group. Storage
245
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
246
- * letters only.
247
- * @param keyName The name of storage keys that want to be regenerated, possible values are key1,
248
- * key2, kerb1, kerb2.
249
- * @param options The optional parameters
250
- * @param callback The callback
251
- */
252
- regenerateKey(resourceGroupName: string, accountName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccountListKeysResult>): void;
143
+ regenerateKey(resourceGroupName: string, accountName: string, regenerateKey: StorageAccountRegenerateKeyParameters, options?: StorageAccountsRegenerateKeyOptionalParams): Promise<StorageAccountsRegenerateKeyResponse>;
253
144
  /**
254
145
  * List SAS credentials of a storage account.
255
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
256
- * is case insensitive.
257
- * @param accountName The name of the storage account within the specified resource group. Storage
258
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
259
- * letters only.
260
- * @param parameters The parameters to provide to list SAS credentials for the storage account.
261
- * @param [options] The optional parameters
262
- * @returns Promise<Models.StorageAccountsListAccountSASResponse>
263
- */
264
- listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListAccountSASResponse>;
265
- /**
266
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
267
- * is case insensitive.
268
- * @param accountName The name of the storage account within the specified resource group. Storage
269
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
270
- * letters only.
271
- * @param parameters The parameters to provide to list SAS credentials for the storage account.
272
- * @param callback The callback
273
- */
274
- listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, callback: msRest.ServiceCallback<Models.ListAccountSasResponse>): void;
275
- /**
276
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
277
- * is case insensitive.
146
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
147
+ * case insensitive.
278
148
  * @param accountName The name of the storage account within the specified resource group. Storage
279
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
280
- * letters only.
149
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
150
+ * only.
281
151
  * @param parameters The parameters to provide to list SAS credentials for the storage account.
282
- * @param options The optional parameters
283
- * @param callback The callback
152
+ * @param options The options parameters.
284
153
  */
285
- listAccountSAS(resourceGroupName: string, accountName: string, parameters: Models.AccountSasParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListAccountSasResponse>): void;
154
+ listAccountSAS(resourceGroupName: string, accountName: string, parameters: AccountSasParameters, options?: StorageAccountsListAccountSASOptionalParams): Promise<StorageAccountsListAccountSASResponse>;
286
155
  /**
287
156
  * List service SAS credentials of a specific resource.
288
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
289
- * is case insensitive.
157
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
158
+ * case insensitive.
290
159
  * @param accountName The name of the storage account within the specified resource group. Storage
291
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
292
- * letters only.
160
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
161
+ * only.
293
162
  * @param parameters The parameters to provide to list service SAS credentials.
294
- * @param [options] The optional parameters
295
- * @returns Promise<Models.StorageAccountsListServiceSASResponse>
163
+ * @param options The options parameters.
296
164
  */
297
- listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListServiceSASResponse>;
165
+ listServiceSAS(resourceGroupName: string, accountName: string, parameters: ServiceSasParameters, options?: StorageAccountsListServiceSASOptionalParams): Promise<StorageAccountsListServiceSASResponse>;
298
166
  /**
299
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
300
- * is case insensitive.
167
+ * Failover request can be triggered for a storage account in case of availability issues. The failover
168
+ * occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
169
+ * secondary cluster will become primary after failover.
170
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
171
+ * case insensitive.
301
172
  * @param accountName The name of the storage account within the specified resource group. Storage
302
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
303
- * letters only.
304
- * @param parameters The parameters to provide to list service SAS credentials.
305
- * @param callback The callback
173
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
174
+ * only.
175
+ * @param options The options parameters.
306
176
  */
307
- listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, callback: msRest.ServiceCallback<Models.ListServiceSasResponse>): void;
177
+ beginFailover(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
308
178
  /**
309
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
310
- * is case insensitive.
179
+ * Failover request can be triggered for a storage account in case of availability issues. The failover
180
+ * occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
181
+ * secondary cluster will become primary after failover.
182
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
183
+ * case insensitive.
311
184
  * @param accountName The name of the storage account within the specified resource group. Storage
312
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
313
- * letters only.
314
- * @param parameters The parameters to provide to list service SAS credentials.
315
- * @param options The optional parameters
316
- * @param callback The callback
185
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
186
+ * only.
187
+ * @param options The options parameters.
317
188
  */
318
- listServiceSAS(resourceGroupName: string, accountName: string, parameters: Models.ServiceSasParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListServiceSasResponse>): void;
189
+ beginFailoverAndWait(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<void>;
319
190
  /**
320
- * Failover request can be triggered for a storage account in case of availability issues. The
321
- * failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
322
- * accounts. The secondary cluster will become primary after failover.
323
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
324
- * is case insensitive.
191
+ * Restore blobs in the specified blob ranges
192
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
193
+ * case insensitive.
325
194
  * @param accountName The name of the storage account within the specified resource group. Storage
326
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
327
- * letters only.
328
- * @param [options] The optional parameters
329
- * @returns Promise<msRest.RestResponse>
195
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
196
+ * only.
197
+ * @param parameters The parameters to provide for restore blob ranges.
198
+ * @param options The options parameters.
330
199
  */
331
- failover(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
200
+ beginRestoreBlobRanges(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsRestoreBlobRangesResponse>, StorageAccountsRestoreBlobRangesResponse>>;
332
201
  /**
333
202
  * Restore blobs in the specified blob ranges
334
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
335
- * is case insensitive.
203
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
204
+ * case insensitive.
336
205
  * @param accountName The name of the storage account within the specified resource group. Storage
337
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
338
- * letters only.
339
- * @param timeToRestore Restore blob to the specified time.
340
- * @param blobRanges Blob ranges to restore.
341
- * @param [options] The optional parameters
342
- * @returns Promise<Models.StorageAccountsRestoreBlobRangesResponse>
206
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
207
+ * only.
208
+ * @param parameters The parameters to provide for restore blob ranges.
209
+ * @param options The options parameters.
343
210
  */
344
- restoreBlobRanges(resourceGroupName: string, accountName: string, timeToRestore: Date | string, blobRanges: Models.BlobRestoreRange[], options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsRestoreBlobRangesResponse>;
211
+ beginRestoreBlobRangesAndWait(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<StorageAccountsRestoreBlobRangesResponse>;
345
212
  /**
346
213
  * Revoke user delegation keys.
347
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
348
- * is case insensitive.
349
- * @param accountName The name of the storage account within the specified resource group. Storage
350
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
351
- * letters only.
352
- * @param [options] The optional parameters
353
- * @returns Promise<msRest.RestResponse>
354
- */
355
- revokeUserDelegationKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
356
- /**
357
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
358
- * is case insensitive.
359
- * @param accountName The name of the storage account within the specified resource group. Storage
360
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
361
- * letters only.
362
- * @param callback The callback
363
- */
364
- revokeUserDelegationKeys(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
365
- /**
366
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
367
- * is case insensitive.
214
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
215
+ * case insensitive.
368
216
  * @param accountName The name of the storage account within the specified resource group. Storage
369
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
370
- * letters only.
371
- * @param options The optional parameters
372
- * @param callback The callback
373
- */
374
- revokeUserDelegationKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
375
- /**
376
- * Asynchronously creates a new storage account with the specified parameters. If an account is
377
- * already created and a subsequent create request is issued with different properties, the account
378
- * properties will be updated. If an account is already created and a subsequent create or update
379
- * request is issued with the exact same set of properties, the request will succeed.
380
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
381
- * is case insensitive.
382
- * @param accountName The name of the storage account within the specified resource group. Storage
383
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
384
- * letters only.
385
- * @param parameters The parameters to provide for the created account.
386
- * @param [options] The optional parameters
387
- * @returns Promise<msRestAzure.LROPoller>
388
- */
389
- beginCreate(resourceGroupName: string, accountName: string, parameters: Models.StorageAccountCreateParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
390
- /**
391
- * Failover request can be triggered for a storage account in case of availability issues. The
392
- * failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
393
- * accounts. The secondary cluster will become primary after failover.
394
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
395
- * is case insensitive.
396
- * @param accountName The name of the storage account within the specified resource group. Storage
397
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
398
- * letters only.
399
- * @param [options] The optional parameters
400
- * @returns Promise<msRestAzure.LROPoller>
401
- */
402
- beginFailover(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
403
- /**
404
- * Restore blobs in the specified blob ranges
405
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
406
- * is case insensitive.
407
- * @param accountName The name of the storage account within the specified resource group. Storage
408
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
409
- * letters only.
410
- * @param timeToRestore Restore blob to the specified time.
411
- * @param blobRanges Blob ranges to restore.
412
- * @param [options] The optional parameters
413
- * @returns Promise<msRestAzure.LROPoller>
414
- */
415
- beginRestoreBlobRanges(resourceGroupName: string, accountName: string, timeToRestore: Date | string, blobRanges: Models.BlobRestoreRange[], options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
416
- /**
417
- * Lists all the storage accounts available under the subscription. Note that storage keys are not
418
- * returned; use the ListKeys operation for this.
419
- * @param nextPageLink The NextLink from the previous successful call to List operation.
420
- * @param [options] The optional parameters
421
- * @returns Promise<Models.StorageAccountsListNextResponse>
422
- */
423
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListNextResponse>;
424
- /**
425
- * @param nextPageLink The NextLink from the previous successful call to List operation.
426
- * @param callback The callback
427
- */
428
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
429
- /**
430
- * @param nextPageLink The NextLink from the previous successful call to List operation.
431
- * @param options The optional parameters
432
- * @param callback The callback
433
- */
434
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
435
- /**
436
- * Lists all the storage accounts available under the given resource group. Note that storage keys
437
- * are not returned; use the ListKeys operation for this.
438
- * @param nextPageLink The NextLink from the previous successful call to List operation.
439
- * @param [options] The optional parameters
440
- * @returns Promise<Models.StorageAccountsListByResourceGroupNextResponse>
217
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
218
+ * only.
219
+ * @param options The options parameters.
441
220
  */
442
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageAccountsListByResourceGroupNextResponse>;
221
+ revokeUserDelegationKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsRevokeUserDelegationKeysOptionalParams): Promise<void>;
443
222
  /**
444
- * @param nextPageLink The NextLink from the previous successful call to List operation.
445
- * @param callback The callback
223
+ * ListNext
224
+ * @param nextLink The nextLink from the previous successful call to the List method.
225
+ * @param options The options parameters.
446
226
  */
447
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
227
+ private _listNext;
448
228
  /**
449
- * @param nextPageLink The NextLink from the previous successful call to List operation.
450
- * @param options The optional parameters
451
- * @param callback The callback
229
+ * ListByResourceGroupNext
230
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
231
+ * case insensitive.
232
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
233
+ * @param options The options parameters.
452
234
  */
453
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageAccountListResult>): void;
235
+ private _listByResourceGroupNext;
454
236
  }
455
237
  //# sourceMappingURL=storageAccounts.d.ts.map