@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +63 -80
  4. package/dist/index.js +10964 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/coreClientLro.d.ts +26 -0
  9. package/esm/coreClientLro.d.ts.map +1 -0
  10. package/esm/coreClientLro.js +186 -0
  11. package/esm/coreClientLro.js.map +1 -0
  12. package/esm/index.d.ts +5002 -0
  13. package/esm/index.d.ts.map +1 -0
  14. package/esm/index.js +13 -0
  15. package/esm/index.js.map +1 -0
  16. package/esm/lro/azureAsyncPolling.d.ts +3 -0
  17. package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
  18. package/esm/lro/azureAsyncPolling.js +67 -0
  19. package/esm/lro/azureAsyncPolling.js.map +1 -0
  20. package/esm/lro/bodyPolling.d.ts +8 -0
  21. package/esm/lro/bodyPolling.d.ts.map +1 -0
  22. package/esm/lro/bodyPolling.js +37 -0
  23. package/esm/lro/bodyPolling.js.map +1 -0
  24. package/esm/lro/index.d.ts +4 -0
  25. package/esm/lro/index.d.ts.map +1 -0
  26. package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
  27. package/esm/lro/index.js.map +1 -0
  28. package/esm/lro/locationPolling.d.ts +3 -0
  29. package/esm/lro/locationPolling.d.ts.map +1 -0
  30. package/esm/lro/locationPolling.js +19 -0
  31. package/esm/lro/locationPolling.js.map +1 -0
  32. package/esm/lro/lroEngine.d.ts +14 -0
  33. package/esm/lro/lroEngine.d.ts.map +1 -0
  34. package/esm/lro/lroEngine.js +41 -0
  35. package/esm/lro/lroEngine.js.map +1 -0
  36. package/esm/lro/models.d.ts +138 -0
  37. package/esm/lro/models.d.ts.map +1 -0
  38. package/esm/lro/models.js +14 -0
  39. package/esm/lro/models.js.map +1 -0
  40. package/esm/lro/operation.d.ts +36 -0
  41. package/esm/lro/operation.d.ts.map +1 -0
  42. package/esm/lro/operation.js +82 -0
  43. package/esm/lro/operation.js.map +1 -0
  44. package/esm/lro/passthrough.d.ts +3 -0
  45. package/esm/lro/passthrough.d.ts.map +1 -0
  46. package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
  47. package/esm/lro/passthrough.js.map +1 -0
  48. package/esm/lro/requestUtils.d.ts +16 -0
  49. package/esm/lro/requestUtils.d.ts.map +1 -0
  50. package/esm/lro/requestUtils.js +73 -0
  51. package/esm/lro/requestUtils.js.map +1 -0
  52. package/esm/lro/stateMachine.d.ts +18 -0
  53. package/esm/lro/stateMachine.d.ts.map +1 -0
  54. package/esm/lro/stateMachine.js +84 -0
  55. package/esm/lro/stateMachine.js.map +1 -0
  56. package/esm/models/index.d.ts +2673 -4395
  57. package/esm/models/index.d.ts.map +1 -1
  58. package/esm/models/index.js +331 -0
  59. package/esm/models/index.js.map +1 -1
  60. package/esm/models/mappers.d.ts +146 -138
  61. package/esm/models/mappers.d.ts.map +1 -1
  62. package/esm/models/mappers.js +2734 -2563
  63. package/esm/models/mappers.js.map +1 -1
  64. package/esm/models/parameters.d.ts +59 -33
  65. package/esm/models/parameters.d.ts.map +1 -1
  66. package/esm/models/parameters.js +267 -159
  67. package/esm/models/parameters.js.map +1 -1
  68. package/esm/operations/blobContainers.d.ts +213 -561
  69. package/esm/operations/blobContainers.d.ts.map +1 -1
  70. package/esm/operations/blobContainers.js +578 -429
  71. package/esm/operations/blobContainers.js.map +1 -1
  72. package/esm/operations/blobInventoryPolicies.d.ts +47 -109
  73. package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
  74. package/esm/operations/blobInventoryPolicies.js +163 -105
  75. package/esm/operations/blobInventoryPolicies.js.map +1 -1
  76. package/esm/operations/blobServices.d.ts +39 -89
  77. package/esm/operations/blobServices.d.ts.map +1 -1
  78. package/esm/operations/blobServices.js +133 -89
  79. package/esm/operations/blobServices.js.map +1 -1
  80. package/esm/operations/deletedAccounts.d.ts +20 -47
  81. package/esm/operations/deletedAccounts.d.ts.map +1 -1
  82. package/esm/operations/deletedAccounts.js +111 -69
  83. package/esm/operations/deletedAccounts.js.map +1 -1
  84. package/esm/operations/encryptionScopes.d.ts +65 -166
  85. package/esm/operations/encryptionScopes.d.ts.map +1 -1
  86. package/esm/operations/encryptionScopes.js +211 -131
  87. package/esm/operations/encryptionScopes.js.map +1 -1
  88. package/esm/operations/fileServices.d.ts +25 -89
  89. package/esm/operations/fileServices.d.ts.map +1 -1
  90. package/esm/operations/fileServices.js +86 -83
  91. package/esm/operations/fileServices.js.map +1 -1
  92. package/esm/operations/fileShares.d.ts +100 -256
  93. package/esm/operations/fileShares.d.ts.map +1 -1
  94. package/esm/operations/fileShares.js +316 -164
  95. package/esm/operations/fileShares.js.map +1 -1
  96. package/esm/operations/index.d.ts.map +1 -1
  97. package/esm/operations/index.js +1 -2
  98. package/esm/operations/index.js.map +1 -1
  99. package/esm/operations/managementPolicies.d.ts +30 -89
  100. package/esm/operations/managementPolicies.d.ts.map +1 -1
  101. package/esm/operations/managementPolicies.js +89 -92
  102. package/esm/operations/managementPolicies.js.map +1 -1
  103. package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
  104. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  105. package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
  106. package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
  107. package/esm/operations/operations.d.ts +14 -15
  108. package/esm/operations/operations.d.ts.map +1 -1
  109. package/esm/operations/operations.js +67 -29
  110. package/esm/operations/operations.js.map +1 -1
  111. package/esm/operations/privateEndpointConnections.d.ts +46 -126
  112. package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  113. package/esm/operations/privateEndpointConnections.js +171 -103
  114. package/esm/operations/privateEndpointConnections.js.map +1 -1
  115. package/esm/operations/privateLinkResources.d.ts +11 -31
  116. package/esm/operations/privateLinkResources.d.ts.map +1 -1
  117. package/esm/operations/privateLinkResources.js +32 -36
  118. package/esm/operations/privateLinkResources.js.map +1 -1
  119. package/esm/operations/queue.d.ts +69 -196
  120. package/esm/operations/queue.d.ts.map +1 -1
  121. package/esm/operations/queue.js +230 -162
  122. package/esm/operations/queue.js.map +1 -1
  123. package/esm/operations/queueServices.d.ts +29 -87
  124. package/esm/operations/queueServices.d.ts.map +1 -1
  125. package/esm/operations/queueServices.js +86 -87
  126. package/esm/operations/queueServices.js.map +1 -1
  127. package/esm/operations/skus.d.ts +14 -15
  128. package/esm/operations/skus.d.ts.map +1 -1
  129. package/esm/operations/skus.js +67 -32
  130. package/esm/operations/skus.js.map +1 -1
  131. package/esm/operations/storageAccounts.d.ts +163 -381
  132. package/esm/operations/storageAccounts.d.ts.map +1 -1
  133. package/esm/operations/storageAccounts.js +605 -501
  134. package/esm/operations/storageAccounts.js.map +1 -1
  135. package/esm/operations/tableOperations.d.ts +67 -184
  136. package/esm/operations/tableOperations.d.ts.map +1 -1
  137. package/esm/operations/tableOperations.js +220 -143
  138. package/esm/operations/tableOperations.js.map +1 -1
  139. package/esm/operations/tableServices.d.ts +29 -87
  140. package/esm/operations/tableServices.d.ts.map +1 -1
  141. package/esm/operations/tableServices.js +86 -87
  142. package/esm/operations/tableServices.js.map +1 -1
  143. package/esm/operations/usages.d.ts +15 -18
  144. package/esm/operations/usages.d.ts.map +1 -1
  145. package/esm/operations/usages.js +73 -34
  146. package/esm/operations/usages.js.map +1 -1
  147. package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
  148. package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
  149. package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
  150. package/esm/operationsInterfaces/blobContainers.js.map +1 -0
  151. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
  152. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  153. package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
  154. package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  155. package/esm/operationsInterfaces/blobServices.d.ts +41 -0
  156. package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
  157. package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
  158. package/esm/operationsInterfaces/blobServices.js.map +1 -0
  159. package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
  160. package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  161. package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
  162. package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
  163. package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
  164. package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  165. package/esm/operationsInterfaces/encryptionScopes.js +9 -0
  166. package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
  167. package/esm/operationsInterfaces/fileServices.d.ts +39 -0
  168. package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
  169. package/esm/operationsInterfaces/fileServices.js +9 -0
  170. package/esm/operationsInterfaces/fileServices.js.map +1 -0
  171. package/esm/operationsInterfaces/fileShares.d.ts +102 -0
  172. package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
  173. package/esm/operationsInterfaces/fileShares.js +9 -0
  174. package/esm/operationsInterfaces/fileShares.js.map +1 -0
  175. package/esm/operationsInterfaces/index.d.ts +20 -0
  176. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  177. package/esm/operationsInterfaces/index.js +27 -0
  178. package/esm/operationsInterfaces/index.js.map +1 -0
  179. package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
  180. package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  181. package/esm/operationsInterfaces/managementPolicies.js +9 -0
  182. package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
  183. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
  184. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  185. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  186. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  187. package/esm/operationsInterfaces/operations.d.ts +12 -0
  188. package/esm/operationsInterfaces/operations.d.ts.map +1 -0
  189. package/esm/operationsInterfaces/operations.js +9 -0
  190. package/esm/operationsInterfaces/operations.js.map +1 -0
  191. package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
  192. package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  193. package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  194. package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  195. package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  196. package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  197. package/esm/operationsInterfaces/privateLinkResources.js +9 -0
  198. package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  199. package/esm/operationsInterfaces/queue.d.ts +71 -0
  200. package/esm/operationsInterfaces/queue.d.ts.map +1 -0
  201. package/esm/operationsInterfaces/queue.js +9 -0
  202. package/esm/operationsInterfaces/queue.js.map +1 -0
  203. package/esm/operationsInterfaces/queueServices.d.ts +39 -0
  204. package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
  205. package/esm/operationsInterfaces/queueServices.js +9 -0
  206. package/esm/operationsInterfaces/queueServices.js.map +1 -0
  207. package/esm/operationsInterfaces/skus.d.ts +12 -0
  208. package/esm/operationsInterfaces/skus.d.ts.map +1 -0
  209. package/esm/operationsInterfaces/skus.js +9 -0
  210. package/esm/operationsInterfaces/skus.js.map +1 -0
  211. package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
  212. package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  213. package/esm/operationsInterfaces/storageAccounts.js +9 -0
  214. package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
  215. package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
  216. package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
  217. package/esm/operationsInterfaces/tableOperations.js +9 -0
  218. package/esm/operationsInterfaces/tableOperations.js.map +1 -0
  219. package/esm/operationsInterfaces/tableServices.d.ts +39 -0
  220. package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
  221. package/esm/operationsInterfaces/tableServices.js +9 -0
  222. package/esm/operationsInterfaces/tableServices.js.map +1 -0
  223. package/esm/operationsInterfaces/usages.d.ts +13 -0
  224. package/esm/operationsInterfaces/usages.d.ts.map +1 -0
  225. package/esm/operationsInterfaces/usages.js +9 -0
  226. package/esm/operationsInterfaces/usages.js.map +1 -0
  227. package/esm/storageManagementClient.d.ts +26 -35
  228. package/esm/storageManagementClient.d.ts.map +1 -1
  229. package/esm/storageManagementClient.js +27 -42
  230. package/esm/storageManagementClient.js.map +1 -1
  231. package/esm/storageManagementClientContext.d.ts +10 -16
  232. package/esm/storageManagementClientContext.d.ts.map +1 -1
  233. package/esm/storageManagementClientContext.js +32 -44
  234. package/esm/storageManagementClientContext.js.map +1 -1
  235. package/package.json +57 -18
  236. package/review/arm-storage.api.md +2659 -0
  237. package/rollup.config.js +181 -30
  238. package/src/coreClientLro.ts +323 -0
  239. package/src/index.ts +13 -0
  240. package/src/lro/azureAsyncPolling.ts +96 -0
  241. package/src/lro/bodyPolling.ts +54 -0
  242. package/src/lro/index.ts +26 -0
  243. package/src/lro/locationPolling.ts +30 -0
  244. package/src/lro/lroEngine.ts +61 -0
  245. package/src/lro/models.ts +173 -0
  246. package/src/lro/operation.ts +120 -0
  247. package/src/lro/passthrough.ts +23 -0
  248. package/src/lro/requestUtils.ts +105 -0
  249. package/src/lro/stateMachine.ts +138 -0
  250. package/src/models/index.ts +2813 -4492
  251. package/src/models/mappers.ts +2745 -2553
  252. package/src/models/parameters.ts +354 -160
  253. package/src/operations/blobContainers.ts +719 -1037
  254. package/src/operations/blobInventoryPolicies.ts +182 -211
  255. package/src/operations/blobServices.ts +150 -177
  256. package/src/operations/deletedAccounts.ts +111 -112
  257. package/src/operations/encryptionScopes.ts +233 -291
  258. package/src/operations/fileServices.ts +99 -171
  259. package/src/operations/fileShares.ts +335 -560
  260. package/src/operations/index.ts +1 -2
  261. package/src/operations/managementPolicies.ts +102 -175
  262. package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
  263. package/src/operations/operations.ts +61 -38
  264. package/src/operations/privateEndpointConnections.ts +177 -214
  265. package/src/operations/privateLinkResources.ts +37 -60
  266. package/src/operations/queue.ts +269 -365
  267. package/src/operations/queueServices.ts +103 -173
  268. package/src/operations/skus.ts +59 -41
  269. package/src/operations/storageAccounts.ts +779 -872
  270. package/src/operations/tableOperations.ts +255 -328
  271. package/src/operations/tableServices.ts +103 -173
  272. package/src/operations/usages.ts +73 -45
  273. package/src/operationsInterfaces/blobContainers.ts +366 -0
  274. package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
  275. package/src/operationsInterfaces/blobServices.ts +70 -0
  276. package/src/operationsInterfaces/deletedAccounts.ts +39 -0
  277. package/src/operationsInterfaces/encryptionScopes.ts +103 -0
  278. package/src/operationsInterfaces/fileServices.ts +68 -0
  279. package/src/operationsInterfaces/fileShares.ts +163 -0
  280. package/src/operationsInterfaces/index.ts +27 -0
  281. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  282. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
  283. package/src/operationsInterfaces/operations.ts +23 -0
  284. package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
  285. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  286. package/src/operationsInterfaces/queue.ts +117 -0
  287. package/src/operationsInterfaces/queueServices.ts +68 -0
  288. package/src/operationsInterfaces/skus.ts +23 -0
  289. package/src/operationsInterfaces/storageAccounts.ts +320 -0
  290. package/src/operationsInterfaces/tableOperations.ts +112 -0
  291. package/src/operationsInterfaces/tableServices.ts +68 -0
  292. package/src/operationsInterfaces/usages.ts +25 -0
  293. package/src/storageManagementClient.ts +94 -67
  294. package/src/storageManagementClientContext.ts +42 -46
  295. package/tsconfig.json +2 -1
  296. package/dist/arm-storage.js +0 -10687
  297. package/dist/arm-storage.js.map +0 -1
  298. package/dist/arm-storage.min.js +0 -1
  299. package/dist/arm-storage.min.js.map +0 -1
  300. package/esm/models/blobContainersMappers.d.ts +0 -2
  301. package/esm/models/blobContainersMappers.d.ts.map +0 -1
  302. package/esm/models/blobContainersMappers.js +0 -9
  303. package/esm/models/blobContainersMappers.js.map +0 -1
  304. package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
  305. package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
  306. package/esm/models/blobInventoryPoliciesMappers.js +0 -9
  307. package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
  308. package/esm/models/blobServicesMappers.d.ts +0 -2
  309. package/esm/models/blobServicesMappers.d.ts.map +0 -1
  310. package/esm/models/blobServicesMappers.js +0 -9
  311. package/esm/models/blobServicesMappers.js.map +0 -1
  312. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  313. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  314. package/esm/models/deletedAccountsMappers.js +0 -9
  315. package/esm/models/deletedAccountsMappers.js.map +0 -1
  316. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  317. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  318. package/esm/models/encryptionScopesMappers.js +0 -9
  319. package/esm/models/encryptionScopesMappers.js.map +0 -1
  320. package/esm/models/fileServicesMappers.d.ts +0 -2
  321. package/esm/models/fileServicesMappers.d.ts.map +0 -1
  322. package/esm/models/fileServicesMappers.js +0 -9
  323. package/esm/models/fileServicesMappers.js.map +0 -1
  324. package/esm/models/fileSharesMappers.d.ts +0 -2
  325. package/esm/models/fileSharesMappers.d.ts.map +0 -1
  326. package/esm/models/fileSharesMappers.js +0 -9
  327. package/esm/models/fileSharesMappers.js.map +0 -1
  328. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  329. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  330. package/esm/models/managementPoliciesMappers.js +0 -9
  331. package/esm/models/managementPoliciesMappers.js.map +0 -1
  332. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  333. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  334. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  335. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  336. package/esm/models/operationsMappers.d.ts +0 -2
  337. package/esm/models/operationsMappers.d.ts.map +0 -1
  338. package/esm/models/operationsMappers.js.map +0 -1
  339. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  340. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  341. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  342. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  343. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  344. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  345. package/esm/models/privateLinkResourcesMappers.js +0 -9
  346. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  347. package/esm/models/queueMappers.d.ts +0 -2
  348. package/esm/models/queueMappers.d.ts.map +0 -1
  349. package/esm/models/queueMappers.js +0 -9
  350. package/esm/models/queueMappers.js.map +0 -1
  351. package/esm/models/queueServicesMappers.d.ts +0 -2
  352. package/esm/models/queueServicesMappers.d.ts.map +0 -1
  353. package/esm/models/queueServicesMappers.js +0 -9
  354. package/esm/models/queueServicesMappers.js.map +0 -1
  355. package/esm/models/skusMappers.d.ts +0 -2
  356. package/esm/models/skusMappers.d.ts.map +0 -1
  357. package/esm/models/skusMappers.js.map +0 -1
  358. package/esm/models/storageAccountsMappers.d.ts +0 -2
  359. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  360. package/esm/models/storageAccountsMappers.js +0 -9
  361. package/esm/models/storageAccountsMappers.js.map +0 -1
  362. package/esm/models/tableOperationsMappers.d.ts +0 -2
  363. package/esm/models/tableOperationsMappers.d.ts.map +0 -1
  364. package/esm/models/tableOperationsMappers.js +0 -9
  365. package/esm/models/tableOperationsMappers.js.map +0 -1
  366. package/esm/models/tableServicesMappers.d.ts +0 -2
  367. package/esm/models/tableServicesMappers.d.ts.map +0 -1
  368. package/esm/models/tableServicesMappers.js +0 -9
  369. package/esm/models/tableServicesMappers.js.map +0 -1
  370. package/esm/models/usagesMappers.d.ts +0 -2
  371. package/esm/models/usagesMappers.d.ts.map +0 -1
  372. package/esm/models/usagesMappers.js.map +0 -1
  373. package/src/models/blobContainersMappers.ts +0 -106
  374. package/src/models/blobInventoryPoliciesMappers.ts +0 -99
  375. package/src/models/blobServicesMappers.ts +0 -98
  376. package/src/models/deletedAccountsMappers.ts +0 -99
  377. package/src/models/encryptionScopesMappers.ts +0 -100
  378. package/src/models/fileServicesMappers.ts +0 -98
  379. package/src/models/fileSharesMappers.ts +0 -99
  380. package/src/models/managementPoliciesMappers.ts +0 -97
  381. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
  382. package/src/models/privateEndpointConnectionsMappers.ts +0 -100
  383. package/src/models/privateLinkResourcesMappers.ts +0 -98
  384. package/src/models/queueMappers.ts +0 -98
  385. package/src/models/queueServicesMappers.ts +0 -98
  386. package/src/models/storageAccountsMappers.ts +0 -109
  387. package/src/models/tableOperationsMappers.ts +0 -98
  388. package/src/models/tableServicesMappers.ts +0 -98
@@ -3,56 +3,101 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/deletedAccountsMappers";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import "@azure/core-paging";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
11
12
  import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
12
14
  /** Class representing a DeletedAccounts. */
13
- var DeletedAccounts = /** @class */ (function () {
15
+ export class DeletedAccountsImpl {
14
16
  /**
15
- * Create a DeletedAccounts.
16
- * @param {StorageManagementClientContext} client Reference to the service client.
17
+ * Initialize a new instance of the class DeletedAccounts class.
18
+ * @param client Reference to the service client
17
19
  */
18
- function DeletedAccounts(client) {
20
+ constructor(client) {
19
21
  this.client = client;
20
22
  }
21
- DeletedAccounts.prototype.list = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, listOperationSpec, callback);
25
- };
26
- DeletedAccounts.prototype.get = function (deletedAccountName, location, options, callback) {
27
- return this.client.sendOperationRequest({
28
- deletedAccountName: deletedAccountName,
29
- location: location,
30
- options: options
31
- }, getOperationSpec, callback);
32
- };
33
- DeletedAccounts.prototype.listNext = function (nextPageLink, options, callback) {
34
- return this.client.sendOperationRequest({
35
- nextPageLink: nextPageLink,
36
- options: options
37
- }, listNextOperationSpec, callback);
38
- };
39
- return DeletedAccounts;
40
- }());
41
- export { DeletedAccounts };
23
+ /**
24
+ * Lists deleted accounts under the subscription.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listPagingPage(options);
38
+ }
39
+ };
40
+ }
41
+ listPagingPage(options) {
42
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
43
+ let result = yield __await(this._list(options));
44
+ yield yield __await(result.value || []);
45
+ let continuationToken = result.nextLink;
46
+ while (continuationToken) {
47
+ result = yield __await(this._listNext(continuationToken, options));
48
+ continuationToken = result.nextLink;
49
+ yield yield __await(result.value || []);
50
+ }
51
+ });
52
+ }
53
+ listPagingAll(options) {
54
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
55
+ var e_1, _a;
56
+ try {
57
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
+ const page = _c.value;
59
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
+ }
61
+ }
62
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
+ finally {
64
+ try {
65
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
+ }
67
+ finally { if (e_1) throw e_1.error; }
68
+ }
69
+ });
70
+ }
71
+ /**
72
+ * Lists deleted accounts under the subscription.
73
+ * @param options The options parameters.
74
+ */
75
+ _list(options) {
76
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
77
+ }
78
+ /**
79
+ * Get properties of specified deleted account resource.
80
+ * @param deletedAccountName Name of the deleted storage account.
81
+ * @param location The location of the deleted storage account.
82
+ * @param options The options parameters.
83
+ */
84
+ get(deletedAccountName, location, options) {
85
+ return this.client.sendOperationRequest({ deletedAccountName, location, options }, getOperationSpec);
86
+ }
87
+ /**
88
+ * ListNext
89
+ * @param nextLink The nextLink from the previous successful call to the List method.
90
+ * @param options The options parameters.
91
+ */
92
+ _listNext(nextLink, options) {
93
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
94
+ }
95
+ }
42
96
  // Operation Specifications
43
- var serializer = new msRest.Serializer(Mappers);
44
- var listOperationSpec = {
97
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
98
+ const listOperationSpec = {
99
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts",
45
100
  httpMethod: "GET",
46
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts",
47
- urlParameters: [
48
- Parameters.subscriptionId
49
- ],
50
- queryParameters: [
51
- Parameters.apiVersion
52
- ],
53
- headerParameters: [
54
- Parameters.acceptLanguage
55
- ],
56
101
  responses: {
57
102
  200: {
58
103
  bodyMapper: Mappers.DeletedAccountListResult
@@ -61,22 +106,14 @@ var listOperationSpec = {
61
106
  bodyMapper: Mappers.ErrorResponse
62
107
  }
63
108
  },
64
- serializer: serializer
109
+ queryParameters: [Parameters.apiVersion],
110
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
111
+ headerParameters: [Parameters.accept],
112
+ serializer
65
113
  };
66
- var getOperationSpec = {
114
+ const getOperationSpec = {
115
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}",
67
116
  httpMethod: "GET",
68
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}",
69
- urlParameters: [
70
- Parameters.deletedAccountName,
71
- Parameters.location,
72
- Parameters.subscriptionId
73
- ],
74
- queryParameters: [
75
- Parameters.apiVersion
76
- ],
77
- headerParameters: [
78
- Parameters.acceptLanguage
79
- ],
80
117
  responses: {
81
118
  200: {
82
119
  bodyMapper: Mappers.DeletedAccount
@@ -85,21 +122,19 @@ var getOperationSpec = {
85
122
  bodyMapper: Mappers.ErrorResponse
86
123
  }
87
124
  },
88
- serializer: serializer
89
- };
90
- var listNextOperationSpec = {
91
- httpMethod: "GET",
92
- baseUrl: "https://management.azure.com",
93
- path: "{nextLink}",
125
+ queryParameters: [Parameters.apiVersion],
94
126
  urlParameters: [
95
- Parameters.nextPageLink
96
- ],
97
- queryParameters: [
98
- Parameters.apiVersion
99
- ],
100
- headerParameters: [
101
- Parameters.acceptLanguage
127
+ Parameters.$host,
128
+ Parameters.subscriptionId,
129
+ Parameters.deletedAccountName,
130
+ Parameters.location
102
131
  ],
132
+ headerParameters: [Parameters.accept],
133
+ serializer
134
+ };
135
+ const listNextOperationSpec = {
136
+ path: "{nextLink}",
137
+ httpMethod: "GET",
103
138
  responses: {
104
139
  200: {
105
140
  bodyMapper: Mappers.DeletedAccountListResult
@@ -108,6 +143,13 @@ var listNextOperationSpec = {
108
143
  bodyMapper: Mappers.ErrorResponse
109
144
  }
110
145
  },
111
- serializer: serializer
146
+ queryParameters: [Parameters.apiVersion],
147
+ urlParameters: [
148
+ Parameters.$host,
149
+ Parameters.subscriptionId,
150
+ Parameters.nextLink
151
+ ],
152
+ headerParameters: [Parameters.accept],
153
+ serializer
112
154
  };
113
155
  //# sourceMappingURL=deletedAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deletedAccounts.js","sourceRoot":"","sources":["../../src/operations/deletedAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,4CAA4C;AAC5C;IAGE;;;OAGG;IACH,yBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,8BAAI,GAAJ,UAAK,OAA6F,EAAE,QAAkE;QACpK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAgD,CAAC;IAC7D,CAAC;IAuBD,6BAAG,GAAH,UAAI,kBAA0B,EAAE,QAAgB,EAAE,OAAmF,EAAE,QAAwD;QAC7L,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,QAAQ,UAAA;YACR,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IAoBD,kCAAQ,GAAR,UAAS,YAAoB,EAAE,OAA6F,EAAE,QAAkE;QAC9L,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAA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EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,uHAAuH;IACzH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,196 +1,95 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
1
+ import "@azure/core-paging";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { EncryptionScopes } from "../operationsInterfaces";
3
4
  import { StorageManagementClientContext } from "../storageManagementClientContext";
5
+ import { EncryptionScope, EncryptionScopesListOptionalParams, EncryptionScopesPutOptionalParams, EncryptionScopesPutResponse, EncryptionScopesPatchOptionalParams, EncryptionScopesPatchResponse, EncryptionScopesGetOptionalParams, EncryptionScopesGetResponse } from "../models";
4
6
  /** Class representing a EncryptionScopes. */
5
- export declare class EncryptionScopes {
7
+ export declare class EncryptionScopesImpl implements EncryptionScopes {
6
8
  private readonly client;
7
9
  /**
8
- * Create a EncryptionScopes.
9
- * @param {StorageManagementClientContext} client Reference to the service client.
10
+ * Initialize a new instance of the class EncryptionScopes class.
11
+ * @param client Reference to the service client
10
12
  */
11
13
  constructor(client: StorageManagementClientContext);
12
14
  /**
13
- * Synchronously creates or updates an encryption scope under the specified storage account. If an
14
- * encryption scope is already created and a subsequent request is issued with different
15
- * properties, the encryption scope properties will be updated per the specified request.
16
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
17
- * is case insensitive.
18
- * @param accountName The name of the storage account within the specified resource group. Storage
19
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
20
- * letters only.
21
- * @param encryptionScopeName The name of the encryption scope within the specified storage
22
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
23
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
24
- * followed by a letter or number.
25
- * @param encryptionScope Encryption scope properties to be used for the create or update.
26
- * @param [options] The optional parameters
27
- * @returns Promise<Models.EncryptionScopesPutResponse>
28
- */
29
- put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPutResponse>;
30
- /**
31
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
32
- * is case insensitive.
15
+ * Lists all the encryption scopes available under the specified storage account.
16
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
17
+ * case insensitive.
33
18
  * @param accountName The name of the storage account within the specified resource group. Storage
34
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
35
- * letters only.
36
- * @param encryptionScopeName The name of the encryption scope within the specified storage
37
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
38
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
39
- * followed by a letter or number.
40
- * @param encryptionScope Encryption scope properties to be used for the create or update.
41
- * @param callback The callback
19
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
20
+ * only.
21
+ * @param options The options parameters.
42
22
  */
43
- put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
23
+ list(resourceGroupName: string, accountName: string, options?: EncryptionScopesListOptionalParams): PagedAsyncIterableIterator<EncryptionScope>;
24
+ private listPagingPage;
25
+ private listPagingAll;
44
26
  /**
45
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
46
- * is case insensitive.
27
+ * Synchronously creates or updates an encryption scope under the specified storage account. If an
28
+ * encryption scope is already created and a subsequent request is issued with different properties,
29
+ * the encryption scope properties will be updated per the specified request.
30
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
31
+ * case insensitive.
47
32
  * @param accountName The name of the storage account within the specified resource group. Storage
48
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
49
- * letters only.
50
- * @param encryptionScopeName The name of the encryption scope within the specified storage
51
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
52
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
53
- * followed by a letter or number.
33
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
34
+ * only.
35
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
36
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
37
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
38
+ * letter or number.
54
39
  * @param encryptionScope Encryption scope properties to be used for the create or update.
55
- * @param options The optional parameters
56
- * @param callback The callback
57
- */
58
- put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
59
- /**
60
- * Update encryption scope properties as specified in the request body. Update fails if the
61
- * specified encryption scope does not already exist.
62
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
63
- * is case insensitive.
64
- * @param accountName The name of the storage account within the specified resource group. Storage
65
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
66
- * letters only.
67
- * @param encryptionScopeName The name of the encryption scope within the specified storage
68
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
69
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
70
- * followed by a letter or number.
71
- * @param encryptionScope Encryption scope properties to be used for the update.
72
- * @param [options] The optional parameters
73
- * @returns Promise<Models.EncryptionScopesPatchResponse>
74
- */
75
- patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPatchResponse>;
76
- /**
77
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
78
- * is case insensitive.
79
- * @param accountName The name of the storage account within the specified resource group. Storage
80
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
81
- * letters only.
82
- * @param encryptionScopeName The name of the encryption scope within the specified storage
83
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
84
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
85
- * followed by a letter or number.
86
- * @param encryptionScope Encryption scope properties to be used for the update.
87
- * @param callback The callback
40
+ * @param options The options parameters.
88
41
  */
89
- patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
42
+ put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPutOptionalParams): Promise<EncryptionScopesPutResponse>;
90
43
  /**
91
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
92
- * is case insensitive.
44
+ * Update encryption scope properties as specified in the request body. Update fails if the specified
45
+ * encryption scope does not already exist.
46
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
47
+ * case insensitive.
93
48
  * @param accountName The name of the storage account within the specified resource group. Storage
94
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
95
- * letters only.
96
- * @param encryptionScopeName The name of the encryption scope within the specified storage
97
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
98
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
99
- * followed by a letter or number.
49
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
50
+ * only.
51
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
52
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
53
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
54
+ * letter or number.
100
55
  * @param encryptionScope Encryption scope properties to be used for the update.
101
- * @param options The optional parameters
102
- * @param callback The callback
56
+ * @param options The options parameters.
103
57
  */
104
- patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
58
+ patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPatchOptionalParams): Promise<EncryptionScopesPatchResponse>;
105
59
  /**
106
60
  * Returns the properties for the specified encryption scope.
107
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
108
- * is case insensitive.
61
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
62
+ * case insensitive.
109
63
  * @param accountName The name of the storage account within the specified resource group. Storage
110
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
111
- * letters only.
112
- * @param encryptionScopeName The name of the encryption scope within the specified storage
113
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
114
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
115
- * followed by a letter or number.
116
- * @param [options] The optional parameters
117
- * @returns Promise<Models.EncryptionScopesGetResponse>
64
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
65
+ * only.
66
+ * @param encryptionScopeName The name of the encryption scope within the specified storage account.
67
+ * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
68
+ * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
69
+ * letter or number.
70
+ * @param options The options parameters.
118
71
  */
119
- get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesGetResponse>;
120
- /**
121
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
122
- * is case insensitive.
123
- * @param accountName The name of the storage account within the specified resource group. Storage
124
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
125
- * letters only.
126
- * @param encryptionScopeName The name of the encryption scope within the specified storage
127
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
128
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
129
- * followed by a letter or number.
130
- * @param callback The callback
131
- */
132
- get(resourceGroupName: string, accountName: string, encryptionScopeName: string, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
133
- /**
134
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
135
- * is case insensitive.
136
- * @param accountName The name of the storage account within the specified resource group. Storage
137
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
138
- * letters only.
139
- * @param encryptionScopeName The name of the encryption scope within the specified storage
140
- * account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
141
- * lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
142
- * followed by a letter or number.
143
- * @param options The optional parameters
144
- * @param callback The callback
145
- */
146
- get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
72
+ get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesGetOptionalParams): Promise<EncryptionScopesGetResponse>;
147
73
  /**
148
74
  * Lists all the encryption scopes available under the specified storage account.
149
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
150
- * is case insensitive.
151
- * @param accountName The name of the storage account within the specified resource group. Storage
152
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
153
- * letters only.
154
- * @param [options] The optional parameters
155
- * @returns Promise<Models.EncryptionScopesListResponse>
156
- */
157
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesListResponse>;
158
- /**
159
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
160
- * is case insensitive.
75
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
76
+ * case insensitive.
161
77
  * @param accountName The name of the storage account within the specified resource group. Storage
162
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
163
- * letters only.
164
- * @param callback The callback
78
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
79
+ * only.
80
+ * @param options The options parameters.
165
81
  */
166
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
82
+ private _list;
167
83
  /**
168
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
169
- * is case insensitive.
84
+ * ListNext
85
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
86
+ * case insensitive.
170
87
  * @param accountName The name of the storage account within the specified resource group. Storage
171
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
172
- * letters only.
173
- * @param options The optional parameters
174
- * @param callback The callback
175
- */
176
- list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
177
- /**
178
- * Lists all the encryption scopes available under the specified storage account.
179
- * @param nextPageLink The NextLink from the previous successful call to List operation.
180
- * @param [options] The optional parameters
181
- * @returns Promise<Models.EncryptionScopesListNextResponse>
182
- */
183
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesListNextResponse>;
184
- /**
185
- * @param nextPageLink The NextLink from the previous successful call to List operation.
186
- * @param callback The callback
187
- */
188
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
189
- /**
190
- * @param nextPageLink The NextLink from the previous successful call to List operation.
191
- * @param options The optional parameters
192
- * @param callback The callback
88
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
89
+ * only.
90
+ * @param nextLink The nextLink from the previous successful call to the List method.
91
+ * @param options The options parameters.
193
92
  */
194
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
93
+ private _listNext;
195
94
  }
196
95
  //# sourceMappingURL=encryptionScopes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"encryptionScopes.d.ts","sourceRoot":"","sources":["../../src/operations/encryptionScopes.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,6CAA6C;AAC7C,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAC;IAC3M;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,CAAC,e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