@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
@@ -464,6 +464,12 @@ export const StorageAccountCreateParameters: coreClient.CompositeMapper = {
464
464
  className: "Identity"
465
465
  }
466
466
  },
467
+ publicNetworkAccess: {
468
+ serializedName: "properties.publicNetworkAccess",
469
+ type: {
470
+ name: "String"
471
+ }
472
+ },
467
473
  sasPolicy: {
468
474
  serializedName: "properties.sasPolicy",
469
475
  type: {
@@ -567,6 +573,19 @@ export const StorageAccountCreateParameters: coreClient.CompositeMapper = {
567
573
  type: {
568
574
  name: "Boolean"
569
575
  }
576
+ },
577
+ defaultToOAuthAuthentication: {
578
+ serializedName: "properties.defaultToOAuthAuthentication",
579
+ type: {
580
+ name: "Boolean"
581
+ }
582
+ },
583
+ immutableStorageWithVersioning: {
584
+ serializedName: "properties.immutableStorageWithVersioning",
585
+ type: {
586
+ name: "Composite",
587
+ className: "ImmutableStorageAccount"
588
+ }
570
589
  }
571
590
  }
572
591
  }
@@ -1149,31 +1168,54 @@ export const RoutingPreference: coreClient.CompositeMapper = {
1149
1168
  }
1150
1169
  };
1151
1170
 
1152
- export const Resource: coreClient.CompositeMapper = {
1171
+ export const ImmutableStorageAccount: coreClient.CompositeMapper = {
1153
1172
  type: {
1154
1173
  name: "Composite",
1155
- className: "Resource",
1174
+ className: "ImmutableStorageAccount",
1156
1175
  modelProperties: {
1157
- id: {
1158
- serializedName: "id",
1159
- readOnly: true,
1176
+ enabled: {
1177
+ serializedName: "enabled",
1160
1178
  type: {
1161
- name: "String"
1179
+ name: "Boolean"
1162
1180
  }
1163
1181
  },
1164
- name: {
1165
- serializedName: "name",
1166
- readOnly: true,
1182
+ immutabilityPolicy: {
1183
+ serializedName: "immutabilityPolicy",
1167
1184
  type: {
1168
- name: "String"
1185
+ name: "Composite",
1186
+ className: "AccountImmutabilityPolicyProperties"
1187
+ }
1188
+ }
1189
+ }
1190
+ }
1191
+ };
1192
+
1193
+ export const AccountImmutabilityPolicyProperties: coreClient.CompositeMapper = {
1194
+ type: {
1195
+ name: "Composite",
1196
+ className: "AccountImmutabilityPolicyProperties",
1197
+ modelProperties: {
1198
+ immutabilityPeriodSinceCreationInDays: {
1199
+ constraints: {
1200
+ InclusiveMaximum: 146000,
1201
+ InclusiveMinimum: 1
1202
+ },
1203
+ serializedName: "immutabilityPeriodSinceCreationInDays",
1204
+ type: {
1205
+ name: "Number"
1169
1206
  }
1170
1207
  },
1171
- type: {
1172
- serializedName: "type",
1173
- readOnly: true,
1208
+ state: {
1209
+ serializedName: "state",
1174
1210
  type: {
1175
1211
  name: "String"
1176
1212
  }
1213
+ },
1214
+ allowProtectedAppendWrites: {
1215
+ serializedName: "allowProtectedAppendWrites",
1216
+ type: {
1217
+ name: "Boolean"
1218
+ }
1177
1219
  }
1178
1220
  }
1179
1221
  }
@@ -1426,6 +1468,36 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
1426
1468
  }
1427
1469
  };
1428
1470
 
1471
+ export const Resource: coreClient.CompositeMapper = {
1472
+ type: {
1473
+ name: "Composite",
1474
+ className: "Resource",
1475
+ modelProperties: {
1476
+ id: {
1477
+ serializedName: "id",
1478
+ readOnly: true,
1479
+ type: {
1480
+ name: "String"
1481
+ }
1482
+ },
1483
+ name: {
1484
+ serializedName: "name",
1485
+ readOnly: true,
1486
+ type: {
1487
+ name: "String"
1488
+ }
1489
+ },
1490
+ type: {
1491
+ serializedName: "type",
1492
+ readOnly: true,
1493
+ type: {
1494
+ name: "String"
1495
+ }
1496
+ }
1497
+ }
1498
+ }
1499
+ };
1500
+
1429
1501
  export const BlobRestoreStatus: coreClient.CompositeMapper = {
1430
1502
  type: {
1431
1503
  name: "Composite",
@@ -1638,6 +1710,25 @@ export const StorageAccountUpdateParameters: coreClient.CompositeMapper = {
1638
1710
  type: {
1639
1711
  name: "Boolean"
1640
1712
  }
1713
+ },
1714
+ defaultToOAuthAuthentication: {
1715
+ serializedName: "properties.defaultToOAuthAuthentication",
1716
+ type: {
1717
+ name: "Boolean"
1718
+ }
1719
+ },
1720
+ publicNetworkAccess: {
1721
+ serializedName: "properties.publicNetworkAccess",
1722
+ type: {
1723
+ name: "String"
1724
+ }
1725
+ },
1726
+ immutableStorageWithVersioning: {
1727
+ serializedName: "properties.immutableStorageWithVersioning",
1728
+ type: {
1729
+ name: "Composite",
1730
+ className: "ImmutableStorageAccount"
1731
+ }
1641
1732
  }
1642
1733
  }
1643
1734
  }
@@ -3179,6 +3270,12 @@ export const ImmutabilityPolicyProperties: coreClient.CompositeMapper = {
3179
3270
  type: {
3180
3271
  name: "Boolean"
3181
3272
  }
3273
+ },
3274
+ allowProtectedAppendWritesAll: {
3275
+ serializedName: "properties.allowProtectedAppendWritesAll",
3276
+ type: {
3277
+ name: "Boolean"
3278
+ }
3182
3279
  }
3183
3280
  }
3184
3281
  }
@@ -3230,6 +3327,18 @@ export const UpdateHistoryProperty: coreClient.CompositeMapper = {
3230
3327
  type: {
3231
3328
  name: "String"
3232
3329
  }
3330
+ },
3331
+ allowProtectedAppendWrites: {
3332
+ serializedName: "allowProtectedAppendWrites",
3333
+ type: {
3334
+ name: "Boolean"
3335
+ }
3336
+ },
3337
+ allowProtectedAppendWritesAll: {
3338
+ serializedName: "allowProtectedAppendWritesAll",
3339
+ type: {
3340
+ name: "Boolean"
3341
+ }
3233
3342
  }
3234
3343
  }
3235
3344
  }
@@ -3258,6 +3367,13 @@ export const LegalHoldProperties: coreClient.CompositeMapper = {
3258
3367
  }
3259
3368
  }
3260
3369
  }
3370
+ },
3371
+ protectedAppendWritesHistory: {
3372
+ serializedName: "protectedAppendWritesHistory",
3373
+ type: {
3374
+ name: "Composite",
3375
+ className: "ProtectedAppendWritesHistory"
3376
+ }
3261
3377
  }
3262
3378
  }
3263
3379
  }
@@ -3307,6 +3423,28 @@ export const TagProperty: coreClient.CompositeMapper = {
3307
3423
  }
3308
3424
  };
3309
3425
 
3426
+ export const ProtectedAppendWritesHistory: coreClient.CompositeMapper = {
3427
+ type: {
3428
+ name: "Composite",
3429
+ className: "ProtectedAppendWritesHistory",
3430
+ modelProperties: {
3431
+ allowProtectedAppendWritesAll: {
3432
+ serializedName: "allowProtectedAppendWritesAll",
3433
+ type: {
3434
+ name: "Boolean"
3435
+ }
3436
+ },
3437
+ timestamp: {
3438
+ serializedName: "timestamp",
3439
+ readOnly: true,
3440
+ type: {
3441
+ name: "DateTime"
3442
+ }
3443
+ }
3444
+ }
3445
+ }
3446
+ };
3447
+
3310
3448
  export const ImmutableStorageWithVersioning: coreClient.CompositeMapper = {
3311
3449
  type: {
3312
3450
  name: "Composite",
@@ -3363,6 +3501,12 @@ export const LegalHold: coreClient.CompositeMapper = {
3363
3501
  }
3364
3502
  }
3365
3503
  }
3504
+ },
3505
+ allowProtectedAppendWritesAll: {
3506
+ serializedName: "allowProtectedAppendWritesAll",
3507
+ type: {
3508
+ name: "Boolean"
3509
+ }
3366
3510
  }
3367
3511
  }
3368
3512
  }
@@ -3896,30 +4040,6 @@ export const ListTableResource: coreClient.CompositeMapper = {
3896
4040
  }
3897
4041
  };
3898
4042
 
3899
- export const TrackedResource: coreClient.CompositeMapper = {
3900
- type: {
3901
- name: "Composite",
3902
- className: "TrackedResource",
3903
- modelProperties: {
3904
- ...Resource.type.modelProperties,
3905
- tags: {
3906
- serializedName: "tags",
3907
- type: {
3908
- name: "Dictionary",
3909
- value: { type: { name: "String" } }
3910
- }
3911
- },
3912
- location: {
3913
- serializedName: "location",
3914
- required: true,
3915
- type: {
3916
- name: "String"
3917
- }
3918
- }
3919
- }
3920
- }
3921
- };
3922
-
3923
4043
  export const PrivateEndpointConnection: coreClient.CompositeMapper = {
3924
4044
  type: {
3925
4045
  name: "Composite",
@@ -3951,6 +4071,30 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = {
3951
4071
  }
3952
4072
  };
3953
4073
 
4074
+ export const TrackedResource: coreClient.CompositeMapper = {
4075
+ type: {
4076
+ name: "Composite",
4077
+ className: "TrackedResource",
4078
+ modelProperties: {
4079
+ ...Resource.type.modelProperties,
4080
+ tags: {
4081
+ serializedName: "tags",
4082
+ type: {
4083
+ name: "Dictionary",
4084
+ value: { type: { name: "String" } }
4085
+ }
4086
+ },
4087
+ location: {
4088
+ serializedName: "location",
4089
+ required: true,
4090
+ type: {
4091
+ name: "String"
4092
+ }
4093
+ }
4094
+ }
4095
+ }
4096
+ };
4097
+
3954
4098
  export const ProxyResource: coreClient.CompositeMapper = {
3955
4099
  type: {
3956
4100
  name: "Composite",
@@ -4622,6 +4766,25 @@ export const StorageAccount: coreClient.CompositeMapper = {
4622
4766
  type: {
4623
4767
  name: "Boolean"
4624
4768
  }
4769
+ },
4770
+ defaultToOAuthAuthentication: {
4771
+ serializedName: "properties.defaultToOAuthAuthentication",
4772
+ type: {
4773
+ name: "Boolean"
4774
+ }
4775
+ },
4776
+ publicNetworkAccess: {
4777
+ serializedName: "properties.publicNetworkAccess",
4778
+ type: {
4779
+ name: "String"
4780
+ }
4781
+ },
4782
+ immutableStorageWithVersioning: {
4783
+ serializedName: "properties.immutableStorageWithVersioning",
4784
+ type: {
4785
+ name: "Composite",
4786
+ className: "ImmutableStorageAccount"
4787
+ }
4625
4788
  }
4626
4789
  }
4627
4790
  }
@@ -4794,6 +4957,18 @@ export const ListContainerItem: coreClient.CompositeMapper = {
4794
4957
  name: "Composite",
4795
4958
  className: "ImmutableStorageWithVersioning"
4796
4959
  }
4960
+ },
4961
+ enableNfsV3RootSquash: {
4962
+ serializedName: "properties.enableNfsV3RootSquash",
4963
+ type: {
4964
+ name: "Boolean"
4965
+ }
4966
+ },
4967
+ enableNfsV3AllSquash: {
4968
+ serializedName: "properties.enableNfsV3AllSquash",
4969
+ type: {
4970
+ name: "Boolean"
4971
+ }
4797
4972
  }
4798
4973
  }
4799
4974
  }
@@ -4921,6 +5096,18 @@ export const BlobContainer: coreClient.CompositeMapper = {
4921
5096
  name: "Composite",
4922
5097
  className: "ImmutableStorageWithVersioning"
4923
5098
  }
5099
+ },
5100
+ enableNfsV3RootSquash: {
5101
+ serializedName: "properties.enableNfsV3RootSquash",
5102
+ type: {
5103
+ name: "Boolean"
5104
+ }
5105
+ },
5106
+ enableNfsV3AllSquash: {
5107
+ serializedName: "properties.enableNfsV3AllSquash",
5108
+ type: {
5109
+ name: "Boolean"
5110
+ }
4924
5111
  }
4925
5112
  }
4926
5113
  }
@@ -4950,6 +5137,12 @@ export const ImmutabilityPolicy: coreClient.CompositeMapper = {
4950
5137
  type: {
4951
5138
  name: "Boolean"
4952
5139
  }
5140
+ },
5141
+ allowProtectedAppendWritesAll: {
5142
+ serializedName: "properties.allowProtectedAppendWritesAll",
5143
+ type: {
5144
+ name: "Boolean"
5145
+ }
4953
5146
  }
4954
5147
  }
4955
5148
  }
@@ -65,7 +65,7 @@ export const $host: OperationURLParameter = {
65
65
  export const apiVersion: OperationQueryParameter = {
66
66
  parameterPath: "apiVersion",
67
67
  mapper: {
68
- defaultValue: "2021-04-01",
68
+ defaultValue: "2021-06-01",
69
69
  isConstant: true,
70
70
  serializedName: "api-version",
71
71
  type: {
@@ -184,6 +184,17 @@ export const parameters3: OperationParameter = {
184
184
  mapper: ServiceSasParametersMapper
185
185
  };
186
186
 
187
+ export const requestType: OperationQueryParameter = {
188
+ parameterPath: "requestType",
189
+ mapper: {
190
+ serializedName: "requestType",
191
+ required: true,
192
+ type: {
193
+ name: "String"
194
+ }
195
+ }
196
+ };
197
+
187
198
  export const parameters4: OperationParameter = {
188
199
  parameterPath: "parameters",
189
200
  mapper: BlobRestoreParametersMapper
@@ -6,16 +6,14 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { BlobContainers } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
16
- import { PollerLike, PollOperationState } from "@azure/core-lro";
17
- import { LroEngine } from "../lro";
18
- import { CoreClientLro, shouldDeserializeLro } from "../coreClientLro";
14
+ import { StorageManagementClient } from "../storageManagementClient";
15
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
16
+ import { LroImpl } from "../lroImpl";
19
17
  import {
20
18
  ListContainerItem,
21
19
  BlobContainersListNextOptionalParams,
@@ -51,15 +49,15 @@ import {
51
49
  } from "../models";
52
50
 
53
51
  /// <reference lib="esnext.asynciterable" />
54
- /** Class representing a BlobContainers. */
52
+ /** Class containing BlobContainers operations. */
55
53
  export class BlobContainersImpl implements BlobContainers {
56
- private readonly client: StorageManagementClientContext;
54
+ private readonly client: StorageManagementClient;
57
55
 
58
56
  /**
59
57
  * Initialize a new instance of the class BlobContainers class.
60
58
  * @param client Reference to the service client
61
59
  */
62
- constructor(client: StorageManagementClientContext) {
60
+ constructor(client: StorageManagementClient) {
63
61
  this.client = client;
64
62
  }
65
63
 
@@ -541,13 +539,16 @@ export class BlobContainersImpl implements BlobContainers {
541
539
  };
542
540
  };
543
541
 
544
- const lro = new CoreClientLro(
542
+ const lro = new LroImpl(
545
543
  sendOperation,
546
544
  { resourceGroupName, accountName, containerName, options },
547
- objectLevelWormOperationSpec,
548
- "location"
545
+ objectLevelWormOperationSpec
549
546
  );
550
- return new LroEngine(lro, { intervalInMs: options?.updateIntervalInMs });
547
+ return new LroEngine(lro, {
548
+ resumeFrom: options?.resumeFrom,
549
+ intervalInMs: options?.updateIntervalInMs,
550
+ lroResourceLocationConfig: "location"
551
+ });
551
552
  }
552
553
 
553
554
  /**
@@ -6,13 +6,12 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { BlobInventoryPolicies } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
16
15
  import {
17
16
  BlobInventoryPolicy,
18
17
  BlobInventoryPoliciesListOptionalParams,
@@ -26,15 +25,15 @@ import {
26
25
  } from "../models";
27
26
 
28
27
  /// <reference lib="esnext.asynciterable" />
29
- /** Class representing a BlobInventoryPolicies. */
28
+ /** Class containing BlobInventoryPolicies operations. */
30
29
  export class BlobInventoryPoliciesImpl implements BlobInventoryPolicies {
31
- private readonly client: StorageManagementClientContext;
30
+ private readonly client: StorageManagementClient;
32
31
 
33
32
  /**
34
33
  * Initialize a new instance of the class BlobInventoryPolicies class.
35
34
  * @param client Reference to the service client
36
35
  */
37
- constructor(client: StorageManagementClientContext) {
36
+ constructor(client: StorageManagementClient) {
38
37
  this.client = client;
39
38
  }
40
39
 
@@ -6,13 +6,12 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { BlobServices } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
16
15
  import {
17
16
  BlobServiceProperties,
18
17
  BlobServicesListOptionalParams,
@@ -24,15 +23,15 @@ import {
24
23
  } from "../models";
25
24
 
26
25
  /// <reference lib="esnext.asynciterable" />
27
- /** Class representing a BlobServices. */
26
+ /** Class containing BlobServices operations. */
28
27
  export class BlobServicesImpl implements BlobServices {
29
- private readonly client: StorageManagementClientContext;
28
+ private readonly client: StorageManagementClient;
30
29
 
31
30
  /**
32
31
  * Initialize a new instance of the class BlobServices class.
33
32
  * @param client Reference to the service client
34
33
  */
35
- constructor(client: StorageManagementClientContext) {
34
+ constructor(client: StorageManagementClient) {
36
35
  this.client = client;
37
36
  }
38
37
 
@@ -6,13 +6,12 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { DeletedAccounts } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
16
15
  import {
17
16
  DeletedAccount,
18
17
  DeletedAccountsListNextOptionalParams,
@@ -24,15 +23,15 @@ import {
24
23
  } from "../models";
25
24
 
26
25
  /// <reference lib="esnext.asynciterable" />
27
- /** Class representing a DeletedAccounts. */
26
+ /** Class containing DeletedAccounts operations. */
28
27
  export class DeletedAccountsImpl implements DeletedAccounts {
29
- private readonly client: StorageManagementClientContext;
28
+ private readonly client: StorageManagementClient;
30
29
 
31
30
  /**
32
31
  * Initialize a new instance of the class DeletedAccounts class.
33
32
  * @param client Reference to the service client
34
33
  */
35
- constructor(client: StorageManagementClientContext) {
34
+ constructor(client: StorageManagementClient) {
36
35
  this.client = client;
37
36
  }
38
37
 
@@ -6,13 +6,12 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { EncryptionScopes } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
16
15
  import {
17
16
  EncryptionScope,
18
17
  EncryptionScopesListNextOptionalParams,
@@ -28,15 +27,15 @@ import {
28
27
  } from "../models";
29
28
 
30
29
  /// <reference lib="esnext.asynciterable" />
31
- /** Class representing a EncryptionScopes. */
30
+ /** Class containing EncryptionScopes operations. */
32
31
  export class EncryptionScopesImpl implements EncryptionScopes {
33
- private readonly client: StorageManagementClientContext;
32
+ private readonly client: StorageManagementClient;
34
33
 
35
34
  /**
36
35
  * Initialize a new instance of the class EncryptionScopes class.
37
36
  * @param client Reference to the service client
38
37
  */
39
- constructor(client: StorageManagementClientContext) {
38
+ constructor(client: StorageManagementClient) {
40
39
  this.client = client;
41
40
  }
42
41
 
@@ -10,7 +10,7 @@ import { FileServices } from "../operationsInterfaces";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { StorageManagementClientContext } from "../storageManagementClientContext";
13
+ import { StorageManagementClient } from "../storageManagementClient";
14
14
  import {
15
15
  FileServicesListOptionalParams,
16
16
  FileServicesListResponse,
@@ -21,15 +21,15 @@ import {
21
21
  FileServicesGetServicePropertiesResponse
22
22
  } from "../models";
23
23
 
24
- /** Class representing a FileServices. */
24
+ /** Class containing FileServices operations. */
25
25
  export class FileServicesImpl implements FileServices {
26
- private readonly client: StorageManagementClientContext;
26
+ private readonly client: StorageManagementClient;
27
27
 
28
28
  /**
29
29
  * Initialize a new instance of the class FileServices class.
30
30
  * @param client Reference to the service client
31
31
  */
32
- constructor(client: StorageManagementClientContext) {
32
+ constructor(client: StorageManagementClient) {
33
33
  this.client = client;
34
34
  }
35
35
 
@@ -6,13 +6,12 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { FileShares } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
16
15
  import {
17
16
  FileShareItem,
18
17
  FileSharesListNextOptionalParams,
@@ -34,15 +33,15 @@ import {
34
33
  } from "../models";
35
34
 
36
35
  /// <reference lib="esnext.asynciterable" />
37
- /** Class representing a FileShares. */
36
+ /** Class containing FileShares operations. */
38
37
  export class FileSharesImpl implements FileShares {
39
- private readonly client: StorageManagementClientContext;
38
+ private readonly client: StorageManagementClient;
40
39
 
41
40
  /**
42
41
  * Initialize a new instance of the class FileShares class.
43
42
  * @param client Reference to the service client
44
43
  */
45
- constructor(client: StorageManagementClientContext) {
44
+ constructor(client: StorageManagementClient) {
46
45
  this.client = client;
47
46
  }
48
47