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