@azure/arm-storage-profile-2020-09-01-hybrid 1.1.0 → 2.0.1-alpha.20220309.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +73 -22
  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
@@ -1,109 +1,130 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/privateEndpointConnectionsMappers";
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
14
+ import { StorageManagementClient } from "../storageManagementClient";
15
+ import {
16
+ PrivateEndpointConnection,
17
+ PrivateEndpointConnectionsListOptionalParams,
18
+ PrivateEndpointConnectionsListResponse,
19
+ PrivateEndpointConnectionsGetOptionalParams,
20
+ PrivateEndpointConnectionsGetResponse,
21
+ PrivateEndpointConnectionsPutOptionalParams,
22
+ PrivateEndpointConnectionsPutResponse,
23
+ PrivateEndpointConnectionsDeleteOptionalParams
24
+ } from "../models";
16
25
 
17
- /** Class representing a PrivateEndpointConnections. */
18
- export class PrivateEndpointConnections {
19
- private readonly client: StorageManagementClientContext;
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Class containing PrivateEndpointConnections operations. */
28
+ export class PrivateEndpointConnectionsImpl
29
+ implements PrivateEndpointConnections {
30
+ private readonly client: StorageManagementClient;
20
31
 
21
32
  /**
22
- * Create a PrivateEndpointConnections.
23
- * @param {StorageManagementClientContext} client Reference to the service client.
33
+ * Initialize a new instance of the class PrivateEndpointConnections class.
34
+ * @param client Reference to the service client
24
35
  */
25
- constructor(client: StorageManagementClientContext) {
36
+ constructor(client: StorageManagementClient) {
26
37
  this.client = client;
27
38
  }
28
39
 
29
40
  /**
30
41
  * List all the private endpoint connections associated with the storage account.
31
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
32
- * is case insensitive.
42
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
43
+ * case insensitive.
33
44
  * @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 [options] The optional parameters
37
- * @returns Promise<Models.PrivateEndpointConnectionsListResponse>
45
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
46
+ * only.
47
+ * @param options The options parameters.
38
48
  */
39
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsListResponse>;
40
- /**
41
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
42
- * is case insensitive.
43
- * @param accountName The name of the storage account within the specified resource group. Storage
44
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
45
- * letters only.
46
- * @param callback The callback
47
- */
48
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
49
+ public list(
50
+ resourceGroupName: string,
51
+ accountName: string,
52
+ options?: PrivateEndpointConnectionsListOptionalParams
53
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection> {
54
+ const iter = this.listPagingAll(resourceGroupName, accountName, options);
55
+ return {
56
+ next() {
57
+ return iter.next();
58
+ },
59
+ [Symbol.asyncIterator]() {
60
+ return this;
61
+ },
62
+ byPage: () => {
63
+ return this.listPagingPage(resourceGroupName, accountName, options);
64
+ }
65
+ };
66
+ }
67
+
68
+ private async *listPagingPage(
69
+ resourceGroupName: string,
70
+ accountName: string,
71
+ options?: PrivateEndpointConnectionsListOptionalParams
72
+ ): AsyncIterableIterator<PrivateEndpointConnection[]> {
73
+ let result = await this._list(resourceGroupName, accountName, options);
74
+ yield result.value || [];
75
+ }
76
+
77
+ private async *listPagingAll(
78
+ resourceGroupName: string,
79
+ accountName: string,
80
+ options?: PrivateEndpointConnectionsListOptionalParams
81
+ ): AsyncIterableIterator<PrivateEndpointConnection> {
82
+ for await (const page of this.listPagingPage(
83
+ resourceGroupName,
84
+ accountName,
85
+ options
86
+ )) {
87
+ yield* page;
88
+ }
89
+ }
90
+
49
91
  /**
50
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
51
- * is case insensitive.
92
+ * List all the private endpoint connections associated with the storage account.
93
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
94
+ * case insensitive.
52
95
  * @param accountName The name of the storage account within the specified resource group. Storage
53
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
54
- * letters only.
55
- * @param options The optional parameters
56
- * @param callback The callback
96
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
97
+ * only.
98
+ * @param options The options parameters.
57
99
  */
58
- list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
59
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): Promise<Models.PrivateEndpointConnectionsListResponse> {
100
+ private _list(
101
+ resourceGroupName: string,
102
+ accountName: string,
103
+ options?: PrivateEndpointConnectionsListOptionalParams
104
+ ): Promise<PrivateEndpointConnectionsListResponse> {
60
105
  return this.client.sendOperationRequest(
61
- {
62
- resourceGroupName,
63
- accountName,
64
- options
65
- },
66
- listOperationSpec,
67
- callback) as Promise<Models.PrivateEndpointConnectionsListResponse>;
106
+ { resourceGroupName, accountName, options },
107
+ listOperationSpec
108
+ );
68
109
  }
69
110
 
70
111
  /**
71
112
  * Gets the specified private endpoint connection associated with the storage account.
72
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
73
- * is case insensitive.
74
- * @param accountName The name of the storage account within the specified resource group. Storage
75
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
76
- * letters only.
77
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
78
- * the Azure resource
79
- * @param [options] The optional parameters
80
- * @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
81
- */
82
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
83
- /**
84
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
85
- * is case insensitive.
86
- * @param accountName The name of the storage account within the specified resource group. Storage
87
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
88
- * letters only.
89
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
90
- * the Azure resource
91
- * @param callback The callback
92
- */
93
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
94
- /**
95
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
96
- * is case insensitive.
113
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
114
+ * case insensitive.
97
115
  * @param accountName The name of the storage account within the specified resource group. Storage
98
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
99
- * letters only.
100
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
101
- * the Azure resource
102
- * @param options The optional parameters
103
- * @param callback The callback
116
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
117
+ * only.
118
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
119
+ * Azure resource
120
+ * @param options The options parameters.
104
121
  */
105
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
106
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnection>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnection>): Promise<Models.PrivateEndpointConnectionsGetResponse> {
122
+ get(
123
+ resourceGroupName: string,
124
+ accountName: string,
125
+ privateEndpointConnectionName: string,
126
+ options?: PrivateEndpointConnectionsGetOptionalParams
127
+ ): Promise<PrivateEndpointConnectionsGetResponse> {
107
128
  return this.client.sendOperationRequest(
108
129
  {
109
130
  resourceGroupName,
@@ -111,50 +132,29 @@ export class PrivateEndpointConnections {
111
132
  privateEndpointConnectionName,
112
133
  options
113
134
  },
114
- getOperationSpec,
115
- callback) as Promise<Models.PrivateEndpointConnectionsGetResponse>;
135
+ getOperationSpec
136
+ );
116
137
  }
117
138
 
118
139
  /**
119
140
  * Update the state of specified private endpoint connection associated with the storage account.
120
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
121
- * is case insensitive.
122
- * @param accountName The name of the storage account within the specified resource group. Storage
123
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
124
- * letters only.
125
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
126
- * the Azure resource
127
- * @param properties The private endpoint connection properties.
128
- * @param [options] The optional parameters
129
- * @returns Promise<Models.PrivateEndpointConnectionsPutResponse>
130
- */
131
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsPutResponse>;
132
- /**
133
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
134
- * is case insensitive.
141
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
142
+ * case insensitive.
135
143
  * @param accountName The name of the storage account within the specified resource group. Storage
136
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
137
- * letters only.
138
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
139
- * the Azure resource
144
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
145
+ * only.
146
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
147
+ * Azure resource
140
148
  * @param properties The private endpoint connection properties.
141
- * @param callback The callback
149
+ * @param options The options parameters.
142
150
  */
143
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
144
- /**
145
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
146
- * is case insensitive.
147
- * @param accountName The name of the storage account within the specified resource group. Storage
148
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
149
- * letters only.
150
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
151
- * the Azure resource
152
- * @param properties The private endpoint connection properties.
153
- * @param options The optional parameters
154
- * @param callback The callback
155
- */
156
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
157
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnection>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnection>): Promise<Models.PrivateEndpointConnectionsPutResponse> {
151
+ put(
152
+ resourceGroupName: string,
153
+ accountName: string,
154
+ privateEndpointConnectionName: string,
155
+ properties: PrivateEndpointConnection,
156
+ options?: PrivateEndpointConnectionsPutOptionalParams
157
+ ): Promise<PrivateEndpointConnectionsPutResponse> {
158
158
  return this.client.sendOperationRequest(
159
159
  {
160
160
  resourceGroupName,
@@ -163,47 +163,27 @@ export class PrivateEndpointConnections {
163
163
  properties,
164
164
  options
165
165
  },
166
- putOperationSpec,
167
- callback) as Promise<Models.PrivateEndpointConnectionsPutResponse>;
166
+ putOperationSpec
167
+ );
168
168
  }
169
169
 
170
170
  /**
171
171
  * Deletes the specified private endpoint connection associated with the storage account.
172
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
173
- * is case insensitive.
174
- * @param accountName The name of the storage account within the specified resource group. Storage
175
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
176
- * letters only.
177
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
178
- * the Azure resource
179
- * @param [options] The optional parameters
180
- * @returns Promise<msRest.RestResponse>
181
- */
182
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
183
- /**
184
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
185
- * is case insensitive.
186
- * @param accountName The name of the storage account within the specified resource group. Storage
187
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
188
- * letters only.
189
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
190
- * the Azure resource
191
- * @param callback The callback
192
- */
193
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<void>): void;
194
- /**
195
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
196
- * is case insensitive.
172
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
173
+ * case insensitive.
197
174
  * @param accountName The name of the storage account within the specified resource group. Storage
198
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
199
- * letters only.
200
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
201
- * the Azure resource
202
- * @param options The optional parameters
203
- * @param callback The callback
175
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
176
+ * only.
177
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
178
+ * Azure resource
179
+ * @param options The options parameters.
204
180
  */
205
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
206
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
181
+ delete(
182
+ resourceGroupName: string,
183
+ accountName: string,
184
+ privateEndpointConnectionName: string,
185
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
186
+ ): Promise<void> {
207
187
  return this.client.sendOperationRequest(
208
188
  {
209
189
  resourceGroupName,
@@ -211,53 +191,36 @@ export class PrivateEndpointConnections {
211
191
  privateEndpointConnectionName,
212
192
  options
213
193
  },
214
- deleteMethodOperationSpec,
215
- callback);
194
+ deleteOperationSpec
195
+ );
216
196
  }
217
197
  }
218
-
219
198
  // Operation Specifications
220
- const serializer = new msRest.Serializer(Mappers);
221
- const listOperationSpec: msRest.OperationSpec = {
199
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
200
+
201
+ const listOperationSpec: coreClient.OperationSpec = {
202
+ path:
203
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
222
204
  httpMethod: "GET",
223
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
224
- urlParameters: [
225
- Parameters.resourceGroupName,
226
- Parameters.accountName,
227
- Parameters.subscriptionId
228
- ],
229
- queryParameters: [
230
- Parameters.apiVersion
231
- ],
232
- headerParameters: [
233
- Parameters.acceptLanguage
234
- ],
235
205
  responses: {
236
206
  200: {
237
207
  bodyMapper: Mappers.PrivateEndpointConnectionListResult
238
- },
239
- default: {
240
- bodyMapper: Mappers.CloudError
241
208
  }
242
209
  },
243
- serializer
244
- };
245
-
246
- const getOperationSpec: msRest.OperationSpec = {
247
- httpMethod: "GET",
248
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
210
+ queryParameters: [Parameters.apiVersion],
249
211
  urlParameters: [
250
- Parameters.resourceGroupName,
251
- Parameters.accountName,
212
+ Parameters.$host,
252
213
  Parameters.subscriptionId,
253
- Parameters.privateEndpointConnectionName
254
- ],
255
- queryParameters: [
256
- Parameters.apiVersion
257
- ],
258
- headerParameters: [
259
- Parameters.acceptLanguage
214
+ Parameters.resourceGroupName,
215
+ Parameters.accountName1
260
216
  ],
217
+ headerParameters: [Parameters.accept],
218
+ serializer
219
+ };
220
+ const getOperationSpec: coreClient.OperationSpec = {
221
+ path:
222
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
223
+ httpMethod: "GET",
261
224
  responses: {
262
225
  200: {
263
226
  bodyMapper: Mappers.PrivateEndpointConnection
@@ -266,31 +229,21 @@ const getOperationSpec: msRest.OperationSpec = {
266
229
  bodyMapper: Mappers.ErrorResponse
267
230
  }
268
231
  },
269
- serializer
270
- };
271
-
272
- const putOperationSpec: msRest.OperationSpec = {
273
- httpMethod: "PUT",
274
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
232
+ queryParameters: [Parameters.apiVersion],
275
233
  urlParameters: [
276
- Parameters.resourceGroupName,
277
- Parameters.accountName,
234
+ Parameters.$host,
278
235
  Parameters.subscriptionId,
236
+ Parameters.resourceGroupName,
237
+ Parameters.accountName1,
279
238
  Parameters.privateEndpointConnectionName
280
239
  ],
281
- queryParameters: [
282
- Parameters.apiVersion
283
- ],
284
- headerParameters: [
285
- Parameters.acceptLanguage
286
- ],
287
- requestBody: {
288
- parameterPath: "properties",
289
- mapper: {
290
- ...Mappers.PrivateEndpointConnection,
291
- required: true
292
- }
293
- },
240
+ headerParameters: [Parameters.accept],
241
+ serializer
242
+ };
243
+ const putOperationSpec: coreClient.OperationSpec = {
244
+ path:
245
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
246
+ httpMethod: "PUT",
294
247
  responses: {
295
248
  200: {
296
249
  bodyMapper: Mappers.PrivateEndpointConnection
@@ -299,24 +252,23 @@ const putOperationSpec: msRest.OperationSpec = {
299
252
  bodyMapper: Mappers.ErrorResponse
300
253
  }
301
254
  },
302
- serializer
303
- };
304
-
305
- const deleteMethodOperationSpec: msRest.OperationSpec = {
306
- httpMethod: "DELETE",
307
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
255
+ requestBody: Parameters.properties2,
256
+ queryParameters: [Parameters.apiVersion],
308
257
  urlParameters: [
309
- Parameters.resourceGroupName,
310
- Parameters.accountName,
258
+ Parameters.$host,
311
259
  Parameters.subscriptionId,
260
+ Parameters.resourceGroupName,
261
+ Parameters.accountName1,
312
262
  Parameters.privateEndpointConnectionName
313
263
  ],
314
- queryParameters: [
315
- Parameters.apiVersion
316
- ],
317
- headerParameters: [
318
- Parameters.acceptLanguage
319
- ],
264
+ headerParameters: [Parameters.accept, Parameters.contentType],
265
+ mediaType: "json",
266
+ serializer
267
+ };
268
+ const deleteOperationSpec: coreClient.OperationSpec = {
269
+ path:
270
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
271
+ httpMethod: "DELETE",
320
272
  responses: {
321
273
  200: {},
322
274
  204: {},
@@ -324,5 +276,14 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
324
276
  bodyMapper: Mappers.ErrorResponse
325
277
  }
326
278
  },
279
+ queryParameters: [Parameters.apiVersion],
280
+ urlParameters: [
281
+ Parameters.$host,
282
+ Parameters.subscriptionId,
283
+ Parameters.resourceGroupName,
284
+ Parameters.accountName1,
285
+ Parameters.privateEndpointConnectionName
286
+ ],
287
+ headerParameters: [Parameters.accept],
327
288
  serializer
328
289
  };
@@ -1,96 +1,72 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/privateLinkResourcesMappers";
9
+ import { PrivateLinkResources } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
14
12
  import * as Parameters from "../models/parameters";
15
- import { StorageManagementClientContext } from "../storageManagementClientContext";
13
+ import { StorageManagementClient } from "../storageManagementClient";
14
+ import {
15
+ PrivateLinkResourcesListByStorageAccountOptionalParams,
16
+ PrivateLinkResourcesListByStorageAccountResponse
17
+ } from "../models";
16
18
 
17
- /** Class representing a PrivateLinkResources. */
18
- export class PrivateLinkResources {
19
- private readonly client: StorageManagementClientContext;
19
+ /** Class containing PrivateLinkResources operations. */
20
+ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
21
+ private readonly client: StorageManagementClient;
20
22
 
21
23
  /**
22
- * Create a PrivateLinkResources.
23
- * @param {StorageManagementClientContext} client Reference to the service client.
24
+ * Initialize a new instance of the class PrivateLinkResources class.
25
+ * @param client Reference to the service client
24
26
  */
25
- constructor(client: StorageManagementClientContext) {
27
+ constructor(client: StorageManagementClient) {
26
28
  this.client = client;
27
29
  }
28
30
 
29
31
  /**
30
32
  * Gets the private link resources that need to be created for a storage account.
31
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
32
- * is case insensitive.
33
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
34
+ * case insensitive.
33
35
  * @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 [options] The optional parameters
37
- * @returns Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>
36
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
37
+ * only.
38
+ * @param options The options parameters.
38
39
  */
39
- listByStorageAccount(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>;
40
- /**
41
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
42
- * is case insensitive.
43
- * @param accountName The name of the storage account within the specified resource group. Storage
44
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
45
- * letters only.
46
- * @param callback The callback
47
- */
48
- listByStorageAccount(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
49
- /**
50
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
51
- * is case insensitive.
52
- * @param accountName The name of the storage account within the specified resource group. Storage
53
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
54
- * letters only.
55
- * @param options The optional parameters
56
- * @param callback The callback
57
- */
58
- listByStorageAccount(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
59
- listByStorageAccount(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateLinkResourceListResult>, callback?: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): Promise<Models.PrivateLinkResourcesListByStorageAccountResponse> {
40
+ listByStorageAccount(
41
+ resourceGroupName: string,
42
+ accountName: string,
43
+ options?: PrivateLinkResourcesListByStorageAccountOptionalParams
44
+ ): Promise<PrivateLinkResourcesListByStorageAccountResponse> {
60
45
  return this.client.sendOperationRequest(
61
- {
62
- resourceGroupName,
63
- accountName,
64
- options
65
- },
66
- listByStorageAccountOperationSpec,
67
- callback) as Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>;
46
+ { resourceGroupName, accountName, options },
47
+ listByStorageAccountOperationSpec
48
+ );
68
49
  }
69
50
  }
70
-
71
51
  // Operation Specifications
72
- const serializer = new msRest.Serializer(Mappers);
73
- const listByStorageAccountOperationSpec: msRest.OperationSpec = {
52
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
53
+
54
+ const listByStorageAccountOperationSpec: coreClient.OperationSpec = {
55
+ path:
56
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
74
57
  httpMethod: "GET",
75
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
76
- urlParameters: [
77
- Parameters.resourceGroupName,
78
- Parameters.accountName,
79
- Parameters.subscriptionId
80
- ],
81
- queryParameters: [
82
- Parameters.apiVersion
83
- ],
84
- headerParameters: [
85
- Parameters.acceptLanguage
86
- ],
87
58
  responses: {
88
59
  200: {
89
60
  bodyMapper: Mappers.PrivateLinkResourceListResult
90
- },
91
- default: {
92
- bodyMapper: Mappers.CloudError
93
61
  }
94
62
  },
63
+ queryParameters: [Parameters.apiVersion],
64
+ urlParameters: [
65
+ Parameters.$host,
66
+ Parameters.subscriptionId,
67
+ Parameters.resourceGroupName,
68
+ Parameters.accountName1
69
+ ],
70
+ headerParameters: [Parameters.accept],
95
71
  serializer
96
72
  };