@azure/arm-storage 16.1.2 → 17.0.0-alpha.20211206.4

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 (437) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +69 -80
  4. package/dist/index.js +10847 -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/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/{esm/models/operationsMappers.js → dist-esm/src/index.js} +5 -2
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +3500 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +351 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +150 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +2840 -2487
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +61 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +273 -155
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/blobContainers.d.ts +278 -0
  29. package/dist-esm/src/operations/blobContainers.d.ts.map +1 -0
  30. package/dist-esm/src/operations/blobContainers.js +721 -0
  31. package/dist-esm/src/operations/blobContainers.js.map +1 -0
  32. package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
  33. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
  34. package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
  35. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
  36. package/dist-esm/src/operations/blobServices.d.ts +60 -0
  37. package/dist-esm/src/operations/blobServices.d.ts.map +1 -0
  38. package/dist-esm/src/operations/blobServices.js +170 -0
  39. package/dist-esm/src/operations/blobServices.js.map +1 -0
  40. package/dist-esm/src/operations/deletedAccounts.d.ts +39 -0
  41. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  42. package/dist-esm/src/operations/deletedAccounts.js +154 -0
  43. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  44. package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
  45. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
  46. package/dist-esm/src/operations/encryptionScopes.js +278 -0
  47. package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
  48. package/dist-esm/src/operations/fileServices.d.ts +47 -0
  49. package/dist-esm/src/operations/fileServices.d.ts.map +1 -0
  50. package/dist-esm/src/operations/fileServices.js +130 -0
  51. package/dist-esm/src/operations/fileServices.js.map +1 -0
  52. package/dist-esm/src/operations/fileShares.d.ts +132 -0
  53. package/dist-esm/src/operations/fileShares.d.ts.map +1 -0
  54. package/dist-esm/src/operations/fileShares.js +398 -0
  55. package/dist-esm/src/operations/fileShares.js.map +1 -0
  56. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  57. package/dist-esm/src/operations/index.d.ts.map +1 -0
  58. package/{esm → dist-esm/src}/operations/index.js +1 -2
  59. package/dist-esm/src/operations/index.js.map +1 -0
  60. package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
  61. package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
  62. package/dist-esm/src/operations/managementPolicies.js +126 -0
  63. package/dist-esm/src/operations/managementPolicies.js.map +1 -0
  64. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +80 -0
  65. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +228 -0
  67. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
  68. package/dist-esm/src/operations/operations.d.ts +26 -0
  69. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/operations.js +87 -0
  71. package/dist-esm/src/operations/operations.js.map +1 -0
  72. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  73. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
  75. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
  77. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  79. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  80. package/dist-esm/src/operations/queue.d.ts +101 -0
  81. package/dist-esm/src/operations/queue.d.ts.map +1 -0
  82. package/dist-esm/src/operations/queue.js +306 -0
  83. package/dist-esm/src/operations/queue.js.map +1 -0
  84. package/dist-esm/src/operations/queueServices.d.ts +47 -0
  85. package/dist-esm/src/operations/queueServices.d.ts.map +1 -0
  86. package/dist-esm/src/operations/queueServices.js +130 -0
  87. package/dist-esm/src/operations/queueServices.js.map +1 -0
  88. package/dist-esm/src/operations/skus.d.ts +26 -0
  89. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  90. package/dist-esm/src/operations/skus.js +87 -0
  91. package/dist-esm/src/operations/skus.js.map +1 -0
  92. package/dist-esm/src/operations/storageAccounts.d.ts +284 -0
  93. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
  94. package/dist-esm/src/operations/storageAccounts.js +920 -0
  95. package/dist-esm/src/operations/storageAccounts.js.map +1 -0
  96. package/dist-esm/src/operations/tableOperations.d.ts +99 -0
  97. package/dist-esm/src/operations/tableOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/tableOperations.js +292 -0
  99. package/dist-esm/src/operations/tableOperations.js.map +1 -0
  100. package/dist-esm/src/operations/tableServices.d.ts +47 -0
  101. package/dist-esm/src/operations/tableServices.d.ts.map +1 -0
  102. package/dist-esm/src/operations/tableServices.js +130 -0
  103. package/dist-esm/src/operations/tableServices.js.map +1 -0
  104. package/dist-esm/src/operations/usages.d.ts +28 -0
  105. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  106. package/dist-esm/src/operations/usages.js +93 -0
  107. package/dist-esm/src/operations/usages.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/blobContainers.d.ts +246 -0
  109. package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -0
  110. package/{src/models/usagesMappers.ts → dist-esm/src/operationsInterfaces/blobContainers.js} +2 -7
  111. package/dist-esm/src/operationsInterfaces/blobContainers.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  113. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  114. package/{esm/models/usagesMappers.js → dist-esm/src/operationsInterfaces/blobInventoryPolicies.js} +2 -2
  115. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/blobServices.d.ts +40 -0
  117. package/dist-esm/src/operationsInterfaces/blobServices.d.ts.map +1 -0
  118. package/{src/models/skusMappers.ts → dist-esm/src/operationsInterfaces/blobServices.js} +2 -8
  119. package/dist-esm/src/operationsInterfaces/blobServices.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +18 -0
  121. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
  125. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/fileServices.d.ts +39 -0
  129. package/dist-esm/src/operationsInterfaces/fileServices.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/fileServices.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/fileServices.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/fileShares.d.ts +101 -0
  133. package/dist-esm/src/operationsInterfaces/fileShares.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/fileShares.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/fileShares.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
  137. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.js +27 -0
  139. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
  141. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +60 -0
  145. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  149. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  153. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  157. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/queue.d.ts +70 -0
  161. package/dist-esm/src/operationsInterfaces/queue.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/queue.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/queue.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/queueServices.d.ts +39 -0
  165. package/dist-esm/src/operationsInterfaces/queueServices.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/queueServices.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/queueServices.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  169. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  170. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/skus.js} +2 -1
  171. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +244 -0
  173. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/tableOperations.d.ts +68 -0
  177. package/dist-esm/src/operationsInterfaces/tableOperations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/tableOperations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/tableOperations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/tableServices.d.ts +39 -0
  181. package/dist-esm/src/operationsInterfaces/tableServices.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/tableServices.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/tableServices.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  185. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  188. package/dist-esm/src/storageManagementClient.d.ts +36 -0
  189. package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
  190. package/dist-esm/src/storageManagementClient.js +69 -0
  191. package/dist-esm/src/storageManagementClient.js.map +1 -0
  192. package/dist-esm/test/storage_examples.d.ts +4 -0
  193. package/dist-esm/test/storage_examples.d.ts.map +1 -0
  194. package/dist-esm/test/storage_examples.js +196 -0
  195. package/dist-esm/test/storage_examples.js.map +1 -0
  196. package/package.json +64 -21
  197. package/review/arm-storage.api.md +2730 -0
  198. package/rollup.config.js +181 -30
  199. package/src/{models/operationsMappers.ts → index.ts} +4 -9
  200. package/src/lroImpl.ts +34 -0
  201. package/src/models/index.ts +2869 -4433
  202. package/src/models/mappers.ts +2917 -2532
  203. package/src/models/parameters.ts +361 -156
  204. package/src/operations/blobContainers.ts +724 -1041
  205. package/src/operations/blobInventoryPolicies.ts +185 -215
  206. package/src/operations/blobServices.ts +153 -181
  207. package/src/operations/deletedAccounts.ts +114 -116
  208. package/src/operations/encryptionScopes.ts +236 -295
  209. package/src/operations/fileServices.ts +103 -175
  210. package/src/operations/fileShares.ts +338 -564
  211. package/src/operations/index.ts +1 -2
  212. package/src/operations/managementPolicies.ts +106 -179
  213. package/src/operations/objectReplicationPoliciesOperations.ts +190 -231
  214. package/src/operations/operations.ts +64 -42
  215. package/src/operations/privateEndpointConnections.ts +180 -218
  216. package/src/operations/privateLinkResources.ts +41 -64
  217. package/src/operations/queue.ts +272 -369
  218. package/src/operations/queueServices.ts +107 -177
  219. package/src/operations/skus.ts +62 -45
  220. package/src/operations/storageAccounts.ts +978 -831
  221. package/src/operations/tableOperations.ts +258 -332
  222. package/src/operations/tableServices.ts +107 -177
  223. package/src/operations/usages.ts +76 -49
  224. package/src/operationsInterfaces/blobContainers.ts +365 -0
  225. package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
  226. package/src/operationsInterfaces/blobServices.ts +69 -0
  227. package/src/operationsInterfaces/deletedAccounts.ts +38 -0
  228. package/src/operationsInterfaces/encryptionScopes.ts +102 -0
  229. package/src/operationsInterfaces/fileServices.ts +68 -0
  230. package/src/operationsInterfaces/fileShares.ts +162 -0
  231. package/src/operationsInterfaces/index.ts +27 -0
  232. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  233. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +97 -0
  234. package/src/operationsInterfaces/operations.ts +22 -0
  235. package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
  236. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  237. package/src/operationsInterfaces/queue.ts +116 -0
  238. package/src/operationsInterfaces/queueServices.ts +68 -0
  239. package/src/operationsInterfaces/skus.ts +22 -0
  240. package/src/operationsInterfaces/storageAccounts.ts +387 -0
  241. package/src/operationsInterfaces/tableOperations.ts +111 -0
  242. package/src/operationsInterfaces/tableServices.ts +68 -0
  243. package/src/operationsInterfaces/usages.ts +24 -0
  244. package/src/storageManagementClient.ts +138 -68
  245. package/tsconfig.json +3 -3
  246. package/types/arm-storage.d.ts +5155 -0
  247. package/types/tsdoc-metadata.json +11 -0
  248. package/dist/arm-storage.js +0 -10687
  249. package/dist/arm-storage.js.map +0 -1
  250. package/dist/arm-storage.min.js +0 -1
  251. package/dist/arm-storage.min.js.map +0 -1
  252. package/esm/models/blobContainersMappers.d.ts +0 -2
  253. package/esm/models/blobContainersMappers.d.ts.map +0 -1
  254. package/esm/models/blobContainersMappers.js +0 -9
  255. package/esm/models/blobContainersMappers.js.map +0 -1
  256. package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
  257. package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
  258. package/esm/models/blobInventoryPoliciesMappers.js +0 -9
  259. package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
  260. package/esm/models/blobServicesMappers.d.ts +0 -2
  261. package/esm/models/blobServicesMappers.d.ts.map +0 -1
  262. package/esm/models/blobServicesMappers.js +0 -9
  263. package/esm/models/blobServicesMappers.js.map +0 -1
  264. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  265. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  266. package/esm/models/deletedAccountsMappers.js +0 -9
  267. package/esm/models/deletedAccountsMappers.js.map +0 -1
  268. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  269. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  270. package/esm/models/encryptionScopesMappers.js +0 -9
  271. package/esm/models/encryptionScopesMappers.js.map +0 -1
  272. package/esm/models/fileServicesMappers.d.ts +0 -2
  273. package/esm/models/fileServicesMappers.d.ts.map +0 -1
  274. package/esm/models/fileServicesMappers.js +0 -9
  275. package/esm/models/fileServicesMappers.js.map +0 -1
  276. package/esm/models/fileSharesMappers.d.ts +0 -2
  277. package/esm/models/fileSharesMappers.d.ts.map +0 -1
  278. package/esm/models/fileSharesMappers.js +0 -9
  279. package/esm/models/fileSharesMappers.js.map +0 -1
  280. package/esm/models/index.d.ts +0 -5116
  281. package/esm/models/index.d.ts.map +0 -1
  282. package/esm/models/index.js.map +0 -1
  283. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  284. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  285. package/esm/models/managementPoliciesMappers.js +0 -9
  286. package/esm/models/managementPoliciesMappers.js.map +0 -1
  287. package/esm/models/mappers.d.ts +0 -139
  288. package/esm/models/mappers.d.ts.map +0 -1
  289. package/esm/models/mappers.js.map +0 -1
  290. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  291. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  292. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  293. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  294. package/esm/models/operationsMappers.d.ts +0 -2
  295. package/esm/models/operationsMappers.d.ts.map +0 -1
  296. package/esm/models/operationsMappers.js.map +0 -1
  297. package/esm/models/parameters.d.ts +0 -34
  298. package/esm/models/parameters.d.ts.map +0 -1
  299. package/esm/models/parameters.js.map +0 -1
  300. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  301. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  302. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  303. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  304. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  305. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  306. package/esm/models/privateLinkResourcesMappers.js +0 -9
  307. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  308. package/esm/models/queueMappers.d.ts +0 -2
  309. package/esm/models/queueMappers.d.ts.map +0 -1
  310. package/esm/models/queueMappers.js +0 -9
  311. package/esm/models/queueMappers.js.map +0 -1
  312. package/esm/models/queueServicesMappers.d.ts +0 -2
  313. package/esm/models/queueServicesMappers.d.ts.map +0 -1
  314. package/esm/models/queueServicesMappers.js +0 -9
  315. package/esm/models/queueServicesMappers.js.map +0 -1
  316. package/esm/models/skusMappers.d.ts +0 -2
  317. package/esm/models/skusMappers.d.ts.map +0 -1
  318. package/esm/models/skusMappers.js +0 -9
  319. package/esm/models/skusMappers.js.map +0 -1
  320. package/esm/models/storageAccountsMappers.d.ts +0 -2
  321. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  322. package/esm/models/storageAccountsMappers.js +0 -9
  323. package/esm/models/storageAccountsMappers.js.map +0 -1
  324. package/esm/models/tableOperationsMappers.d.ts +0 -2
  325. package/esm/models/tableOperationsMappers.d.ts.map +0 -1
  326. package/esm/models/tableOperationsMappers.js +0 -9
  327. package/esm/models/tableOperationsMappers.js.map +0 -1
  328. package/esm/models/tableServicesMappers.d.ts +0 -2
  329. package/esm/models/tableServicesMappers.d.ts.map +0 -1
  330. package/esm/models/tableServicesMappers.js +0 -9
  331. package/esm/models/tableServicesMappers.js.map +0 -1
  332. package/esm/models/usagesMappers.d.ts +0 -2
  333. package/esm/models/usagesMappers.d.ts.map +0 -1
  334. package/esm/models/usagesMappers.js.map +0 -1
  335. package/esm/operations/blobContainers.d.ts +0 -627
  336. package/esm/operations/blobContainers.d.ts.map +0 -1
  337. package/esm/operations/blobContainers.js +0 -569
  338. package/esm/operations/blobContainers.js.map +0 -1
  339. package/esm/operations/blobInventoryPolicies.d.ts +0 -136
  340. package/esm/operations/blobInventoryPolicies.d.ts.map +0 -1
  341. package/esm/operations/blobInventoryPolicies.js +0 -164
  342. package/esm/operations/blobInventoryPolicies.js.map +0 -1
  343. package/esm/operations/blobServices.d.ts +0 -111
  344. package/esm/operations/blobServices.d.ts.map +0 -1
  345. package/esm/operations/blobServices.js +0 -127
  346. package/esm/operations/blobServices.js.map +0 -1
  347. package/esm/operations/deletedAccounts.d.ts +0 -67
  348. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  349. package/esm/operations/deletedAccounts.js +0 -113
  350. package/esm/operations/deletedAccounts.js.map +0 -1
  351. package/esm/operations/encryptionScopes.d.ts +0 -196
  352. package/esm/operations/encryptionScopes.d.ts.map +0 -1
  353. package/esm/operations/encryptionScopes.js +0 -199
  354. package/esm/operations/encryptionScopes.js.map +0 -1
  355. package/esm/operations/fileServices.d.ts +0 -111
  356. package/esm/operations/fileServices.d.ts.map +0 -1
  357. package/esm/operations/fileServices.js +0 -127
  358. package/esm/operations/fileServices.js.map +0 -1
  359. package/esm/operations/fileShares.d.ts +0 -289
  360. package/esm/operations/fileShares.d.ts.map +0 -1
  361. package/esm/operations/fileShares.js +0 -247
  362. package/esm/operations/fileShares.js.map +0 -1
  363. package/esm/operations/index.d.ts.map +0 -1
  364. package/esm/operations/index.js.map +0 -1
  365. package/esm/operations/managementPolicies.d.ts +0 -109
  366. package/esm/operations/managementPolicies.d.ts.map +0 -1
  367. package/esm/operations/managementPolicies.js +0 -129
  368. package/esm/operations/managementPolicies.js.map +0 -1
  369. package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
  370. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
  371. package/esm/operations/objectReplicationPoliciesOperations.js +0 -161
  372. package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
  373. package/esm/operations/operations.d.ts +0 -28
  374. package/esm/operations/operations.d.ts.map +0 -1
  375. package/esm/operations/operations.js +0 -50
  376. package/esm/operations/operations.js.map +0 -1
  377. package/esm/operations/privateEndpointConnections.d.ts +0 -154
  378. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  379. package/esm/operations/privateEndpointConnections.js +0 -161
  380. package/esm/operations/privateEndpointConnections.js.map +0 -1
  381. package/esm/operations/privateLinkResources.d.ts +0 -43
  382. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  383. package/esm/operations/privateLinkResources.js +0 -57
  384. package/esm/operations/privateLinkResources.js.map +0 -1
  385. package/esm/operations/queue.d.ts +0 -229
  386. package/esm/operations/queue.d.ts.map +0 -1
  387. package/esm/operations/queue.js +0 -239
  388. package/esm/operations/queue.js.map +0 -1
  389. package/esm/operations/queueServices.d.ts +0 -105
  390. package/esm/operations/queueServices.d.ts.map +0 -1
  391. package/esm/operations/queueServices.js +0 -131
  392. package/esm/operations/queueServices.js.map +0 -1
  393. package/esm/operations/skus.d.ts +0 -28
  394. package/esm/operations/skus.d.ts.map +0 -1
  395. package/esm/operations/skus.js +0 -53
  396. package/esm/operations/skus.js.map +0 -1
  397. package/esm/operations/storageAccounts.d.ts +0 -455
  398. package/esm/operations/storageAccounts.d.ts.map +0 -1
  399. package/esm/operations/storageAccounts.js +0 -642
  400. package/esm/operations/storageAccounts.js.map +0 -1
  401. package/esm/operations/tableOperations.d.ts +0 -217
  402. package/esm/operations/tableOperations.d.ts.map +0 -1
  403. package/esm/operations/tableOperations.js +0 -216
  404. package/esm/operations/tableOperations.js.map +0 -1
  405. package/esm/operations/tableServices.d.ts +0 -105
  406. package/esm/operations/tableServices.d.ts.map +0 -1
  407. package/esm/operations/tableServices.js +0 -131
  408. package/esm/operations/tableServices.js.map +0 -1
  409. package/esm/operations/usages.d.ts +0 -32
  410. package/esm/operations/usages.d.ts.map +0 -1
  411. package/esm/operations/usages.js +0 -55
  412. package/esm/operations/usages.js.map +0 -1
  413. package/esm/storageManagementClient.d.ts +0 -42
  414. package/esm/storageManagementClient.d.ts.map +0 -1
  415. package/esm/storageManagementClient.js +0 -55
  416. package/esm/storageManagementClient.js.map +0 -1
  417. package/esm/storageManagementClientContext.d.ts +0 -22
  418. package/esm/storageManagementClientContext.d.ts.map +0 -1
  419. package/esm/storageManagementClientContext.js +0 -61
  420. package/esm/storageManagementClientContext.js.map +0 -1
  421. package/src/models/blobContainersMappers.ts +0 -106
  422. package/src/models/blobInventoryPoliciesMappers.ts +0 -99
  423. package/src/models/blobServicesMappers.ts +0 -98
  424. package/src/models/deletedAccountsMappers.ts +0 -99
  425. package/src/models/encryptionScopesMappers.ts +0 -100
  426. package/src/models/fileServicesMappers.ts +0 -98
  427. package/src/models/fileSharesMappers.ts +0 -99
  428. package/src/models/managementPoliciesMappers.ts +0 -97
  429. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
  430. package/src/models/privateEndpointConnectionsMappers.ts +0 -100
  431. package/src/models/privateLinkResourcesMappers.ts +0 -98
  432. package/src/models/queueMappers.ts +0 -98
  433. package/src/models/queueServicesMappers.ts +0 -98
  434. package/src/models/storageAccountsMappers.ts +0 -109
  435. package/src/models/tableOperationsMappers.ts +0 -98
  436. package/src/models/tableServicesMappers.ts +0 -98
  437. package/src/storageManagementClientContext.ts +0 -74
@@ -0,0 +1,365 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ListContainerItem,
13
+ BlobContainersListOptionalParams,
14
+ BlobContainer,
15
+ BlobContainersCreateOptionalParams,
16
+ BlobContainersCreateResponse,
17
+ BlobContainersUpdateOptionalParams,
18
+ BlobContainersUpdateResponse,
19
+ BlobContainersGetOptionalParams,
20
+ BlobContainersGetResponse,
21
+ BlobContainersDeleteOptionalParams,
22
+ LegalHold,
23
+ BlobContainersSetLegalHoldOptionalParams,
24
+ BlobContainersSetLegalHoldResponse,
25
+ BlobContainersClearLegalHoldOptionalParams,
26
+ BlobContainersClearLegalHoldResponse,
27
+ BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams,
28
+ BlobContainersCreateOrUpdateImmutabilityPolicyResponse,
29
+ BlobContainersGetImmutabilityPolicyOptionalParams,
30
+ BlobContainersGetImmutabilityPolicyResponse,
31
+ BlobContainersDeleteImmutabilityPolicyOptionalParams,
32
+ BlobContainersDeleteImmutabilityPolicyResponse,
33
+ BlobContainersLockImmutabilityPolicyOptionalParams,
34
+ BlobContainersLockImmutabilityPolicyResponse,
35
+ BlobContainersExtendImmutabilityPolicyOptionalParams,
36
+ BlobContainersExtendImmutabilityPolicyResponse,
37
+ BlobContainersLeaseOptionalParams,
38
+ BlobContainersLeaseResponse,
39
+ BlobContainersObjectLevelWormOptionalParams
40
+ } from "../models";
41
+
42
+ /// <reference lib="esnext.asynciterable" />
43
+ /** Interface representing a BlobContainers. */
44
+ export interface BlobContainers {
45
+ /**
46
+ * Lists all containers and does not support a prefix like data plane. Also SRP today does not return
47
+ * continuation token.
48
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
49
+ * case insensitive.
50
+ * @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 letters
52
+ * only.
53
+ * @param options The options parameters.
54
+ */
55
+ list(
56
+ resourceGroupName: string,
57
+ accountName: string,
58
+ options?: BlobContainersListOptionalParams
59
+ ): PagedAsyncIterableIterator<ListContainerItem>;
60
+ /**
61
+ * Creates a new container under the specified account as described by request body. The container
62
+ * resource includes metadata and properties for that container. It does not include a list of the
63
+ * blobs contained by the container.
64
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
65
+ * case insensitive.
66
+ * @param accountName The name of the storage account within the specified resource group. Storage
67
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
68
+ * only.
69
+ * @param containerName The name of the blob container within the specified storage account. Blob
70
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
71
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
72
+ * number.
73
+ * @param blobContainer Properties of the blob container to create.
74
+ * @param options The options parameters.
75
+ */
76
+ create(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ containerName: string,
80
+ blobContainer: BlobContainer,
81
+ options?: BlobContainersCreateOptionalParams
82
+ ): Promise<BlobContainersCreateResponse>;
83
+ /**
84
+ * Updates container properties as specified in request body. Properties not mentioned in the request
85
+ * will be unchanged. Update fails if the specified container doesn't already exist.
86
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
87
+ * case insensitive.
88
+ * @param accountName The name of the storage account within the specified resource group. Storage
89
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
90
+ * only.
91
+ * @param containerName The name of the blob container within the specified storage account. Blob
92
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
93
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
94
+ * number.
95
+ * @param blobContainer Properties to update for the blob container.
96
+ * @param options The options parameters.
97
+ */
98
+ update(
99
+ resourceGroupName: string,
100
+ accountName: string,
101
+ containerName: string,
102
+ blobContainer: BlobContainer,
103
+ options?: BlobContainersUpdateOptionalParams
104
+ ): Promise<BlobContainersUpdateResponse>;
105
+ /**
106
+ * Gets properties of a specified container.
107
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
108
+ * case insensitive.
109
+ * @param accountName The name of the storage account within the specified resource group. Storage
110
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
111
+ * only.
112
+ * @param containerName The name of the blob container within the specified storage account. Blob
113
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
114
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
115
+ * number.
116
+ * @param options The options parameters.
117
+ */
118
+ get(
119
+ resourceGroupName: string,
120
+ accountName: string,
121
+ containerName: string,
122
+ options?: BlobContainersGetOptionalParams
123
+ ): Promise<BlobContainersGetResponse>;
124
+ /**
125
+ * Deletes specified container under its account.
126
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
127
+ * case insensitive.
128
+ * @param accountName The name of the storage account within the specified resource group. Storage
129
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
130
+ * only.
131
+ * @param containerName The name of the blob container within the specified storage account. Blob
132
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
133
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
134
+ * number.
135
+ * @param options The options parameters.
136
+ */
137
+ delete(
138
+ resourceGroupName: string,
139
+ accountName: string,
140
+ containerName: string,
141
+ options?: BlobContainersDeleteOptionalParams
142
+ ): Promise<void>;
143
+ /**
144
+ * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows
145
+ * an append pattern and does not clear out the existing tags that are not specified in the request.
146
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
147
+ * case insensitive.
148
+ * @param accountName The name of the storage account within the specified resource group. Storage
149
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
150
+ * only.
151
+ * @param containerName The name of the blob container within the specified storage account. Blob
152
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
153
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
154
+ * number.
155
+ * @param legalHold The LegalHold property that will be set to a blob container.
156
+ * @param options The options parameters.
157
+ */
158
+ setLegalHold(
159
+ resourceGroupName: string,
160
+ accountName: string,
161
+ containerName: string,
162
+ legalHold: LegalHold,
163
+ options?: BlobContainersSetLegalHoldOptionalParams
164
+ ): Promise<BlobContainersSetLegalHoldResponse>;
165
+ /**
166
+ * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation.
167
+ * ClearLegalHold clears out only the specified tags in the request.
168
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
169
+ * case insensitive.
170
+ * @param accountName The name of the storage account within the specified resource group. Storage
171
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
172
+ * only.
173
+ * @param containerName The name of the blob container within the specified storage account. Blob
174
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
175
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
176
+ * number.
177
+ * @param legalHold The LegalHold property that will be clear from a blob container.
178
+ * @param options The options parameters.
179
+ */
180
+ clearLegalHold(
181
+ resourceGroupName: string,
182
+ accountName: string,
183
+ containerName: string,
184
+ legalHold: LegalHold,
185
+ options?: BlobContainersClearLegalHoldOptionalParams
186
+ ): Promise<BlobContainersClearLegalHoldResponse>;
187
+ /**
188
+ * Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not
189
+ * required for this operation.
190
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
191
+ * case insensitive.
192
+ * @param accountName The name of the storage account within the specified resource group. Storage
193
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
194
+ * only.
195
+ * @param containerName The name of the blob container within the specified storage account. Blob
196
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
197
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
198
+ * number.
199
+ * @param options The options parameters.
200
+ */
201
+ createOrUpdateImmutabilityPolicy(
202
+ resourceGroupName: string,
203
+ accountName: string,
204
+ containerName: string,
205
+ options?: BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams
206
+ ): Promise<BlobContainersCreateOrUpdateImmutabilityPolicyResponse>;
207
+ /**
208
+ * Gets the existing immutability policy along with the corresponding ETag in response headers and
209
+ * body.
210
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
211
+ * case insensitive.
212
+ * @param accountName The name of the storage account within the specified resource group. Storage
213
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
214
+ * only.
215
+ * @param containerName The name of the blob container within the specified storage account. Blob
216
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
217
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
218
+ * number.
219
+ * @param options The options parameters.
220
+ */
221
+ getImmutabilityPolicy(
222
+ resourceGroupName: string,
223
+ accountName: string,
224
+ containerName: string,
225
+ options?: BlobContainersGetImmutabilityPolicyOptionalParams
226
+ ): Promise<BlobContainersGetImmutabilityPolicyResponse>;
227
+ /**
228
+ * Aborts an unlocked immutability policy. The response of delete has
229
+ * immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation.
230
+ * Deleting a locked immutability policy is not allowed, the only way is to delete the container after
231
+ * deleting all expired blobs inside the policy locked container.
232
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
233
+ * case insensitive.
234
+ * @param accountName The name of the storage account within the specified resource group. Storage
235
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
236
+ * only.
237
+ * @param containerName The name of the blob container within the specified storage account. Blob
238
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
239
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
240
+ * number.
241
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
242
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
243
+ * operation will always be applied.
244
+ * @param options The options parameters.
245
+ */
246
+ deleteImmutabilityPolicy(
247
+ resourceGroupName: string,
248
+ accountName: string,
249
+ containerName: string,
250
+ ifMatch: string,
251
+ options?: BlobContainersDeleteImmutabilityPolicyOptionalParams
252
+ ): Promise<BlobContainersDeleteImmutabilityPolicyResponse>;
253
+ /**
254
+ * Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is
255
+ * ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
256
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
257
+ * case insensitive.
258
+ * @param accountName The name of the storage account within the specified resource group. Storage
259
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
260
+ * only.
261
+ * @param containerName The name of the blob container within the specified storage account. Blob
262
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
263
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
264
+ * number.
265
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
266
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
267
+ * operation will always be applied.
268
+ * @param options The options parameters.
269
+ */
270
+ lockImmutabilityPolicy(
271
+ resourceGroupName: string,
272
+ accountName: string,
273
+ containerName: string,
274
+ ifMatch: string,
275
+ options?: BlobContainersLockImmutabilityPolicyOptionalParams
276
+ ): Promise<BlobContainersLockImmutabilityPolicyResponse>;
277
+ /**
278
+ * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action
279
+ * allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
280
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
281
+ * case insensitive.
282
+ * @param accountName The name of the storage account within the specified resource group. Storage
283
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
284
+ * only.
285
+ * @param containerName The name of the blob container within the specified storage account. Blob
286
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
287
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
288
+ * number.
289
+ * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of "*"
290
+ * can be used to apply the operation only if the immutability policy already exists. If omitted, this
291
+ * operation will always be applied.
292
+ * @param options The options parameters.
293
+ */
294
+ extendImmutabilityPolicy(
295
+ resourceGroupName: string,
296
+ accountName: string,
297
+ containerName: string,
298
+ ifMatch: string,
299
+ options?: BlobContainersExtendImmutabilityPolicyOptionalParams
300
+ ): Promise<BlobContainersExtendImmutabilityPolicyResponse>;
301
+ /**
302
+ * The Lease Container operation establishes and manages a lock on a container for delete operations.
303
+ * The lock duration can be 15 to 60 seconds, or can be infinite.
304
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
305
+ * 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 letters
308
+ * 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 letters
311
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
312
+ * number.
313
+ * @param options The options parameters.
314
+ */
315
+ lease(
316
+ resourceGroupName: string,
317
+ accountName: string,
318
+ containerName: string,
319
+ options?: BlobContainersLeaseOptionalParams
320
+ ): Promise<BlobContainersLeaseResponse>;
321
+ /**
322
+ * This operation migrates a blob container from container level WORM to object level immutability
323
+ * enabled container. Prerequisites require a container level immutability policy either in locked or
324
+ * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the
325
+ * container.
326
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
327
+ * case insensitive.
328
+ * @param accountName The name of the storage account within the specified resource group. Storage
329
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
330
+ * only.
331
+ * @param containerName The name of the blob container within the specified storage account. Blob
332
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
333
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
334
+ * number.
335
+ * @param options The options parameters.
336
+ */
337
+ beginObjectLevelWorm(
338
+ resourceGroupName: string,
339
+ accountName: string,
340
+ containerName: string,
341
+ options?: BlobContainersObjectLevelWormOptionalParams
342
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
343
+ /**
344
+ * This operation migrates a blob container from container level WORM to object level immutability
345
+ * enabled container. Prerequisites require a container level immutability policy either in locked or
346
+ * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the
347
+ * container.
348
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
349
+ * case insensitive.
350
+ * @param accountName The name of the storage account within the specified resource group. Storage
351
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
352
+ * only.
353
+ * @param containerName The name of the blob container within the specified storage account. Blob
354
+ * container names must be between 3 and 63 characters in length and use numbers, lower-case letters
355
+ * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
356
+ * number.
357
+ * @param options The options parameters.
358
+ */
359
+ beginObjectLevelWormAndWait(
360
+ resourceGroupName: string,
361
+ accountName: string,
362
+ containerName: string,
363
+ options?: BlobContainersObjectLevelWormOptionalParams
364
+ ): Promise<void>;
365
+ }
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ BlobInventoryPolicy,
12
+ BlobInventoryPoliciesListOptionalParams,
13
+ BlobInventoryPolicyName,
14
+ BlobInventoryPoliciesGetOptionalParams,
15
+ BlobInventoryPoliciesGetResponse,
16
+ BlobInventoryPoliciesCreateOrUpdateOptionalParams,
17
+ BlobInventoryPoliciesCreateOrUpdateResponse,
18
+ BlobInventoryPoliciesDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a BlobInventoryPolicies. */
23
+ export interface BlobInventoryPolicies {
24
+ /**
25
+ * Gets the blob inventory policy associated with the specified storage account.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
27
+ * case insensitive.
28
+ * @param accountName The name of the storage account within the specified resource group. Storage
29
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
30
+ * only.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ accountName: string,
36
+ options?: BlobInventoryPoliciesListOptionalParams
37
+ ): PagedAsyncIterableIterator<BlobInventoryPolicy>;
38
+ /**
39
+ * Gets the blob inventory policy associated with the specified storage account.
40
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
41
+ * case insensitive.
42
+ * @param accountName The name of the storage account within the specified resource group. Storage
43
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
44
+ * only.
45
+ * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
46
+ * always be 'default'
47
+ * @param options The options parameters.
48
+ */
49
+ get(
50
+ resourceGroupName: string,
51
+ accountName: string,
52
+ blobInventoryPolicyName: BlobInventoryPolicyName,
53
+ options?: BlobInventoryPoliciesGetOptionalParams
54
+ ): Promise<BlobInventoryPoliciesGetResponse>;
55
+ /**
56
+ * Sets the blob inventory policy to the specified storage account.
57
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
58
+ * case insensitive.
59
+ * @param accountName The name of the storage account within the specified resource group. Storage
60
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
61
+ * only.
62
+ * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
63
+ * always be 'default'
64
+ * @param properties The blob inventory policy set to a storage account.
65
+ * @param options The options parameters.
66
+ */
67
+ createOrUpdate(
68
+ resourceGroupName: string,
69
+ accountName: string,
70
+ blobInventoryPolicyName: BlobInventoryPolicyName,
71
+ properties: BlobInventoryPolicy,
72
+ options?: BlobInventoryPoliciesCreateOrUpdateOptionalParams
73
+ ): Promise<BlobInventoryPoliciesCreateOrUpdateResponse>;
74
+ /**
75
+ * Deletes the blob inventory policy associated with the specified storage account.
76
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
77
+ * 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 letters
80
+ * only.
81
+ * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
82
+ * always be 'default'
83
+ * @param options The options parameters.
84
+ */
85
+ delete(
86
+ resourceGroupName: string,
87
+ accountName: string,
88
+ blobInventoryPolicyName: BlobInventoryPolicyName,
89
+ options?: BlobInventoryPoliciesDeleteOptionalParams
90
+ ): Promise<void>;
91
+ }
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ BlobServiceProperties,
12
+ BlobServicesListOptionalParams,
13
+ BlobServicesSetServicePropertiesOptionalParams,
14
+ BlobServicesSetServicePropertiesResponse,
15
+ BlobServicesGetServicePropertiesOptionalParams,
16
+ BlobServicesGetServicePropertiesResponse
17
+ } from "../models";
18
+
19
+ /// <reference lib="esnext.asynciterable" />
20
+ /** Interface representing a BlobServices. */
21
+ export interface BlobServices {
22
+ /**
23
+ * List blob services of storage account. It returns a collection of one object named default.
24
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
25
+ * case insensitive.
26
+ * @param accountName The name of the storage account within the specified resource group. Storage
27
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
28
+ * only.
29
+ * @param options The options parameters.
30
+ */
31
+ list(
32
+ resourceGroupName: string,
33
+ accountName: string,
34
+ options?: BlobServicesListOptionalParams
35
+ ): PagedAsyncIterableIterator<BlobServiceProperties>;
36
+ /**
37
+ * Sets the properties of a storage account’s Blob service, including properties for Storage Analytics
38
+ * and CORS (Cross-Origin Resource Sharing) rules.
39
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
40
+ * case insensitive.
41
+ * @param accountName The name of the storage account within the specified resource group. Storage
42
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
43
+ * only.
44
+ * @param parameters The properties of a storage account’s Blob service, including properties for
45
+ * Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
46
+ * @param options The options parameters.
47
+ */
48
+ setServiceProperties(
49
+ resourceGroupName: string,
50
+ accountName: string,
51
+ parameters: BlobServiceProperties,
52
+ options?: BlobServicesSetServicePropertiesOptionalParams
53
+ ): Promise<BlobServicesSetServicePropertiesResponse>;
54
+ /**
55
+ * Gets the properties of a storage account’s Blob service, including properties for Storage Analytics
56
+ * and CORS (Cross-Origin Resource Sharing) rules.
57
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
58
+ * case insensitive.
59
+ * @param accountName The name of the storage account within the specified resource group. Storage
60
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
61
+ * only.
62
+ * @param options The options parameters.
63
+ */
64
+ getServiceProperties(
65
+ resourceGroupName: string,
66
+ accountName: string,
67
+ options?: BlobServicesGetServicePropertiesOptionalParams
68
+ ): Promise<BlobServicesGetServicePropertiesResponse>;
69
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ DeletedAccount,
12
+ DeletedAccountsListOptionalParams,
13
+ DeletedAccountsGetOptionalParams,
14
+ DeletedAccountsGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a DeletedAccounts. */
19
+ export interface DeletedAccounts {
20
+ /**
21
+ * Lists deleted accounts under the subscription.
22
+ * @param options The options parameters.
23
+ */
24
+ list(
25
+ options?: DeletedAccountsListOptionalParams
26
+ ): PagedAsyncIterableIterator<DeletedAccount>;
27
+ /**
28
+ * Get properties of specified deleted account resource.
29
+ * @param deletedAccountName Name of the deleted storage account.
30
+ * @param location The location of the deleted storage account.
31
+ * @param options The options parameters.
32
+ */
33
+ get(
34
+ deletedAccountName: string,
35
+ location: string,
36
+ options?: DeletedAccountsGetOptionalParams
37
+ ): Promise<DeletedAccountsGetResponse>;
38
+ }
@@ -0,0 +1,102 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ EncryptionScope,
12
+ EncryptionScopesListOptionalParams,
13
+ EncryptionScopesPutOptionalParams,
14
+ EncryptionScopesPutResponse,
15
+ EncryptionScopesPatchOptionalParams,
16
+ EncryptionScopesPatchResponse,
17
+ EncryptionScopesGetOptionalParams,
18
+ EncryptionScopesGetResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a EncryptionScopes. */
23
+ export interface EncryptionScopes {
24
+ /**
25
+ * Lists all the encryption scopes available under the specified storage account.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
27
+ * case insensitive.
28
+ * @param accountName The name of the storage account within the specified resource group. Storage
29
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
30
+ * only.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ accountName: string,
36
+ options?: EncryptionScopesListOptionalParams
37
+ ): PagedAsyncIterableIterator<EncryptionScope>;
38
+ /**
39
+ * Synchronously creates or updates an encryption scope under the specified storage account. If an
40
+ * encryption scope is already created and a subsequent request is issued with different properties,
41
+ * the encryption scope properties will be updated per the specified request.
42
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
43
+ * case insensitive.
44
+ * @param accountName The name of the storage account within the specified resource group. Storage
45
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
46
+ * only.
47
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
48
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
49
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
50
+ * letter or number.
51
+ * @param encryptionScope Encryption scope properties to be used for the create or update.
52
+ * @param options The options parameters.
53
+ */
54
+ put(
55
+ resourceGroupName: string,
56
+ accountName: string,
57
+ encryptionScopeName: string,
58
+ encryptionScope: EncryptionScope,
59
+ options?: EncryptionScopesPutOptionalParams
60
+ ): Promise<EncryptionScopesPutResponse>;
61
+ /**
62
+ * Update encryption scope properties as specified in the request body. Update fails if the specified
63
+ * encryption scope does not already exist.
64
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
65
+ * case insensitive.
66
+ * @param accountName The name of the storage account within the specified resource group. Storage
67
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
68
+ * only.
69
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
70
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
71
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
72
+ * letter or number.
73
+ * @param encryptionScope Encryption scope properties to be used for the update.
74
+ * @param options The options parameters.
75
+ */
76
+ patch(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ encryptionScopeName: string,
80
+ encryptionScope: EncryptionScope,
81
+ options?: EncryptionScopesPatchOptionalParams
82
+ ): Promise<EncryptionScopesPatchResponse>;
83
+ /**
84
+ * Returns the properties for the specified encryption scope.
85
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
86
+ * case insensitive.
87
+ * @param accountName The name of the storage account within the specified resource group. Storage
88
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
89
+ * only.
90
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
91
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
92
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
93
+ * letter or number.
94
+ * @param options The options parameters.
95
+ */
96
+ get(
97
+ resourceGroupName: string,
98
+ accountName: string,
99
+ encryptionScopeName: string,
100
+ options?: EncryptionScopesGetOptionalParams
101
+ ): Promise<EncryptionScopesGetResponse>;
102
+ }