@azure/arm-servicefabricmesh 2.2.1 → 3.0.0-beta.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 (267) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +5478 -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/models/index.d.ts +1366 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +121 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +105 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +25 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/parameters.js +104 -62
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/application.d.ts +82 -0
  25. package/dist-esm/src/operations/application.d.ts.map +1 -0
  26. package/dist-esm/src/operations/application.js +340 -0
  27. package/dist-esm/src/operations/application.js.map +1 -0
  28. package/dist-esm/src/operations/codePackage.d.ts +23 -0
  29. package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
  30. package/dist-esm/src/operations/codePackage.js +66 -0
  31. package/dist-esm/src/operations/codePackage.js.map +1 -0
  32. package/dist-esm/src/operations/gateway.d.ts +83 -0
  33. package/dist-esm/src/operations/gateway.d.ts.map +1 -0
  34. package/dist-esm/src/operations/gateway.js +341 -0
  35. package/dist-esm/src/operations/gateway.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +3 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/network.d.ts +82 -0
  41. package/dist-esm/src/operations/network.d.ts.map +1 -0
  42. package/dist-esm/src/operations/network.js +340 -0
  43. package/dist-esm/src/operations/network.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/secret.d.ts +81 -0
  49. package/dist-esm/src/operations/secret.d.ts.map +1 -0
  50. package/dist-esm/src/operations/secret.js +339 -0
  51. package/dist-esm/src/operations/secret.js.map +1 -0
  52. package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
  53. package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/secretValueOperations.js +303 -0
  55. package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
  56. package/dist-esm/src/operations/service.d.ts +49 -0
  57. package/dist-esm/src/operations/service.d.ts.map +1 -0
  58. package/dist-esm/src/operations/service.js +177 -0
  59. package/dist-esm/src/operations/service.js.map +1 -0
  60. package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
  61. package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
  62. package/dist-esm/src/operations/serviceReplica.js +196 -0
  63. package/dist-esm/src/operations/serviceReplica.js.map +1 -0
  64. package/dist-esm/src/operations/volume.d.ts +81 -0
  65. package/dist-esm/src/operations/volume.d.ts.map +1 -0
  66. package/dist-esm/src/operations/volume.js +339 -0
  67. package/dist-esm/src/operations/volume.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
  69. package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/application.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
  73. package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
  77. package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/gateway.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/network.d.ts +44 -0
  85. package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/network.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
  93. package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/secret.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
  97. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
  101. package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/service.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
  105. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
  109. package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/volume.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
  112. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
  113. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
  114. package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
  115. package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +2 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +40 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +85 -26
  121. package/review/arm-servicefabricmesh.api.md +1210 -0
  122. package/rollup.config.js +184 -27
  123. package/src/index.ts +12 -0
  124. package/src/models/index.ts +1281 -2775
  125. package/src/models/mappers.ts +1315 -1344
  126. package/src/models/parameters.ts +138 -63
  127. package/src/operations/application.ts +260 -269
  128. package/src/operations/codePackage.ts +44 -60
  129. package/src/operations/gateway.ts +263 -272
  130. package/src/operations/index.ts +3 -5
  131. package/src/operations/network.ts +262 -271
  132. package/src/operations/operations.ts +87 -75
  133. package/src/operations/secret.ts +261 -271
  134. package/src/operations/secretValueOperations.ts +239 -259
  135. package/src/operations/service.ts +161 -124
  136. package/src/operations/serviceReplica.ts +177 -120
  137. package/src/operations/volume.ts +261 -271
  138. package/src/operationsInterfaces/application.ts +80 -0
  139. package/src/operationsInterfaces/codePackage.ts +33 -0
  140. package/src/operationsInterfaces/gateway.ts +81 -0
  141. package/src/operationsInterfaces/index.ts +18 -0
  142. package/src/operationsInterfaces/network.ts +80 -0
  143. package/src/operationsInterfaces/operations.ts +22 -0
  144. package/src/operationsInterfaces/secret.ts +79 -0
  145. package/src/operationsInterfaces/secretValueOperations.ts +99 -0
  146. package/src/operationsInterfaces/service.ts +46 -0
  147. package/src/operationsInterfaces/serviceReplica.ts +50 -0
  148. package/src/operationsInterfaces/volume.ts +79 -0
  149. package/src/serviceFabricMeshManagementClient.ts +102 -53
  150. package/tsconfig.json +20 -7
  151. package/types/arm-servicefabricmesh.d.ts +1940 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-servicefabricmesh.js +0 -5363
  154. package/dist/arm-servicefabricmesh.js.map +0 -1
  155. package/dist/arm-servicefabricmesh.min.js +0 -1
  156. package/dist/arm-servicefabricmesh.min.js.map +0 -1
  157. package/esm/models/applicationMappers.d.ts +0 -2
  158. package/esm/models/applicationMappers.d.ts.map +0 -1
  159. package/esm/models/applicationMappers.js +0 -11
  160. package/esm/models/applicationMappers.js.map +0 -1
  161. package/esm/models/codePackageMappers.d.ts +0 -2
  162. package/esm/models/codePackageMappers.d.ts.map +0 -1
  163. package/esm/models/codePackageMappers.js +0 -11
  164. package/esm/models/codePackageMappers.js.map +0 -1
  165. package/esm/models/gatewayMappers.d.ts +0 -2
  166. package/esm/models/gatewayMappers.d.ts.map +0 -1
  167. package/esm/models/gatewayMappers.js +0 -11
  168. package/esm/models/gatewayMappers.js.map +0 -1
  169. package/esm/models/index.d.ts +0 -2938
  170. package/esm/models/index.d.ts.map +0 -1
  171. package/esm/models/index.js +0 -10
  172. package/esm/models/index.js.map +0 -1
  173. package/esm/models/mappers.d.ts +0 -102
  174. package/esm/models/mappers.d.ts.map +0 -1
  175. package/esm/models/mappers.js.map +0 -1
  176. package/esm/models/networkMappers.d.ts +0 -2
  177. package/esm/models/networkMappers.d.ts.map +0 -1
  178. package/esm/models/networkMappers.js +0 -11
  179. package/esm/models/networkMappers.js.map +0 -1
  180. package/esm/models/operationsMappers.d.ts +0 -2
  181. package/esm/models/operationsMappers.d.ts.map +0 -1
  182. package/esm/models/operationsMappers.js +0 -11
  183. package/esm/models/operationsMappers.js.map +0 -1
  184. package/esm/models/parameters.d.ts +0 -17
  185. package/esm/models/parameters.d.ts.map +0 -1
  186. package/esm/models/parameters.js.map +0 -1
  187. package/esm/models/secretMappers.d.ts +0 -2
  188. package/esm/models/secretMappers.d.ts.map +0 -1
  189. package/esm/models/secretMappers.js +0 -11
  190. package/esm/models/secretMappers.js.map +0 -1
  191. package/esm/models/secretValueOperationsMappers.d.ts +0 -2
  192. package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
  193. package/esm/models/secretValueOperationsMappers.js +0 -11
  194. package/esm/models/secretValueOperationsMappers.js.map +0 -1
  195. package/esm/models/serviceMappers.d.ts +0 -2
  196. package/esm/models/serviceMappers.d.ts.map +0 -1
  197. package/esm/models/serviceMappers.js +0 -11
  198. package/esm/models/serviceMappers.js.map +0 -1
  199. package/esm/models/serviceReplicaMappers.d.ts +0 -2
  200. package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
  201. package/esm/models/serviceReplicaMappers.js +0 -11
  202. package/esm/models/serviceReplicaMappers.js.map +0 -1
  203. package/esm/models/volumeMappers.d.ts +0 -2
  204. package/esm/models/volumeMappers.d.ts.map +0 -1
  205. package/esm/models/volumeMappers.js +0 -11
  206. package/esm/models/volumeMappers.js.map +0 -1
  207. package/esm/operations/application.d.ts +0 -162
  208. package/esm/operations/application.d.ts.map +0 -1
  209. package/esm/operations/application.js +0 -238
  210. package/esm/operations/application.js.map +0 -1
  211. package/esm/operations/codePackage.d.ts +0 -44
  212. package/esm/operations/codePackage.d.ts.map +0 -1
  213. package/esm/operations/codePackage.js +0 -65
  214. package/esm/operations/codePackage.js.map +0 -1
  215. package/esm/operations/gateway.d.ts +0 -163
  216. package/esm/operations/gateway.d.ts.map +0 -1
  217. package/esm/operations/gateway.js +0 -238
  218. package/esm/operations/gateway.js.map +0 -1
  219. package/esm/operations/index.d.ts.map +0 -1
  220. package/esm/operations/index.js.map +0 -1
  221. package/esm/operations/network.d.ts +0 -162
  222. package/esm/operations/network.d.ts.map +0 -1
  223. package/esm/operations/network.js +0 -238
  224. package/esm/operations/network.js.map +0 -1
  225. package/esm/operations/operations.d.ts +0 -48
  226. package/esm/operations/operations.d.ts.map +0 -1
  227. package/esm/operations/operations.js +0 -77
  228. package/esm/operations/operations.js.map +0 -1
  229. package/esm/operations/secret.d.ts +0 -162
  230. package/esm/operations/secret.d.ts.map +0 -1
  231. package/esm/operations/secret.js +0 -238
  232. package/esm/operations/secret.js.map +0 -1
  233. package/esm/operations/secretValueOperations.d.ts +0 -175
  234. package/esm/operations/secretValueOperations.d.ts.map +0 -1
  235. package/esm/operations/secretValueOperations.js +0 -226
  236. package/esm/operations/secretValueOperations.js.map +0 -1
  237. package/esm/operations/service.d.ts +0 -82
  238. package/esm/operations/service.d.ts.map +0 -1
  239. package/esm/operations/service.js +0 -117
  240. package/esm/operations/service.js.map +0 -1
  241. package/esm/operations/serviceReplica.d.ts +0 -88
  242. package/esm/operations/serviceReplica.d.ts.map +0 -1
  243. package/esm/operations/serviceReplica.js +0 -121
  244. package/esm/operations/serviceReplica.js.map +0 -1
  245. package/esm/operations/volume.d.ts +0 -162
  246. package/esm/operations/volume.d.ts.map +0 -1
  247. package/esm/operations/volume.js +0 -238
  248. package/esm/operations/volume.js.map +0 -1
  249. package/esm/serviceFabricMeshManagementClient.d.ts +0 -33
  250. package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
  251. package/esm/serviceFabricMeshManagementClient.js +0 -47
  252. package/esm/serviceFabricMeshManagementClient.js.map +0 -1
  253. package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -22
  254. package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
  255. package/esm/serviceFabricMeshManagementClientContext.js +0 -61
  256. package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
  257. package/src/models/applicationMappers.ts +0 -76
  258. package/src/models/codePackageMappers.ts +0 -18
  259. package/src/models/gatewayMappers.ts +0 -76
  260. package/src/models/networkMappers.ts +0 -76
  261. package/src/models/operationsMappers.ts +0 -20
  262. package/src/models/secretMappers.ts +0 -76
  263. package/src/models/secretValueOperationsMappers.ts +0 -77
  264. package/src/models/serviceMappers.ts +0 -76
  265. package/src/models/serviceReplicaMappers.ts +0 -40
  266. package/src/models/volumeMappers.ts +0 -76
  267. package/src/serviceFabricMeshManagementClientContext.ts +0 -68
@@ -1,60 +1,160 @@
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/gatewayMappers";
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Gateway } 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 { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext";
14
+ import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
15
+ import {
16
+ GatewayResourceDescription,
17
+ GatewayListByResourceGroupNextOptionalParams,
18
+ GatewayListByResourceGroupOptionalParams,
19
+ GatewayListBySubscriptionNextOptionalParams,
20
+ GatewayListBySubscriptionOptionalParams,
21
+ GatewayCreateOptionalParams,
22
+ GatewayCreateResponse,
23
+ GatewayGetOptionalParams,
24
+ GatewayGetResponse,
25
+ GatewayDeleteOptionalParams,
26
+ GatewayListByResourceGroupResponse,
27
+ GatewayListBySubscriptionResponse,
28
+ GatewayListByResourceGroupNextResponse,
29
+ GatewayListBySubscriptionNextResponse
30
+ } from "../models";
16
31
 
17
- /** Class representing a Gateway. */
18
- export class Gateway {
19
- private readonly client: ServiceFabricMeshManagementClientContext;
32
+ /// <reference lib="esnext.asynciterable" />
33
+ /** Class containing Gateway operations. */
34
+ export class GatewayImpl implements Gateway {
35
+ private readonly client: ServiceFabricMeshManagementClient;
20
36
 
21
37
  /**
22
- * Create a Gateway.
23
- * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client.
38
+ * Initialize a new instance of the class Gateway class.
39
+ * @param client Reference to the service client
24
40
  */
25
- constructor(client: ServiceFabricMeshManagementClientContext) {
41
+ constructor(client: ServiceFabricMeshManagementClient) {
26
42
  this.client = client;
27
43
  }
28
44
 
29
45
  /**
30
- * Creates a gateway resource with the specified name, description and properties. If a gateway
31
- * resource with the same name exists, then it is updated with the specified description and
32
- * properties. Use gateway resources to create a gateway for public connectivity for services
33
- * within your application.
34
- * @summary Creates or updates a gateway resource.
46
+ * Gets the information about all gateway resources in a given resource group. The information include
47
+ * the description and other properties of the Gateway.
35
48
  * @param resourceGroupName Azure resource group name
36
- * @param gatewayResourceName The identity of the gateway.
37
- * @param gatewayResourceDescription Description for creating a Gateway resource.
38
- * @param [options] The optional parameters
39
- * @returns Promise<Models.GatewayCreateResponse>
49
+ * @param options The options parameters.
40
50
  */
41
- create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase): Promise<Models.GatewayCreateResponse>;
51
+ public listByResourceGroup(
52
+ resourceGroupName: string,
53
+ options?: GatewayListByResourceGroupOptionalParams
54
+ ): PagedAsyncIterableIterator<GatewayResourceDescription> {
55
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
56
+ return {
57
+ next() {
58
+ return iter.next();
59
+ },
60
+ [Symbol.asyncIterator]() {
61
+ return this;
62
+ },
63
+ byPage: () => {
64
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
65
+ }
66
+ };
67
+ }
68
+
69
+ private async *listByResourceGroupPagingPage(
70
+ resourceGroupName: string,
71
+ options?: GatewayListByResourceGroupOptionalParams
72
+ ): AsyncIterableIterator<GatewayResourceDescription[]> {
73
+ let result = await this._listByResourceGroup(resourceGroupName, options);
74
+ yield result.value || [];
75
+ let continuationToken = result.nextLink;
76
+ while (continuationToken) {
77
+ result = await this._listByResourceGroupNext(
78
+ resourceGroupName,
79
+ continuationToken,
80
+ options
81
+ );
82
+ continuationToken = result.nextLink;
83
+ yield result.value || [];
84
+ }
85
+ }
86
+
87
+ private async *listByResourceGroupPagingAll(
88
+ resourceGroupName: string,
89
+ options?: GatewayListByResourceGroupOptionalParams
90
+ ): AsyncIterableIterator<GatewayResourceDescription> {
91
+ for await (const page of this.listByResourceGroupPagingPage(
92
+ resourceGroupName,
93
+ options
94
+ )) {
95
+ yield* page;
96
+ }
97
+ }
98
+
42
99
  /**
43
- * @param resourceGroupName Azure resource group name
44
- * @param gatewayResourceName The identity of the gateway.
45
- * @param gatewayResourceDescription Description for creating a Gateway resource.
46
- * @param callback The callback
100
+ * Gets the information about all gateway resources in a given resource group. The information include
101
+ * the description and other properties of the gateway.
102
+ * @param options The options parameters.
47
103
  */
48
- create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
104
+ public listBySubscription(
105
+ options?: GatewayListBySubscriptionOptionalParams
106
+ ): PagedAsyncIterableIterator<GatewayResourceDescription> {
107
+ const iter = this.listBySubscriptionPagingAll(options);
108
+ return {
109
+ next() {
110
+ return iter.next();
111
+ },
112
+ [Symbol.asyncIterator]() {
113
+ return this;
114
+ },
115
+ byPage: () => {
116
+ return this.listBySubscriptionPagingPage(options);
117
+ }
118
+ };
119
+ }
120
+
121
+ private async *listBySubscriptionPagingPage(
122
+ options?: GatewayListBySubscriptionOptionalParams
123
+ ): AsyncIterableIterator<GatewayResourceDescription[]> {
124
+ let result = await this._listBySubscription(options);
125
+ yield result.value || [];
126
+ let continuationToken = result.nextLink;
127
+ while (continuationToken) {
128
+ result = await this._listBySubscriptionNext(continuationToken, options);
129
+ continuationToken = result.nextLink;
130
+ yield result.value || [];
131
+ }
132
+ }
133
+
134
+ private async *listBySubscriptionPagingAll(
135
+ options?: GatewayListBySubscriptionOptionalParams
136
+ ): AsyncIterableIterator<GatewayResourceDescription> {
137
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
138
+ yield* page;
139
+ }
140
+ }
141
+
49
142
  /**
143
+ * Creates a gateway resource with the specified name, description and properties. If a gateway
144
+ * resource with the same name exists, then it is updated with the specified description and
145
+ * properties. Use gateway resources to create a gateway for public connectivity for services within
146
+ * your application.
50
147
  * @param resourceGroupName Azure resource group name
51
148
  * @param gatewayResourceName The identity of the gateway.
52
149
  * @param gatewayResourceDescription Description for creating a Gateway resource.
53
- * @param options The optional parameters
54
- * @param callback The callback
150
+ * @param options The options parameters.
55
151
  */
56
- create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
57
- create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescription>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescription>): Promise<Models.GatewayCreateResponse> {
152
+ create(
153
+ resourceGroupName: string,
154
+ gatewayResourceName: string,
155
+ gatewayResourceDescription: GatewayResourceDescription,
156
+ options?: GatewayCreateOptionalParams
157
+ ): Promise<GatewayCreateResponse> {
58
158
  return this.client.sendOperationRequest(
59
159
  {
60
160
  resourceGroupName,
@@ -62,217 +162,114 @@ export class Gateway {
62
162
  gatewayResourceDescription,
63
163
  options
64
164
  },
65
- createOperationSpec,
66
- callback) as Promise<Models.GatewayCreateResponse>;
165
+ createOperationSpec
166
+ );
67
167
  }
68
168
 
69
169
  /**
70
170
  * Gets the information about the gateway resource with the given name. The information include the
71
171
  * description and other properties of the gateway.
72
- * @summary Gets the gateway resource with the given name.
73
- * @param resourceGroupName Azure resource group name
74
- * @param gatewayResourceName The identity of the gateway.
75
- * @param [options] The optional parameters
76
- * @returns Promise<Models.GatewayGetResponse>
77
- */
78
- get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayGetResponse>;
79
- /**
80
172
  * @param resourceGroupName Azure resource group name
81
173
  * @param gatewayResourceName The identity of the gateway.
82
- * @param callback The callback
174
+ * @param options The options parameters.
83
175
  */
84
- get(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
85
- /**
86
- * @param resourceGroupName Azure resource group name
87
- * @param gatewayResourceName The identity of the gateway.
88
- * @param options The optional parameters
89
- * @param callback The callback
90
- */
91
- get(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
92
- get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescription>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescription>): Promise<Models.GatewayGetResponse> {
176
+ get(
177
+ resourceGroupName: string,
178
+ gatewayResourceName: string,
179
+ options?: GatewayGetOptionalParams
180
+ ): Promise<GatewayGetResponse> {
93
181
  return this.client.sendOperationRequest(
94
- {
95
- resourceGroupName,
96
- gatewayResourceName,
97
- options
98
- },
99
- getOperationSpec,
100
- callback) as Promise<Models.GatewayGetResponse>;
182
+ { resourceGroupName, gatewayResourceName, options },
183
+ getOperationSpec
184
+ );
101
185
  }
102
186
 
103
187
  /**
104
188
  * Deletes the gateway resource identified by the name.
105
- * @summary Deletes the gateway resource.
106
- * @param resourceGroupName Azure resource group name
107
- * @param gatewayResourceName The identity of the gateway.
108
- * @param [options] The optional parameters
109
- * @returns Promise<msRest.RestResponse>
110
- */
111
- deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
112
- /**
113
- * @param resourceGroupName Azure resource group name
114
- * @param gatewayResourceName The identity of the gateway.
115
- * @param callback The callback
116
- */
117
- deleteMethod(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback<void>): void;
118
- /**
119
189
  * @param resourceGroupName Azure resource group name
120
190
  * @param gatewayResourceName The identity of the gateway.
121
- * @param options The optional parameters
122
- * @param callback The callback
191
+ * @param options The options parameters.
123
192
  */
124
- deleteMethod(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
125
- deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
193
+ delete(
194
+ resourceGroupName: string,
195
+ gatewayResourceName: string,
196
+ options?: GatewayDeleteOptionalParams
197
+ ): Promise<void> {
126
198
  return this.client.sendOperationRequest(
127
- {
128
- resourceGroupName,
129
- gatewayResourceName,
130
- options
131
- },
132
- deleteMethodOperationSpec,
133
- callback);
199
+ { resourceGroupName, gatewayResourceName, options },
200
+ deleteOperationSpec
201
+ );
134
202
  }
135
203
 
136
204
  /**
137
- * Gets the information about all gateway resources in a given resource group. The information
138
- * include the description and other properties of the Gateway.
139
- * @summary Gets all the gateway resources in a given resource group.
140
- * @param resourceGroupName Azure resource group name
141
- * @param [options] The optional parameters
142
- * @returns Promise<Models.GatewayListByResourceGroupResponse>
143
- */
144
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListByResourceGroupResponse>;
145
- /**
205
+ * Gets the information about all gateway resources in a given resource group. The information include
206
+ * the description and other properties of the Gateway.
146
207
  * @param resourceGroupName Azure resource group name
147
- * @param callback The callback
208
+ * @param options The options parameters.
148
209
  */
149
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
150
- /**
151
- * @param resourceGroupName Azure resource group name
152
- * @param options The optional parameters
153
- * @param callback The callback
154
- */
155
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
156
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListByResourceGroupResponse> {
210
+ private _listByResourceGroup(
211
+ resourceGroupName: string,
212
+ options?: GatewayListByResourceGroupOptionalParams
213
+ ): Promise<GatewayListByResourceGroupResponse> {
157
214
  return this.client.sendOperationRequest(
158
- {
159
- resourceGroupName,
160
- options
161
- },
162
- listByResourceGroupOperationSpec,
163
- callback) as Promise<Models.GatewayListByResourceGroupResponse>;
215
+ { resourceGroupName, options },
216
+ listByResourceGroupOperationSpec
217
+ );
164
218
  }
165
219
 
166
220
  /**
167
- * Gets the information about all gateway resources in a given resource group. The information
168
- * include the description and other properties of the gateway.
169
- * @summary Gets all the gateway resources in a given subscription.
170
- * @param [options] The optional parameters
171
- * @returns Promise<Models.GatewayListBySubscriptionResponse>
172
- */
173
- listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.GatewayListBySubscriptionResponse>;
174
- /**
175
- * @param callback The callback
176
- */
177
- listBySubscription(callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
178
- /**
179
- * @param options The optional parameters
180
- * @param callback The callback
221
+ * Gets the information about all gateway resources in a given resource group. The information include
222
+ * the description and other properties of the gateway.
223
+ * @param options The options parameters.
181
224
  */
182
- listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
183
- listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListBySubscriptionResponse> {
225
+ private _listBySubscription(
226
+ options?: GatewayListBySubscriptionOptionalParams
227
+ ): Promise<GatewayListBySubscriptionResponse> {
184
228
  return this.client.sendOperationRequest(
185
- {
186
- options
187
- },
188
- listBySubscriptionOperationSpec,
189
- callback) as Promise<Models.GatewayListBySubscriptionResponse>;
229
+ { options },
230
+ listBySubscriptionOperationSpec
231
+ );
190
232
  }
191
233
 
192
234
  /**
193
- * Gets the information about all gateway resources in a given resource group. The information
194
- * include the description and other properties of the Gateway.
195
- * @summary Gets all the gateway resources in a given resource group.
196
- * @param nextPageLink The NextLink from the previous successful call to List operation.
197
- * @param [options] The optional parameters
198
- * @returns Promise<Models.GatewayListByResourceGroupNextResponse>
199
- */
200
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListByResourceGroupNextResponse>;
201
- /**
202
- * @param nextPageLink The NextLink from the previous successful call to List operation.
203
- * @param callback The callback
204
- */
205
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
206
- /**
207
- * @param nextPageLink The NextLink from the previous successful call to List operation.
208
- * @param options The optional parameters
209
- * @param callback The callback
235
+ * ListByResourceGroupNext
236
+ * @param resourceGroupName Azure resource group name
237
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
238
+ * @param options The options parameters.
210
239
  */
211
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
212
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListByResourceGroupNextResponse> {
240
+ private _listByResourceGroupNext(
241
+ resourceGroupName: string,
242
+ nextLink: string,
243
+ options?: GatewayListByResourceGroupNextOptionalParams
244
+ ): Promise<GatewayListByResourceGroupNextResponse> {
213
245
  return this.client.sendOperationRequest(
214
- {
215
- nextPageLink,
216
- options
217
- },
218
- listByResourceGroupNextOperationSpec,
219
- callback) as Promise<Models.GatewayListByResourceGroupNextResponse>;
246
+ { resourceGroupName, nextLink, options },
247
+ listByResourceGroupNextOperationSpec
248
+ );
220
249
  }
221
250
 
222
251
  /**
223
- * Gets the information about all gateway resources in a given resource group. The information
224
- * include the description and other properties of the gateway.
225
- * @summary Gets all the gateway resources in a given subscription.
226
- * @param nextPageLink The NextLink from the previous successful call to List operation.
227
- * @param [options] The optional parameters
228
- * @returns Promise<Models.GatewayListBySubscriptionNextResponse>
229
- */
230
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListBySubscriptionNextResponse>;
231
- /**
232
- * @param nextPageLink The NextLink from the previous successful call to List operation.
233
- * @param callback The callback
234
- */
235
- listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
236
- /**
237
- * @param nextPageLink The NextLink from the previous successful call to List operation.
238
- * @param options The optional parameters
239
- * @param callback The callback
252
+ * ListBySubscriptionNext
253
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
254
+ * @param options The options parameters.
240
255
  */
241
- listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
242
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListBySubscriptionNextResponse> {
256
+ private _listBySubscriptionNext(
257
+ nextLink: string,
258
+ options?: GatewayListBySubscriptionNextOptionalParams
259
+ ): Promise<GatewayListBySubscriptionNextResponse> {
243
260
  return this.client.sendOperationRequest(
244
- {
245
- nextPageLink,
246
- options
247
- },
248
- listBySubscriptionNextOperationSpec,
249
- callback) as Promise<Models.GatewayListBySubscriptionNextResponse>;
261
+ { nextLink, options },
262
+ listBySubscriptionNextOperationSpec
263
+ );
250
264
  }
251
265
  }
252
-
253
266
  // Operation Specifications
254
- const serializer = new msRest.Serializer(Mappers);
255
- const createOperationSpec: msRest.OperationSpec = {
267
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
268
+
269
+ const createOperationSpec: coreClient.OperationSpec = {
270
+ path:
271
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
256
272
  httpMethod: "PUT",
257
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
258
- urlParameters: [
259
- Parameters.subscriptionId,
260
- Parameters.resourceGroupName,
261
- Parameters.gatewayResourceName
262
- ],
263
- queryParameters: [
264
- Parameters.apiVersion
265
- ],
266
- headerParameters: [
267
- Parameters.acceptLanguage
268
- ],
269
- requestBody: {
270
- parameterPath: "gatewayResourceDescription",
271
- mapper: {
272
- ...Mappers.GatewayResourceDescription,
273
- required: true
274
- }
275
- },
276
273
  responses: {
277
274
  200: {
278
275
  bodyMapper: Mappers.GatewayResourceDescription
@@ -285,23 +282,22 @@ const createOperationSpec: msRest.OperationSpec = {
285
282
  bodyMapper: Mappers.ErrorModel
286
283
  }
287
284
  },
288
- serializer
289
- };
290
-
291
- const getOperationSpec: msRest.OperationSpec = {
292
- httpMethod: "GET",
293
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
285
+ requestBody: Parameters.gatewayResourceDescription,
286
+ queryParameters: [Parameters.apiVersion],
294
287
  urlParameters: [
288
+ Parameters.$host,
295
289
  Parameters.subscriptionId,
296
290
  Parameters.resourceGroupName,
297
291
  Parameters.gatewayResourceName
298
292
  ],
299
- queryParameters: [
300
- Parameters.apiVersion
301
- ],
302
- headerParameters: [
303
- Parameters.acceptLanguage
304
- ],
293
+ headerParameters: [Parameters.accept, Parameters.contentType],
294
+ mediaType: "json",
295
+ serializer
296
+ };
297
+ const getOperationSpec: coreClient.OperationSpec = {
298
+ path:
299
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
300
+ httpMethod: "GET",
305
301
  responses: {
306
302
  200: {
307
303
  bodyMapper: Mappers.GatewayResourceDescription
@@ -310,23 +306,20 @@ const getOperationSpec: msRest.OperationSpec = {
310
306
  bodyMapper: Mappers.ErrorModel
311
307
  }
312
308
  },
313
- serializer
314
- };
315
-
316
- const deleteMethodOperationSpec: msRest.OperationSpec = {
317
- httpMethod: "DELETE",
318
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
309
+ queryParameters: [Parameters.apiVersion],
319
310
  urlParameters: [
311
+ Parameters.$host,
320
312
  Parameters.subscriptionId,
321
313
  Parameters.resourceGroupName,
322
314
  Parameters.gatewayResourceName
323
315
  ],
324
- queryParameters: [
325
- Parameters.apiVersion
326
- ],
327
- headerParameters: [
328
- Parameters.acceptLanguage
329
- ],
316
+ headerParameters: [Parameters.accept],
317
+ serializer
318
+ };
319
+ const deleteOperationSpec: coreClient.OperationSpec = {
320
+ path:
321
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
322
+ httpMethod: "DELETE",
330
323
  responses: {
331
324
  200: {},
332
325
  202: {},
@@ -335,22 +328,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
335
328
  bodyMapper: Mappers.ErrorModel
336
329
  }
337
330
  },
338
- serializer
339
- };
340
-
341
- const listByResourceGroupOperationSpec: msRest.OperationSpec = {
342
- httpMethod: "GET",
343
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways",
331
+ queryParameters: [Parameters.apiVersion],
344
332
  urlParameters: [
333
+ Parameters.$host,
345
334
  Parameters.subscriptionId,
346
- Parameters.resourceGroupName
347
- ],
348
- queryParameters: [
349
- Parameters.apiVersion
350
- ],
351
- headerParameters: [
352
- Parameters.acceptLanguage
335
+ Parameters.resourceGroupName,
336
+ Parameters.gatewayResourceName
353
337
  ],
338
+ headerParameters: [Parameters.accept],
339
+ serializer
340
+ };
341
+ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
342
+ path:
343
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways",
344
+ httpMethod: "GET",
354
345
  responses: {
355
346
  200: {
356
347
  bodyMapper: Mappers.GatewayResourceDescriptionList
@@ -359,21 +350,19 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
359
350
  bodyMapper: Mappers.ErrorModel
360
351
  }
361
352
  },
353
+ queryParameters: [Parameters.apiVersion],
354
+ urlParameters: [
355
+ Parameters.$host,
356
+ Parameters.subscriptionId,
357
+ Parameters.resourceGroupName
358
+ ],
359
+ headerParameters: [Parameters.accept],
362
360
  serializer
363
361
  };
364
-
365
- const listBySubscriptionOperationSpec: msRest.OperationSpec = {
362
+ const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
363
+ path:
364
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways",
366
365
  httpMethod: "GET",
367
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways",
368
- urlParameters: [
369
- Parameters.subscriptionId
370
- ],
371
- queryParameters: [
372
- Parameters.apiVersion
373
- ],
374
- headerParameters: [
375
- Parameters.acceptLanguage
376
- ],
377
366
  responses: {
378
367
  200: {
379
368
  bodyMapper: Mappers.GatewayResourceDescriptionList
@@ -382,19 +371,14 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = {
382
371
  bodyMapper: Mappers.ErrorModel
383
372
  }
384
373
  },
374
+ queryParameters: [Parameters.apiVersion],
375
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
376
+ headerParameters: [Parameters.accept],
385
377
  serializer
386
378
  };
387
-
388
- const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
389
- httpMethod: "GET",
390
- baseUrl: "https://management.azure.com",
379
+ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
391
380
  path: "{nextLink}",
392
- urlParameters: [
393
- Parameters.nextPageLink
394
- ],
395
- headerParameters: [
396
- Parameters.acceptLanguage
397
- ],
381
+ httpMethod: "GET",
398
382
  responses: {
399
383
  200: {
400
384
  bodyMapper: Mappers.GatewayResourceDescriptionList
@@ -403,19 +387,19 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
403
387
  bodyMapper: Mappers.ErrorModel
404
388
  }
405
389
  },
390
+ queryParameters: [Parameters.apiVersion],
391
+ urlParameters: [
392
+ Parameters.$host,
393
+ Parameters.nextLink,
394
+ Parameters.subscriptionId,
395
+ Parameters.resourceGroupName
396
+ ],
397
+ headerParameters: [Parameters.accept],
406
398
  serializer
407
399
  };
408
-
409
- const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
410
- httpMethod: "GET",
411
- baseUrl: "https://management.azure.com",
400
+ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
412
401
  path: "{nextLink}",
413
- urlParameters: [
414
- Parameters.nextPageLink
415
- ],
416
- headerParameters: [
417
- Parameters.acceptLanguage
418
- ],
402
+ httpMethod: "GET",
419
403
  responses: {
420
404
  200: {
421
405
  bodyMapper: Mappers.GatewayResourceDescriptionList
@@ -424,5 +408,12 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
424
408
  bodyMapper: Mappers.ErrorModel
425
409
  }
426
410
  },
411
+ queryParameters: [Parameters.apiVersion],
412
+ urlParameters: [
413
+ Parameters.$host,
414
+ Parameters.nextLink,
415
+ Parameters.subscriptionId
416
+ ],
417
+ headerParameters: [Parameters.accept],
427
418
  serializer
428
419
  };