@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +5478 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1366 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +121 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +105 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +104 -62
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/application.d.ts +82 -0
- package/dist-esm/src/operations/application.d.ts.map +1 -0
- package/dist-esm/src/operations/application.js +340 -0
- package/dist-esm/src/operations/application.js.map +1 -0
- package/dist-esm/src/operations/codePackage.d.ts +23 -0
- package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operations/codePackage.js +66 -0
- package/dist-esm/src/operations/codePackage.js.map +1 -0
- package/dist-esm/src/operations/gateway.d.ts +83 -0
- package/dist-esm/src/operations/gateway.d.ts.map +1 -0
- package/dist-esm/src/operations/gateway.js +341 -0
- package/dist-esm/src/operations/gateway.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/network.d.ts +82 -0
- package/dist-esm/src/operations/network.d.ts.map +1 -0
- package/dist-esm/src/operations/network.js +340 -0
- package/dist-esm/src/operations/network.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/secret.d.ts +81 -0
- package/dist-esm/src/operations/secret.d.ts.map +1 -0
- package/dist-esm/src/operations/secret.js +339 -0
- package/dist-esm/src/operations/secret.js.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.js +303 -0
- package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operations/service.d.ts +49 -0
- package/dist-esm/src/operations/service.d.ts.map +1 -0
- package/dist-esm/src/operations/service.js +177 -0
- package/dist-esm/src/operations/service.js.map +1 -0
- package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
- package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceReplica.js +196 -0
- package/dist-esm/src/operations/serviceReplica.js.map +1 -0
- package/dist-esm/src/operations/volume.d.ts +81 -0
- package/dist-esm/src/operations/volume.d.ts.map +1 -0
- package/dist-esm/src/operations/volume.js +339 -0
- package/dist-esm/src/operations/volume.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.js +9 -0
- package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.js +9 -0
- package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.js +9 -0
- package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.js +9 -0
- package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +85 -26
- package/review/arm-servicefabricmesh.api.md +1210 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +1281 -2775
- package/src/models/mappers.ts +1315 -1344
- package/src/models/parameters.ts +138 -63
- package/src/operations/application.ts +260 -269
- package/src/operations/codePackage.ts +44 -60
- package/src/operations/gateway.ts +263 -272
- package/src/operations/index.ts +3 -5
- package/src/operations/network.ts +262 -271
- package/src/operations/operations.ts +87 -75
- package/src/operations/secret.ts +261 -271
- package/src/operations/secretValueOperations.ts +239 -259
- package/src/operations/service.ts +161 -124
- package/src/operations/serviceReplica.ts +177 -120
- package/src/operations/volume.ts +261 -271
- package/src/operationsInterfaces/application.ts +80 -0
- package/src/operationsInterfaces/codePackage.ts +33 -0
- package/src/operationsInterfaces/gateway.ts +81 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/network.ts +80 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/secret.ts +79 -0
- package/src/operationsInterfaces/secretValueOperations.ts +99 -0
- package/src/operationsInterfaces/service.ts +46 -0
- package/src/operationsInterfaces/serviceReplica.ts +50 -0
- package/src/operationsInterfaces/volume.ts +79 -0
- package/src/serviceFabricMeshManagementClient.ts +102 -53
- package/tsconfig.json +20 -7
- package/types/arm-servicefabricmesh.d.ts +1940 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-servicefabricmesh.js +0 -5363
- package/dist/arm-servicefabricmesh.js.map +0 -1
- package/dist/arm-servicefabricmesh.min.js +0 -1
- package/dist/arm-servicefabricmesh.min.js.map +0 -1
- package/esm/models/applicationMappers.d.ts +0 -2
- package/esm/models/applicationMappers.d.ts.map +0 -1
- package/esm/models/applicationMappers.js +0 -11
- package/esm/models/applicationMappers.js.map +0 -1
- package/esm/models/codePackageMappers.d.ts +0 -2
- package/esm/models/codePackageMappers.d.ts.map +0 -1
- package/esm/models/codePackageMappers.js +0 -11
- package/esm/models/codePackageMappers.js.map +0 -1
- package/esm/models/gatewayMappers.d.ts +0 -2
- package/esm/models/gatewayMappers.d.ts.map +0 -1
- package/esm/models/gatewayMappers.js +0 -11
- package/esm/models/gatewayMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2938
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -102
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/networkMappers.d.ts +0 -2
- package/esm/models/networkMappers.d.ts.map +0 -1
- package/esm/models/networkMappers.js +0 -11
- package/esm/models/networkMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/secretMappers.d.ts +0 -2
- package/esm/models/secretMappers.d.ts.map +0 -1
- package/esm/models/secretMappers.js +0 -11
- package/esm/models/secretMappers.js.map +0 -1
- package/esm/models/secretValueOperationsMappers.d.ts +0 -2
- package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
- package/esm/models/secretValueOperationsMappers.js +0 -11
- package/esm/models/secretValueOperationsMappers.js.map +0 -1
- package/esm/models/serviceMappers.d.ts +0 -2
- package/esm/models/serviceMappers.d.ts.map +0 -1
- package/esm/models/serviceMappers.js +0 -11
- package/esm/models/serviceMappers.js.map +0 -1
- package/esm/models/serviceReplicaMappers.d.ts +0 -2
- package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
- package/esm/models/serviceReplicaMappers.js +0 -11
- package/esm/models/serviceReplicaMappers.js.map +0 -1
- package/esm/models/volumeMappers.d.ts +0 -2
- package/esm/models/volumeMappers.d.ts.map +0 -1
- package/esm/models/volumeMappers.js +0 -11
- package/esm/models/volumeMappers.js.map +0 -1
- package/esm/operations/application.d.ts +0 -162
- package/esm/operations/application.d.ts.map +0 -1
- package/esm/operations/application.js +0 -238
- package/esm/operations/application.js.map +0 -1
- package/esm/operations/codePackage.d.ts +0 -44
- package/esm/operations/codePackage.d.ts.map +0 -1
- package/esm/operations/codePackage.js +0 -65
- package/esm/operations/codePackage.js.map +0 -1
- package/esm/operations/gateway.d.ts +0 -163
- package/esm/operations/gateway.d.ts.map +0 -1
- package/esm/operations/gateway.js +0 -238
- package/esm/operations/gateway.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/network.d.ts +0 -162
- package/esm/operations/network.d.ts.map +0 -1
- package/esm/operations/network.js +0 -238
- package/esm/operations/network.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/secret.d.ts +0 -162
- package/esm/operations/secret.d.ts.map +0 -1
- package/esm/operations/secret.js +0 -238
- package/esm/operations/secret.js.map +0 -1
- package/esm/operations/secretValueOperations.d.ts +0 -175
- package/esm/operations/secretValueOperations.d.ts.map +0 -1
- package/esm/operations/secretValueOperations.js +0 -226
- package/esm/operations/secretValueOperations.js.map +0 -1
- package/esm/operations/service.d.ts +0 -82
- package/esm/operations/service.d.ts.map +0 -1
- package/esm/operations/service.js +0 -117
- package/esm/operations/service.js.map +0 -1
- package/esm/operations/serviceReplica.d.ts +0 -88
- package/esm/operations/serviceReplica.d.ts.map +0 -1
- package/esm/operations/serviceReplica.js +0 -121
- package/esm/operations/serviceReplica.js.map +0 -1
- package/esm/operations/volume.d.ts +0 -162
- package/esm/operations/volume.d.ts.map +0 -1
- package/esm/operations/volume.js +0 -238
- package/esm/operations/volume.js.map +0 -1
- package/esm/serviceFabricMeshManagementClient.d.ts +0 -33
- package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClient.js +0 -47
- package/esm/serviceFabricMeshManagementClient.js.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -22
- package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.js +0 -61
- package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
- package/src/models/applicationMappers.ts +0 -76
- package/src/models/codePackageMappers.ts +0 -18
- package/src/models/gatewayMappers.ts +0 -76
- package/src/models/networkMappers.ts +0 -76
- package/src/models/operationsMappers.ts +0 -20
- package/src/models/secretMappers.ts +0 -76
- package/src/models/secretValueOperationsMappers.ts +0 -77
- package/src/models/serviceMappers.ts +0 -76
- package/src/models/serviceReplicaMappers.ts +0 -40
- package/src/models/volumeMappers.ts +0 -76
- package/src/serviceFabricMeshManagementClientContext.ts +0 -68
|
@@ -1,60 +1,160 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
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
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
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 {
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
*
|
|
23
|
-
* @param
|
|
38
|
+
* Initialize a new instance of the class Gateway class.
|
|
39
|
+
* @param client Reference to the service client
|
|
24
40
|
*/
|
|
25
|
-
constructor(client:
|
|
41
|
+
constructor(client: ServiceFabricMeshManagementClient) {
|
|
26
42
|
this.client = client;
|
|
27
43
|
}
|
|
28
44
|
|
|
29
45
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
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
|
|
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
|
-
|
|
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
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* @param
|
|
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
|
-
|
|
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
|
|
54
|
-
* @param callback The callback
|
|
150
|
+
* @param options The options parameters.
|
|
55
151
|
*/
|
|
56
|
-
create(
|
|
57
|
-
|
|
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
|
-
|
|
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
|
|
174
|
+
* @param options The options parameters.
|
|
83
175
|
*/
|
|
84
|
-
get(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
96
|
-
|
|
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
|
|
122
|
-
* @param callback The callback
|
|
191
|
+
* @param options The options parameters.
|
|
123
192
|
*/
|
|
124
|
-
|
|
125
|
-
|
|
193
|
+
delete(
|
|
194
|
+
resourceGroupName: string,
|
|
195
|
+
gatewayResourceName: string,
|
|
196
|
+
options?: GatewayDeleteOptionalParams
|
|
197
|
+
): Promise<void> {
|
|
126
198
|
return this.client.sendOperationRequest(
|
|
127
|
-
{
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
*
|
|
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
|
|
208
|
+
* @param options The options parameters.
|
|
148
209
|
*/
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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
|
-
|
|
160
|
-
|
|
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
|
-
*
|
|
169
|
-
* @
|
|
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
|
-
|
|
183
|
-
|
|
225
|
+
private _listBySubscription(
|
|
226
|
+
options?: GatewayListBySubscriptionOptionalParams
|
|
227
|
+
): Promise<GatewayListBySubscriptionResponse> {
|
|
184
228
|
return this.client.sendOperationRequest(
|
|
185
|
-
{
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
listBySubscriptionOperationSpec,
|
|
189
|
-
callback) as Promise<Models.GatewayListBySubscriptionResponse>;
|
|
229
|
+
{ options },
|
|
230
|
+
listBySubscriptionOperationSpec
|
|
231
|
+
);
|
|
190
232
|
}
|
|
191
233
|
|
|
192
234
|
/**
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* @
|
|
196
|
-
* @param
|
|
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
|
-
|
|
212
|
-
|
|
240
|
+
private _listByResourceGroupNext(
|
|
241
|
+
resourceGroupName: string,
|
|
242
|
+
nextLink: string,
|
|
243
|
+
options?: GatewayListByResourceGroupNextOptionalParams
|
|
244
|
+
): Promise<GatewayListByResourceGroupNextResponse> {
|
|
213
245
|
return this.client.sendOperationRequest(
|
|
214
|
-
{
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
listByResourceGroupNextOperationSpec,
|
|
219
|
-
callback) as Promise<Models.GatewayListByResourceGroupNextResponse>;
|
|
246
|
+
{ resourceGroupName, nextLink, options },
|
|
247
|
+
listByResourceGroupNextOperationSpec
|
|
248
|
+
);
|
|
220
249
|
}
|
|
221
250
|
|
|
222
251
|
/**
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* @
|
|
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
|
-
|
|
242
|
-
|
|
256
|
+
private _listBySubscriptionNext(
|
|
257
|
+
nextLink: string,
|
|
258
|
+
options?: GatewayListBySubscriptionNextOptionalParams
|
|
259
|
+
): Promise<GatewayListBySubscriptionNextResponse> {
|
|
243
260
|
return this.client.sendOperationRequest(
|
|
244
|
-
{
|
|
245
|
-
|
|
246
|
-
|
|
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 =
|
|
255
|
-
|
|
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
|
-
|
|
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
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
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
|
-
|
|
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
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
};
|