@azure/arm-storage-profile-2020-09-01-hybrid 1.1.1 → 2.0.1-alpha.20220315.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 (264) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +80 -80
  4. package/dist/index.js +5576 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1772 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +185 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +84 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1591 -1449
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +30 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +242 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
  29. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
  30. package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
  31. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
  32. package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
  33. package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
  34. package/dist-esm/src/operations/encryptionScopes.js +278 -0
  35. package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +4 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
  41. package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
  42. package/dist-esm/src/operations/managementPolicies.js +126 -0
  43. package/dist-esm/src/operations/managementPolicies.js.map +1 -0
  44. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +74 -0
  45. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +222 -0
  47. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
  48. package/dist-esm/src/operations/operations.d.ts +26 -0
  49. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/operations.js +87 -0
  51. package/dist-esm/src/operations/operations.js.map +1 -0
  52. package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
  53. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
  55. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  56. package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
  57. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  58. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  59. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  60. package/dist-esm/src/operations/skus.d.ts +26 -0
  61. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  62. package/dist-esm/src/operations/skus.js +87 -0
  63. package/dist-esm/src/operations/skus.js.map +1 -0
  64. package/dist-esm/src/operations/storageAccounts.d.ts +228 -0
  65. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
  66. package/dist-esm/src/operations/storageAccounts.js +722 -0
  67. package/dist-esm/src/operations/storageAccounts.js.map +1 -0
  68. package/dist-esm/src/operations/usages.d.ts +28 -0
  69. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  70. package/dist-esm/src/operations/usages.js +93 -0
  71. package/dist-esm/src/operations/usages.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  73. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
  77. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
  85. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
  89. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  93. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  97. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  101. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +196 -0
  109. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  113. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  116. package/dist-esm/src/storageManagementClient.d.ts +27 -0
  117. package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
  118. package/dist-esm/src/storageManagementClient.js +60 -0
  119. package/dist-esm/src/storageManagementClient.js.map +1 -0
  120. package/dist-esm/test/sampleTest.d.ts +2 -0
  121. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  122. package/dist-esm/test/sampleTest.js +40 -0
  123. package/dist-esm/test/sampleTest.js.map +1 -0
  124. package/package.json +74 -23
  125. package/review/arm-storage-profile-2020-09-01-hybrid.api.md +1396 -0
  126. package/rollup.config.js +115 -30
  127. package/src/index.ts +12 -0
  128. package/src/lroImpl.ts +34 -0
  129. package/src/models/index.ts +1411 -2087
  130. package/src/models/mappers.ts +1470 -1320
  131. package/src/models/parameters.ts +186 -76
  132. package/src/operations/blobInventoryPolicies.ts +282 -0
  133. package/src/operations/encryptionScopes.ts +238 -295
  134. package/src/operations/index.ts +4 -5
  135. package/src/operations/managementPolicies.ts +108 -182
  136. package/src/operations/objectReplicationPoliciesOperations.ts +186 -234
  137. package/src/operations/operations.ts +66 -45
  138. package/src/operations/privateEndpointConnections.ts +182 -221
  139. package/src/operations/privateLinkResources.ts +43 -67
  140. package/src/operations/skus.ts +64 -48
  141. package/src/operations/storageAccounts.ts +759 -838
  142. package/src/operations/usages.ts +78 -52
  143. package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
  144. package/src/operationsInterfaces/encryptionScopes.ts +102 -0
  145. package/src/operationsInterfaces/index.ts +18 -0
  146. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  147. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +91 -0
  148. package/src/operationsInterfaces/operations.ts +22 -0
  149. package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
  150. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  151. package/src/operationsInterfaces/skus.ts +22 -0
  152. package/src/operationsInterfaces/storageAccounts.ts +319 -0
  153. package/src/operationsInterfaces/usages.ts +24 -0
  154. package/src/storageManagementClient.ts +104 -51
  155. package/tsconfig.json +14 -6
  156. package/types/arm-storage-profile-2020-09-01-hybrid.d.ts +2508 -0
  157. package/types/tsdoc-metadata.json +11 -0
  158. package/dist/arm-storage-profile-2020-09-01-hybrid.js +0 -5027
  159. package/dist/arm-storage-profile-2020-09-01-hybrid.js.map +0 -1
  160. package/dist/arm-storage-profile-2020-09-01-hybrid.min.js +0 -1
  161. package/dist/arm-storage-profile-2020-09-01-hybrid.min.js.map +0 -1
  162. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  163. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  164. package/esm/models/encryptionScopesMappers.js +0 -9
  165. package/esm/models/encryptionScopesMappers.js.map +0 -1
  166. package/esm/models/index.d.ts +0 -2493
  167. package/esm/models/index.d.ts.map +0 -1
  168. package/esm/models/index.js +0 -8
  169. package/esm/models/index.js.map +0 -1
  170. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  171. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  172. package/esm/models/managementPoliciesMappers.js +0 -9
  173. package/esm/models/managementPoliciesMappers.js.map +0 -1
  174. package/esm/models/mappers.d.ts +0 -79
  175. package/esm/models/mappers.d.ts.map +0 -1
  176. package/esm/models/mappers.js.map +0 -1
  177. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  178. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  180. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  181. package/esm/models/operationsMappers.d.ts +0 -2
  182. package/esm/models/operationsMappers.d.ts.map +0 -1
  183. package/esm/models/operationsMappers.js +0 -9
  184. package/esm/models/operationsMappers.js.map +0 -1
  185. package/esm/models/parameters.d.ts +0 -15
  186. package/esm/models/parameters.d.ts.map +0 -1
  187. package/esm/models/parameters.js +0 -176
  188. package/esm/models/parameters.js.map +0 -1
  189. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  190. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  191. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  192. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  193. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  194. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  195. package/esm/models/privateLinkResourcesMappers.js +0 -9
  196. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  197. package/esm/models/skusMappers.d.ts +0 -2
  198. package/esm/models/skusMappers.d.ts.map +0 -1
  199. package/esm/models/skusMappers.js +0 -9
  200. package/esm/models/skusMappers.js.map +0 -1
  201. package/esm/models/storageAccountsMappers.d.ts +0 -2
  202. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  203. package/esm/models/storageAccountsMappers.js +0 -9
  204. package/esm/models/storageAccountsMappers.js.map +0 -1
  205. package/esm/models/usagesMappers.d.ts +0 -2
  206. package/esm/models/usagesMappers.d.ts.map +0 -1
  207. package/esm/models/usagesMappers.js +0 -9
  208. package/esm/models/usagesMappers.js.map +0 -1
  209. package/esm/operations/encryptionScopes.d.ts +0 -196
  210. package/esm/operations/encryptionScopes.d.ts.map +0 -1
  211. package/esm/operations/encryptionScopes.js +0 -197
  212. package/esm/operations/encryptionScopes.js.map +0 -1
  213. package/esm/operations/index.d.ts.map +0 -1
  214. package/esm/operations/index.js.map +0 -1
  215. package/esm/operations/managementPolicies.d.ts +0 -109
  216. package/esm/operations/managementPolicies.d.ts.map +0 -1
  217. package/esm/operations/managementPolicies.js +0 -130
  218. package/esm/operations/managementPolicies.js.map +0 -1
  219. package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
  220. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
  221. package/esm/operations/objectReplicationPoliciesOperations.js +0 -162
  222. package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
  223. package/esm/operations/operations.d.ts +0 -28
  224. package/esm/operations/operations.d.ts.map +0 -1
  225. package/esm/operations/operations.js +0 -51
  226. package/esm/operations/operations.js.map +0 -1
  227. package/esm/operations/privateEndpointConnections.d.ts +0 -154
  228. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  229. package/esm/operations/privateEndpointConnections.js +0 -162
  230. package/esm/operations/privateEndpointConnections.js.map +0 -1
  231. package/esm/operations/privateLinkResources.d.ts +0 -43
  232. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  233. package/esm/operations/privateLinkResources.js +0 -58
  234. package/esm/operations/privateLinkResources.js.map +0 -1
  235. package/esm/operations/skus.d.ts +0 -28
  236. package/esm/operations/skus.d.ts.map +0 -1
  237. package/esm/operations/skus.js +0 -54
  238. package/esm/operations/skus.js.map +0 -1
  239. package/esm/operations/storageAccounts.d.ts +0 -436
  240. package/esm/operations/storageAccounts.d.ts.map +0 -1
  241. package/esm/operations/storageAccounts.js +0 -611
  242. package/esm/operations/storageAccounts.js.map +0 -1
  243. package/esm/operations/usages.d.ts +0 -32
  244. package/esm/operations/usages.d.ts.map +0 -1
  245. package/esm/operations/usages.js +0 -56
  246. package/esm/operations/usages.js.map +0 -1
  247. package/esm/storageManagementClient.d.ts +0 -32
  248. package/esm/storageManagementClient.d.ts.map +0 -1
  249. package/esm/storageManagementClient.js +0 -46
  250. package/esm/storageManagementClient.js.map +0 -1
  251. package/esm/storageManagementClientContext.d.ts +0 -22
  252. package/esm/storageManagementClientContext.d.ts.map +0 -1
  253. package/esm/storageManagementClientContext.js +0 -61
  254. package/esm/storageManagementClientContext.js.map +0 -1
  255. package/src/models/encryptionScopesMappers.ts +0 -59
  256. package/src/models/managementPoliciesMappers.ts +0 -57
  257. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -58
  258. package/src/models/operationsMappers.ts +0 -17
  259. package/src/models/privateEndpointConnectionsMappers.ts +0 -59
  260. package/src/models/privateLinkResourcesMappers.ts +0 -58
  261. package/src/models/skusMappers.ts +0 -15
  262. package/src/models/storageAccountsMappers.ts +0 -69
  263. package/src/models/usagesMappers.ts +0 -14
  264. package/src/storageManagementClientContext.ts +0 -68
@@ -0,0 +1,73 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
3
+ import { StorageManagementClient } from "../storageManagementClient";
4
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
5
+ /** Class containing PrivateEndpointConnections operations. */
6
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateEndpointConnections class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: StorageManagementClient);
13
+ /**
14
+ * List all the private endpoint connections associated with the storage account.
15
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
16
+ * case insensitive.
17
+ * @param accountName The name of the storage account within the specified resource group. Storage
18
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
19
+ * only.
20
+ * @param options The options parameters.
21
+ */
22
+ list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
23
+ private listPagingPage;
24
+ private listPagingAll;
25
+ /**
26
+ * List all the private endpoint connections associated with the storage account.
27
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
28
+ * case insensitive.
29
+ * @param accountName The name of the storage account within the specified resource group. Storage
30
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
31
+ * only.
32
+ * @param options The options parameters.
33
+ */
34
+ private _list;
35
+ /**
36
+ * Gets the specified private endpoint connection associated with the storage account.
37
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
38
+ * case insensitive.
39
+ * @param accountName The name of the storage account within the specified resource group. Storage
40
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
41
+ * only.
42
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
43
+ * Azure resource
44
+ * @param options The options parameters.
45
+ */
46
+ get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
47
+ /**
48
+ * Update the state of specified private endpoint connection associated with the storage account.
49
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
50
+ * case insensitive.
51
+ * @param accountName The name of the storage account within the specified resource group. Storage
52
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
53
+ * only.
54
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
55
+ * Azure resource
56
+ * @param properties The private endpoint connection properties.
57
+ * @param options The options parameters.
58
+ */
59
+ put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
60
+ /**
61
+ * Deletes the specified private endpoint connection associated with the storage account.
62
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
63
+ * 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 letters
66
+ * only.
67
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
68
+ * Azure resource
69
+ * @param options The options parameters.
70
+ */
71
+ delete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
72
+ }
73
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAGnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC;YAezC,cAAc;YASd,aAAa;IAc5B;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;;;;;OAWG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAajD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CAWjB"}
@@ -0,0 +1,228 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing PrivateEndpointConnections operations. */
14
+ export class PrivateEndpointConnectionsImpl {
15
+ /**
16
+ * Initialize a new instance of the class PrivateEndpointConnections class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * List all the private endpoint connections associated with the storage account.
24
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
25
+ * case insensitive.
26
+ * @param accountName The name of the storage account within the specified resource group. Storage
27
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
28
+ * only.
29
+ * @param options The options parameters.
30
+ */
31
+ list(resourceGroupName, accountName, options) {
32
+ const iter = this.listPagingAll(resourceGroupName, accountName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: () => {
41
+ return this.listPagingPage(resourceGroupName, accountName, options);
42
+ }
43
+ };
44
+ }
45
+ listPagingPage(resourceGroupName, accountName, options) {
46
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
+ let result = yield __await(this._list(resourceGroupName, accountName, options));
48
+ yield yield __await(result.value || []);
49
+ });
50
+ }
51
+ listPagingAll(resourceGroupName, accountName, options) {
52
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
53
+ var e_1, _a;
54
+ try {
55
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
56
+ const page = _c.value;
57
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
58
+ }
59
+ }
60
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
61
+ finally {
62
+ try {
63
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
64
+ }
65
+ finally { if (e_1) throw e_1.error; }
66
+ }
67
+ });
68
+ }
69
+ /**
70
+ * List all the private endpoint connections associated with the storage account.
71
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
72
+ * case insensitive.
73
+ * @param accountName The name of the storage account within the specified resource group. Storage
74
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
75
+ * only.
76
+ * @param options The options parameters.
77
+ */
78
+ _list(resourceGroupName, accountName, options) {
79
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
80
+ }
81
+ /**
82
+ * Gets the specified private endpoint connection associated with the storage account.
83
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
84
+ * case insensitive.
85
+ * @param accountName The name of the storage account within the specified resource group. Storage
86
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
87
+ * only.
88
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
89
+ * Azure resource
90
+ * @param options The options parameters.
91
+ */
92
+ get(resourceGroupName, accountName, privateEndpointConnectionName, options) {
93
+ return this.client.sendOperationRequest({
94
+ resourceGroupName,
95
+ accountName,
96
+ privateEndpointConnectionName,
97
+ options
98
+ }, getOperationSpec);
99
+ }
100
+ /**
101
+ * Update the state of specified private endpoint connection associated with the storage account.
102
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
103
+ * case insensitive.
104
+ * @param accountName The name of the storage account within the specified resource group. Storage
105
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
106
+ * only.
107
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
108
+ * Azure resource
109
+ * @param properties The private endpoint connection properties.
110
+ * @param options The options parameters.
111
+ */
112
+ put(resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
113
+ return this.client.sendOperationRequest({
114
+ resourceGroupName,
115
+ accountName,
116
+ privateEndpointConnectionName,
117
+ properties,
118
+ options
119
+ }, putOperationSpec);
120
+ }
121
+ /**
122
+ * Deletes the specified private endpoint connection associated with the storage account.
123
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
124
+ * case insensitive.
125
+ * @param accountName The name of the storage account within the specified resource group. Storage
126
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
127
+ * only.
128
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
129
+ * Azure resource
130
+ * @param options The options parameters.
131
+ */
132
+ delete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
133
+ return this.client.sendOperationRequest({
134
+ resourceGroupName,
135
+ accountName,
136
+ privateEndpointConnectionName,
137
+ options
138
+ }, deleteOperationSpec);
139
+ }
140
+ }
141
+ // Operation Specifications
142
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
143
+ const listOperationSpec = {
144
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
145
+ httpMethod: "GET",
146
+ responses: {
147
+ 200: {
148
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
149
+ }
150
+ },
151
+ queryParameters: [Parameters.apiVersion],
152
+ urlParameters: [
153
+ Parameters.$host,
154
+ Parameters.subscriptionId,
155
+ Parameters.resourceGroupName,
156
+ Parameters.accountName1
157
+ ],
158
+ headerParameters: [Parameters.accept],
159
+ serializer
160
+ };
161
+ const getOperationSpec = {
162
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
163
+ httpMethod: "GET",
164
+ responses: {
165
+ 200: {
166
+ bodyMapper: Mappers.PrivateEndpointConnection
167
+ },
168
+ default: {
169
+ bodyMapper: Mappers.ErrorResponse
170
+ }
171
+ },
172
+ queryParameters: [Parameters.apiVersion],
173
+ urlParameters: [
174
+ Parameters.$host,
175
+ Parameters.subscriptionId,
176
+ Parameters.resourceGroupName,
177
+ Parameters.accountName1,
178
+ Parameters.privateEndpointConnectionName
179
+ ],
180
+ headerParameters: [Parameters.accept],
181
+ serializer
182
+ };
183
+ const putOperationSpec = {
184
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
185
+ httpMethod: "PUT",
186
+ responses: {
187
+ 200: {
188
+ bodyMapper: Mappers.PrivateEndpointConnection
189
+ },
190
+ default: {
191
+ bodyMapper: Mappers.ErrorResponse
192
+ }
193
+ },
194
+ requestBody: Parameters.properties2,
195
+ queryParameters: [Parameters.apiVersion],
196
+ urlParameters: [
197
+ Parameters.$host,
198
+ Parameters.subscriptionId,
199
+ Parameters.resourceGroupName,
200
+ Parameters.accountName1,
201
+ Parameters.privateEndpointConnectionName
202
+ ],
203
+ headerParameters: [Parameters.accept, Parameters.contentType],
204
+ mediaType: "json",
205
+ serializer
206
+ };
207
+ const deleteOperationSpec = {
208
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
209
+ httpMethod: "DELETE",
210
+ responses: {
211
+ 200: {},
212
+ 204: {},
213
+ default: {
214
+ bodyMapper: Mappers.ErrorResponse
215
+ }
216
+ },
217
+ queryParameters: [Parameters.apiVersion],
218
+ urlParameters: [
219
+ Parameters.$host,
220
+ Parameters.subscriptionId,
221
+ Parameters.resourceGroupName,
222
+ Parameters.accountName1,
223
+ Parameters.privateEndpointConnectionName
224
+ ],
225
+ headerParameters: [Parameters.accept],
226
+ serializer
227
+ };
228
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAanD,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAA+B;QAC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,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,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { PrivateLinkResources } from "../operationsInterfaces";
2
+ import { StorageManagementClient } from "../storageManagementClient";
3
+ import { PrivateLinkResourcesListByStorageAccountOptionalParams, PrivateLinkResourcesListByStorageAccountResponse } from "../models";
4
+ /** Class containing PrivateLinkResources operations. */
5
+ export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class PrivateLinkResources class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: StorageManagementClient);
12
+ /**
13
+ * Gets the private link resources that need to be created for a storage account.
14
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
15
+ * case insensitive.
16
+ * @param accountName The name of the storage account within the specified resource group. Storage
17
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
18
+ * only.
19
+ * @param options The options parameters.
20
+ */
21
+ listByStorageAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByStorageAccountOptionalParams): Promise<PrivateLinkResourcesListByStorageAccountResponse>;
22
+ }
23
+ //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,WAAW,CAAC;AAEnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;CAM7D"}
@@ -0,0 +1,53 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing PrivateLinkResources operations. */
12
+ export class PrivateLinkResourcesImpl {
13
+ /**
14
+ * Initialize a new instance of the class PrivateLinkResources class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets the private link resources that need to be created for a storage account.
22
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
23
+ * case insensitive.
24
+ * @param accountName The name of the storage account within the specified resource group. Storage
25
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
26
+ * only.
27
+ * @param options The options parameters.
28
+ */
29
+ listByStorageAccount(resourceGroupName, accountName, options) {
30
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByStorageAccountOperationSpec);
31
+ }
32
+ }
33
+ // Operation Specifications
34
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
35
+ const listByStorageAccountOperationSpec = {
36
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
37
+ httpMethod: "GET",
38
+ responses: {
39
+ 200: {
40
+ bodyMapper: Mappers.PrivateLinkResourceListResult
41
+ }
42
+ },
43
+ queryParameters: [Parameters.apiVersion],
44
+ urlParameters: [
45
+ Parameters.$host,
46
+ Parameters.subscriptionId,
47
+ Parameters.resourceGroupName,
48
+ Parameters.accountName1
49
+ ],
50
+ headerParameters: [Parameters.accept],
51
+ serializer
52
+ };
53
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAgE;QAEhE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iCAAiC,CAClC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,mJAAmJ;IACrJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Skus } from "../operationsInterfaces";
3
+ import { StorageManagementClient } from "../storageManagementClient";
4
+ import { SkuInformation, SkusListOptionalParams } from "../models";
5
+ /** Class containing Skus operations. */
6
+ export declare class SkusImpl implements Skus {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Skus class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: StorageManagementClient);
13
+ /**
14
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=skus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,cAAc,EACd,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,cAAc,CAAC;YAe9B,cAAc;YAOd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
@@ -0,0 +1,87 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Skus operations. */
14
+ export class SkusImpl {
15
+ /**
16
+ * Initialize a new instance of the class Skus class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ });
45
+ }
46
+ listPagingAll(options) {
47
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
48
+ var e_1, _a;
49
+ try {
50
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
51
+ const page = _c.value;
52
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
53
+ }
54
+ }
55
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
56
+ finally {
57
+ try {
58
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
59
+ }
60
+ finally { if (e_1) throw e_1.error; }
61
+ }
62
+ });
63
+ }
64
+ /**
65
+ * Lists the available SKUs supported by Microsoft.Storage for given subscription.
66
+ * @param options The options parameters.
67
+ */
68
+ _list(options) {
69
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
70
+ }
71
+ }
72
+ // Operation Specifications
73
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
74
+ const listOperationSpec = {
75
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus",
76
+ httpMethod: "GET",
77
+ responses: {
78
+ 200: {
79
+ bodyMapper: Mappers.StorageSkuListResult
80
+ }
81
+ },
82
+ queryParameters: [Parameters.apiVersion],
83
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
84
+ headerParameters: [Parameters.accept],
85
+ serializer
86
+ };
87
+ //# sourceMappingURL=skus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE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