@azure/arm-batch 6.0.0 → 7.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 +14 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- package/dist/index.js +6873 -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/batchManagementClient.d.ts +24 -0
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -0
- package/dist-esm/src/batchManagementClient.js +31 -0
- package/dist-esm/src/batchManagementClient.js.map +1 -0
- package/dist-esm/src/batchManagementClientContext.d.ts +17 -0
- package/dist-esm/src/batchManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/batchManagementClientContext.js +50 -0
- package/dist-esm/src/batchManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1780 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/index.js +1 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +112 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1723 -1885
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +34 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +303 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/applicationOperations.d.ts +71 -0
- package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/applicationOperations.js +269 -0
- package/dist-esm/src/operations/applicationOperations.js.map +1 -0
- package/dist-esm/src/operations/applicationPackageOperations.d.ts +83 -0
- package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/applicationPackageOperations.js +294 -0
- package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -0
- package/dist-esm/src/operations/batchAccountOperations.d.ts +171 -0
- package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/batchAccountOperations.js +681 -0
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -0
- package/dist-esm/src/operations/certificateOperations.d.ts +106 -0
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/certificateOperations.js +388 -0
- package/dist-esm/src/operations/certificateOperations.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 +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/location.d.ts +71 -0
- package/dist-esm/src/operations/location.d.ts.map +1 -0
- package/dist-esm/src/operations/location.js +316 -0
- package/dist-esm/src/operations/location.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/poolOperations.d.ts +103 -0
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/poolOperations.js +410 -0
- package/dist-esm/src/operations/poolOperations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +70 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +278 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +47 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.js +170 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/applicationOperations.js} +2 -7
- package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/applicationPackageOperations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +112 -0
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
- package/{src/models/locationMappers.ts → dist-esm/src/operationsInterfaces/batchAccountOperations.js} +2 -10
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts +31 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/location.js +9 -0
- package/dist-esm/src/operationsInterfaces/location.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/poolOperations.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/poolOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/poolOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +479 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +66 -32
- package/review/arm-batch.api.md +1459 -0
- package/rollup.config.js +181 -30
- package/src/batchManagementClient.ts +59 -48
- package/src/batchManagementClientContext.ts +46 -43
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1460 -3635
- package/src/models/mappers.ts +1705 -1851
- package/src/models/parameters.ts +216 -117
- package/src/operations/applicationOperations.ts +215 -263
- package/src/operations/applicationPackageOperations.ts +252 -279
- package/src/operations/batchAccountOperations.ts +660 -572
- package/src/operations/certificateOperations.ts +360 -359
- package/src/operations/index.ts +1 -2
- package/src/operations/location.ts +285 -234
- package/src/operations/operations.ts +82 -70
- package/src/operations/poolOperations.ts +373 -378
- package/src/operations/privateEndpointConnectionOperations.ts +269 -169
- package/src/operations/privateLinkResourceOperations.ts +156 -126
- package/src/operationsInterfaces/applicationOperations.ts +90 -0
- package/src/operationsInterfaces/applicationPackageOperations.ts +106 -0
- package/src/operationsInterfaces/batchAccountOperations.ts +196 -0
- package/src/operationsInterfaces/certificateOperations.ts +139 -0
- package/src/operationsInterfaces/index.ts +17 -0
- package/src/operationsInterfaces/location.ts +62 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/poolOperations.ts +142 -0
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +87 -0
- package/src/operationsInterfaces/privateLinkResourceOperations.ts +45 -0
- package/tsconfig.json +3 -3
- package/types/arm-batch.d.ts +2528 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-batch.js +0 -6972
- package/dist/arm-batch.js.map +0 -1
- package/dist/arm-batch.min.js +0 -1
- package/dist/arm-batch.min.js.map +0 -1
- package/esm/batchManagementClient.d.ts +0 -33
- package/esm/batchManagementClient.d.ts.map +0 -1
- package/esm/batchManagementClient.js +0 -46
- package/esm/batchManagementClient.js.map +0 -1
- package/esm/batchManagementClientContext.d.ts +0 -23
- package/esm/batchManagementClientContext.d.ts.map +0 -1
- package/esm/batchManagementClientContext.js +0 -61
- package/esm/batchManagementClientContext.js.map +0 -1
- package/esm/models/applicationOperationsMappers.d.ts +0 -2
- package/esm/models/applicationOperationsMappers.d.ts.map +0 -1
- package/esm/models/applicationOperationsMappers.js +0 -9
- package/esm/models/applicationOperationsMappers.js.map +0 -1
- package/esm/models/applicationPackageOperationsMappers.d.ts +0 -2
- package/esm/models/applicationPackageOperationsMappers.d.ts.map +0 -1
- package/esm/models/applicationPackageOperationsMappers.js +0 -9
- package/esm/models/applicationPackageOperationsMappers.js.map +0 -1
- package/esm/models/batchAccountOperationsMappers.d.ts +0 -2
- package/esm/models/batchAccountOperationsMappers.d.ts.map +0 -1
- package/esm/models/batchAccountOperationsMappers.js +0 -9
- package/esm/models/batchAccountOperationsMappers.js.map +0 -1
- package/esm/models/certificateOperationsMappers.d.ts +0 -2
- package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
- package/esm/models/certificateOperationsMappers.js +0 -9
- package/esm/models/certificateOperationsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3946
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationMappers.d.ts +0 -2
- package/esm/models/locationMappers.d.ts.map +0 -1
- package/esm/models/locationMappers.js +0 -9
- package/esm/models/locationMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -110
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.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.map +0 -1
- package/esm/models/parameters.d.ts +0 -21
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -250
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/poolOperationsMappers.d.ts +0 -2
- package/esm/models/poolOperationsMappers.d.ts.map +0 -1
- package/esm/models/poolOperationsMappers.js +0 -9
- package/esm/models/poolOperationsMappers.js.map +0 -1
- package/esm/models/privateEndpointConnectionOperationsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionOperationsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionOperationsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionOperationsMappers.js.map +0 -1
- package/esm/models/privateLinkResourceOperationsMappers.d.ts +0 -2
- package/esm/models/privateLinkResourceOperationsMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourceOperationsMappers.js +0 -9
- package/esm/models/privateLinkResourceOperationsMappers.js.map +0 -1
- package/esm/operations/applicationOperations.d.ts +0 -151
- package/esm/operations/applicationOperations.d.ts.map +0 -1
- package/esm/operations/applicationOperations.js +0 -232
- package/esm/operations/applicationOperations.js.map +0 -1
- package/esm/operations/applicationPackageOperations.d.ts +0 -171
- package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
- package/esm/operations/applicationPackageOperations.js +0 -244
- package/esm/operations/applicationPackageOperations.js.map +0 -1
- package/esm/operations/batchAccountOperations.d.ts +0 -299
- package/esm/operations/batchAccountOperations.d.ts.map +0 -1
- package/esm/operations/batchAccountOperations.js +0 -493
- package/esm/operations/batchAccountOperations.js.map +0 -1
- package/esm/operations/certificateOperations.d.ts +0 -207
- package/esm/operations/certificateOperations.d.ts.map +0 -1
- package/esm/operations/certificateOperations.js +0 -310
- package/esm/operations/certificateOperations.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/location.d.ts +0 -124
- package/esm/operations/location.d.ts.map +0 -1
- package/esm/operations/location.js +0 -216
- package/esm/operations/location.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/poolOperations.d.ts +0 -206
- package/esm/operations/poolOperations.d.ts.map +0 -1
- package/esm/operations/poolOperations.js +0 -341
- package/esm/operations/poolOperations.js.map +0 -1
- package/esm/operations/privateEndpointConnectionOperations.d.ts +0 -104
- package/esm/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnectionOperations.js +0 -195
- package/esm/operations/privateEndpointConnectionOperations.js.map +0 -1
- package/esm/operations/privateLinkResourceOperations.d.ts +0 -79
- package/esm/operations/privateLinkResourceOperations.d.ts.map +0 -1
- package/esm/operations/privateLinkResourceOperations.js +0 -121
- package/esm/operations/privateLinkResourceOperations.js.map +0 -1
- package/src/models/applicationOperationsMappers.ts +0 -79
- package/src/models/applicationPackageOperationsMappers.ts +0 -80
- package/src/models/batchAccountOperationsMappers.ts +0 -89
- package/src/models/certificateOperationsMappers.ts +0 -84
- package/src/models/poolOperationsMappers.ts +0 -85
- package/src/models/privateEndpointConnectionOperationsMappers.ts +0 -80
- package/src/models/privateLinkResourceOperationsMappers.ts +0 -79
package/src/operations/index.ts
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
9
|
export * from "./batchAccountOperations";
|
|
@@ -3,216 +3,274 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Location } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
14
|
import { BatchManagementClientContext } from "../batchManagementClientContext";
|
|
15
|
+
import {
|
|
16
|
+
SupportedSku,
|
|
17
|
+
LocationListSupportedVirtualMachineSkusNextOptionalParams,
|
|
18
|
+
LocationListSupportedVirtualMachineSkusOptionalParams,
|
|
19
|
+
LocationListSupportedCloudServiceSkusNextOptionalParams,
|
|
20
|
+
LocationListSupportedCloudServiceSkusOptionalParams,
|
|
21
|
+
LocationGetQuotasOptionalParams,
|
|
22
|
+
LocationGetQuotasResponse,
|
|
23
|
+
LocationListSupportedVirtualMachineSkusResponse,
|
|
24
|
+
LocationListSupportedCloudServiceSkusResponse,
|
|
25
|
+
CheckNameAvailabilityParameters,
|
|
26
|
+
LocationCheckNameAvailabilityOptionalParams,
|
|
27
|
+
LocationCheckNameAvailabilityResponse,
|
|
28
|
+
LocationListSupportedVirtualMachineSkusNextResponse,
|
|
29
|
+
LocationListSupportedCloudServiceSkusNextResponse
|
|
30
|
+
} from "../models";
|
|
15
31
|
|
|
16
|
-
|
|
17
|
-
|
|
32
|
+
/// <reference lib="esnext.asynciterable" />
|
|
33
|
+
/** Class containing Location operations. */
|
|
34
|
+
export class LocationImpl implements Location {
|
|
18
35
|
private readonly client: BatchManagementClientContext;
|
|
19
36
|
|
|
20
37
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
38
|
+
* Initialize a new instance of the class Location class.
|
|
39
|
+
* @param client Reference to the service client
|
|
23
40
|
*/
|
|
24
41
|
constructor(client: BatchManagementClientContext) {
|
|
25
42
|
this.client = client;
|
|
26
43
|
}
|
|
27
44
|
|
|
28
45
|
/**
|
|
29
|
-
* Gets the Batch
|
|
30
|
-
* @param locationName The region for which to retrieve Batch service
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.LocationGetQuotasResponse>
|
|
33
|
-
*/
|
|
34
|
-
getQuotas(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationGetQuotasResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* @param locationName The region for which to retrieve Batch service quotas.
|
|
37
|
-
* @param callback The callback
|
|
38
|
-
*/
|
|
39
|
-
getQuotas(locationName: string, callback: msRest.ServiceCallback<Models.BatchLocationQuota>): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param locationName The region for which to retrieve Batch service quotas.
|
|
42
|
-
* @param options The optional parameters
|
|
43
|
-
* @param callback The callback
|
|
46
|
+
* Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
|
|
47
|
+
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
48
|
+
* @param options The options parameters.
|
|
44
49
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
public listSupportedVirtualMachineSkus(
|
|
51
|
+
locationName: string,
|
|
52
|
+
options?: LocationListSupportedVirtualMachineSkusOptionalParams
|
|
53
|
+
): PagedAsyncIterableIterator<SupportedSku> {
|
|
54
|
+
const iter = this.listSupportedVirtualMachineSkusPagingAll(
|
|
55
|
+
locationName,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
return {
|
|
59
|
+
next() {
|
|
60
|
+
return iter.next();
|
|
61
|
+
},
|
|
62
|
+
[Symbol.asyncIterator]() {
|
|
63
|
+
return this;
|
|
64
|
+
},
|
|
65
|
+
byPage: () => {
|
|
66
|
+
return this.listSupportedVirtualMachineSkusPagingPage(
|
|
67
|
+
locationName,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private async *listSupportedVirtualMachineSkusPagingPage(
|
|
75
|
+
locationName: string,
|
|
76
|
+
options?: LocationListSupportedVirtualMachineSkusOptionalParams
|
|
77
|
+
): AsyncIterableIterator<SupportedSku[]> {
|
|
78
|
+
let result = await this._listSupportedVirtualMachineSkus(
|
|
79
|
+
locationName,
|
|
80
|
+
options
|
|
81
|
+
);
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
let continuationToken = result.nextLink;
|
|
84
|
+
while (continuationToken) {
|
|
85
|
+
result = await this._listSupportedVirtualMachineSkusNext(
|
|
49
86
|
locationName,
|
|
87
|
+
continuationToken,
|
|
50
88
|
options
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
89
|
+
);
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
yield result.value || [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listSupportedVirtualMachineSkusPagingAll(
|
|
96
|
+
locationName: string,
|
|
97
|
+
options?: LocationListSupportedVirtualMachineSkusOptionalParams
|
|
98
|
+
): AsyncIterableIterator<SupportedSku> {
|
|
99
|
+
for await (const page of this.listSupportedVirtualMachineSkusPagingPage(
|
|
100
|
+
locationName,
|
|
101
|
+
options
|
|
102
|
+
)) {
|
|
103
|
+
yield* page;
|
|
104
|
+
}
|
|
54
105
|
}
|
|
55
106
|
|
|
56
107
|
/**
|
|
57
|
-
* Gets the list of Batch supported
|
|
58
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
59
|
-
* @param [options] The optional parameters
|
|
60
|
-
* @returns Promise<Models.LocationListSupportedVirtualMachineSkusResponse>
|
|
61
|
-
*/
|
|
62
|
-
listSupportedVirtualMachineSkus(locationName: string, options?: Models.LocationListSupportedVirtualMachineSkusOptionalParams): Promise<Models.LocationListSupportedVirtualMachineSkusResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
65
|
-
* @param callback The callback
|
|
66
|
-
*/
|
|
67
|
-
listSupportedVirtualMachineSkus(locationName: string, callback: msRest.ServiceCallback<Models.SupportedSkusResult>): void;
|
|
68
|
-
/**
|
|
108
|
+
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
69
109
|
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
70
|
-
* @param options The
|
|
71
|
-
* @param callback The callback
|
|
110
|
+
* @param options The options parameters.
|
|
72
111
|
*/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
112
|
+
public listSupportedCloudServiceSkus(
|
|
113
|
+
locationName: string,
|
|
114
|
+
options?: LocationListSupportedCloudServiceSkusOptionalParams
|
|
115
|
+
): PagedAsyncIterableIterator<SupportedSku> {
|
|
116
|
+
const iter = this.listSupportedCloudServiceSkusPagingAll(
|
|
117
|
+
locationName,
|
|
118
|
+
options
|
|
119
|
+
);
|
|
120
|
+
return {
|
|
121
|
+
next() {
|
|
122
|
+
return iter.next();
|
|
123
|
+
},
|
|
124
|
+
[Symbol.asyncIterator]() {
|
|
125
|
+
return this;
|
|
126
|
+
},
|
|
127
|
+
byPage: () => {
|
|
128
|
+
return this.listSupportedCloudServiceSkusPagingPage(
|
|
129
|
+
locationName,
|
|
130
|
+
options
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private async *listSupportedCloudServiceSkusPagingPage(
|
|
137
|
+
locationName: string,
|
|
138
|
+
options?: LocationListSupportedCloudServiceSkusOptionalParams
|
|
139
|
+
): AsyncIterableIterator<SupportedSku[]> {
|
|
140
|
+
let result = await this._listSupportedCloudServiceSkus(
|
|
141
|
+
locationName,
|
|
142
|
+
options
|
|
143
|
+
);
|
|
144
|
+
yield result.value || [];
|
|
145
|
+
let continuationToken = result.nextLink;
|
|
146
|
+
while (continuationToken) {
|
|
147
|
+
result = await this._listSupportedCloudServiceSkusNext(
|
|
77
148
|
locationName,
|
|
149
|
+
continuationToken,
|
|
78
150
|
options
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
151
|
+
);
|
|
152
|
+
continuationToken = result.nextLink;
|
|
153
|
+
yield result.value || [];
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
private async *listSupportedCloudServiceSkusPagingAll(
|
|
158
|
+
locationName: string,
|
|
159
|
+
options?: LocationListSupportedCloudServiceSkusOptionalParams
|
|
160
|
+
): AsyncIterableIterator<SupportedSku> {
|
|
161
|
+
for await (const page of this.listSupportedCloudServiceSkusPagingPage(
|
|
162
|
+
locationName,
|
|
163
|
+
options
|
|
164
|
+
)) {
|
|
165
|
+
yield* page;
|
|
166
|
+
}
|
|
82
167
|
}
|
|
83
168
|
|
|
84
169
|
/**
|
|
85
|
-
* Gets the
|
|
86
|
-
* @param locationName The region for which to retrieve Batch service
|
|
87
|
-
* @param
|
|
88
|
-
* @returns Promise<Models.LocationListSupportedCloudServiceSkusResponse>
|
|
170
|
+
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
171
|
+
* @param locationName The region for which to retrieve Batch service quotas.
|
|
172
|
+
* @param options The options parameters.
|
|
89
173
|
*/
|
|
90
|
-
|
|
174
|
+
getQuotas(
|
|
175
|
+
locationName: string,
|
|
176
|
+
options?: LocationGetQuotasOptionalParams
|
|
177
|
+
): Promise<LocationGetQuotasResponse> {
|
|
178
|
+
return this.client.sendOperationRequest(
|
|
179
|
+
{ locationName, options },
|
|
180
|
+
getQuotasOperationSpec
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
|
|
91
184
|
/**
|
|
185
|
+
* Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
|
|
92
186
|
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
93
|
-
* @param
|
|
187
|
+
* @param options The options parameters.
|
|
94
188
|
*/
|
|
95
|
-
|
|
189
|
+
private _listSupportedVirtualMachineSkus(
|
|
190
|
+
locationName: string,
|
|
191
|
+
options?: LocationListSupportedVirtualMachineSkusOptionalParams
|
|
192
|
+
): Promise<LocationListSupportedVirtualMachineSkusResponse> {
|
|
193
|
+
return this.client.sendOperationRequest(
|
|
194
|
+
{ locationName, options },
|
|
195
|
+
listSupportedVirtualMachineSkusOperationSpec
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
96
199
|
/**
|
|
200
|
+
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
97
201
|
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
98
|
-
* @param options The
|
|
99
|
-
* @param callback The callback
|
|
202
|
+
* @param options The options parameters.
|
|
100
203
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
204
|
+
private _listSupportedCloudServiceSkus(
|
|
205
|
+
locationName: string,
|
|
206
|
+
options?: LocationListSupportedCloudServiceSkusOptionalParams
|
|
207
|
+
): Promise<LocationListSupportedCloudServiceSkusResponse> {
|
|
103
208
|
return this.client.sendOperationRequest(
|
|
104
|
-
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
listSupportedCloudServiceSkusOperationSpec,
|
|
109
|
-
callback) as Promise<Models.LocationListSupportedCloudServiceSkusResponse>;
|
|
209
|
+
{ locationName, options },
|
|
210
|
+
listSupportedCloudServiceSkusOperationSpec
|
|
211
|
+
);
|
|
110
212
|
}
|
|
111
213
|
|
|
112
214
|
/**
|
|
113
215
|
* Checks whether the Batch account name is available in the specified region.
|
|
114
216
|
* @param locationName The desired region for the name check.
|
|
115
|
-
* @param
|
|
116
|
-
* @param
|
|
117
|
-
* @returns Promise<Models.LocationCheckNameAvailabilityResponse>
|
|
118
|
-
*/
|
|
119
|
-
checkNameAvailability(locationName: string, name: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationCheckNameAvailabilityResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* @param locationName The desired region for the name check.
|
|
122
|
-
* @param name The name to check for availability
|
|
123
|
-
* @param callback The callback
|
|
217
|
+
* @param parameters Properties needed to check the availability of a name.
|
|
218
|
+
* @param options The options parameters.
|
|
124
219
|
*/
|
|
125
|
-
checkNameAvailability(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
* @param callback The callback
|
|
131
|
-
*/
|
|
132
|
-
checkNameAvailability(locationName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void;
|
|
133
|
-
checkNameAvailability(locationName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CheckNameAvailabilityResult>, callback?: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): Promise<Models.LocationCheckNameAvailabilityResponse> {
|
|
220
|
+
checkNameAvailability(
|
|
221
|
+
locationName: string,
|
|
222
|
+
parameters: CheckNameAvailabilityParameters,
|
|
223
|
+
options?: LocationCheckNameAvailabilityOptionalParams
|
|
224
|
+
): Promise<LocationCheckNameAvailabilityResponse> {
|
|
134
225
|
return this.client.sendOperationRequest(
|
|
135
|
-
{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
options
|
|
139
|
-
},
|
|
140
|
-
checkNameAvailabilityOperationSpec,
|
|
141
|
-
callback) as Promise<Models.LocationCheckNameAvailabilityResponse>;
|
|
226
|
+
{ locationName, parameters, options },
|
|
227
|
+
checkNameAvailabilityOperationSpec
|
|
228
|
+
);
|
|
142
229
|
}
|
|
143
230
|
|
|
144
231
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @param
|
|
147
|
-
* @param
|
|
148
|
-
*
|
|
149
|
-
|
|
150
|
-
listSupportedVirtualMachineSkusNext(nextPageLink: string, options?: Models.LocationListSupportedVirtualMachineSkusNextOptionalParams): Promise<Models.LocationListSupportedVirtualMachineSkusNextResponse>;
|
|
151
|
-
/**
|
|
152
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
listSupportedVirtualMachineSkusNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SupportedSkusResult>): void;
|
|
156
|
-
/**
|
|
157
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
158
|
-
* @param options The optional parameters
|
|
159
|
-
* @param callback The callback
|
|
232
|
+
* ListSupportedVirtualMachineSkusNext
|
|
233
|
+
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
234
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
235
|
+
* ListSupportedVirtualMachineSkus method.
|
|
236
|
+
* @param options The options parameters.
|
|
160
237
|
*/
|
|
161
|
-
|
|
162
|
-
|
|
238
|
+
private _listSupportedVirtualMachineSkusNext(
|
|
239
|
+
locationName: string,
|
|
240
|
+
nextLink: string,
|
|
241
|
+
options?: LocationListSupportedVirtualMachineSkusNextOptionalParams
|
|
242
|
+
): Promise<LocationListSupportedVirtualMachineSkusNextResponse> {
|
|
163
243
|
return this.client.sendOperationRequest(
|
|
164
|
-
{
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
listSupportedVirtualMachineSkusNextOperationSpec,
|
|
169
|
-
callback) as Promise<Models.LocationListSupportedVirtualMachineSkusNextResponse>;
|
|
244
|
+
{ locationName, nextLink, options },
|
|
245
|
+
listSupportedVirtualMachineSkusNextOperationSpec
|
|
246
|
+
);
|
|
170
247
|
}
|
|
171
248
|
|
|
172
249
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @param
|
|
175
|
-
* @param
|
|
176
|
-
*
|
|
177
|
-
|
|
178
|
-
listSupportedCloudServiceSkusNext(nextPageLink: string, options?: Models.LocationListSupportedCloudServiceSkusNextOptionalParams): Promise<Models.LocationListSupportedCloudServiceSkusNextResponse>;
|
|
179
|
-
/**
|
|
180
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
181
|
-
* @param callback The callback
|
|
182
|
-
*/
|
|
183
|
-
listSupportedCloudServiceSkusNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SupportedSkusResult>): void;
|
|
184
|
-
/**
|
|
185
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
186
|
-
* @param options The optional parameters
|
|
187
|
-
* @param callback The callback
|
|
250
|
+
* ListSupportedCloudServiceSkusNext
|
|
251
|
+
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
252
|
+
* @param nextLink The nextLink from the previous successful call to the ListSupportedCloudServiceSkus
|
|
253
|
+
* method.
|
|
254
|
+
* @param options The options parameters.
|
|
188
255
|
*/
|
|
189
|
-
|
|
190
|
-
|
|
256
|
+
private _listSupportedCloudServiceSkusNext(
|
|
257
|
+
locationName: string,
|
|
258
|
+
nextLink: string,
|
|
259
|
+
options?: LocationListSupportedCloudServiceSkusNextOptionalParams
|
|
260
|
+
): Promise<LocationListSupportedCloudServiceSkusNextResponse> {
|
|
191
261
|
return this.client.sendOperationRequest(
|
|
192
|
-
{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
listSupportedCloudServiceSkusNextOperationSpec,
|
|
197
|
-
callback) as Promise<Models.LocationListSupportedCloudServiceSkusNextResponse>;
|
|
262
|
+
{ locationName, nextLink, options },
|
|
263
|
+
listSupportedCloudServiceSkusNextOperationSpec
|
|
264
|
+
);
|
|
198
265
|
}
|
|
199
266
|
}
|
|
200
|
-
|
|
201
267
|
// Operation Specifications
|
|
202
|
-
const serializer =
|
|
203
|
-
|
|
268
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
269
|
+
|
|
270
|
+
const getQuotasOperationSpec: coreClient.OperationSpec = {
|
|
271
|
+
path:
|
|
272
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas",
|
|
204
273
|
httpMethod: "GET",
|
|
205
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas",
|
|
206
|
-
urlParameters: [
|
|
207
|
-
Parameters.locationName,
|
|
208
|
-
Parameters.subscriptionId
|
|
209
|
-
],
|
|
210
|
-
queryParameters: [
|
|
211
|
-
Parameters.apiVersion
|
|
212
|
-
],
|
|
213
|
-
headerParameters: [
|
|
214
|
-
Parameters.acceptLanguage
|
|
215
|
-
],
|
|
216
274
|
responses: {
|
|
217
275
|
200: {
|
|
218
276
|
bodyMapper: Mappers.BatchLocationQuota
|
|
@@ -221,24 +279,19 @@ const getQuotasOperationSpec: msRest.OperationSpec = {
|
|
|
221
279
|
bodyMapper: Mappers.CloudError
|
|
222
280
|
}
|
|
223
281
|
},
|
|
282
|
+
queryParameters: [Parameters.apiVersion],
|
|
283
|
+
urlParameters: [
|
|
284
|
+
Parameters.$host,
|
|
285
|
+
Parameters.subscriptionId,
|
|
286
|
+
Parameters.locationName
|
|
287
|
+
],
|
|
288
|
+
headerParameters: [Parameters.accept],
|
|
224
289
|
serializer
|
|
225
290
|
};
|
|
226
|
-
|
|
227
|
-
|
|
291
|
+
const listSupportedVirtualMachineSkusOperationSpec: coreClient.OperationSpec = {
|
|
292
|
+
path:
|
|
293
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus",
|
|
228
294
|
httpMethod: "GET",
|
|
229
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus",
|
|
230
|
-
urlParameters: [
|
|
231
|
-
Parameters.locationName,
|
|
232
|
-
Parameters.subscriptionId
|
|
233
|
-
],
|
|
234
|
-
queryParameters: [
|
|
235
|
-
Parameters.maxresults,
|
|
236
|
-
Parameters.filter,
|
|
237
|
-
Parameters.apiVersion
|
|
238
|
-
],
|
|
239
|
-
headerParameters: [
|
|
240
|
-
Parameters.acceptLanguage
|
|
241
|
-
],
|
|
242
295
|
responses: {
|
|
243
296
|
200: {
|
|
244
297
|
bodyMapper: Mappers.SupportedSkusResult
|
|
@@ -247,24 +300,23 @@ const listSupportedVirtualMachineSkusOperationSpec: msRest.OperationSpec = {
|
|
|
247
300
|
bodyMapper: Mappers.CloudError
|
|
248
301
|
}
|
|
249
302
|
},
|
|
250
|
-
serializer
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
const listSupportedCloudServiceSkusOperationSpec: msRest.OperationSpec = {
|
|
254
|
-
httpMethod: "GET",
|
|
255
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
256
|
-
urlParameters: [
|
|
257
|
-
Parameters.locationName,
|
|
258
|
-
Parameters.subscriptionId
|
|
259
|
-
],
|
|
260
303
|
queryParameters: [
|
|
304
|
+
Parameters.apiVersion,
|
|
261
305
|
Parameters.maxresults,
|
|
262
|
-
Parameters.filter
|
|
263
|
-
Parameters.apiVersion
|
|
306
|
+
Parameters.filter
|
|
264
307
|
],
|
|
265
|
-
|
|
266
|
-
Parameters
|
|
308
|
+
urlParameters: [
|
|
309
|
+
Parameters.$host,
|
|
310
|
+
Parameters.subscriptionId,
|
|
311
|
+
Parameters.locationName
|
|
267
312
|
],
|
|
313
|
+
headerParameters: [Parameters.accept],
|
|
314
|
+
serializer
|
|
315
|
+
};
|
|
316
|
+
const listSupportedCloudServiceSkusOperationSpec: coreClient.OperationSpec = {
|
|
317
|
+
path:
|
|
318
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
319
|
+
httpMethod: "GET",
|
|
268
320
|
responses: {
|
|
269
321
|
200: {
|
|
270
322
|
bodyMapper: Mappers.SupportedSkusResult
|
|
@@ -273,31 +325,23 @@ const listSupportedCloudServiceSkusOperationSpec: msRest.OperationSpec = {
|
|
|
273
325
|
bodyMapper: Mappers.CloudError
|
|
274
326
|
}
|
|
275
327
|
},
|
|
276
|
-
serializer
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
280
|
-
httpMethod: "POST",
|
|
281
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
282
|
-
urlParameters: [
|
|
283
|
-
Parameters.locationName,
|
|
284
|
-
Parameters.subscriptionId
|
|
285
|
-
],
|
|
286
328
|
queryParameters: [
|
|
287
|
-
Parameters.apiVersion
|
|
329
|
+
Parameters.apiVersion,
|
|
330
|
+
Parameters.maxresults,
|
|
331
|
+
Parameters.filter
|
|
288
332
|
],
|
|
289
|
-
|
|
290
|
-
Parameters
|
|
333
|
+
urlParameters: [
|
|
334
|
+
Parameters.$host,
|
|
335
|
+
Parameters.subscriptionId,
|
|
336
|
+
Parameters.locationName
|
|
291
337
|
],
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
},
|
|
338
|
+
headerParameters: [Parameters.accept],
|
|
339
|
+
serializer
|
|
340
|
+
};
|
|
341
|
+
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
342
|
+
path:
|
|
343
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
344
|
+
httpMethod: "POST",
|
|
301
345
|
responses: {
|
|
302
346
|
200: {
|
|
303
347
|
bodyMapper: Mappers.CheckNameAvailabilityResult
|
|
@@ -306,24 +350,20 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
|
306
350
|
bodyMapper: Mappers.CloudError
|
|
307
351
|
}
|
|
308
352
|
},
|
|
353
|
+
requestBody: Parameters.parameters7,
|
|
354
|
+
queryParameters: [Parameters.apiVersion],
|
|
355
|
+
urlParameters: [
|
|
356
|
+
Parameters.$host,
|
|
357
|
+
Parameters.subscriptionId,
|
|
358
|
+
Parameters.locationName
|
|
359
|
+
],
|
|
360
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
361
|
+
mediaType: "json",
|
|
309
362
|
serializer
|
|
310
363
|
};
|
|
311
|
-
|
|
312
|
-
const listSupportedVirtualMachineSkusNextOperationSpec: msRest.OperationSpec = {
|
|
313
|
-
httpMethod: "GET",
|
|
314
|
-
baseUrl: "https://management.azure.com",
|
|
364
|
+
const listSupportedVirtualMachineSkusNextOperationSpec: coreClient.OperationSpec = {
|
|
315
365
|
path: "{nextLink}",
|
|
316
|
-
|
|
317
|
-
Parameters.nextPageLink
|
|
318
|
-
],
|
|
319
|
-
queryParameters: [
|
|
320
|
-
Parameters.maxresults,
|
|
321
|
-
Parameters.filter,
|
|
322
|
-
Parameters.apiVersion
|
|
323
|
-
],
|
|
324
|
-
headerParameters: [
|
|
325
|
-
Parameters.acceptLanguage
|
|
326
|
-
],
|
|
366
|
+
httpMethod: "GET",
|
|
327
367
|
responses: {
|
|
328
368
|
200: {
|
|
329
369
|
bodyMapper: Mappers.SupportedSkusResult
|
|
@@ -332,24 +372,23 @@ const listSupportedVirtualMachineSkusNextOperationSpec: msRest.OperationSpec = {
|
|
|
332
372
|
bodyMapper: Mappers.CloudError
|
|
333
373
|
}
|
|
334
374
|
},
|
|
335
|
-
serializer
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
const listSupportedCloudServiceSkusNextOperationSpec: msRest.OperationSpec = {
|
|
339
|
-
httpMethod: "GET",
|
|
340
|
-
baseUrl: "https://management.azure.com",
|
|
341
|
-
path: "{nextLink}",
|
|
342
|
-
urlParameters: [
|
|
343
|
-
Parameters.nextPageLink
|
|
344
|
-
],
|
|
345
375
|
queryParameters: [
|
|
376
|
+
Parameters.apiVersion,
|
|
346
377
|
Parameters.maxresults,
|
|
347
|
-
Parameters.filter
|
|
348
|
-
Parameters.apiVersion
|
|
378
|
+
Parameters.filter
|
|
349
379
|
],
|
|
350
|
-
|
|
351
|
-
Parameters
|
|
380
|
+
urlParameters: [
|
|
381
|
+
Parameters.$host,
|
|
382
|
+
Parameters.subscriptionId,
|
|
383
|
+
Parameters.nextLink,
|
|
384
|
+
Parameters.locationName
|
|
352
385
|
],
|
|
386
|
+
headerParameters: [Parameters.accept],
|
|
387
|
+
serializer
|
|
388
|
+
};
|
|
389
|
+
const listSupportedCloudServiceSkusNextOperationSpec: coreClient.OperationSpec = {
|
|
390
|
+
path: "{nextLink}",
|
|
391
|
+
httpMethod: "GET",
|
|
353
392
|
responses: {
|
|
354
393
|
200: {
|
|
355
394
|
bodyMapper: Mappers.SupportedSkusResult
|
|
@@ -358,5 +397,17 @@ const listSupportedCloudServiceSkusNextOperationSpec: msRest.OperationSpec = {
|
|
|
358
397
|
bodyMapper: Mappers.CloudError
|
|
359
398
|
}
|
|
360
399
|
},
|
|
400
|
+
queryParameters: [
|
|
401
|
+
Parameters.apiVersion,
|
|
402
|
+
Parameters.maxresults,
|
|
403
|
+
Parameters.filter
|
|
404
|
+
],
|
|
405
|
+
urlParameters: [
|
|
406
|
+
Parameters.$host,
|
|
407
|
+
Parameters.subscriptionId,
|
|
408
|
+
Parameters.nextLink,
|
|
409
|
+
Parameters.locationName
|
|
410
|
+
],
|
|
411
|
+
headerParameters: [Parameters.accept],
|
|
361
412
|
serializer
|
|
362
413
|
};
|