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