@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,627 +1,279 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
1
+ import "@azure/core-paging";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { BlobContainers } from "../operationsInterfaces";
3
4
  import { StorageManagementClientContext } from "../storageManagementClientContext";
5
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
6
+ import { ListContainerItem, BlobContainersListOptionalParams, BlobContainer, BlobContainersCreateOptionalParams, BlobContainersCreateResponse, BlobContainersUpdateOptionalParams, BlobContainersUpdateResponse, BlobContainersGetOptionalParams, BlobContainersGetResponse, BlobContainersDeleteOptionalParams, LegalHold, BlobContainersSetLegalHoldOptionalParams, BlobContainersSetLegalHoldResponse, BlobContainersClearLegalHoldOptionalParams, BlobContainersClearLegalHoldResponse, BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams, BlobContainersCreateOrUpdateImmutabilityPolicyResponse, BlobContainersGetImmutabilityPolicyOptionalParams, BlobContainersGetImmutabilityPolicyResponse, BlobContainersDeleteImmutabilityPolicyOptionalParams, BlobContainersDeleteImmutabilityPolicyResponse, BlobContainersLockImmutabilityPolicyOptionalParams, BlobContainersLockImmutabilityPolicyResponse, BlobContainersExtendImmutabilityPolicyOptionalParams, BlobContainersExtendImmutabilityPolicyResponse, BlobContainersLeaseOptionalParams, BlobContainersLeaseResponse, BlobContainersObjectLevelWormOptionalParams } from "../models";
4
7
  /** Class representing a BlobContainers. */
5
- export declare class BlobContainers {
8
+ export declare class BlobContainersImpl implements BlobContainers {
6
9
  private readonly client;
7
10
  /**
8
- * Create a BlobContainers.
9
- * @param {StorageManagementClientContext} client Reference to the service client.
11
+ * Initialize a new instance of the class BlobContainers class.
12
+ * @param client Reference to the service client
10
13
  */
11
14
  constructor(client: StorageManagementClientContext);
12
15
  /**
13
- * Lists all containers and does not support a prefix like data plane. Also SRP today does not
14
- * return continuation token.
15
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
16
- * is case insensitive.
16
+ * Lists all containers and does not support a prefix like data plane. Also SRP today does not return
17
+ * continuation token.
18
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
19
+ * case insensitive.
17
20
  * @param accountName The name of the storage account within the specified resource group. Storage
18
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
19
- * letters only.
20
- * @param [options] The optional parameters
21
- * @returns Promise<Models.BlobContainersListResponse>
21
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
22
+ * only.
23
+ * @param options The options parameters.
22
24
  */
23
- list(resourceGroupName: string, accountName: string, options?: Models.BlobContainersListOptionalParams): Promise<Models.BlobContainersListResponse>;
25
+ list(resourceGroupName: string, accountName: string, options?: BlobContainersListOptionalParams): PagedAsyncIterableIterator<ListContainerItem>;
26
+ private listPagingPage;
27
+ private listPagingAll;
24
28
  /**
25
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
26
- * is case insensitive.
29
+ * Lists all containers and does not support a prefix like data plane. Also SRP today does not return
30
+ * continuation token.
31
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
32
+ * case insensitive.
27
33
  * @param accountName The name of the storage account within the specified resource group. Storage
28
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
29
- * letters only.
30
- * @param callback The callback
34
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
35
+ * only.
36
+ * @param options The options parameters.
31
37
  */
32
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ListContainerItems>): void;
33
- /**
34
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
35
- * is case insensitive.
36
- * @param accountName The name of the storage account within the specified resource group. Storage
37
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
38
- * letters only.
39
- * @param options The optional parameters
40
- * @param callback The callback
41
- */
42
- list(resourceGroupName: string, accountName: string, options: Models.BlobContainersListOptionalParams, callback: msRest.ServiceCallback<Models.ListContainerItems>): void;
38
+ private _list;
43
39
  /**
44
40
  * Creates a new container under the specified account as described by request body. The container
45
41
  * resource includes metadata and properties for that container. It does not include a list of the
46
42
  * blobs contained by the container.
47
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
48
- * is case insensitive.
49
- * @param accountName The name of the storage account within the specified resource group. Storage
50
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
51
- * letters only.
52
- * @param containerName The name of the blob container within the specified storage account. Blob
53
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
54
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
55
- * a letter or number.
56
- * @param blobContainer Properties of the blob container to create.
57
- * @param [options] The optional parameters
58
- * @returns Promise<Models.BlobContainersCreateResponse>
59
- */
60
- create(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersCreateResponse>;
61
- /**
62
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
63
- * is case insensitive.
43
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
44
+ * case insensitive.
64
45
  * @param accountName The name of the storage account within the specified resource group. Storage
65
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
66
- * letters only.
46
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
47
+ * only.
67
48
  * @param containerName The name of the blob container within the specified storage account. Blob
68
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
69
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
70
- * a letter or number.
49
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
50
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
51
+ * number.
71
52
  * @param blobContainer Properties of the blob container to create.
72
- * @param callback The callback
73
- */
74
- create(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
75
- /**
76
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
77
- * is case insensitive.
78
- * @param accountName The name of the storage account within the specified resource group. Storage
79
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
80
- * letters only.
81
- * @param containerName The name of the blob container within the specified storage account. Blob
82
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
83
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
84
- * a letter or number.
85
- * @param blobContainer Properties of the blob container to create.
86
- * @param options The optional parameters
87
- * @param callback The callback
88
- */
89
- create(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
90
- /**
91
- * Updates container properties as specified in request body. Properties not mentioned in the
92
- * request will be unchanged. Update fails if the specified container doesn't already exist.
93
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
94
- * is case insensitive.
95
- * @param accountName The name of the storage account within the specified resource group. Storage
96
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
97
- * letters only.
98
- * @param containerName The name of the blob container within the specified storage account. Blob
99
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
100
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
101
- * a letter or number.
102
- * @param blobContainer Properties to update for the blob container.
103
- * @param [options] The optional parameters
104
- * @returns Promise<Models.BlobContainersUpdateResponse>
105
- */
106
- update(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersUpdateResponse>;
107
- /**
108
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
109
- * is case insensitive.
110
- * @param accountName The name of the storage account within the specified resource group. Storage
111
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
112
- * letters only.
113
- * @param containerName The name of the blob container within the specified storage account. Blob
114
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
115
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
116
- * a letter or number.
117
- * @param blobContainer Properties to update for the blob container.
118
- * @param callback The callback
53
+ * @param options The options parameters.
119
54
  */
120
- update(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
55
+ create(resourceGroupName: string, accountName: string, containerName: string, blobContainer: BlobContainer, options?: BlobContainersCreateOptionalParams): Promise<BlobContainersCreateResponse>;
121
56
  /**
122
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
123
- * is case insensitive.
57
+ * Updates container properties as specified in request body. Properties not mentioned in the request
58
+ * will be unchanged. Update fails if the specified container doesn't already exist.
59
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
60
+ * case insensitive.
124
61
  * @param accountName The name of the storage account within the specified resource group. Storage
125
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
126
- * letters only.
62
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
63
+ * only.
127
64
  * @param containerName The name of the blob container within the specified storage account. Blob
128
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
129
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
130
- * a letter or number.
65
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
66
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
67
+ * number.
131
68
  * @param blobContainer Properties to update for the blob container.
132
- * @param options The optional parameters
133
- * @param callback The callback
69
+ * @param options The options parameters.
134
70
  */
135
- update(resourceGroupName: string, accountName: string, containerName: string, blobContainer: Models.BlobContainer, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
71
+ update(resourceGroupName: string, accountName: string, containerName: string, blobContainer: BlobContainer, options?: BlobContainersUpdateOptionalParams): Promise<BlobContainersUpdateResponse>;
136
72
  /**
137
73
  * Gets properties of a specified container.
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 containerName The name of the blob container within the specified storage account. Blob
144
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
145
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
146
- * a letter or number.
147
- * @param [options] The optional parameters
148
- * @returns Promise<Models.BlobContainersGetResponse>
149
- */
150
- get(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersGetResponse>;
151
- /**
152
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
153
- * is case insensitive.
154
- * @param accountName The name of the storage account within the specified resource group. Storage
155
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
156
- * letters only.
157
- * @param containerName The name of the blob container within the specified storage account. Blob
158
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
159
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
160
- * a letter or number.
161
- * @param callback The callback
162
- */
163
- get(resourceGroupName: string, accountName: string, containerName: string, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
164
- /**
165
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
166
- * is case insensitive.
74
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
75
+ * case insensitive.
167
76
  * @param accountName The name of the storage account within the specified resource group. Storage
168
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
169
- * letters only.
77
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
78
+ * only.
170
79
  * @param containerName The name of the blob container within the specified storage account. Blob
171
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
172
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
173
- * a letter or number.
174
- * @param options The optional parameters
175
- * @param callback The callback
80
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
81
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
82
+ * number.
83
+ * @param options The options parameters.
176
84
  */
177
- get(resourceGroupName: string, accountName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BlobContainer>): void;
85
+ get(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersGetOptionalParams): Promise<BlobContainersGetResponse>;
178
86
  /**
179
87
  * Deletes specified container under its account.
180
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
181
- * is case insensitive.
182
- * @param accountName The name of the storage account within the specified resource group. Storage
183
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
184
- * letters only.
185
- * @param containerName The name of the blob container within the specified storage account. Blob
186
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
187
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
188
- * a letter or number.
189
- * @param [options] The optional parameters
190
- * @returns Promise<msRest.RestResponse>
191
- */
192
- deleteMethod(resourceGroupName: string, accountName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
193
- /**
194
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
195
- * is case insensitive.
196
- * @param accountName The name of the storage account within the specified resource group. Storage
197
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
198
- * letters only.
199
- * @param containerName The name of the blob container within the specified storage account. Blob
200
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
201
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
202
- * a letter or number.
203
- * @param callback The callback
204
- */
205
- deleteMethod(resourceGroupName: string, accountName: string, containerName: string, callback: msRest.ServiceCallback<void>): void;
206
- /**
207
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
208
- * is case insensitive.
209
- * @param accountName The name of the storage account within the specified resource group. Storage
210
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
211
- * letters only.
212
- * @param containerName The name of the blob container within the specified storage account. Blob
213
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
214
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
215
- * a letter or number.
216
- * @param options The optional parameters
217
- * @param callback The callback
218
- */
219
- deleteMethod(resourceGroupName: string, accountName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
220
- /**
221
- * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
222
- * follows an append pattern and does not clear out the existing tags that are not specified in the
223
- * request.
224
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
225
- * is case insensitive.
226
- * @param accountName The name of the storage account within the specified resource group. Storage
227
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
228
- * letters only.
229
- * @param containerName The name of the blob container within the specified storage account. Blob
230
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
231
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
232
- * a letter or number.
233
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
234
- * at SRP.
235
- * @param [options] The optional parameters
236
- * @returns Promise<Models.BlobContainersSetLegalHoldResponse>
237
- */
238
- setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersSetLegalHoldResponse>;
239
- /**
240
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
241
- * is case insensitive.
242
- * @param accountName The name of the storage account within the specified resource group. Storage
243
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
244
- * letters only.
245
- * @param containerName The name of the blob container within the specified storage account. Blob
246
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
247
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
248
- * a letter or number.
249
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
250
- * at SRP.
251
- * @param callback The callback
252
- */
253
- setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], callback: msRest.ServiceCallback<Models.LegalHold>): void;
254
- /**
255
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
256
- * is case insensitive.
88
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
89
+ * case insensitive.
257
90
  * @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.
91
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
92
+ * only.
260
93
  * @param containerName The name of the blob container within the specified storage account. Blob
261
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
262
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
263
- * a letter or number.
264
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
265
- * at SRP.
266
- * @param options The optional parameters
267
- * @param callback The callback
94
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
95
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
96
+ * number.
97
+ * @param options The options parameters.
268
98
  */
269
- setLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LegalHold>): void;
99
+ delete(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersDeleteOptionalParams): Promise<void>;
270
100
  /**
271
- * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
272
- * operation. ClearLegalHold clears out only the specified tags in the request.
273
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
274
- * is case insensitive.
101
+ * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows
102
+ * an append pattern and does not clear out the existing tags that are not specified in the request.
103
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
104
+ * case insensitive.
275
105
  * @param accountName The name of the storage account within the specified resource group. Storage
276
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
277
- * letters only.
106
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
107
+ * only.
278
108
  * @param containerName The name of the blob container within the specified storage account. Blob
279
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
280
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
281
- * a letter or number.
282
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
283
- * at SRP.
284
- * @param [options] The optional parameters
285
- * @returns Promise<Models.BlobContainersClearLegalHoldResponse>
109
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
110
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
111
+ * number.
112
+ * @param legalHold The LegalHold property that will be set to a blob container.
113
+ * @param options The options parameters.
286
114
  */
287
- clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersClearLegalHoldResponse>;
115
+ setLegalHold(resourceGroupName: string, accountName: string, containerName: string, legalHold: LegalHold, options?: BlobContainersSetLegalHoldOptionalParams): Promise<BlobContainersSetLegalHoldResponse>;
288
116
  /**
289
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
290
- * is case insensitive.
117
+ * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation.
118
+ * ClearLegalHold clears out only the specified tags in the request.
119
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
120
+ * case insensitive.
291
121
  * @param accountName The name of the storage account within the specified resource group. Storage
292
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
293
- * letters only.
122
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
123
+ * only.
294
124
  * @param containerName The name of the blob container within the specified storage account. Blob
295
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
296
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
297
- * a letter or number.
298
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
299
- * at SRP.
300
- * @param callback The callback
125
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
126
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
127
+ * number.
128
+ * @param legalHold The LegalHold property that will be clear from a blob container.
129
+ * @param options The options parameters.
301
130
  */
302
- clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], callback: msRest.ServiceCallback<Models.LegalHold>): void;
303
- /**
304
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
305
- * is case insensitive.
306
- * @param accountName The name of the storage account within the specified resource group. Storage
307
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
308
- * letters only.
309
- * @param containerName The name of the blob container within the specified storage account. Blob
310
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
311
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
312
- * a letter or number.
313
- * @param tags Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
314
- * at SRP.
315
- * @param options The optional parameters
316
- * @param callback The callback
317
- */
318
- clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, tags: string[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LegalHold>): void;
131
+ clearLegalHold(resourceGroupName: string, accountName: string, containerName: string, legalHold: LegalHold, options?: BlobContainersClearLegalHoldOptionalParams): Promise<BlobContainersClearLegalHoldResponse>;
319
132
  /**
320
133
  * Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not
321
134
  * required for this operation.
322
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
323
- * is case insensitive.
324
- * @param accountName The name of the storage account within the specified resource group. Storage
325
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
326
- * letters only.
327
- * @param containerName The name of the blob container within the specified storage account. Blob
328
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
329
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
330
- * a letter or number.
331
- * @param [options] The optional parameters
332
- * @returns Promise<Models.BlobContainersCreateOrUpdateImmutabilityPolicyResponse>
333
- */
334
- createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams): Promise<Models.BlobContainersCreateOrUpdateImmutabilityPolicyResponse>;
335
- /**
336
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
337
- * is case insensitive.
338
- * @param accountName The name of the storage account within the specified resource group. Storage
339
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
340
- * letters only.
341
- * @param containerName The name of the blob container within the specified storage account. Blob
342
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
343
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
344
- * a letter or number.
345
- * @param callback The callback
346
- */
347
- createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
348
- /**
349
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
350
- * is case insensitive.
135
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
136
+ * case insensitive.
351
137
  * @param accountName The name of the storage account within the specified resource group. Storage
352
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
353
- * letters only.
138
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
139
+ * only.
354
140
  * @param containerName The name of the blob container within the specified storage account. Blob
355
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
356
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
357
- * a letter or number.
358
- * @param options The optional parameters
359
- * @param callback The callback
141
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
142
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
143
+ * number.
144
+ * @param options The options parameters.
360
145
  */
361
- createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
146
+ createOrUpdateImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams): Promise<BlobContainersCreateOrUpdateImmutabilityPolicyResponse>;
362
147
  /**
363
148
  * Gets the existing immutability policy along with the corresponding ETag in response headers and
364
149
  * body.
365
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
366
- * is case insensitive.
367
- * @param accountName The name of the storage account within the specified resource group. Storage
368
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
369
- * letters only.
370
- * @param containerName The name of the blob container within the specified storage account. Blob
371
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
372
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
373
- * a letter or number.
374
- * @param [options] The optional parameters
375
- * @returns Promise<Models.BlobContainersGetImmutabilityPolicyResponse>
376
- */
377
- getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersGetImmutabilityPolicyOptionalParams): Promise<Models.BlobContainersGetImmutabilityPolicyResponse>;
378
- /**
379
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
380
- * is case insensitive.
150
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
151
+ * case insensitive.
381
152
  * @param accountName The name of the storage account within the specified resource group. Storage
382
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
383
- * letters only.
153
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
154
+ * only.
384
155
  * @param containerName The name of the blob container within the specified storage account. Blob
385
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
386
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
387
- * a letter or number.
388
- * @param callback The callback
156
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
157
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
158
+ * number.
159
+ * @param options The options parameters.
389
160
  */
390
- getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
391
- /**
392
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
393
- * is case insensitive.
394
- * @param accountName The name of the storage account within the specified resource group. Storage
395
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
396
- * letters only.
397
- * @param containerName The name of the blob container within the specified storage account. Blob
398
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
399
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
400
- * a letter or number.
401
- * @param options The optional parameters
402
- * @param callback The callback
403
- */
404
- getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersGetImmutabilityPolicyOptionalParams, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
161
+ getImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersGetImmutabilityPolicyOptionalParams): Promise<BlobContainersGetImmutabilityPolicyResponse>;
405
162
  /**
406
163
  * Aborts an unlocked immutability policy. The response of delete has
407
164
  * immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation.
408
- * Deleting a locked immutability policy is not allowed, the only way is to delete the container
409
- * after deleting all expired blobs inside the policy locked container.
410
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
411
- * is case insensitive.
412
- * @param accountName The name of the storage account within the specified resource group. Storage
413
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
414
- * letters only.
415
- * @param containerName The name of the blob container within the specified storage account. Blob
416
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
417
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
418
- * a letter or number.
419
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
420
- * "*" can be used to apply the operation only if the immutability policy already exists. If
421
- * omitted, this operation will always be applied.
422
- * @param [options] The optional parameters
423
- * @returns Promise<Models.BlobContainersDeleteImmutabilityPolicyResponse>
424
- */
425
- deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersDeleteImmutabilityPolicyResponse>;
426
- /**
427
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
428
- * is case insensitive.
165
+ * Deleting a locked immutability policy is not allowed, the only way is to delete the container after
166
+ * deleting all expired blobs inside the policy locked container.
167
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
168
+ * case insensitive.
429
169
  * @param accountName The name of the storage account within the specified resource group. Storage
430
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
431
- * letters only.
170
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
171
+ * only.
432
172
  * @param containerName The name of the blob container within the specified storage account. Blob
433
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
434
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
435
- * a letter or number.
436
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
437
- * "*" can be used to apply the operation only if the immutability policy already exists. If
438
- * omitted, this operation will always be applied.
439
- * @param callback The callback
173
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
174
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
175
+ * number.
176
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
177
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
178
+ * operation will always be applied.
179
+ * @param options The options parameters.
440
180
  */
441
- deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
442
- /**
443
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
444
- * is case insensitive.
445
- * @param accountName The name of the storage account within the specified resource group. Storage
446
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
447
- * letters only.
448
- * @param containerName The name of the blob container within the specified storage account. Blob
449
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
450
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
451
- * a letter or number.
452
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
453
- * "*" can be used to apply the operation only if the immutability policy already exists. If
454
- * omitted, this operation will always be applied.
455
- * @param options The optional parameters
456
- * @param callback The callback
457
- */
458
- deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
181
+ deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersDeleteImmutabilityPolicyOptionalParams): Promise<BlobContainersDeleteImmutabilityPolicyResponse>;
459
182
  /**
460
183
  * Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is
461
184
  * ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
462
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
463
- * is case insensitive.
464
- * @param accountName The name of the storage account within the specified resource group. Storage
465
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
466
- * letters only.
467
- * @param containerName The name of the blob container within the specified storage account. Blob
468
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
469
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
470
- * a letter or number.
471
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
472
- * "*" can be used to apply the operation only if the immutability policy already exists. If
473
- * omitted, this operation will always be applied.
474
- * @param [options] The optional parameters
475
- * @returns Promise<Models.BlobContainersLockImmutabilityPolicyResponse>
476
- */
477
- lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise<Models.BlobContainersLockImmutabilityPolicyResponse>;
478
- /**
479
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
480
- * is case insensitive.
481
- * @param accountName The name of the storage account within the specified resource group. Storage
482
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
483
- * letters only.
484
- * @param containerName The name of the blob container within the specified storage account. Blob
485
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
486
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
487
- * a letter or number.
488
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
489
- * "*" can be used to apply the operation only if the immutability policy already exists. If
490
- * omitted, this operation will always be applied.
491
- * @param callback The callback
492
- */
493
- lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
494
- /**
495
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
496
- * is case insensitive.
497
- * @param accountName The name of the storage account within the specified resource group. Storage
498
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
499
- * letters only.
500
- * @param containerName The name of the blob container within the specified storage account. Blob
501
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
502
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
503
- * a letter or number.
504
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
505
- * "*" can be used to apply the operation only if the immutability policy already exists. If
506
- * omitted, this operation will always be applied.
507
- * @param options The optional parameters
508
- * @param callback The callback
509
- */
510
- lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
511
- /**
512
- * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
513
- * action allowed on a Locked policy will be this action. ETag in If-Match is required for this
514
- * operation.
515
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
516
- * is case insensitive.
517
- * @param accountName The name of the storage account within the specified resource group. Storage
518
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
519
- * letters only.
520
- * @param containerName The name of the blob container within the specified storage account. Blob
521
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
522
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
523
- * a letter or number.
524
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
525
- * "*" can be used to apply the operation only if the immutability policy already exists. If
526
- * omitted, this operation will always be applied.
527
- * @param [options] The optional parameters
528
- * @returns Promise<Models.BlobContainersExtendImmutabilityPolicyResponse>
529
- */
530
- extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: Models.BlobContainersExtendImmutabilityPolicyOptionalParams): Promise<Models.BlobContainersExtendImmutabilityPolicyResponse>;
531
- /**
532
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
533
- * is case insensitive.
534
- * @param accountName The name of the storage account within the specified resource group. Storage
535
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
536
- * letters only.
537
- * @param containerName The name of the blob container within the specified storage account. Blob
538
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
539
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
540
- * a letter or number.
541
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
542
- * "*" can be used to apply the operation only if the immutability policy already exists. If
543
- * omitted, this operation will always be applied.
544
- * @param callback The callback
545
- */
546
- extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
547
- /**
548
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
549
- * is case insensitive.
550
- * @param accountName The name of the storage account within the specified resource group. Storage
551
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
552
- * letters only.
553
- * @param containerName The name of the blob container within the specified storage account. Blob
554
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
555
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
556
- * a letter or number.
557
- * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of
558
- * "*" can be used to apply the operation only if the immutability policy already exists. If
559
- * omitted, this operation will always be applied.
560
- * @param options The optional parameters
561
- * @param callback The callback
562
- */
563
- extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options: Models.BlobContainersExtendImmutabilityPolicyOptionalParams, callback: msRest.ServiceCallback<Models.ImmutabilityPolicy>): void;
564
- /**
565
- * The Lease Container operation establishes and manages a lock on a container for delete
566
- * operations. The lock duration can be 15 to 60 seconds, or can be infinite.
567
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
568
- * is case insensitive.
569
- * @param accountName The name of the storage account within the specified resource group. Storage
570
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
571
- * letters only.
572
- * @param containerName The name of the blob container within the specified storage account. Blob
573
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
574
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
575
- * a letter or number.
576
- * @param [options] The optional parameters
577
- * @returns Promise<Models.BlobContainersLeaseResponse>
578
- */
579
- lease(resourceGroupName: string, accountName: string, containerName: string, options?: Models.BlobContainersLeaseOptionalParams): Promise<Models.BlobContainersLeaseResponse>;
580
- /**
581
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
582
- * is case insensitive.
583
- * @param accountName The name of the storage account within the specified resource group. Storage
584
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
585
- * letters only.
586
- * @param containerName The name of the blob container within the specified storage account. Blob
587
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
588
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
589
- * a letter or number.
590
- * @param callback The callback
591
- */
592
- lease(resourceGroupName: string, accountName: string, containerName: string, callback: msRest.ServiceCallback<Models.LeaseContainerResponse>): void;
593
- /**
594
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
595
- * is case insensitive.
596
- * @param accountName The name of the storage account within the specified resource group. Storage
597
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
598
- * letters only.
599
- * @param containerName The name of the blob container within the specified storage account. Blob
600
- * container names must be between 3 and 63 characters in length and use numbers, lower-case
601
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by
602
- * a letter or number.
603
- * @param options The optional parameters
604
- * @param callback The callback
605
- */
606
- lease(resourceGroupName: string, accountName: string, containerName: string, options: Models.BlobContainersLeaseOptionalParams, callback: msRest.ServiceCallback<Models.LeaseContainerResponse>): void;
607
- /**
608
- * Lists all containers and does not support a prefix like data plane. Also SRP today does not
609
- * return continuation token.
610
- * @param nextPageLink The NextLink from the previous successful call to List operation.
611
- * @param [options] The optional parameters
612
- * @returns Promise<Models.BlobContainersListNextResponse>
613
- */
614
- listNext(nextPageLink: string, options?: Models.BlobContainersListNextOptionalParams): Promise<Models.BlobContainersListNextResponse>;
615
- /**
616
- * @param nextPageLink The NextLink from the previous successful call to List operation.
617
- * @param callback The callback
618
- */
619
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListContainerItems>): void;
620
- /**
621
- * @param nextPageLink The NextLink from the previous successful call to List operation.
622
- * @param options The optional parameters
623
- * @param callback The callback
624
- */
625
- listNext(nextPageLink: string, options: Models.BlobContainersListNextOptionalParams, callback: msRest.ServiceCallback<Models.ListContainerItems>): void;
185
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
186
+ * case insensitive.
187
+ * @param accountName The name of the storage account within the specified resource group. Storage
188
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
189
+ * only.
190
+ * @param containerName The name of the blob container within the specified storage account. Blob
191
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
192
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
193
+ * number.
194
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
195
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
196
+ * operation will always be applied.
197
+ * @param options The options parameters.
198
+ */
199
+ lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersLockImmutabilityPolicyOptionalParams): Promise<BlobContainersLockImmutabilityPolicyResponse>;
200
+ /**
201
+ * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action
202
+ * allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
203
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
204
+ * case insensitive.
205
+ * @param accountName The name of the storage account within the specified resource group. Storage
206
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
207
+ * only.
208
+ * @param containerName The name of the blob container within the specified storage account. Blob
209
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
210
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
211
+ * number.
212
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
213
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
214
+ * operation will always be applied.
215
+ * @param options The options parameters.
216
+ */
217
+ extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersExtendImmutabilityPolicyOptionalParams): Promise<BlobContainersExtendImmutabilityPolicyResponse>;
218
+ /**
219
+ * The Lease Container operation establishes and manages a lock on a container for delete operations.
220
+ * The lock duration can be 15 to 60 seconds, or can be infinite.
221
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
222
+ * case insensitive.
223
+ * @param accountName The name of the storage account within the specified resource group. Storage
224
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
225
+ * only.
226
+ * @param containerName The name of the blob container within the specified storage account. Blob
227
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
228
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
229
+ * number.
230
+ * @param options The options parameters.
231
+ */
232
+ lease(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersLeaseOptionalParams): Promise<BlobContainersLeaseResponse>;
233
+ /**
234
+ * This operation migrates a blob container from container level WORM to object level immutability
235
+ * enabled container. Prerequisites require a container level immutability policy either in locked or
236
+ * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the
237
+ * container.
238
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
239
+ * case insensitive.
240
+ * @param accountName The name of the storage account within the specified resource group. Storage
241
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
242
+ * only.
243
+ * @param containerName The name of the blob container within the specified storage account. Blob
244
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
245
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
246
+ * number.
247
+ * @param options The options parameters.
248
+ */
249
+ beginObjectLevelWorm(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersObjectLevelWormOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
250
+ /**
251
+ * This operation migrates a blob container from container level WORM to object level immutability
252
+ * enabled container. Prerequisites require a container level immutability policy either in locked or
253
+ * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the
254
+ * container.
255
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
256
+ * 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 letters
259
+ * only.
260
+ * @param containerName The name of the blob container within the specified storage account. Blob
261
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
262
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
263
+ * number.
264
+ * @param options The options parameters.
265
+ */
266
+ beginObjectLevelWormAndWait(resourceGroupName: string, accountName: string, containerName: string, options?: BlobContainersObjectLevelWormOptionalParams): Promise<void>;
267
+ /**
268
+ * ListNext
269
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
270
+ * case insensitive.
271
+ * @param accountName The name of the storage account within the specified resource group. Storage
272
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
273
+ * only.
274
+ * @param nextLink The nextLink from the previous successful call to the List method.
275
+ * @param options The options parameters.
276
+ */
277
+ private _listNext;
626
278
  }
627
279
  //# sourceMappingURL=blobContainers.d.ts.map