@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 { Application } 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
|
+
ApplicationResourceDescription,
|
|
17
|
+
ApplicationListByResourceGroupNextOptionalParams,
|
|
18
|
+
ApplicationListByResourceGroupOptionalParams,
|
|
19
|
+
ApplicationListBySubscriptionNextOptionalParams,
|
|
20
|
+
ApplicationListBySubscriptionOptionalParams,
|
|
21
|
+
ApplicationCreateOptionalParams,
|
|
22
|
+
ApplicationCreateResponse,
|
|
23
|
+
ApplicationGetOptionalParams,
|
|
24
|
+
ApplicationGetResponse,
|
|
25
|
+
ApplicationDeleteOptionalParams,
|
|
26
|
+
ApplicationListByResourceGroupResponse,
|
|
27
|
+
ApplicationListBySubscriptionResponse,
|
|
28
|
+
ApplicationListByResourceGroupNextResponse,
|
|
29
|
+
ApplicationListBySubscriptionNextResponse
|
|
30
|
+
} from "../models";
|
|
16
31
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
32
|
+
/// <reference lib="esnext.asynciterable" />
|
|
33
|
+
/** Class containing Application operations. */
|
|
34
|
+
export class ApplicationImpl implements Application {
|
|
35
|
+
private readonly client: ServiceFabricMeshManagementClient;
|
|
20
36
|
|
|
21
37
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
38
|
+
* Initialize a new instance of the class Application 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
|
-
* description and properties.
|
|
33
|
-
* @summary Creates or updates an application resource.
|
|
46
|
+
* Gets the information about all application resources in a given resource group. The information
|
|
47
|
+
* include the description and other properties of the Application.
|
|
34
48
|
* @param resourceGroupName Azure resource group name
|
|
35
|
-
* @param
|
|
36
|
-
* @param applicationResourceDescription Description for creating a Application resource.
|
|
37
|
-
* @param [options] The optional parameters
|
|
38
|
-
* @returns Promise<Models.ApplicationCreateResponse>
|
|
49
|
+
* @param options The options parameters.
|
|
39
50
|
*/
|
|
40
|
-
|
|
51
|
+
public listByResourceGroup(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
options?: ApplicationListByResourceGroupOptionalParams
|
|
54
|
+
): PagedAsyncIterableIterator<ApplicationResourceDescription> {
|
|
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?: ApplicationListByResourceGroupOptionalParams
|
|
72
|
+
): AsyncIterableIterator<ApplicationResourceDescription[]> {
|
|
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?: ApplicationListByResourceGroupOptionalParams
|
|
90
|
+
): AsyncIterableIterator<ApplicationResourceDescription> {
|
|
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 application resources in a given resource group. The information
|
|
101
|
+
* include the description and other properties of the application.
|
|
102
|
+
* @param options The options parameters.
|
|
46
103
|
*/
|
|
47
|
-
|
|
104
|
+
public listBySubscription(
|
|
105
|
+
options?: ApplicationListBySubscriptionOptionalParams
|
|
106
|
+
): PagedAsyncIterableIterator<ApplicationResourceDescription> {
|
|
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?: ApplicationListBySubscriptionOptionalParams
|
|
123
|
+
): AsyncIterableIterator<ApplicationResourceDescription[]> {
|
|
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?: ApplicationListBySubscriptionOptionalParams
|
|
136
|
+
): AsyncIterableIterator<ApplicationResourceDescription> {
|
|
137
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
138
|
+
yield* page;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
48
142
|
/**
|
|
143
|
+
* Creates an application resource with the specified name, description and properties. If an
|
|
144
|
+
* application resource with the same name exists, then it is updated with the specified description
|
|
145
|
+
* and properties.
|
|
49
146
|
* @param resourceGroupName Azure resource group name
|
|
50
147
|
* @param applicationResourceName The identity of the application.
|
|
51
148
|
* @param applicationResourceDescription Description for creating a Application 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
|
+
applicationResourceName: string,
|
|
154
|
+
applicationResourceDescription: ApplicationResourceDescription,
|
|
155
|
+
options?: ApplicationCreateOptionalParams
|
|
156
|
+
): Promise<ApplicationCreateResponse> {
|
|
57
157
|
return this.client.sendOperationRequest(
|
|
58
158
|
{
|
|
59
159
|
resourceGroupName,
|
|
@@ -61,217 +161,114 @@ export class Application {
|
|
|
61
161
|
applicationResourceDescription,
|
|
62
162
|
options
|
|
63
163
|
},
|
|
64
|
-
createOperationSpec
|
|
65
|
-
|
|
164
|
+
createOperationSpec
|
|
165
|
+
);
|
|
66
166
|
}
|
|
67
167
|
|
|
68
168
|
/**
|
|
69
|
-
* Gets the information about the application resource with the given name. The information include
|
|
70
|
-
*
|
|
71
|
-
* @summary Gets the application resource with the given name.
|
|
72
|
-
* @param resourceGroupName Azure resource group name
|
|
73
|
-
* @param applicationResourceName The identity of the application.
|
|
74
|
-
* @param [options] The optional parameters
|
|
75
|
-
* @returns Promise<Models.ApplicationGetResponse>
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationGetResponse>;
|
|
78
|
-
/**
|
|
169
|
+
* Gets the information about the application resource with the given name. The information include the
|
|
170
|
+
* description and other properties of the application.
|
|
79
171
|
* @param resourceGroupName Azure resource group name
|
|
80
172
|
* @param applicationResourceName The identity of the application.
|
|
81
|
-
* @param
|
|
173
|
+
* @param options The options parameters.
|
|
82
174
|
*/
|
|
83
|
-
get(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
* @param callback The callback
|
|
89
|
-
*/
|
|
90
|
-
get(resourceGroupName: string, applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationResourceDescription>): void;
|
|
91
|
-
get(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationResourceDescription>, callback?: msRest.ServiceCallback<Models.ApplicationResourceDescription>): Promise<Models.ApplicationGetResponse> {
|
|
175
|
+
get(
|
|
176
|
+
resourceGroupName: string,
|
|
177
|
+
applicationResourceName: string,
|
|
178
|
+
options?: ApplicationGetOptionalParams
|
|
179
|
+
): Promise<ApplicationGetResponse> {
|
|
92
180
|
return this.client.sendOperationRequest(
|
|
93
|
-
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
options
|
|
97
|
-
},
|
|
98
|
-
getOperationSpec,
|
|
99
|
-
callback) as Promise<Models.ApplicationGetResponse>;
|
|
181
|
+
{ resourceGroupName, applicationResourceName, options },
|
|
182
|
+
getOperationSpec
|
|
183
|
+
);
|
|
100
184
|
}
|
|
101
185
|
|
|
102
186
|
/**
|
|
103
187
|
* Deletes the application resource identified by the name.
|
|
104
|
-
* @summary Deletes the application resource.
|
|
105
188
|
* @param resourceGroupName Azure resource group name
|
|
106
189
|
* @param applicationResourceName The identity of the application.
|
|
107
|
-
* @param
|
|
108
|
-
* @returns Promise<msRest.RestResponse>
|
|
190
|
+
* @param options The options parameters.
|
|
109
191
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
*/
|
|
116
|
-
deleteMethod(resourceGroupName: string, applicationResourceName: string, callback: msRest.ServiceCallback<void>): void;
|
|
117
|
-
/**
|
|
118
|
-
* @param resourceGroupName Azure resource group name
|
|
119
|
-
* @param applicationResourceName The identity of the application.
|
|
120
|
-
* @param options The optional parameters
|
|
121
|
-
* @param callback The callback
|
|
122
|
-
*/
|
|
123
|
-
deleteMethod(resourceGroupName: string, applicationResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
124
|
-
deleteMethod(resourceGroupName: string, applicationResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
192
|
+
delete(
|
|
193
|
+
resourceGroupName: string,
|
|
194
|
+
applicationResourceName: string,
|
|
195
|
+
options?: ApplicationDeleteOptionalParams
|
|
196
|
+
): Promise<void> {
|
|
125
197
|
return this.client.sendOperationRequest(
|
|
126
|
-
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
options
|
|
130
|
-
},
|
|
131
|
-
deleteMethodOperationSpec,
|
|
132
|
-
callback);
|
|
198
|
+
{ resourceGroupName, applicationResourceName, options },
|
|
199
|
+
deleteOperationSpec
|
|
200
|
+
);
|
|
133
201
|
}
|
|
134
202
|
|
|
135
203
|
/**
|
|
136
204
|
* Gets the information about all application resources in a given resource group. The information
|
|
137
205
|
* include the description and other properties of the Application.
|
|
138
|
-
* @summary Gets all the application resources in a given resource group.
|
|
139
206
|
* @param resourceGroupName Azure resource group name
|
|
140
|
-
* @param
|
|
141
|
-
* @returns Promise<Models.ApplicationListByResourceGroupResponse>
|
|
207
|
+
* @param options The options parameters.
|
|
142
208
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
*/
|
|
148
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): void;
|
|
149
|
-
/**
|
|
150
|
-
* @param resourceGroupName Azure resource group name
|
|
151
|
-
* @param options The optional parameters
|
|
152
|
-
* @param callback The callback
|
|
153
|
-
*/
|
|
154
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): void;
|
|
155
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): Promise<Models.ApplicationListByResourceGroupResponse> {
|
|
209
|
+
private _listByResourceGroup(
|
|
210
|
+
resourceGroupName: string,
|
|
211
|
+
options?: ApplicationListByResourceGroupOptionalParams
|
|
212
|
+
): Promise<ApplicationListByResourceGroupResponse> {
|
|
156
213
|
return this.client.sendOperationRequest(
|
|
157
|
-
{
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
},
|
|
161
|
-
listByResourceGroupOperationSpec,
|
|
162
|
-
callback) as Promise<Models.ApplicationListByResourceGroupResponse>;
|
|
214
|
+
{ resourceGroupName, options },
|
|
215
|
+
listByResourceGroupOperationSpec
|
|
216
|
+
);
|
|
163
217
|
}
|
|
164
218
|
|
|
165
219
|
/**
|
|
166
220
|
* Gets the information about all application resources in a given resource group. The information
|
|
167
221
|
* include the description and other properties of the application.
|
|
168
|
-
* @
|
|
169
|
-
* @param [options] The optional parameters
|
|
170
|
-
* @returns Promise<Models.ApplicationListBySubscriptionResponse>
|
|
171
|
-
*/
|
|
172
|
-
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.ApplicationListBySubscriptionResponse>;
|
|
173
|
-
/**
|
|
174
|
-
* @param callback The callback
|
|
175
|
-
*/
|
|
176
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): void;
|
|
177
|
-
/**
|
|
178
|
-
* @param options The optional parameters
|
|
179
|
-
* @param callback The callback
|
|
222
|
+
* @param options The options parameters.
|
|
180
223
|
*/
|
|
181
|
-
|
|
182
|
-
|
|
224
|
+
private _listBySubscription(
|
|
225
|
+
options?: ApplicationListBySubscriptionOptionalParams
|
|
226
|
+
): Promise<ApplicationListBySubscriptionResponse> {
|
|
183
227
|
return this.client.sendOperationRequest(
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
listBySubscriptionOperationSpec,
|
|
188
|
-
callback) as Promise<Models.ApplicationListBySubscriptionResponse>;
|
|
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.ApplicationListByResourceGroupNextResponse>
|
|
198
|
-
*/
|
|
199
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ApplicationListByResourceGroupNextResponse>;
|
|
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.ApplicationResourceDescriptionList>): 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?: ApplicationListByResourceGroupNextOptionalParams
|
|
243
|
+
): Promise<ApplicationListByResourceGroupNextResponse> {
|
|
212
244
|
return this.client.sendOperationRequest(
|
|
213
|
-
{
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
},
|
|
217
|
-
listByResourceGroupNextOperationSpec,
|
|
218
|
-
callback) as Promise<Models.ApplicationListByResourceGroupNextResponse>;
|
|
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.ApplicationListBySubscriptionNextResponse>
|
|
251
|
+
* ListBySubscriptionNext
|
|
252
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
253
|
+
* @param options The options parameters.
|
|
228
254
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
*/
|
|
234
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): void;
|
|
235
|
-
/**
|
|
236
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
237
|
-
* @param options The optional parameters
|
|
238
|
-
* @param callback The callback
|
|
239
|
-
*/
|
|
240
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): void;
|
|
241
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.ApplicationResourceDescriptionList>): Promise<Models.ApplicationListBySubscriptionNextResponse> {
|
|
255
|
+
private _listBySubscriptionNext(
|
|
256
|
+
nextLink: string,
|
|
257
|
+
options?: ApplicationListBySubscriptionNextOptionalParams
|
|
258
|
+
): Promise<ApplicationListBySubscriptionNextResponse> {
|
|
242
259
|
return this.client.sendOperationRequest(
|
|
243
|
-
{
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
},
|
|
247
|
-
listBySubscriptionNextOperationSpec,
|
|
248
|
-
callback) as Promise<Models.ApplicationListBySubscriptionNextResponse>;
|
|
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/applications/{applicationResourceName}",
|
|
255
271
|
httpMethod: "PUT",
|
|
256
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications/{applicationResourceName}",
|
|
257
|
-
urlParameters: [
|
|
258
|
-
Parameters.subscriptionId,
|
|
259
|
-
Parameters.resourceGroupName,
|
|
260
|
-
Parameters.applicationResourceName
|
|
261
|
-
],
|
|
262
|
-
queryParameters: [
|
|
263
|
-
Parameters.apiVersion
|
|
264
|
-
],
|
|
265
|
-
headerParameters: [
|
|
266
|
-
Parameters.acceptLanguage
|
|
267
|
-
],
|
|
268
|
-
requestBody: {
|
|
269
|
-
parameterPath: "applicationResourceDescription",
|
|
270
|
-
mapper: {
|
|
271
|
-
...Mappers.ApplicationResourceDescription,
|
|
272
|
-
required: true
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
272
|
responses: {
|
|
276
273
|
200: {
|
|
277
274
|
bodyMapper: Mappers.ApplicationResourceDescription
|
|
@@ -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/applications/{applicationResourceName}",
|
|
284
|
+
requestBody: Parameters.applicationResourceDescription,
|
|
285
|
+
queryParameters: [Parameters.apiVersion],
|
|
293
286
|
urlParameters: [
|
|
287
|
+
Parameters.$host,
|
|
294
288
|
Parameters.subscriptionId,
|
|
295
289
|
Parameters.resourceGroupName,
|
|
296
290
|
Parameters.applicationResourceName
|
|
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/applications/{applicationResourceName}",
|
|
299
|
+
httpMethod: "GET",
|
|
304
300
|
responses: {
|
|
305
301
|
200: {
|
|
306
302
|
bodyMapper: Mappers.ApplicationResourceDescription
|
|
@@ -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/applications/{applicationResourceName}",
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
318
309
|
urlParameters: [
|
|
310
|
+
Parameters.$host,
|
|
319
311
|
Parameters.subscriptionId,
|
|
320
312
|
Parameters.resourceGroupName,
|
|
321
313
|
Parameters.applicationResourceName
|
|
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/applications/{applicationResourceName}",
|
|
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/applications",
|
|
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.applicationResourceName
|
|
352
336
|
],
|
|
337
|
+
headerParameters: [Parameters.accept],
|
|
338
|
+
serializer
|
|
339
|
+
};
|
|
340
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
341
|
+
path:
|
|
342
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications",
|
|
343
|
+
httpMethod: "GET",
|
|
353
344
|
responses: {
|
|
354
345
|
200: {
|
|
355
346
|
bodyMapper: Mappers.ApplicationResourceDescriptionList
|
|
@@ -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/applications",
|
|
365
364
|
httpMethod: "GET",
|
|
366
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications",
|
|
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.ApplicationResourceDescriptionList
|
|
@@ -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.ApplicationResourceDescriptionList
|
|
@@ -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.ApplicationResourceDescriptionList
|
|
@@ -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
|
};
|