@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,306 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Queue operations. */
14
+ export class QueueImpl {
15
+ /**
16
+ * Initialize a new instance of the class Queue class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets a list of all the queues under the specified storage account
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(resourceGroupName, accountName, options) {
32
+ const iter = this.listPagingAll(resourceGroupName, accountName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: () => {
41
+ return this.listPagingPage(resourceGroupName, accountName, options);
42
+ }
43
+ };
44
+ }
45
+ listPagingPage(resourceGroupName, accountName, options) {
46
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
+ let result = yield __await(this._list(resourceGroupName, accountName, options));
48
+ yield yield __await(result.value || []);
49
+ let continuationToken = result.nextLink;
50
+ while (continuationToken) {
51
+ result = yield __await(this._listNext(resourceGroupName, accountName, continuationToken, options));
52
+ continuationToken = result.nextLink;
53
+ yield yield __await(result.value || []);
54
+ }
55
+ });
56
+ }
57
+ listPagingAll(resourceGroupName, accountName, options) {
58
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
59
+ var e_1, _a;
60
+ try {
61
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
62
+ const page = _c.value;
63
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
64
+ }
65
+ }
66
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
+ finally {
68
+ try {
69
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
70
+ }
71
+ finally { if (e_1) throw e_1.error; }
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Creates a new queue with the specified queue name, under the specified account.
77
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
78
+ * case insensitive.
79
+ * @param accountName The name of the storage account within the specified resource group. Storage
80
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
81
+ * only.
82
+ * @param queueName A queue name must be unique within a storage account and must be between 3 and 63
83
+ * characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
84
+ * begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
85
+ * @param queue Queue properties and metadata to be created with
86
+ * @param options The options parameters.
87
+ */
88
+ create(resourceGroupName, accountName, queueName, queue, options) {
89
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, createOperationSpec);
90
+ }
91
+ /**
92
+ * Creates a new queue with the specified queue name, under the specified account.
93
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
94
+ * 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 letters
97
+ * only.
98
+ * @param queueName A queue name must be unique within a storage account and must be between 3 and 63
99
+ * characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
100
+ * begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
101
+ * @param queue Queue properties and metadata to be created with
102
+ * @param options The options parameters.
103
+ */
104
+ update(resourceGroupName, accountName, queueName, queue, options) {
105
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, updateOperationSpec);
106
+ }
107
+ /**
108
+ * Gets the queue with the specified queue name, under the specified account if it exists.
109
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
110
+ * case insensitive.
111
+ * @param accountName The name of the storage account within the specified resource group. Storage
112
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
113
+ * only.
114
+ * @param queueName A queue name must be unique within a storage account and must be between 3 and 63
115
+ * characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
116
+ * begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
117
+ * @param options The options parameters.
118
+ */
119
+ get(resourceGroupName, accountName, queueName, options) {
120
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, getOperationSpec);
121
+ }
122
+ /**
123
+ * Deletes the queue with the specified queue name, under the specified account if it exists.
124
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
125
+ * case insensitive.
126
+ * @param accountName The name of the storage account within the specified resource group. Storage
127
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
128
+ * only.
129
+ * @param queueName A queue name must be unique within a storage account and must be between 3 and 63
130
+ * characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
131
+ * begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
132
+ * @param options The options parameters.
133
+ */
134
+ delete(resourceGroupName, accountName, queueName, options) {
135
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, deleteOperationSpec);
136
+ }
137
+ /**
138
+ * Gets a list of all the queues under the specified storage account
139
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
140
+ * case insensitive.
141
+ * @param accountName The name of the storage account within the specified resource group. Storage
142
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
143
+ * only.
144
+ * @param options The options parameters.
145
+ */
146
+ _list(resourceGroupName, accountName, options) {
147
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
148
+ }
149
+ /**
150
+ * ListNext
151
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
152
+ * case insensitive.
153
+ * @param accountName The name of the storage account within the specified resource group. Storage
154
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
155
+ * only.
156
+ * @param nextLink The nextLink from the previous successful call to the List method.
157
+ * @param options The options parameters.
158
+ */
159
+ _listNext(resourceGroupName, accountName, nextLink, options) {
160
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec);
161
+ }
162
+ }
163
+ // Operation Specifications
164
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
165
+ const createOperationSpec = {
166
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
167
+ httpMethod: "PUT",
168
+ responses: {
169
+ 200: {
170
+ bodyMapper: Mappers.StorageQueue
171
+ },
172
+ default: {
173
+ bodyMapper: Mappers.CloudErrorAutoGenerated
174
+ }
175
+ },
176
+ requestBody: Parameters.queue,
177
+ queryParameters: [Parameters.apiVersion],
178
+ urlParameters: [
179
+ Parameters.$host,
180
+ Parameters.subscriptionId,
181
+ Parameters.resourceGroupName,
182
+ Parameters.accountName1,
183
+ Parameters.queueName
184
+ ],
185
+ headerParameters: [Parameters.accept, Parameters.contentType],
186
+ mediaType: "json",
187
+ serializer
188
+ };
189
+ const updateOperationSpec = {
190
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
191
+ httpMethod: "PATCH",
192
+ responses: {
193
+ 200: {
194
+ bodyMapper: Mappers.StorageQueue
195
+ },
196
+ default: {
197
+ bodyMapper: Mappers.CloudErrorAutoGenerated
198
+ }
199
+ },
200
+ requestBody: Parameters.queue,
201
+ queryParameters: [Parameters.apiVersion],
202
+ urlParameters: [
203
+ Parameters.$host,
204
+ Parameters.subscriptionId,
205
+ Parameters.resourceGroupName,
206
+ Parameters.accountName1,
207
+ Parameters.queueName
208
+ ],
209
+ headerParameters: [Parameters.accept, Parameters.contentType],
210
+ mediaType: "json",
211
+ serializer
212
+ };
213
+ const getOperationSpec = {
214
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
215
+ httpMethod: "GET",
216
+ responses: {
217
+ 200: {
218
+ bodyMapper: Mappers.StorageQueue
219
+ },
220
+ default: {
221
+ bodyMapper: Mappers.CloudErrorAutoGenerated
222
+ }
223
+ },
224
+ queryParameters: [Parameters.apiVersion],
225
+ urlParameters: [
226
+ Parameters.$host,
227
+ Parameters.subscriptionId,
228
+ Parameters.resourceGroupName,
229
+ Parameters.accountName1,
230
+ Parameters.queueName
231
+ ],
232
+ headerParameters: [Parameters.accept],
233
+ serializer
234
+ };
235
+ const deleteOperationSpec = {
236
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
237
+ httpMethod: "DELETE",
238
+ responses: {
239
+ 204: {},
240
+ default: {
241
+ bodyMapper: Mappers.CloudErrorAutoGenerated
242
+ }
243
+ },
244
+ queryParameters: [Parameters.apiVersion],
245
+ urlParameters: [
246
+ Parameters.$host,
247
+ Parameters.subscriptionId,
248
+ Parameters.resourceGroupName,
249
+ Parameters.accountName1,
250
+ Parameters.queueName
251
+ ],
252
+ headerParameters: [Parameters.accept],
253
+ serializer
254
+ };
255
+ const listOperationSpec = {
256
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues",
257
+ httpMethod: "GET",
258
+ responses: {
259
+ 200: {
260
+ bodyMapper: Mappers.ListQueueResource
261
+ },
262
+ default: {
263
+ bodyMapper: Mappers.CloudErrorAutoGenerated
264
+ }
265
+ },
266
+ queryParameters: [
267
+ Parameters.apiVersion,
268
+ Parameters.maxpagesize,
269
+ Parameters.filter
270
+ ],
271
+ urlParameters: [
272
+ Parameters.$host,
273
+ Parameters.subscriptionId,
274
+ Parameters.resourceGroupName,
275
+ Parameters.accountName1
276
+ ],
277
+ headerParameters: [Parameters.accept],
278
+ serializer
279
+ };
280
+ const listNextOperationSpec = {
281
+ path: "{nextLink}",
282
+ httpMethod: "GET",
283
+ responses: {
284
+ 200: {
285
+ bodyMapper: Mappers.ListQueueResource
286
+ },
287
+ default: {
288
+ bodyMapper: Mappers.CloudErrorAutoGenerated
289
+ }
290
+ },
291
+ queryParameters: [
292
+ Parameters.apiVersion,
293
+ Parameters.maxpagesize,
294
+ Parameters.filter
295
+ ],
296
+ urlParameters: [
297
+ Parameters.$host,
298
+ Parameters.subscriptionId,
299
+ Parameters.resourceGroupName,
300
+ Parameters.accountName1,
301
+ Parameters.nextLink
302
+ ],
303
+ headerParameters: [Parameters.accept],
304
+ serializer
305
+ };
306
+ //# sourceMappingURL=queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../src/operations/queue.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAiC;QAEjC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,C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ACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { QueueServices } from "../operationsInterfaces";
2
+ import { StorageManagementClient } from "../storageManagementClient";
3
+ import { QueueServicesListOptionalParams, QueueServicesListResponse, QueueServiceProperties, QueueServicesSetServicePropertiesOptionalParams, QueueServicesSetServicePropertiesResponse, QueueServicesGetServicePropertiesOptionalParams, QueueServicesGetServicePropertiesResponse } from "../models";
4
+ /** Class containing QueueServices operations. */
5
+ export declare class QueueServicesImpl implements QueueServices {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class QueueServices class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: StorageManagementClient);
12
+ /**
13
+ * List all queue services for the storage account
14
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
15
+ * case insensitive.
16
+ * @param accountName The name of the storage account within the specified resource group. Storage
17
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
18
+ * only.
19
+ * @param options The options parameters.
20
+ */
21
+ list(resourceGroupName: string, accountName: string, options?: QueueServicesListOptionalParams): Promise<QueueServicesListResponse>;
22
+ /**
23
+ * Sets the properties of a storage account’s Queue service, including properties for Storage Analytics
24
+ * and CORS (Cross-Origin Resource Sharing) rules.
25
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
26
+ * case insensitive.
27
+ * @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 letters
29
+ * only.
30
+ * @param parameters The properties of a storage account’s Queue service, only properties for Storage
31
+ * Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
32
+ * @param options The options parameters.
33
+ */
34
+ setServiceProperties(resourceGroupName: string, accountName: string, parameters: QueueServiceProperties, options?: QueueServicesSetServicePropertiesOptionalParams): Promise<QueueServicesSetServicePropertiesResponse>;
35
+ /**
36
+ * Gets the properties of a storage account’s Queue service, including properties for Storage Analytics
37
+ * and CORS (Cross-Origin Resource Sharing) rules.
38
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
39
+ * case insensitive.
40
+ * @param accountName The name of the storage account within the specified resource group. Storage
41
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
42
+ * only.
43
+ * @param options The options parameters.
44
+ */
45
+ getServiceProperties(resourceGroupName: string, accountName: string, options?: QueueServicesGetServicePropertiesOptionalParams): Promise<QueueServicesGetServicePropertiesResponse>;
46
+ }
47
+ //# sourceMappingURL=queueServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queueServices.d.ts","sourceRoot":"","sources":["../../../src/operations/queueServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,sBAAsB,EACtB,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;CAMtD"}
@@ -0,0 +1,130 @@
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing QueueServices operations. */
12
+ export class QueueServicesImpl {
13
+ /**
14
+ * Initialize a new instance of the class QueueServices class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * List all queue services for the storage account
22
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
23
+ * case insensitive.
24
+ * @param accountName The name of the storage account within the specified resource group. Storage
25
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
26
+ * only.
27
+ * @param options The options parameters.
28
+ */
29
+ list(resourceGroupName, accountName, options) {
30
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
31
+ }
32
+ /**
33
+ * Sets the properties of a storage account’s Queue service, including properties for Storage Analytics
34
+ * and CORS (Cross-Origin Resource Sharing) rules.
35
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
36
+ * case insensitive.
37
+ * @param accountName The name of the storage account within the specified resource group. Storage
38
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
39
+ * only.
40
+ * @param parameters The properties of a storage account’s Queue service, only properties for Storage
41
+ * Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
42
+ * @param options The options parameters.
43
+ */
44
+ setServiceProperties(resourceGroupName, accountName, parameters, options) {
45
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec);
46
+ }
47
+ /**
48
+ * Gets the properties of a storage account’s Queue service, including properties for Storage Analytics
49
+ * and CORS (Cross-Origin Resource Sharing) rules.
50
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
51
+ * case insensitive.
52
+ * @param accountName The name of the storage account within the specified resource group. Storage
53
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
54
+ * only.
55
+ * @param options The options parameters.
56
+ */
57
+ getServiceProperties(resourceGroupName, accountName, options) {
58
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec);
59
+ }
60
+ }
61
+ // Operation Specifications
62
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
63
+ const listOperationSpec = {
64
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices",
65
+ httpMethod: "GET",
66
+ responses: {
67
+ 200: {
68
+ bodyMapper: Mappers.ListQueueServices
69
+ },
70
+ default: {
71
+ bodyMapper: Mappers.CloudErrorAutoGenerated
72
+ }
73
+ },
74
+ queryParameters: [Parameters.apiVersion],
75
+ urlParameters: [
76
+ Parameters.$host,
77
+ Parameters.subscriptionId,
78
+ Parameters.resourceGroupName,
79
+ Parameters.accountName1
80
+ ],
81
+ headerParameters: [Parameters.accept],
82
+ serializer
83
+ };
84
+ const setServicePropertiesOperationSpec = {
85
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}",
86
+ httpMethod: "PUT",
87
+ responses: {
88
+ 200: {
89
+ bodyMapper: Mappers.QueueServiceProperties
90
+ },
91
+ default: {
92
+ bodyMapper: Mappers.CloudErrorAutoGenerated
93
+ }
94
+ },
95
+ requestBody: Parameters.parameters10,
96
+ queryParameters: [Parameters.apiVersion],
97
+ urlParameters: [
98
+ Parameters.$host,
99
+ Parameters.subscriptionId,
100
+ Parameters.resourceGroupName,
101
+ Parameters.accountName1,
102
+ Parameters.queueServiceName
103
+ ],
104
+ headerParameters: [Parameters.accept, Parameters.contentType],
105
+ mediaType: "json",
106
+ serializer
107
+ };
108
+ const getServicePropertiesOperationSpec = {
109
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}",
110
+ httpMethod: "GET",
111
+ responses: {
112
+ 200: {
113
+ bodyMapper: Mappers.QueueServiceProperties
114
+ },
115
+ default: {
116
+ bodyMapper: Mappers.CloudErrorAutoGenerated
117
+ }
118
+ },
119
+ queryParameters: [Parameters.apiVersion],
120
+ urlParameters: [
121
+ Parameters.$host,
122
+ Parameters.subscriptionId,
123
+ Parameters.resourceGroupName,
124
+ Parameters.accountName1,
125
+ Parameters.queueServiceName
126
+ ],
127
+ headerParameters: [Parameters.accept],
128
+ serializer
129
+ };
130
+ //# sourceMappingURL=queueServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queueServices.js","sourceRoot":"","sources":["../../../src/operations/queueServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAyB,EACzB,WAAmB,EACnB,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,WAAmB,EACnB,UAAkC,EAClC,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,EACvD,iCAAiC,CAClC,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iCAAiC,CAClC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EACF,4IAA4I;IAC9I,UAAU,EAAE,KAA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;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Skus } from "../operationsInterfaces";
3
+ import { StorageManagementClient } from "../storageManagementClient";
4
+ import { SkuInformation, SkusListOptionalParams } from "../models";
5
+ /** Class containing Skus operations. */
6
+ export declare class SkusImpl implements Skus {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Skus class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: StorageManagementClient);
13
+ /**
14
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=skus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,cAAc,EACd,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,cAAc,CAAC;YAe9B,cAAc;YAOd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
@@ -0,0 +1,87 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Skus operations. */
14
+ export class SkusImpl {
15
+ /**
16
+ * Initialize a new instance of the class Skus class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ });
45
+ }
46
+ listPagingAll(options) {
47
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
48
+ var e_1, _a;
49
+ try {
50
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
51
+ const page = _c.value;
52
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
53
+ }
54
+ }
55
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
56
+ finally {
57
+ try {
58
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
59
+ }
60
+ finally { if (e_1) throw e_1.error; }
61
+ }
62
+ });
63
+ }
64
+ /**
65
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
66
+ * @param options The options parameters.
67
+ */
68
+ _list(options) {
69
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
70
+ }
71
+ }
72
+ // Operation Specifications
73
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
74
+ const listOperationSpec = {
75
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus",
76
+ httpMethod: "GET",
77
+ responses: {
78
+ 200: {
79
+ bodyMapper: Mappers.StorageSkuListResult
80
+ }
81
+ },
82
+ queryParameters: [Parameters.apiVersion],
83
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
84
+ headerParameters: [Parameters.accept],
85
+ serializer
86
+ };
87
+ //# sourceMappingURL=skus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,O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