@azure/arm-storage 17.0.0-beta.1 → 17.0.1-alpha.20211216.2

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 (401) hide show
  1. package/CHANGELOG.md +15 -10
  2. package/README.md +15 -9
  3. package/dist/index.js +474 -591
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/index.d.ts +5 -0
  8. package/dist-esm/src/index.d.ts.map +1 -0
  9. package/{esm → dist-esm/src}/index.js +0 -1
  10. package/dist-esm/src/index.js.map +1 -0
  11. package/dist-esm/src/lroImpl.d.ts +16 -0
  12. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  13. package/dist-esm/src/lroImpl.js +29 -0
  14. package/dist-esm/src/lroImpl.js.map +1 -0
  15. package/{esm → dist-esm/src}/models/index.d.ts +157 -51
  16. package/dist-esm/src/models/index.d.ts.map +1 -0
  17. package/{esm → dist-esm/src}/models/index.js +13 -1
  18. package/dist-esm/src/models/index.js.map +1 -0
  19. package/{esm → dist-esm/src}/models/mappers.d.ts +5 -2
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  21. package/{esm → dist-esm/src}/models/mappers.js +214 -32
  22. package/dist-esm/src/models/mappers.js.map +1 -0
  23. package/{esm → dist-esm/src}/models/parameters.d.ts +1 -0
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  25. package/{esm → dist-esm/src}/models/parameters.js +11 -1
  26. package/dist-esm/src/models/parameters.js.map +1 -0
  27. package/{esm → dist-esm/src}/operations/blobContainers.d.ts +3 -4
  28. package/dist-esm/src/operations/blobContainers.d.ts.map +1 -0
  29. package/{esm → dist-esm/src}/operations/blobContainers.js +9 -6
  30. package/dist-esm/src/operations/blobContainers.js.map +1 -0
  31. package/{esm → dist-esm/src}/operations/blobInventoryPolicies.d.ts +3 -4
  32. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
  33. package/{esm → dist-esm/src}/operations/blobInventoryPolicies.js +1 -2
  34. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
  35. package/{esm → dist-esm/src}/operations/blobServices.d.ts +3 -4
  36. package/dist-esm/src/operations/blobServices.d.ts.map +1 -0
  37. package/{esm → dist-esm/src}/operations/blobServices.js +1 -2
  38. package/dist-esm/src/operations/blobServices.js.map +1 -0
  39. package/{esm → dist-esm/src}/operations/deletedAccounts.d.ts +3 -4
  40. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  41. package/{esm → dist-esm/src}/operations/deletedAccounts.js +1 -2
  42. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  43. package/{esm → dist-esm/src}/operations/encryptionScopes.d.ts +3 -4
  44. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
  45. package/{esm → dist-esm/src}/operations/encryptionScopes.js +1 -2
  46. package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
  47. package/{esm → dist-esm/src}/operations/fileServices.d.ts +3 -3
  48. package/dist-esm/src/operations/fileServices.d.ts.map +1 -0
  49. package/{esm → dist-esm/src}/operations/fileServices.js +1 -1
  50. package/dist-esm/src/operations/fileServices.js.map +1 -0
  51. package/{esm → dist-esm/src}/operations/fileShares.d.ts +3 -4
  52. package/dist-esm/src/operations/fileShares.d.ts.map +1 -0
  53. package/{esm → dist-esm/src}/operations/fileShares.js +1 -2
  54. package/dist-esm/src/operations/fileShares.js.map +1 -0
  55. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  56. package/dist-esm/src/operations/index.d.ts.map +1 -0
  57. package/{esm → dist-esm/src}/operations/index.js +0 -0
  58. package/dist-esm/src/operations/index.js.map +1 -0
  59. package/{esm → dist-esm/src}/operations/managementPolicies.d.ts +3 -3
  60. package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
  61. package/{esm → dist-esm/src}/operations/managementPolicies.js +1 -1
  62. package/dist-esm/src/operations/managementPolicies.js.map +1 -0
  63. package/{esm → dist-esm/src}/operations/objectReplicationPoliciesOperations.d.ts +8 -9
  64. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  65. package/{esm → dist-esm/src}/operations/objectReplicationPoliciesOperations.js +1 -2
  66. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
  67. package/{esm → dist-esm/src}/operations/operations.d.ts +3 -4
  68. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  69. package/{esm → dist-esm/src}/operations/operations.js +1 -2
  70. package/dist-esm/src/operations/operations.js.map +1 -0
  71. package/{esm → dist-esm/src}/operations/privateEndpointConnections.d.ts +3 -4
  72. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  73. package/{esm → dist-esm/src}/operations/privateEndpointConnections.js +1 -2
  74. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  75. package/{esm → dist-esm/src}/operations/privateLinkResources.d.ts +3 -3
  76. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  77. package/{esm → dist-esm/src}/operations/privateLinkResources.js +1 -1
  78. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  79. package/{esm → dist-esm/src}/operations/queue.d.ts +3 -4
  80. package/dist-esm/src/operations/queue.d.ts.map +1 -0
  81. package/{esm → dist-esm/src}/operations/queue.js +1 -2
  82. package/dist-esm/src/operations/queue.js.map +1 -0
  83. package/{esm → dist-esm/src}/operations/queueServices.d.ts +3 -3
  84. package/dist-esm/src/operations/queueServices.d.ts.map +1 -0
  85. package/{esm → dist-esm/src}/operations/queueServices.js +1 -1
  86. package/dist-esm/src/operations/queueServices.js.map +1 -0
  87. package/{esm → dist-esm/src}/operations/skus.d.ts +3 -4
  88. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  89. package/{esm → dist-esm/src}/operations/skus.js +1 -2
  90. package/dist-esm/src/operations/skus.js.map +1 -0
  91. package/{esm/operationsInterfaces → dist-esm/src/operations}/storageAccounts.d.ts +91 -4
  92. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
  93. package/{esm → dist-esm/src}/operations/storageAccounts.js +184 -10
  94. package/dist-esm/src/operations/storageAccounts.js.map +1 -0
  95. package/{esm → dist-esm/src}/operations/tableOperations.d.ts +9 -10
  96. package/dist-esm/src/operations/tableOperations.d.ts.map +1 -0
  97. package/{esm → dist-esm/src}/operations/tableOperations.js +1 -2
  98. package/dist-esm/src/operations/tableOperations.js.map +1 -0
  99. package/{esm → dist-esm/src}/operations/tableServices.d.ts +3 -3
  100. package/dist-esm/src/operations/tableServices.d.ts.map +1 -0
  101. package/{esm → dist-esm/src}/operations/tableServices.js +1 -1
  102. package/dist-esm/src/operations/tableServices.js.map +1 -0
  103. package/{esm → dist-esm/src}/operations/usages.d.ts +3 -4
  104. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  105. package/{esm → dist-esm/src}/operations/usages.js +1 -2
  106. package/dist-esm/src/operations/usages.js.map +1 -0
  107. package/{esm → dist-esm/src}/operationsInterfaces/blobContainers.d.ts +0 -1
  108. package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -0
  109. package/dist-esm/src/operationsInterfaces/blobContainers.js +9 -0
  110. package/dist-esm/src/operationsInterfaces/blobContainers.js.map +1 -0
  111. package/{esm → dist-esm/src}/operationsInterfaces/blobInventoryPolicies.d.ts +0 -1
  112. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  113. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js +9 -0
  114. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  115. package/{esm → dist-esm/src}/operationsInterfaces/blobServices.d.ts +0 -1
  116. package/dist-esm/src/operationsInterfaces/blobServices.d.ts.map +1 -0
  117. package/dist-esm/src/operationsInterfaces/blobServices.js +9 -0
  118. package/dist-esm/src/operationsInterfaces/blobServices.js.map +1 -0
  119. package/{esm → dist-esm/src}/operationsInterfaces/deletedAccounts.d.ts +0 -1
  120. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
  122. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  123. package/{esm → dist-esm/src}/operationsInterfaces/encryptionScopes.d.ts +0 -1
  124. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  125. package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
  126. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
  127. package/{esm → dist-esm/src}/operationsInterfaces/fileServices.d.ts +0 -0
  128. package/dist-esm/src/operationsInterfaces/fileServices.d.ts.map +1 -0
  129. package/{esm → dist-esm/src}/operationsInterfaces/fileServices.js +0 -0
  130. package/dist-esm/src/operationsInterfaces/fileServices.js.map +1 -0
  131. package/{esm → dist-esm/src}/operationsInterfaces/fileShares.d.ts +0 -1
  132. package/dist-esm/src/operationsInterfaces/fileShares.d.ts.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/fileShares.js +9 -0
  134. package/dist-esm/src/operationsInterfaces/fileShares.js.map +1 -0
  135. package/{esm → dist-esm/src}/operationsInterfaces/index.d.ts +0 -0
  136. package/{esm/operations/index.js.map → dist-esm/src/operationsInterfaces/index.d.ts.map} +1 -1
  137. package/{esm → dist-esm/src}/operationsInterfaces/index.js +0 -0
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  139. package/{esm → dist-esm/src}/operationsInterfaces/managementPolicies.d.ts +0 -0
  140. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  141. package/{esm → dist-esm/src}/operationsInterfaces/managementPolicies.js +0 -0
  142. package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
  143. package/{esm → dist-esm/src}/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +5 -6
  144. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  146. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  147. package/{esm → dist-esm/src}/operationsInterfaces/operations.d.ts +0 -1
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  149. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  150. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  151. package/{esm → dist-esm/src}/operationsInterfaces/privateEndpointConnections.d.ts +0 -1
  152. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  154. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  155. package/{esm → dist-esm/src}/operationsInterfaces/privateLinkResources.d.ts +0 -0
  156. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  157. package/{esm → dist-esm/src}/operationsInterfaces/privateLinkResources.js +0 -0
  158. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  159. package/{esm → dist-esm/src}/operationsInterfaces/queue.d.ts +0 -1
  160. package/dist-esm/src/operationsInterfaces/queue.d.ts.map +1 -0
  161. package/dist-esm/src/operationsInterfaces/queue.js +9 -0
  162. package/dist-esm/src/operationsInterfaces/queue.js.map +1 -0
  163. package/{esm → dist-esm/src}/operationsInterfaces/queueServices.d.ts +0 -0
  164. package/dist-esm/src/operationsInterfaces/queueServices.d.ts.map +1 -0
  165. package/{esm → dist-esm/src}/operationsInterfaces/queueServices.js +0 -0
  166. package/dist-esm/src/operationsInterfaces/queueServices.js.map +1 -0
  167. package/{esm → dist-esm/src}/operationsInterfaces/skus.d.ts +0 -1
  168. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  169. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  170. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  171. package/{esm/operations → dist-esm/src/operationsInterfaces}/storageAccounts.d.ts +51 -44
  172. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  173. package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
  174. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
  175. package/{esm → dist-esm/src}/operationsInterfaces/tableOperations.d.ts +6 -7
  176. package/dist-esm/src/operationsInterfaces/tableOperations.d.ts.map +1 -0
  177. package/dist-esm/src/operationsInterfaces/tableOperations.js +9 -0
  178. package/dist-esm/src/operationsInterfaces/tableOperations.js.map +1 -0
  179. package/{esm → dist-esm/src}/operationsInterfaces/tableServices.d.ts +0 -0
  180. package/dist-esm/src/operationsInterfaces/tableServices.d.ts.map +1 -0
  181. package/{esm → dist-esm/src}/operationsInterfaces/tableServices.js +0 -0
  182. package/dist-esm/src/operationsInterfaces/tableServices.js.map +1 -0
  183. package/{esm → dist-esm/src}/operationsInterfaces/usages.d.ts +0 -1
  184. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  185. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  186. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  187. package/{esm → dist-esm/src}/storageManagementClient.d.ts +5 -2
  188. package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
  189. package/{esm → dist-esm/src}/storageManagementClient.js +32 -3
  190. package/dist-esm/src/storageManagementClient.js.map +1 -0
  191. package/dist-esm/test/storage_examples.d.ts +4 -0
  192. package/dist-esm/test/storage_examples.d.ts.map +1 -0
  193. package/dist-esm/test/storage_examples.js +196 -0
  194. package/dist-esm/test/storage_examples.js.map +1 -0
  195. package/package.json +24 -20
  196. package/review/arm-storage.api.md +122 -51
  197. package/src/index.ts +0 -1
  198. package/src/lroImpl.ts +34 -0
  199. package/src/models/index.ts +167 -52
  200. package/src/models/mappers.ts +230 -37
  201. package/src/models/parameters.ts +12 -1
  202. package/src/operations/blobContainers.ts +13 -12
  203. package/src/operations/blobInventoryPolicies.ts +4 -5
  204. package/src/operations/blobServices.ts +4 -5
  205. package/src/operations/deletedAccounts.ts +4 -5
  206. package/src/operations/encryptionScopes.ts +4 -5
  207. package/src/operations/fileServices.ts +4 -4
  208. package/src/operations/fileShares.ts +4 -5
  209. package/src/operations/managementPolicies.ts +4 -4
  210. package/src/operations/objectReplicationPoliciesOperations.ts +21 -22
  211. package/src/operations/operations.ts +4 -5
  212. package/src/operations/privateEndpointConnections.ts +4 -5
  213. package/src/operations/privateLinkResources.ts +4 -4
  214. package/src/operations/queue.ts +4 -5
  215. package/src/operations/queueServices.ts +4 -4
  216. package/src/operations/skus.ts +4 -5
  217. package/src/operations/storageAccounts.ts +258 -18
  218. package/src/operations/tableOperations.ts +29 -30
  219. package/src/operations/tableServices.ts +4 -4
  220. package/src/operations/usages.ts +4 -5
  221. package/src/operationsInterfaces/blobContainers.ts +0 -1
  222. package/src/operationsInterfaces/blobInventoryPolicies.ts +0 -1
  223. package/src/operationsInterfaces/blobServices.ts +0 -1
  224. package/src/operationsInterfaces/deletedAccounts.ts +0 -1
  225. package/src/operationsInterfaces/encryptionScopes.ts +0 -1
  226. package/src/operationsInterfaces/fileShares.ts +0 -1
  227. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +12 -13
  228. package/src/operationsInterfaces/operations.ts +0 -1
  229. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -1
  230. package/src/operationsInterfaces/queue.ts +0 -1
  231. package/src/operationsInterfaces/skus.ts +0 -1
  232. package/src/operationsInterfaces/storageAccounts.ts +68 -1
  233. package/src/operationsInterfaces/tableOperations.ts +16 -17
  234. package/src/operationsInterfaces/usages.ts +0 -1
  235. package/src/storageManagementClient.ts +46 -3
  236. package/tsconfig.json +2 -3
  237. package/{esm/index.d.ts → types/arm-storage.d.ts} +247 -94
  238. package/types/tsdoc-metadata.json +11 -0
  239. package/esm/coreClientLro.d.ts +0 -26
  240. package/esm/coreClientLro.d.ts.map +0 -1
  241. package/esm/coreClientLro.js +0 -186
  242. package/esm/coreClientLro.js.map +0 -1
  243. package/esm/index.d.ts.map +0 -1
  244. package/esm/index.js.map +0 -1
  245. package/esm/lro/azureAsyncPolling.d.ts +0 -3
  246. package/esm/lro/azureAsyncPolling.d.ts.map +0 -1
  247. package/esm/lro/azureAsyncPolling.js +0 -67
  248. package/esm/lro/azureAsyncPolling.js.map +0 -1
  249. package/esm/lro/bodyPolling.d.ts +0 -8
  250. package/esm/lro/bodyPolling.d.ts.map +0 -1
  251. package/esm/lro/bodyPolling.js +0 -37
  252. package/esm/lro/bodyPolling.js.map +0 -1
  253. package/esm/lro/index.d.ts +0 -4
  254. package/esm/lro/index.d.ts.map +0 -1
  255. package/esm/lro/index.js +0 -12
  256. package/esm/lro/index.js.map +0 -1
  257. package/esm/lro/locationPolling.d.ts +0 -3
  258. package/esm/lro/locationPolling.d.ts.map +0 -1
  259. package/esm/lro/locationPolling.js +0 -19
  260. package/esm/lro/locationPolling.js.map +0 -1
  261. package/esm/lro/lroEngine.d.ts +0 -14
  262. package/esm/lro/lroEngine.d.ts.map +0 -1
  263. package/esm/lro/lroEngine.js +0 -41
  264. package/esm/lro/lroEngine.js.map +0 -1
  265. package/esm/lro/models.d.ts +0 -138
  266. package/esm/lro/models.d.ts.map +0 -1
  267. package/esm/lro/models.js +0 -14
  268. package/esm/lro/models.js.map +0 -1
  269. package/esm/lro/operation.d.ts +0 -36
  270. package/esm/lro/operation.d.ts.map +0 -1
  271. package/esm/lro/operation.js +0 -82
  272. package/esm/lro/operation.js.map +0 -1
  273. package/esm/lro/passthrough.d.ts +0 -3
  274. package/esm/lro/passthrough.d.ts.map +0 -1
  275. package/esm/lro/passthrough.js +0 -15
  276. package/esm/lro/passthrough.js.map +0 -1
  277. package/esm/lro/requestUtils.d.ts +0 -16
  278. package/esm/lro/requestUtils.d.ts.map +0 -1
  279. package/esm/lro/requestUtils.js +0 -73
  280. package/esm/lro/requestUtils.js.map +0 -1
  281. package/esm/lro/stateMachine.d.ts +0 -18
  282. package/esm/lro/stateMachine.d.ts.map +0 -1
  283. package/esm/lro/stateMachine.js +0 -84
  284. package/esm/lro/stateMachine.js.map +0 -1
  285. package/esm/models/index.d.ts.map +0 -1
  286. package/esm/models/index.js.map +0 -1
  287. package/esm/models/mappers.d.ts.map +0 -1
  288. package/esm/models/mappers.js.map +0 -1
  289. package/esm/models/parameters.d.ts.map +0 -1
  290. package/esm/models/parameters.js.map +0 -1
  291. package/esm/operations/blobContainers.d.ts.map +0 -1
  292. package/esm/operations/blobContainers.js.map +0 -1
  293. package/esm/operations/blobInventoryPolicies.d.ts.map +0 -1
  294. package/esm/operations/blobInventoryPolicies.js.map +0 -1
  295. package/esm/operations/blobServices.d.ts.map +0 -1
  296. package/esm/operations/blobServices.js.map +0 -1
  297. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  298. package/esm/operations/deletedAccounts.js.map +0 -1
  299. package/esm/operations/encryptionScopes.d.ts.map +0 -1
  300. package/esm/operations/encryptionScopes.js.map +0 -1
  301. package/esm/operations/fileServices.d.ts.map +0 -1
  302. package/esm/operations/fileServices.js.map +0 -1
  303. package/esm/operations/fileShares.d.ts.map +0 -1
  304. package/esm/operations/fileShares.js.map +0 -1
  305. package/esm/operations/index.d.ts.map +0 -1
  306. package/esm/operations/managementPolicies.d.ts.map +0 -1
  307. package/esm/operations/managementPolicies.js.map +0 -1
  308. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
  309. package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
  310. package/esm/operations/operations.d.ts.map +0 -1
  311. package/esm/operations/operations.js.map +0 -1
  312. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  313. package/esm/operations/privateEndpointConnections.js.map +0 -1
  314. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  315. package/esm/operations/privateLinkResources.js.map +0 -1
  316. package/esm/operations/queue.d.ts.map +0 -1
  317. package/esm/operations/queue.js.map +0 -1
  318. package/esm/operations/queueServices.d.ts.map +0 -1
  319. package/esm/operations/queueServices.js.map +0 -1
  320. package/esm/operations/skus.d.ts.map +0 -1
  321. package/esm/operations/skus.js.map +0 -1
  322. package/esm/operations/storageAccounts.d.ts.map +0 -1
  323. package/esm/operations/storageAccounts.js.map +0 -1
  324. package/esm/operations/tableOperations.d.ts.map +0 -1
  325. package/esm/operations/tableOperations.js.map +0 -1
  326. package/esm/operations/tableServices.d.ts.map +0 -1
  327. package/esm/operations/tableServices.js.map +0 -1
  328. package/esm/operations/usages.d.ts.map +0 -1
  329. package/esm/operations/usages.js.map +0 -1
  330. package/esm/operationsInterfaces/blobContainers.d.ts.map +0 -1
  331. package/esm/operationsInterfaces/blobContainers.js +0 -9
  332. package/esm/operationsInterfaces/blobContainers.js.map +0 -1
  333. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +0 -1
  334. package/esm/operationsInterfaces/blobInventoryPolicies.js +0 -9
  335. package/esm/operationsInterfaces/blobInventoryPolicies.js.map +0 -1
  336. package/esm/operationsInterfaces/blobServices.d.ts.map +0 -1
  337. package/esm/operationsInterfaces/blobServices.js +0 -9
  338. package/esm/operationsInterfaces/blobServices.js.map +0 -1
  339. package/esm/operationsInterfaces/deletedAccounts.d.ts.map +0 -1
  340. package/esm/operationsInterfaces/deletedAccounts.js +0 -9
  341. package/esm/operationsInterfaces/deletedAccounts.js.map +0 -1
  342. package/esm/operationsInterfaces/encryptionScopes.d.ts.map +0 -1
  343. package/esm/operationsInterfaces/encryptionScopes.js +0 -9
  344. package/esm/operationsInterfaces/encryptionScopes.js.map +0 -1
  345. package/esm/operationsInterfaces/fileServices.d.ts.map +0 -1
  346. package/esm/operationsInterfaces/fileServices.js.map +0 -1
  347. package/esm/operationsInterfaces/fileShares.d.ts.map +0 -1
  348. package/esm/operationsInterfaces/fileShares.js +0 -9
  349. package/esm/operationsInterfaces/fileShares.js.map +0 -1
  350. package/esm/operationsInterfaces/index.d.ts.map +0 -1
  351. package/esm/operationsInterfaces/index.js.map +0 -1
  352. package/esm/operationsInterfaces/managementPolicies.d.ts.map +0 -1
  353. package/esm/operationsInterfaces/managementPolicies.js.map +0 -1
  354. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +0 -1
  355. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +0 -9
  356. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +0 -1
  357. package/esm/operationsInterfaces/operations.d.ts.map +0 -1
  358. package/esm/operationsInterfaces/operations.js +0 -9
  359. package/esm/operationsInterfaces/operations.js.map +0 -1
  360. package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  361. package/esm/operationsInterfaces/privateEndpointConnections.js +0 -9
  362. package/esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  363. package/esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  364. package/esm/operationsInterfaces/privateLinkResources.js.map +0 -1
  365. package/esm/operationsInterfaces/queue.d.ts.map +0 -1
  366. package/esm/operationsInterfaces/queue.js +0 -9
  367. package/esm/operationsInterfaces/queue.js.map +0 -1
  368. package/esm/operationsInterfaces/queueServices.d.ts.map +0 -1
  369. package/esm/operationsInterfaces/queueServices.js.map +0 -1
  370. package/esm/operationsInterfaces/skus.d.ts.map +0 -1
  371. package/esm/operationsInterfaces/skus.js +0 -9
  372. package/esm/operationsInterfaces/skus.js.map +0 -1
  373. package/esm/operationsInterfaces/storageAccounts.d.ts.map +0 -1
  374. package/esm/operationsInterfaces/storageAccounts.js +0 -9
  375. package/esm/operationsInterfaces/storageAccounts.js.map +0 -1
  376. package/esm/operationsInterfaces/tableOperations.d.ts.map +0 -1
  377. package/esm/operationsInterfaces/tableOperations.js +0 -9
  378. package/esm/operationsInterfaces/tableOperations.js.map +0 -1
  379. package/esm/operationsInterfaces/tableServices.d.ts.map +0 -1
  380. package/esm/operationsInterfaces/tableServices.js.map +0 -1
  381. package/esm/operationsInterfaces/usages.d.ts.map +0 -1
  382. package/esm/operationsInterfaces/usages.js +0 -9
  383. package/esm/operationsInterfaces/usages.js.map +0 -1
  384. package/esm/storageManagementClient.d.ts.map +0 -1
  385. package/esm/storageManagementClient.js.map +0 -1
  386. package/esm/storageManagementClientContext.d.ts +0 -16
  387. package/esm/storageManagementClientContext.d.ts.map +0 -1
  388. package/esm/storageManagementClientContext.js +0 -49
  389. package/esm/storageManagementClientContext.js.map +0 -1
  390. package/src/coreClientLro.ts +0 -323
  391. package/src/lro/azureAsyncPolling.ts +0 -96
  392. package/src/lro/bodyPolling.ts +0 -54
  393. package/src/lro/index.ts +0 -26
  394. package/src/lro/locationPolling.ts +0 -30
  395. package/src/lro/lroEngine.ts +0 -61
  396. package/src/lro/models.ts +0 -173
  397. package/src/lro/operation.ts +0 -120
  398. package/src/lro/passthrough.ts +0 -23
  399. package/src/lro/requestUtils.ts +0 -105
  400. package/src/lro/stateMachine.ts +0 -138
  401. package/src/storageManagementClientContext.ts +0 -70
package/dist/index.js CHANGED
@@ -2,9 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib = require('tslib');
6
- require('@azure/core-paging');
7
5
  var coreClient = require('@azure/core-client');
6
+ var tslib = require('tslib');
8
7
  var coreLro = require('@azure/core-lro');
9
8
 
10
9
  /*
@@ -44,6 +43,10 @@ var coreLro = require('@azure/core-lro');
44
43
  KnownIdentityType["UserAssigned"] = "UserAssigned";
45
44
  KnownIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
46
45
  })(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
46
+ (function (KnownPublicNetworkAccess) {
47
+ KnownPublicNetworkAccess["Enabled"] = "Enabled";
48
+ KnownPublicNetworkAccess["Disabled"] = "Disabled";
49
+ })(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
47
50
  (function (KnownExpirationAction) {
48
51
  KnownExpirationAction["Log"] = "Log";
49
52
  })(exports.KnownExpirationAction || (exports.KnownExpirationAction = {}));
@@ -78,7 +81,6 @@ var coreLro = require('@azure/core-lro');
78
81
  KnownDefaultSharePermission["StorageFileDataSmbShareReader"] = "StorageFileDataSmbShareReader";
79
82
  KnownDefaultSharePermission["StorageFileDataSmbShareContributor"] = "StorageFileDataSmbShareContributor";
80
83
  KnownDefaultSharePermission["StorageFileDataSmbShareElevatedContributor"] = "StorageFileDataSmbShareElevatedContributor";
81
- KnownDefaultSharePermission["StorageFileDataSmbShareOwner"] = "StorageFileDataSmbShareOwner";
82
84
  })(exports.KnownDefaultSharePermission || (exports.KnownDefaultSharePermission = {}));
83
85
  (function (KnownLargeFileSharesState) {
84
86
  KnownLargeFileSharesState["Disabled"] = "Disabled";
@@ -93,6 +95,11 @@ var coreLro = require('@azure/core-lro');
93
95
  KnownMinimumTlsVersion["TLS11"] = "TLS1_1";
94
96
  KnownMinimumTlsVersion["TLS12"] = "TLS1_2";
95
97
  })(exports.KnownMinimumTlsVersion || (exports.KnownMinimumTlsVersion = {}));
98
+ (function (KnownAccountImmutabilityPolicyState) {
99
+ KnownAccountImmutabilityPolicyState["Unlocked"] = "Unlocked";
100
+ KnownAccountImmutabilityPolicyState["Locked"] = "Locked";
101
+ KnownAccountImmutabilityPolicyState["Disabled"] = "Disabled";
102
+ })(exports.KnownAccountImmutabilityPolicyState || (exports.KnownAccountImmutabilityPolicyState = {}));
96
103
  (function (KnownGeoReplicationStatus) {
97
104
  KnownGeoReplicationStatus["Live"] = "Live";
98
105
  KnownGeoReplicationStatus["Bootstrap"] = "Bootstrap";
@@ -703,6 +710,12 @@ const StorageAccountCreateParameters = {
703
710
  className: "Identity"
704
711
  }
705
712
  },
713
+ publicNetworkAccess: {
714
+ serializedName: "properties.publicNetworkAccess",
715
+ type: {
716
+ name: "String"
717
+ }
718
+ },
706
719
  sasPolicy: {
707
720
  serializedName: "properties.sasPolicy",
708
721
  type: {
@@ -806,6 +819,19 @@ const StorageAccountCreateParameters = {
806
819
  type: {
807
820
  name: "Boolean"
808
821
  }
822
+ },
823
+ defaultToOAuthAuthentication: {
824
+ serializedName: "properties.defaultToOAuthAuthentication",
825
+ type: {
826
+ name: "Boolean"
827
+ }
828
+ },
829
+ immutableStorageWithVersioning: {
830
+ serializedName: "properties.immutableStorageWithVersioning",
831
+ type: {
832
+ name: "Composite",
833
+ className: "ImmutableStorageAccount"
834
+ }
809
835
  }
810
836
  }
811
837
  }
@@ -1368,31 +1394,53 @@ const RoutingPreference = {
1368
1394
  }
1369
1395
  }
1370
1396
  };
1371
- const Resource = {
1397
+ const ImmutableStorageAccount = {
1372
1398
  type: {
1373
1399
  name: "Composite",
1374
- className: "Resource",
1400
+ className: "ImmutableStorageAccount",
1375
1401
  modelProperties: {
1376
- id: {
1377
- serializedName: "id",
1378
- readOnly: true,
1402
+ enabled: {
1403
+ serializedName: "enabled",
1379
1404
  type: {
1380
- name: "String"
1405
+ name: "Boolean"
1381
1406
  }
1382
1407
  },
1383
- name: {
1384
- serializedName: "name",
1385
- readOnly: true,
1408
+ immutabilityPolicy: {
1409
+ serializedName: "immutabilityPolicy",
1386
1410
  type: {
1387
- name: "String"
1411
+ name: "Composite",
1412
+ className: "AccountImmutabilityPolicyProperties"
1413
+ }
1414
+ }
1415
+ }
1416
+ }
1417
+ };
1418
+ const AccountImmutabilityPolicyProperties = {
1419
+ type: {
1420
+ name: "Composite",
1421
+ className: "AccountImmutabilityPolicyProperties",
1422
+ modelProperties: {
1423
+ immutabilityPeriodSinceCreationInDays: {
1424
+ constraints: {
1425
+ InclusiveMaximum: 146000,
1426
+ InclusiveMinimum: 1
1427
+ },
1428
+ serializedName: "immutabilityPeriodSinceCreationInDays",
1429
+ type: {
1430
+ name: "Number"
1388
1431
  }
1389
1432
  },
1390
- type: {
1391
- serializedName: "type",
1392
- readOnly: true,
1433
+ state: {
1434
+ serializedName: "state",
1393
1435
  type: {
1394
1436
  name: "String"
1395
1437
  }
1438
+ },
1439
+ allowProtectedAppendWrites: {
1440
+ serializedName: "allowProtectedAppendWrites",
1441
+ type: {
1442
+ name: "Boolean"
1443
+ }
1396
1444
  }
1397
1445
  }
1398
1446
  }
@@ -1637,6 +1685,35 @@ const PrivateLinkServiceConnectionState = {
1637
1685
  }
1638
1686
  }
1639
1687
  };
1688
+ const Resource = {
1689
+ type: {
1690
+ name: "Composite",
1691
+ className: "Resource",
1692
+ modelProperties: {
1693
+ id: {
1694
+ serializedName: "id",
1695
+ readOnly: true,
1696
+ type: {
1697
+ name: "String"
1698
+ }
1699
+ },
1700
+ name: {
1701
+ serializedName: "name",
1702
+ readOnly: true,
1703
+ type: {
1704
+ name: "String"
1705
+ }
1706
+ },
1707
+ type: {
1708
+ serializedName: "type",
1709
+ readOnly: true,
1710
+ type: {
1711
+ name: "String"
1712
+ }
1713
+ }
1714
+ }
1715
+ }
1716
+ };
1640
1717
  const BlobRestoreStatus = {
1641
1718
  type: {
1642
1719
  name: "Composite",
@@ -1846,6 +1923,25 @@ const StorageAccountUpdateParameters = {
1846
1923
  type: {
1847
1924
  name: "Boolean"
1848
1925
  }
1926
+ },
1927
+ defaultToOAuthAuthentication: {
1928
+ serializedName: "properties.defaultToOAuthAuthentication",
1929
+ type: {
1930
+ name: "Boolean"
1931
+ }
1932
+ },
1933
+ publicNetworkAccess: {
1934
+ serializedName: "properties.publicNetworkAccess",
1935
+ type: {
1936
+ name: "String"
1937
+ }
1938
+ },
1939
+ immutableStorageWithVersioning: {
1940
+ serializedName: "properties.immutableStorageWithVersioning",
1941
+ type: {
1942
+ name: "Composite",
1943
+ className: "ImmutableStorageAccount"
1944
+ }
1849
1945
  }
1850
1946
  }
1851
1947
  }
@@ -3340,6 +3436,12 @@ const ImmutabilityPolicyProperties = {
3340
3436
  type: {
3341
3437
  name: "Boolean"
3342
3438
  }
3439
+ },
3440
+ allowProtectedAppendWritesAll: {
3441
+ serializedName: "properties.allowProtectedAppendWritesAll",
3442
+ type: {
3443
+ name: "Boolean"
3444
+ }
3343
3445
  }
3344
3446
  }
3345
3447
  }
@@ -3390,6 +3492,18 @@ const UpdateHistoryProperty = {
3390
3492
  type: {
3391
3493
  name: "String"
3392
3494
  }
3495
+ },
3496
+ allowProtectedAppendWrites: {
3497
+ serializedName: "allowProtectedAppendWrites",
3498
+ type: {
3499
+ name: "Boolean"
3500
+ }
3501
+ },
3502
+ allowProtectedAppendWritesAll: {
3503
+ serializedName: "allowProtectedAppendWritesAll",
3504
+ type: {
3505
+ name: "Boolean"
3506
+ }
3393
3507
  }
3394
3508
  }
3395
3509
  }
@@ -3417,6 +3531,13 @@ const LegalHoldProperties = {
3417
3531
  }
3418
3532
  }
3419
3533
  }
3534
+ },
3535
+ protectedAppendWritesHistory: {
3536
+ serializedName: "protectedAppendWritesHistory",
3537
+ type: {
3538
+ name: "Composite",
3539
+ className: "ProtectedAppendWritesHistory"
3540
+ }
3420
3541
  }
3421
3542
  }
3422
3543
  }
@@ -3464,6 +3585,27 @@ const TagProperty = {
3464
3585
  }
3465
3586
  }
3466
3587
  };
3588
+ const ProtectedAppendWritesHistory = {
3589
+ type: {
3590
+ name: "Composite",
3591
+ className: "ProtectedAppendWritesHistory",
3592
+ modelProperties: {
3593
+ allowProtectedAppendWritesAll: {
3594
+ serializedName: "allowProtectedAppendWritesAll",
3595
+ type: {
3596
+ name: "Boolean"
3597
+ }
3598
+ },
3599
+ timestamp: {
3600
+ serializedName: "timestamp",
3601
+ readOnly: true,
3602
+ type: {
3603
+ name: "DateTime"
3604
+ }
3605
+ }
3606
+ }
3607
+ }
3608
+ };
3467
3609
  const ImmutableStorageWithVersioning = {
3468
3610
  type: {
3469
3611
  name: "Composite",
@@ -3519,6 +3661,12 @@ const LegalHold = {
3519
3661
  }
3520
3662
  }
3521
3663
  }
3664
+ },
3665
+ allowProtectedAppendWritesAll: {
3666
+ serializedName: "allowProtectedAppendWritesAll",
3667
+ type: {
3668
+ name: "Boolean"
3669
+ }
3522
3670
  }
3523
3671
  }
3524
3672
  }
@@ -4031,25 +4179,6 @@ const ListTableResource = {
4031
4179
  }
4032
4180
  }
4033
4181
  };
4034
- const TrackedResource = {
4035
- type: {
4036
- name: "Composite",
4037
- className: "TrackedResource",
4038
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
4039
- serializedName: "tags",
4040
- type: {
4041
- name: "Dictionary",
4042
- value: { type: { name: "String" } }
4043
- }
4044
- }, location: {
4045
- serializedName: "location",
4046
- required: true,
4047
- type: {
4048
- name: "String"
4049
- }
4050
- } })
4051
- }
4052
- };
4053
4182
  const PrivateEndpointConnection = {
4054
4183
  type: {
4055
4184
  name: "Composite",
@@ -4075,6 +4204,25 @@ const PrivateEndpointConnection = {
4075
4204
  } })
4076
4205
  }
4077
4206
  };
4207
+ const TrackedResource = {
4208
+ type: {
4209
+ name: "Composite",
4210
+ className: "TrackedResource",
4211
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
4212
+ serializedName: "tags",
4213
+ type: {
4214
+ name: "Dictionary",
4215
+ value: { type: { name: "String" } }
4216
+ }
4217
+ }, location: {
4218
+ serializedName: "location",
4219
+ required: true,
4220
+ type: {
4221
+ name: "String"
4222
+ }
4223
+ } })
4224
+ }
4225
+ };
4078
4226
  const ProxyResource = {
4079
4227
  type: {
4080
4228
  name: "Composite",
@@ -4629,6 +4777,22 @@ const StorageAccount = {
4629
4777
  type: {
4630
4778
  name: "Boolean"
4631
4779
  }
4780
+ }, defaultToOAuthAuthentication: {
4781
+ serializedName: "properties.defaultToOAuthAuthentication",
4782
+ type: {
4783
+ name: "Boolean"
4784
+ }
4785
+ }, publicNetworkAccess: {
4786
+ serializedName: "properties.publicNetworkAccess",
4787
+ type: {
4788
+ name: "String"
4789
+ }
4790
+ }, immutableStorageWithVersioning: {
4791
+ serializedName: "properties.immutableStorageWithVersioning",
4792
+ type: {
4793
+ name: "Composite",
4794
+ className: "ImmutableStorageAccount"
4795
+ }
4632
4796
  } })
4633
4797
  }
4634
4798
  };
@@ -4773,6 +4937,16 @@ const ListContainerItem = {
4773
4937
  name: "Composite",
4774
4938
  className: "ImmutableStorageWithVersioning"
4775
4939
  }
4940
+ }, enableNfsV3RootSquash: {
4941
+ serializedName: "properties.enableNfsV3RootSquash",
4942
+ type: {
4943
+ name: "Boolean"
4944
+ }
4945
+ }, enableNfsV3AllSquash: {
4946
+ serializedName: "properties.enableNfsV3AllSquash",
4947
+ type: {
4948
+ name: "Boolean"
4949
+ }
4776
4950
  } })
4777
4951
  }
4778
4952
  };
@@ -4880,6 +5054,16 @@ const BlobContainer = {
4880
5054
  name: "Composite",
4881
5055
  className: "ImmutableStorageWithVersioning"
4882
5056
  }
5057
+ }, enableNfsV3RootSquash: {
5058
+ serializedName: "properties.enableNfsV3RootSquash",
5059
+ type: {
5060
+ name: "Boolean"
5061
+ }
5062
+ }, enableNfsV3AllSquash: {
5063
+ serializedName: "properties.enableNfsV3AllSquash",
5064
+ type: {
5065
+ name: "Boolean"
5066
+ }
4883
5067
  } })
4884
5068
  }
4885
5069
  };
@@ -4903,6 +5087,11 @@ const ImmutabilityPolicy = {
4903
5087
  type: {
4904
5088
  name: "Boolean"
4905
5089
  }
5090
+ }, allowProtectedAppendWritesAll: {
5091
+ serializedName: "properties.allowProtectedAppendWritesAll",
5092
+ type: {
5093
+ name: "Boolean"
5094
+ }
4906
5095
  } })
4907
5096
  }
4908
5097
  };
@@ -5265,7 +5454,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
5265
5454
  AzureFilesIdentityBasedAuthentication: AzureFilesIdentityBasedAuthentication,
5266
5455
  ActiveDirectoryProperties: ActiveDirectoryProperties,
5267
5456
  RoutingPreference: RoutingPreference,
5268
- Resource: Resource,
5457
+ ImmutableStorageAccount: ImmutableStorageAccount,
5458
+ AccountImmutabilityPolicyProperties: AccountImmutabilityPolicyProperties,
5269
5459
  Endpoints: Endpoints,
5270
5460
  StorageAccountMicrosoftEndpoints: StorageAccountMicrosoftEndpoints,
5271
5461
  StorageAccountInternetEndpoints: StorageAccountInternetEndpoints,
@@ -5273,6 +5463,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
5273
5463
  GeoReplicationStats: GeoReplicationStats,
5274
5464
  PrivateEndpoint: PrivateEndpoint,
5275
5465
  PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
5466
+ Resource: Resource,
5276
5467
  BlobRestoreStatus: BlobRestoreStatus,
5277
5468
  BlobRestoreParameters: BlobRestoreParameters,
5278
5469
  BlobRestoreRange: BlobRestoreRange,
@@ -5327,6 +5518,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
5327
5518
  UpdateHistoryProperty: UpdateHistoryProperty,
5328
5519
  LegalHoldProperties: LegalHoldProperties,
5329
5520
  TagProperty: TagProperty,
5521
+ ProtectedAppendWritesHistory: ProtectedAppendWritesHistory,
5330
5522
  ImmutableStorageWithVersioning: ImmutableStorageWithVersioning,
5331
5523
  LegalHold: LegalHold,
5332
5524
  LeaseContainerRequest: LeaseContainerRequest,
@@ -5349,8 +5541,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
5349
5541
  ListQueueResource: ListQueueResource,
5350
5542
  ListTableServices: ListTableServices,
5351
5543
  ListTableResource: ListTableResource,
5352
- TrackedResource: TrackedResource,
5353
5544
  PrivateEndpointConnection: PrivateEndpointConnection,
5545
+ TrackedResource: TrackedResource,
5354
5546
  ProxyResource: ProxyResource,
5355
5547
  ManagementPolicy: ManagementPolicy,
5356
5548
  BlobInventoryPolicy: BlobInventoryPolicy,
@@ -5412,7 +5604,7 @@ const $host = {
5412
5604
  const apiVersion = {
5413
5605
  parameterPath: "apiVersion",
5414
5606
  mapper: {
5415
- defaultValue: "2021-04-01",
5607
+ defaultValue: "2021-06-01",
5416
5608
  isConstant: true,
5417
5609
  serializedName: "api-version",
5418
5610
  type: {
@@ -5518,6 +5710,16 @@ const parameters3 = {
5518
5710
  parameterPath: "parameters",
5519
5711
  mapper: ServiceSasParameters
5520
5712
  };
5713
+ const requestType = {
5714
+ parameterPath: "requestType",
5715
+ mapper: {
5716
+ serializedName: "requestType",
5717
+ required: true,
5718
+ type: {
5719
+ name: "String"
5720
+ }
5721
+ }
5722
+ };
5521
5723
  const parameters4 = {
5522
5724
  parameterPath: "parameters",
5523
5725
  mapper: BlobRestoreParameters
@@ -5877,7 +6079,7 @@ const tableName = {
5877
6079
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
5878
6080
  */
5879
6081
  /// <reference lib="esnext.asynciterable" />
5880
- /** Class representing a Operations. */
6082
+ /** Class containing Operations operations. */
5881
6083
  class OperationsImpl {
5882
6084
  /**
5883
6085
  * Initialize a new instance of the class Operations class.
@@ -5960,7 +6162,7 @@ const listOperationSpec = {
5960
6162
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
5961
6163
  */
5962
6164
  /// <reference lib="esnext.asynciterable" />
5963
- /** Class representing a Skus. */
6165
+ /** Class containing Skus operations. */
5964
6166
  class SkusImpl {
5965
6167
  /**
5966
6168
  * Initialize a new instance of the class Skus class.
@@ -6042,70 +6244,25 @@ const listOperationSpec$1 = {
6042
6244
  * Code generated by Microsoft (R) AutoRest Code Generator.
6043
6245
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6044
6246
  */
6045
- /**
6046
- * Detects where the continuation token is and returns it. Notice that azure-asyncoperation
6047
- * must be checked first before the other location headers because there are scenarios
6048
- * where both azure-asyncoperation and location could be present in the same response but
6049
- * azure-asyncoperation should be the one to use for polling.
6050
- */
6051
- function getPollingUrl(rawResponse, defaultPath) {
6052
- var _a, _b, _c;
6053
- return ((_c = (_b = (_a = getAzureAsyncOperation(rawResponse)) !== null && _a !== void 0 ? _a : getLocation(rawResponse)) !== null && _b !== void 0 ? _b : getOperationLocation(rawResponse)) !== null && _c !== void 0 ? _c : defaultPath);
6054
- }
6055
- function getLocation(rawResponse) {
6056
- return rawResponse.headers["location"];
6057
- }
6058
- function getOperationLocation(rawResponse) {
6059
- return rawResponse.headers["operation-location"];
6060
- }
6061
- function getAzureAsyncOperation(rawResponse) {
6062
- return rawResponse.headers["azure-asyncoperation"];
6063
- }
6064
- function inferLroMode(requestPath, requestMethod, rawResponse) {
6065
- if (getAzureAsyncOperation(rawResponse) !== undefined) {
6066
- return {
6067
- mode: "AzureAsync",
6068
- resourceLocation: requestMethod === "PUT"
6069
- ? requestPath
6070
- : requestMethod === "POST"
6071
- ? getLocation(rawResponse)
6072
- : undefined
6073
- };
6074
- }
6075
- else if (getLocation(rawResponse) !== undefined ||
6076
- getOperationLocation(rawResponse) !== undefined) {
6077
- return {
6078
- mode: "Location"
6079
- };
6080
- }
6081
- else if (["PUT", "PATCH"].includes(requestMethod)) {
6082
- return {
6083
- mode: "Body"
6084
- };
6085
- }
6086
- return {};
6087
- }
6088
- class RestError extends Error {
6089
- constructor(message, statusCode) {
6090
- super(message);
6091
- this.name = "RestError";
6092
- this.statusCode = statusCode;
6093
- Object.setPrototypeOf(this, RestError.prototype);
6247
+ class LroImpl {
6248
+ constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
6249
+ this.sendOperationFn = sendOperationFn;
6250
+ this.args = args;
6251
+ this.spec = spec;
6252
+ this.requestPath = requestPath;
6253
+ this.requestMethod = requestMethod;
6094
6254
  }
6095
- }
6096
- function isUnexpectedInitialResponse(rawResponse) {
6097
- const code = rawResponse.statusCode;
6098
- if (![203, 204, 202, 201, 200, 500].includes(code)) {
6099
- throw new RestError(`Received unexpected HTTP status code ${code} in the initial response. This may indicate a server issue.`, code);
6255
+ sendInitialRequest() {
6256
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6257
+ return this.sendOperationFn(this.args, this.spec);
6258
+ });
6100
6259
  }
6101
- return false;
6102
- }
6103
- function isUnexpectedPollingResponse(rawResponse) {
6104
- const code = rawResponse.statusCode;
6105
- if (![202, 201, 200, 500].includes(code)) {
6106
- throw new RestError(`Received unexpected HTTP status code ${code} while polling. This may indicate a server issue.`, code);
6260
+ sendPollRequest(path) {
6261
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6262
+ const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
6263
+ return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
6264
+ });
6107
6265
  }
6108
- return false;
6109
6266
  }
6110
6267
 
6111
6268
  /*
@@ -6115,448 +6272,15 @@ function isUnexpectedPollingResponse(rawResponse) {
6115
6272
  * Code generated by Microsoft (R) AutoRest Code Generator.
6116
6273
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6117
6274
  */
6118
- const successStates = ["succeeded"];
6119
- const failureStates = ["failed", "canceled", "cancelled"];
6120
-
6121
- /*
6122
- * Copyright (c) Microsoft Corporation.
6123
- * Licensed under the MIT License.
6124
- *
6125
- * Code generated by Microsoft (R) AutoRest Code Generator.
6126
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6127
- */
6128
- function getResponseStatus(rawResponse) {
6129
- var _a, _b;
6130
- const { status } = (_a = rawResponse.body) !== null && _a !== void 0 ? _a : {};
6131
- return (_b = status === null || status === void 0 ? void 0 : status.toLowerCase()) !== null && _b !== void 0 ? _b : "succeeded";
6132
- }
6133
- function isAzureAsyncPollingDone(rawResponse) {
6134
- const state = getResponseStatus(rawResponse);
6135
- if (isUnexpectedPollingResponse(rawResponse) ||
6136
- failureStates.includes(state)) {
6137
- throw new Error(`Operation status: ${state}`);
6138
- }
6139
- return successStates.includes(state);
6140
- }
6141
- function sendFinalRequest(lro, lroResourceLocationConfig, resourceLocation) {
6142
- return tslib.__awaiter(this, void 0, void 0, function* () {
6143
- switch (lroResourceLocationConfig) {
6144
- case "original-uri":
6145
- return lro.retrieveAzureAsyncResource();
6146
- case "azure-async-operation":
6147
- return Promise.resolve(undefined);
6148
- case "location":
6149
- default:
6150
- return lro.retrieveAzureAsyncResource(resourceLocation);
6151
- }
6152
- });
6153
- }
6154
- function processAzureAsyncOperationResult(lro, resourceLocation, lroResourceLocationConfig) {
6155
- return (rawResponse, flatResponse) => {
6156
- if (isAzureAsyncPollingDone(rawResponse)) {
6157
- if (resourceLocation === undefined) {
6158
- return { rawResponse, flatResponse, done: true };
6159
- }
6160
- else {
6161
- return {
6162
- rawResponse,
6163
- flatResponse,
6164
- done: false,
6165
- next: () => tslib.__awaiter(this, void 0, void 0, function* () {
6166
- const finalResponse = yield sendFinalRequest(lro, lroResourceLocationConfig, resourceLocation);
6167
- return Object.assign(Object.assign({}, (finalResponse !== null && finalResponse !== void 0 ? finalResponse : {
6168
- rawResponse,
6169
- flatResponse
6170
- })), { done: true });
6171
- })
6172
- };
6173
- }
6174
- }
6175
- return {
6176
- rawResponse,
6177
- flatResponse,
6178
- done: false
6179
- };
6180
- };
6181
- }
6182
-
6183
- /*
6184
- * Copyright (c) Microsoft Corporation.
6185
- * Licensed under the MIT License.
6186
- *
6187
- * Code generated by Microsoft (R) AutoRest Code Generator.
6188
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6189
- */
6190
- function getProvisioningState(rawResponse) {
6191
- var _a, _b, _c;
6192
- const { properties, provisioningState } = (_a = rawResponse.body) !== null && _a !== void 0 ? _a : {};
6193
- const state = (_b = properties === null || properties === void 0 ? void 0 : properties.provisioningState) !== null && _b !== void 0 ? _b : provisioningState;
6194
- return (_c = state === null || state === void 0 ? void 0 : state.toLowerCase()) !== null && _c !== void 0 ? _c : "succeeded";
6195
- }
6196
- function isBodyPollingDone(rawResponse) {
6197
- const state = getProvisioningState(rawResponse);
6198
- if (isUnexpectedPollingResponse(rawResponse) ||
6199
- failureStates.includes(state)) {
6200
- throw new Error(`The long running operation has failed. The provisioning state: ${state}.`);
6201
- }
6202
- return successStates.includes(state);
6203
- }
6204
- /**
6205
- * Creates a polling strategy based on BodyPolling which uses the provisioning state
6206
- * from the result to determine the current operation state
6207
- */
6208
- function processBodyPollingOperationResult(rawResponse, flatResponse) {
6209
- return {
6210
- rawResponse,
6211
- flatResponse,
6212
- done: isBodyPollingDone(rawResponse)
6213
- };
6214
- }
6215
-
6216
- /*
6217
- * Copyright (c) Microsoft Corporation.
6218
- * Licensed under the MIT License.
6219
- *
6220
- * Code generated by Microsoft (R) AutoRest Code Generator.
6221
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6222
- */
6223
- function isLocationPollingDone(rawResponse) {
6224
- return (!isUnexpectedPollingResponse(rawResponse) && rawResponse.statusCode !== 202);
6225
- }
6226
- function processLocationPollingOperationResult(rawResponse, flatResponse) {
6227
- return {
6228
- rawResponse,
6229
- flatResponse,
6230
- done: isLocationPollingDone(rawResponse)
6231
- };
6232
- }
6233
-
6234
- /*
6235
- * Copyright (c) Microsoft Corporation.
6236
- * Licensed under the MIT License.
6237
- *
6238
- * Code generated by Microsoft (R) AutoRest Code Generator.
6239
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6240
- */
6241
- function processPassthroughOperationResult(rawResponse, flatResponse) {
6242
- return {
6243
- rawResponse,
6244
- flatResponse,
6245
- done: true
6246
- };
6247
- }
6248
-
6249
- /*
6250
- * Copyright (c) Microsoft Corporation.
6251
- * Licensed under the MIT License.
6252
- *
6253
- * Code generated by Microsoft (R) AutoRest Code Generator.
6254
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6255
- */
6256
- /**
6257
- * creates a stepping function that maps an LRO state to another.
6258
- */
6259
- function createGetLroStatusFromResponse(lroPrimitives, config, lroResourceLocationConfig) {
6260
- switch (config.mode) {
6261
- case "AzureAsync": {
6262
- return processAzureAsyncOperationResult(lroPrimitives, config.resourceLocation, lroResourceLocationConfig);
6263
- }
6264
- case "Location": {
6265
- return processLocationPollingOperationResult;
6266
- }
6267
- case "Body": {
6268
- return processBodyPollingOperationResult;
6269
- }
6270
- default: {
6271
- return processPassthroughOperationResult;
6272
- }
6273
- }
6274
- }
6275
- /**
6276
- * Creates a polling operation that returns a LRO state.
6277
- */
6278
- function createPollForLROStatus(lroPrimitives, config) {
6279
- return (path, pollerConfig) => tslib.__awaiter(this, void 0, void 0, function* () {
6280
- const response = yield lroPrimitives.sendPollRequest(config, path);
6281
- const retryAfter = response.rawResponse.headers["retry-after"];
6282
- if (retryAfter !== undefined) {
6283
- const retryAfterInMs = parseInt(retryAfter);
6284
- pollerConfig.intervalInMs = isNaN(retryAfterInMs)
6285
- ? calculatePollingIntervalFromDate(new Date(retryAfter), pollerConfig.intervalInMs)
6286
- : retryAfterInMs;
6287
- }
6288
- return response;
6289
- });
6290
- }
6291
- function calculatePollingIntervalFromDate(retryAfterDate, defaultIntervalInMs) {
6292
- const timeNow = Math.floor(new Date().getTime());
6293
- const retryAfterTime = retryAfterDate.getTime();
6294
- if (timeNow < retryAfterTime) {
6295
- return retryAfterTime - timeNow;
6296
- }
6297
- return defaultIntervalInMs;
6298
- }
6299
- /**
6300
- * Creates a callback to be used to initialize the polling operation state.
6301
- * @param state - of the polling operation
6302
- * @param operationSpec - of the LRO
6303
- * @param callback - callback to be called when the operation is done
6304
- * @returns callback that initializes the state of the polling operation
6305
- */
6306
- function createInitializeState(state, requestPath, requestMethod) {
6307
- return (rawResponse, flatResponse) => {
6308
- if (isUnexpectedInitialResponse(rawResponse))
6309
- ;
6310
- state.initialRawResponse = rawResponse;
6311
- state.isStarted = true;
6312
- state.pollingURL = getPollingUrl(state.initialRawResponse, requestPath);
6313
- state.config = inferLroMode(requestPath, requestMethod, state.initialRawResponse);
6314
- /** short circuit polling if body polling is done in the initial request */
6315
- if (state.config.mode === undefined ||
6316
- (state.config.mode === "Body" &&
6317
- isBodyPollingDone(state.initialRawResponse))) {
6318
- state.result = flatResponse;
6319
- state.isCompleted = true;
6320
- }
6321
- return Boolean(state.isCompleted);
6322
- };
6323
- }
6324
-
6325
- /*
6326
- * Copyright (c) Microsoft Corporation.
6327
- * Licensed under the MIT License.
6328
- *
6329
- * Code generated by Microsoft (R) AutoRest Code Generator.
6330
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6331
- */
6332
- class GenericPollOperation {
6333
- constructor(state, lro) {
6334
- this.state = state;
6335
- this.lro = lro;
6336
- }
6337
- setPollerConfig(pollerConfig) {
6338
- this.pollerConfig = pollerConfig;
6339
- }
6340
- /**
6341
- * General update function for LROPoller, the general process is as follows
6342
- * 1. Check initial operation result to determine the strategy to use
6343
- * - Strategies: Location, Azure-AsyncOperation, Original Uri
6344
- * 2. Check if the operation result has a terminal state
6345
- * - Terminal state will be determined by each strategy
6346
- * 2.1 If it is terminal state Check if a final GET request is required, if so
6347
- * send final GET request and return result from operation. If no final GET
6348
- * is required, just return the result from operation.
6349
- * - Determining what to call for final request is responsibility of each strategy
6350
- * 2.2 If it is not terminal state, call the polling operation and go to step 1
6351
- * - Determining what to call for polling is responsibility of each strategy
6352
- * - Strategies will always use the latest URI for polling if provided otherwise
6353
- * the last known one
6354
- */
6355
- update(options) {
6356
- var _a, _b;
6357
- return tslib.__awaiter(this, void 0, void 0, function* () {
6358
- const state = this.state;
6359
- if (!state.isStarted) {
6360
- const initializeState = createInitializeState(state, this.lro.requestPath, this.lro.requestMethod);
6361
- yield this.lro.sendInitialRequest(initializeState);
6362
- }
6363
- if (!state.isCompleted) {
6364
- if (this.getLROStatusFromResponse === undefined) {
6365
- if (state.config === undefined) {
6366
- throw new Error("Bad state: LRO mode is undefined. Please check if the serialized state is well-formed.");
6367
- }
6368
- this.getLROStatusFromResponse = createPollForLROStatus(this.lro, state.config);
6369
- }
6370
- if (state.pollingURL === undefined) {
6371
- throw new Error("Bad state: polling URL is undefined. Please check if the serialized state is well-formed.");
6372
- }
6373
- const currentState = yield this.getLROStatusFromResponse(state.pollingURL, this.pollerConfig);
6374
- if (currentState.done) {
6375
- state.result = currentState.flatResponse;
6376
- state.isCompleted = true;
6377
- }
6378
- else {
6379
- this.getLROStatusFromResponse =
6380
- (_a = currentState.next) !== null && _a !== void 0 ? _a : this.getLROStatusFromResponse;
6381
- state.pollingURL = getPollingUrl(currentState.rawResponse, state.pollingURL);
6382
- }
6383
- }
6384
- (_b = options === null || options === void 0 ? void 0 : options.fireProgress) === null || _b === void 0 ? void 0 : _b.call(options, state);
6385
- return this;
6386
- });
6387
- }
6388
- cancel() {
6389
- return tslib.__awaiter(this, void 0, void 0, function* () {
6390
- this.state.isCancelled = true;
6391
- return this;
6392
- });
6393
- }
6394
- /**
6395
- * Serializes the Poller operation.
6396
- */
6397
- toString() {
6398
- return JSON.stringify({
6399
- state: this.state
6400
- });
6401
- }
6402
- }
6403
-
6404
- /*
6405
- * Copyright (c) Microsoft Corporation.
6406
- * Licensed under the MIT License.
6407
- *
6408
- * Code generated by Microsoft (R) AutoRest Code Generator.
6409
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6410
- */
6411
- /**
6412
- * The LRO Engine, a class that performs polling.
6413
- */
6414
- class LroEngine extends coreLro.Poller {
6415
- constructor(lro, options) {
6416
- const { intervalInMs = 2000, resumeFrom } = options || {};
6417
- function deserializeState(resumeFrom) {
6418
- try {
6419
- return JSON.parse(resumeFrom).state;
6420
- }
6421
- catch (e) {
6422
- throw new Error(`LroEngine: Unable to deserialize state: ${resumeFrom}`);
6423
- }
6424
- }
6425
- const state = resumeFrom
6426
- ? deserializeState(resumeFrom)
6427
- : {};
6428
- const operation = new GenericPollOperation(state, lro);
6429
- super(operation);
6430
- this.intervalInMs = intervalInMs;
6431
- operation.setPollerConfig(this);
6432
- }
6433
- /**
6434
- * The method used by the poller to wait before attempting to update its operation.
6435
- */
6436
- delay() {
6437
- return new Promise((resolve) => setTimeout(() => resolve(), this.intervalInMs));
6438
- }
6439
- }
6440
-
6441
- /*
6442
- * Copyright (c) Microsoft Corporation.
6443
- * Licensed under the MIT License.
6444
- *
6445
- * Code generated by Microsoft (R) AutoRest Code Generator.
6446
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6447
- */
6448
- function createPollingMethod(sendOperationFn, GetLroStatusFromResponse, args, spec, mode) {
6449
- var _a;
6450
- /**
6451
- * Polling calls will always return a status object i.e. {"status": "success"}
6452
- * these intermediate responses are not described in the swagger so we need to
6453
- * pass custom mappers at runtime.
6454
- * This function replaces all the existing mappers to be able to deserialize a status object
6455
- * @param responses Original set of responses defined in the operation
6456
- */
6457
- function getCompositeMappers(responses) {
6458
- return Object.keys(responses).reduce((acc, statusCode) => {
6459
- return Object.assign(Object.assign({}, acc), { [statusCode]: Object.assign(Object.assign({}, responses[statusCode]), { bodyMapper: {
6460
- type: {
6461
- name: "Composite",
6462
- modelProperties: {
6463
- status: {
6464
- serializedName: "status",
6465
- type: {
6466
- name: "String"
6467
- }
6468
- }
6469
- }
6470
- }
6471
- } }) });
6472
- }, {});
6473
- }
6474
- let response = undefined;
6475
- const customerCallback = (_a = args === null || args === void 0 ? void 0 : args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
6476
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: (rawResponse, flatResponse) => {
6477
- response = GetLroStatusFromResponse({
6478
- statusCode: rawResponse.status,
6479
- body: rawResponse.parsedBody,
6480
- headers: rawResponse.headers.toJSON()
6481
- }, flatResponse);
6482
- if (response.done) {
6483
- customerCallback === null || customerCallback === void 0 ? void 0 : customerCallback(rawResponse, flatResponse);
6484
- }
6485
- } }) });
6486
- // Make sure we don't send any body to the get request
6487
- const { requestBody, responses } = spec, restSpec = tslib.__rest(spec, ["requestBody", "responses"]);
6488
- if (mode === "AzureAsync") {
6489
- return (path) => tslib.__awaiter(this, void 0, void 0, function* () {
6490
- yield sendOperationFn(updatedArgs, Object.assign(Object.assign(Object.assign({}, restSpec), { responses: getCompositeMappers(responses), httpMethod: "GET" }), (path && { path })));
6491
- return response;
6492
- });
6493
- }
6494
- return (path) => tslib.__awaiter(this, void 0, void 0, function* () {
6495
- yield sendOperationFn(updatedArgs, Object.assign(Object.assign(Object.assign({}, restSpec), { responses: responses, httpMethod: "GET" }), (path && { path })));
6496
- return response;
6497
- });
6498
- }
6499
- class CoreClientLro {
6500
- constructor(sendOperationFn, args, spec, lroResourceLocationConfig, requestPath = spec.path, requestMethod = spec.httpMethod) {
6501
- this.sendOperationFn = sendOperationFn;
6502
- this.args = args;
6503
- this.spec = spec;
6504
- this.lroResourceLocationConfig = lroResourceLocationConfig;
6505
- this.requestPath = requestPath;
6506
- this.requestMethod = requestMethod;
6507
- }
6508
- sendInitialRequest(initializeState) {
6509
- return tslib.__awaiter(this, void 0, void 0, function* () {
6510
- const _a = this.args.options || {}, { onResponse } = _a, restOptions = tslib.__rest(_a, ["onResponse"]);
6511
- return this.sendOperationFn(Object.assign(Object.assign({}, this.args), { options: Object.assign(Object.assign({}, restOptions), { onResponse: (rawResponse, flatResponse) => {
6512
- const isCompleted = initializeState({
6513
- statusCode: rawResponse.status,
6514
- body: rawResponse.parsedBody,
6515
- headers: rawResponse.headers.toJSON()
6516
- }, flatResponse);
6517
- if (isCompleted) {
6518
- onResponse === null || onResponse === void 0 ? void 0 : onResponse(rawResponse, flatResponse);
6519
- }
6520
- } }) }), this.spec);
6521
- });
6522
- }
6523
- sendPollRequest(config, path) {
6524
- return tslib.__awaiter(this, void 0, void 0, function* () {
6525
- const getLroStatusFromResponse = createGetLroStatusFromResponse(this, config, this.lroResourceLocationConfig);
6526
- return createPollingMethod(this.sendOperationFn, getLroStatusFromResponse, this.args, this.spec, config.mode)(path);
6527
- });
6528
- }
6529
- retrieveAzureAsyncResource(path) {
6530
- return tslib.__awaiter(this, void 0, void 0, function* () {
6531
- const updatedArgs = Object.assign({}, this.args);
6532
- if (updatedArgs.options) {
6533
- updatedArgs.options.shouldDeserialize = true;
6534
- }
6535
- return createPollingMethod(this.sendOperationFn, (rawResponse, flatResponse) => ({
6536
- rawResponse,
6537
- flatResponse,
6538
- done: true
6539
- }), updatedArgs, this.spec)(path);
6540
- });
6541
- }
6542
- }
6543
-
6544
- /*
6545
- * Copyright (c) Microsoft Corporation.
6546
- * Licensed under the MIT License.
6547
- *
6548
- * Code generated by Microsoft (R) AutoRest Code Generator.
6549
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
6550
- */
6551
- /// <reference lib="esnext.asynciterable" />
6552
- /** Class representing a StorageAccounts. */
6553
- class StorageAccountsImpl {
6554
- /**
6555
- * Initialize a new instance of the class StorageAccounts class.
6556
- * @param client Reference to the service client
6557
- */
6558
- constructor(client) {
6559
- this.client = client;
6275
+ /// <reference lib="esnext.asynciterable" />
6276
+ /** Class containing StorageAccounts operations. */
6277
+ class StorageAccountsImpl {
6278
+ /**
6279
+ * Initialize a new instance of the class StorageAccounts class.
6280
+ * @param client Reference to the service client
6281
+ */
6282
+ constructor(client) {
6283
+ this.client = client;
6560
6284
  }
6561
6285
  /**
6562
6286
  * Lists all the storage accounts available under the subscription. Note that storage keys are not
@@ -6705,8 +6429,11 @@ class StorageAccountsImpl {
6705
6429
  }
6706
6430
  };
6707
6431
  });
6708
- const lro = new CoreClientLro(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec);
6709
- return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
6432
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec);
6433
+ return new coreLro.LroEngine(lro, {
6434
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
6435
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
6436
+ });
6710
6437
  });
6711
6438
  }
6712
6439
  /**
@@ -6878,8 +6605,12 @@ class StorageAccountsImpl {
6878
6605
  }
6879
6606
  };
6880
6607
  });
6881
- const lro = new CoreClientLro(sendOperation, { resourceGroupName, accountName, options }, failoverOperationSpec, "location");
6882
- return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
6608
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, failoverOperationSpec);
6609
+ return new coreLro.LroEngine(lro, {
6610
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
6611
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
6612
+ lroResourceLocationConfig: "location"
6613
+ });
6883
6614
  });
6884
6615
  }
6885
6616
  /**
@@ -6899,6 +6630,126 @@ class StorageAccountsImpl {
6899
6630
  return poller.pollUntilDone();
6900
6631
  });
6901
6632
  }
6633
+ /**
6634
+ * Live Migration of storage account to enable Hns
6635
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
6636
+ * case insensitive.
6637
+ * @param accountName The name of the storage account within the specified resource group. Storage
6638
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
6639
+ * only.
6640
+ * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical
6641
+ * namespace validation request 'HnsOnValidationRequest' or a hydration request
6642
+ * 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration
6643
+ * request will migrate the account.
6644
+ * @param options The options parameters.
6645
+ */
6646
+ beginHierarchicalNamespaceMigration(resourceGroupName, accountName, requestType, options) {
6647
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6648
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
6649
+ return this.client.sendOperationRequest(args, spec);
6650
+ });
6651
+ const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
6652
+ var _a;
6653
+ let currentRawResponse = undefined;
6654
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
6655
+ const callback = (rawResponse, flatResponse) => {
6656
+ currentRawResponse = rawResponse;
6657
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
6658
+ };
6659
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
6660
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
6661
+ return {
6662
+ flatResponse,
6663
+ rawResponse: {
6664
+ statusCode: currentRawResponse.status,
6665
+ body: currentRawResponse.parsedBody,
6666
+ headers: currentRawResponse.headers.toJSON()
6667
+ }
6668
+ };
6669
+ });
6670
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, requestType, options }, hierarchicalNamespaceMigrationOperationSpec);
6671
+ return new coreLro.LroEngine(lro, {
6672
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
6673
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
6674
+ lroResourceLocationConfig: "location"
6675
+ });
6676
+ });
6677
+ }
6678
+ /**
6679
+ * Live Migration of storage account to enable Hns
6680
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
6681
+ * case insensitive.
6682
+ * @param accountName The name of the storage account within the specified resource group. Storage
6683
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
6684
+ * only.
6685
+ * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical
6686
+ * namespace validation request 'HnsOnValidationRequest' or a hydration request
6687
+ * 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration
6688
+ * request will migrate the account.
6689
+ * @param options The options parameters.
6690
+ */
6691
+ beginHierarchicalNamespaceMigrationAndWait(resourceGroupName, accountName, requestType, options) {
6692
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6693
+ const poller = yield this.beginHierarchicalNamespaceMigration(resourceGroupName, accountName, requestType, options);
6694
+ return poller.pollUntilDone();
6695
+ });
6696
+ }
6697
+ /**
6698
+ * Abort live Migration of storage account to enable Hns
6699
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
6700
+ * case insensitive.
6701
+ * @param accountName The name of the storage account within the specified resource group. Storage
6702
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
6703
+ * only.
6704
+ * @param options The options parameters.
6705
+ */
6706
+ beginAbortHierarchicalNamespaceMigration(resourceGroupName, accountName, options) {
6707
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6708
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
6709
+ return this.client.sendOperationRequest(args, spec);
6710
+ });
6711
+ const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
6712
+ var _a;
6713
+ let currentRawResponse = undefined;
6714
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
6715
+ const callback = (rawResponse, flatResponse) => {
6716
+ currentRawResponse = rawResponse;
6717
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
6718
+ };
6719
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
6720
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
6721
+ return {
6722
+ flatResponse,
6723
+ rawResponse: {
6724
+ statusCode: currentRawResponse.status,
6725
+ body: currentRawResponse.parsedBody,
6726
+ headers: currentRawResponse.headers.toJSON()
6727
+ }
6728
+ };
6729
+ });
6730
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, abortHierarchicalNamespaceMigrationOperationSpec);
6731
+ return new coreLro.LroEngine(lro, {
6732
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
6733
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
6734
+ lroResourceLocationConfig: "location"
6735
+ });
6736
+ });
6737
+ }
6738
+ /**
6739
+ * Abort live Migration of storage account to enable Hns
6740
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
6741
+ * case insensitive.
6742
+ * @param accountName The name of the storage account within the specified resource group. Storage
6743
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
6744
+ * only.
6745
+ * @param options The options parameters.
6746
+ */
6747
+ beginAbortHierarchicalNamespaceMigrationAndWait(resourceGroupName, accountName, options) {
6748
+ return tslib.__awaiter(this, void 0, void 0, function* () {
6749
+ const poller = yield this.beginAbortHierarchicalNamespaceMigration(resourceGroupName, accountName, options);
6750
+ return poller.pollUntilDone();
6751
+ });
6752
+ }
6902
6753
  /**
6903
6754
  * Restore blobs in the specified blob ranges
6904
6755
  * @param resourceGroupName The name of the resource group within the user's subscription. The name is
@@ -6933,8 +6784,12 @@ class StorageAccountsImpl {
6933
6784
  }
6934
6785
  };
6935
6786
  });
6936
- const lro = new CoreClientLro(sendOperation, { resourceGroupName, accountName, parameters, options }, restoreBlobRangesOperationSpec, "location");
6937
- return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
6787
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, restoreBlobRangesOperationSpec);
6788
+ return new coreLro.LroEngine(lro, {
6789
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
6790
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
6791
+ lroResourceLocationConfig: "location"
6792
+ });
6938
6793
  });
6939
6794
  }
6940
6795
  /**
@@ -7202,6 +7057,50 @@ const failoverOperationSpec = {
7202
7057
  ],
7203
7058
  serializer: serializer$2
7204
7059
  };
7060
+ const hierarchicalNamespaceMigrationOperationSpec = {
7061
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration",
7062
+ httpMethod: "POST",
7063
+ responses: {
7064
+ 200: {},
7065
+ 201: {},
7066
+ 202: {},
7067
+ 204: {},
7068
+ default: {
7069
+ bodyMapper: ErrorResponse
7070
+ }
7071
+ },
7072
+ queryParameters: [apiVersion, requestType],
7073
+ urlParameters: [
7074
+ $host,
7075
+ subscriptionId,
7076
+ resourceGroupName,
7077
+ accountName1
7078
+ ],
7079
+ headerParameters: [accept],
7080
+ serializer: serializer$2
7081
+ };
7082
+ const abortHierarchicalNamespaceMigrationOperationSpec = {
7083
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration",
7084
+ httpMethod: "POST",
7085
+ responses: {
7086
+ 200: {},
7087
+ 201: {},
7088
+ 202: {},
7089
+ 204: {},
7090
+ default: {
7091
+ bodyMapper: ErrorResponse
7092
+ }
7093
+ },
7094
+ queryParameters: [apiVersion],
7095
+ urlParameters: [
7096
+ $host,
7097
+ subscriptionId,
7098
+ resourceGroupName,
7099
+ accountName1
7100
+ ],
7101
+ headerParameters: [accept],
7102
+ serializer: serializer$2
7103
+ };
7205
7104
  const restoreBlobRangesOperationSpec = {
7206
7105
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges",
7207
7106
  httpMethod: "POST",
@@ -7288,7 +7187,7 @@ const listByResourceGroupNextOperationSpec = {
7288
7187
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7289
7188
  */
7290
7189
  /// <reference lib="esnext.asynciterable" />
7291
- /** Class representing a DeletedAccounts. */
7190
+ /** Class containing DeletedAccounts operations. */
7292
7191
  class DeletedAccountsImpl {
7293
7192
  /**
7294
7193
  * Initialize a new instance of the class DeletedAccounts class.
@@ -7438,7 +7337,7 @@ const listNextOperationSpec$1 = {
7438
7337
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7439
7338
  */
7440
7339
  /// <reference lib="esnext.asynciterable" />
7441
- /** Class representing a Usages. */
7340
+ /** Class containing Usages operations. */
7442
7341
  class UsagesImpl {
7443
7342
  /**
7444
7343
  * Initialize a new instance of the class Usages class.
@@ -7526,7 +7425,7 @@ const listByLocationOperationSpec = {
7526
7425
  * Code generated by Microsoft (R) AutoRest Code Generator.
7527
7426
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7528
7427
  */
7529
- /** Class representing a ManagementPolicies. */
7428
+ /** Class containing ManagementPolicies operations. */
7530
7429
  class ManagementPoliciesImpl {
7531
7430
  /**
7532
7431
  * Initialize a new instance of the class ManagementPolicies class.
@@ -7650,7 +7549,7 @@ const deleteOperationSpec$1 = {
7650
7549
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7651
7550
  */
7652
7551
  /// <reference lib="esnext.asynciterable" />
7653
- /** Class representing a BlobInventoryPolicies. */
7552
+ /** Class containing BlobInventoryPolicies operations. */
7654
7553
  class BlobInventoryPoliciesImpl {
7655
7554
  /**
7656
7555
  * Initialize a new instance of the class BlobInventoryPolicies class.
@@ -7867,7 +7766,7 @@ const listOperationSpec$4 = {
7867
7766
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7868
7767
  */
7869
7768
  /// <reference lib="esnext.asynciterable" />
7870
- /** Class representing a PrivateEndpointConnections. */
7769
+ /** Class containing PrivateEndpointConnections operations. */
7871
7770
  class PrivateEndpointConnectionsImpl {
7872
7771
  /**
7873
7772
  * Initialize a new instance of the class PrivateEndpointConnections class.
@@ -8090,7 +7989,7 @@ const deleteOperationSpec$3 = {
8090
7989
  * Code generated by Microsoft (R) AutoRest Code Generator.
8091
7990
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8092
7991
  */
8093
- /** Class representing a PrivateLinkResources. */
7992
+ /** Class containing PrivateLinkResources operations. */
8094
7993
  class PrivateLinkResourcesImpl {
8095
7994
  /**
8096
7995
  * Initialize a new instance of the class PrivateLinkResources class.
@@ -8141,7 +8040,7 @@ const listByStorageAccountOperationSpec = {
8141
8040
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8142
8041
  */
8143
8042
  /// <reference lib="esnext.asynciterable" />
8144
- /** Class representing a ObjectReplicationPoliciesOperations. */
8043
+ /** Class containing ObjectReplicationPoliciesOperations operations. */
8145
8044
  class ObjectReplicationPoliciesOperationsImpl {
8146
8045
  /**
8147
8046
  * Initialize a new instance of the class ObjectReplicationPoliciesOperations class.
@@ -8365,7 +8264,7 @@ const deleteOperationSpec$4 = {
8365
8264
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8366
8265
  */
8367
8266
  /// <reference lib="esnext.asynciterable" />
8368
- /** Class representing a EncryptionScopes. */
8267
+ /** Class containing EncryptionScopes operations. */
8369
8268
  class EncryptionScopesImpl {
8370
8269
  /**
8371
8270
  * Initialize a new instance of the class EncryptionScopes class.
@@ -8639,7 +8538,7 @@ const listNextOperationSpec$2 = {
8639
8538
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8640
8539
  */
8641
8540
  /// <reference lib="esnext.asynciterable" />
8642
- /** Class representing a BlobServices. */
8541
+ /** Class containing BlobServices operations. */
8643
8542
  class BlobServicesImpl {
8644
8543
  /**
8645
8544
  * Initialize a new instance of the class BlobServices class.
@@ -8805,7 +8704,7 @@ const getServicePropertiesOperationSpec = {
8805
8704
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8806
8705
  */
8807
8706
  /// <reference lib="esnext.asynciterable" />
8808
- /** Class representing a BlobContainers. */
8707
+ /** Class containing BlobContainers operations. */
8809
8708
  class BlobContainersImpl {
8810
8709
  /**
8811
8710
  * Initialize a new instance of the class BlobContainers class.
@@ -9139,8 +9038,12 @@ class BlobContainersImpl {
9139
9038
  }
9140
9039
  };
9141
9040
  });
9142
- const lro = new CoreClientLro(sendOperation, { resourceGroupName, accountName, containerName, options }, objectLevelWormOperationSpec, "location");
9143
- return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
9041
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, containerName, options }, objectLevelWormOperationSpec);
9042
+ return new coreLro.LroEngine(lro, {
9043
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
9044
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
9045
+ lroResourceLocationConfig: "location"
9046
+ });
9144
9047
  });
9145
9048
  }
9146
9049
  /**
@@ -9515,7 +9418,7 @@ const listNextOperationSpec$3 = {
9515
9418
  * Code generated by Microsoft (R) AutoRest Code Generator.
9516
9419
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9517
9420
  */
9518
- /** Class representing a FileServices. */
9421
+ /** Class containing FileServices operations. */
9519
9422
  class FileServicesImpl {
9520
9423
  /**
9521
9424
  * Initialize a new instance of the class FileServices class.
@@ -9643,7 +9546,7 @@ const getServicePropertiesOperationSpec$1 = {
9643
9546
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9644
9547
  */
9645
9548
  /// <reference lib="esnext.asynciterable" />
9646
- /** Class representing a FileShares. */
9549
+ /** Class containing FileShares operations. */
9647
9550
  class FileSharesImpl {
9648
9551
  /**
9649
9552
  * Initialize a new instance of the class FileShares class.
@@ -10036,7 +9939,7 @@ const listNextOperationSpec$4 = {
10036
9939
  * Code generated by Microsoft (R) AutoRest Code Generator.
10037
9940
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10038
9941
  */
10039
- /** Class representing a QueueServices. */
9942
+ /** Class containing QueueServices operations. */
10040
9943
  class QueueServicesImpl {
10041
9944
  /**
10042
9945
  * Initialize a new instance of the class QueueServices class.
@@ -10164,7 +10067,7 @@ const getServicePropertiesOperationSpec$2 = {
10164
10067
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10165
10068
  */
10166
10069
  /// <reference lib="esnext.asynciterable" />
10167
- /** Class representing a Queue. */
10070
+ /** Class containing Queue operations. */
10168
10071
  class QueueImpl {
10169
10072
  /**
10170
10073
  * Initialize a new instance of the class Queue class.
@@ -10465,7 +10368,7 @@ const listNextOperationSpec$5 = {
10465
10368
  * Code generated by Microsoft (R) AutoRest Code Generator.
10466
10369
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10467
10370
  */
10468
- /** Class representing a TableServices. */
10371
+ /** Class containing TableServices operations. */
10469
10372
  class TableServicesImpl {
10470
10373
  /**
10471
10374
  * Initialize a new instance of the class TableServices class.
@@ -10593,7 +10496,7 @@ const getServicePropertiesOperationSpec$3 = {
10593
10496
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10594
10497
  */
10595
10498
  /// <reference lib="esnext.asynciterable" />
10596
- /** Class representing a TableOperations. */
10499
+ /** Class containing TableOperations operations. */
10597
10500
  class TableOperationsImpl {
10598
10501
  /**
10599
10502
  * Initialize a new instance of the class TableOperations class.
@@ -10880,9 +10783,9 @@ const listNextOperationSpec$6 = {
10880
10783
  * Code generated by Microsoft (R) AutoRest Code Generator.
10881
10784
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10882
10785
  */
10883
- class StorageManagementClientContext extends coreClient.ServiceClient {
10786
+ class StorageManagementClient extends coreClient.ServiceClient {
10884
10787
  /**
10885
- * Initializes a new instance of the StorageManagementClientContext class.
10788
+ * Initializes a new instance of the StorageManagementClient class.
10886
10789
  * @param credentials Subscription credentials which uniquely identify client subscription.
10887
10790
  * @param subscriptionId The ID of the target subscription.
10888
10791
  * @param options The parameter options
@@ -10902,7 +10805,7 @@ class StorageManagementClientContext extends coreClient.ServiceClient {
10902
10805
  requestContentType: "application/json; charset=utf-8",
10903
10806
  credential: credentials
10904
10807
  };
10905
- const packageDetails = `azsdk-js-arm-storage/17.0.0-beta.1`;
10808
+ const packageDetails = `azsdk-js-arm-storage/17.0.0`;
10906
10809
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
10907
10810
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
10908
10811
  : `${packageDetails}`;
@@ -10917,26 +10820,7 @@ class StorageManagementClientContext extends coreClient.ServiceClient {
10917
10820
  this.subscriptionId = subscriptionId;
10918
10821
  // Assigning values to Constant parameters
10919
10822
  this.$host = options.$host || "https://management.azure.com";
10920
- this.apiVersion = options.apiVersion || "2021-04-01";
10921
- }
10922
- }
10923
-
10924
- /*
10925
- * Copyright (c) Microsoft Corporation.
10926
- * Licensed under the MIT License.
10927
- *
10928
- * Code generated by Microsoft (R) AutoRest Code Generator.
10929
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10930
- */
10931
- class StorageManagementClient extends StorageManagementClientContext {
10932
- /**
10933
- * Initializes a new instance of the StorageManagementClient class.
10934
- * @param credentials Subscription credentials which uniquely identify client subscription.
10935
- * @param subscriptionId The ID of the target subscription.
10936
- * @param options The parameter options
10937
- */
10938
- constructor(credentials, subscriptionId, options) {
10939
- super(credentials, subscriptionId, options);
10823
+ this.apiVersion = options.apiVersion || "2021-06-01";
10940
10824
  this.operations = new OperationsImpl(this);
10941
10825
  this.skus = new SkusImpl(this);
10942
10826
  this.storageAccounts = new StorageAccountsImpl(this);
@@ -10960,5 +10844,4 @@ class StorageManagementClient extends StorageManagementClientContext {
10960
10844
  }
10961
10845
 
10962
10846
  exports.StorageManagementClient = StorageManagementClient;
10963
- exports.StorageManagementClientContext = StorageManagementClientContext;
10964
10847
  //# sourceMappingURL=index.js.map