@azure/arm-batch 9.2.1-alpha.20240925.1 → 10.0.0-alpha.20240927.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 +63 -7
- package/dist/index.js +1215 -315
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationListSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
- package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
- package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -3
- package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
- package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificateGetSample.js +2 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{locationListSupportedCloudServiceSkusSample.js → networkSecurityPerimeterListConfigurationsSample.js} +9 -8
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +50 -132
- package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
- package/dist-esm/samples-dev/poolGetSample.js +7 -7
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
- package/dist-esm/src/batchManagementClient.d.ts +2 -1
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +5 -3
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +467 -46
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +92 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +22 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +739 -120
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +14 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/location.d.ts +1 -23
- package/dist-esm/src/operations/location.d.ts.map +1 -1
- package/dist-esm/src/operations/location.js +0 -124
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js +286 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts +1 -7
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/test/batch_examples.js +23 -45
- package/dist-esm/test/batch_examples.js.map +1 -1
- package/package.json +33 -31
- package/review/arm-batch.api.md +294 -44
- package/src/batchManagementClient.ts +7 -2
- package/src/models/index.ts +517 -53
- package/src/models/mappers.ts +781 -133
- package/src/models/parameters.ts +16 -1
- package/src/operations/batchAccountOperations.ts +42 -42
- package/src/operations/index.ts +1 -0
- package/src/operations/location.ts +0 -154
- package/src/operations/networkSecurityPerimeterOperations.ts +397 -0
- package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/location.ts +0 -10
- package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +81 -0
- package/types/arm-batch.d.ts +575 -81
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +0 -1
package/src/models/parameters.ts
CHANGED
|
@@ -95,7 +95,7 @@ export const accountName: OperationURLParameter = {
|
|
|
95
95
|
export const apiVersion: OperationQueryParameter = {
|
|
96
96
|
parameterPath: "apiVersion",
|
|
97
97
|
mapper: {
|
|
98
|
-
defaultValue: "2024-
|
|
98
|
+
defaultValue: "2024-07-01",
|
|
99
99
|
isConstant: true,
|
|
100
100
|
serializedName: "api-version",
|
|
101
101
|
type: {
|
|
@@ -360,3 +360,18 @@ export const poolName: OperationURLParameter = {
|
|
|
360
360
|
},
|
|
361
361
|
},
|
|
362
362
|
};
|
|
363
|
+
|
|
364
|
+
export const networkSecurityPerimeterConfigurationName: OperationURLParameter =
|
|
365
|
+
{
|
|
366
|
+
parameterPath: "networkSecurityPerimeterConfigurationName",
|
|
367
|
+
mapper: {
|
|
368
|
+
constraints: {
|
|
369
|
+
Pattern: new RegExp("^.*$"),
|
|
370
|
+
},
|
|
371
|
+
serializedName: "networkSecurityPerimeterConfigurationName",
|
|
372
|
+
required: true,
|
|
373
|
+
type: {
|
|
374
|
+
name: "String",
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
};
|
|
@@ -284,7 +284,7 @@ export class BatchAccountOperationsImpl implements BatchAccountOperations {
|
|
|
284
284
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
285
285
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
286
286
|
* about creating a pool inside of a virtual network, see
|
|
287
|
-
* https://docs.microsoft.com/
|
|
287
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
288
288
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
289
289
|
* @param accountName The name of the Batch account.
|
|
290
290
|
* @param options The options parameters.
|
|
@@ -715,7 +715,7 @@ export class BatchAccountOperationsImpl implements BatchAccountOperations {
|
|
|
715
715
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
716
716
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
717
717
|
* about creating a pool inside of a virtual network, see
|
|
718
|
-
* https://docs.microsoft.com/
|
|
718
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
719
719
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
720
720
|
* @param accountName The name of the Batch account.
|
|
721
721
|
* @param options The options parameters.
|
|
@@ -1046,27 +1046,27 @@ const getDetectorOperationSpec: coreClient.OperationSpec = {
|
|
|
1046
1046
|
serializer,
|
|
1047
1047
|
};
|
|
1048
1048
|
const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
},
|
|
1056
|
-
default: {
|
|
1057
|
-
bodyMapper: Mappers.CloudError,
|
|
1058
|
-
},
|
|
1049
|
+
{
|
|
1050
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints",
|
|
1051
|
+
httpMethod: "GET",
|
|
1052
|
+
responses: {
|
|
1053
|
+
200: {
|
|
1054
|
+
bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,
|
|
1059
1055
|
},
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1056
|
+
default: {
|
|
1057
|
+
bodyMapper: Mappers.CloudError,
|
|
1058
|
+
},
|
|
1059
|
+
},
|
|
1060
|
+
queryParameters: [Parameters.apiVersion],
|
|
1061
|
+
urlParameters: [
|
|
1062
|
+
Parameters.$host,
|
|
1063
|
+
Parameters.resourceGroupName,
|
|
1064
|
+
Parameters.subscriptionId,
|
|
1065
|
+
Parameters.accountName1,
|
|
1066
|
+
],
|
|
1067
|
+
headerParameters: [Parameters.accept],
|
|
1068
|
+
serializer,
|
|
1069
|
+
};
|
|
1070
1070
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
1071
1071
|
path: "{nextLink}",
|
|
1072
1072
|
httpMethod: "GET",
|
|
@@ -1128,24 +1128,24 @@ const listDetectorsNextOperationSpec: coreClient.OperationSpec = {
|
|
|
1128
1128
|
serializer,
|
|
1129
1129
|
};
|
|
1130
1130
|
const listOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec =
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
},
|
|
1138
|
-
default: {
|
|
1139
|
-
bodyMapper: Mappers.CloudError,
|
|
1140
|
-
},
|
|
1131
|
+
{
|
|
1132
|
+
path: "{nextLink}",
|
|
1133
|
+
httpMethod: "GET",
|
|
1134
|
+
responses: {
|
|
1135
|
+
200: {
|
|
1136
|
+
bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,
|
|
1141
1137
|
},
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1138
|
+
default: {
|
|
1139
|
+
bodyMapper: Mappers.CloudError,
|
|
1140
|
+
},
|
|
1141
|
+
},
|
|
1142
|
+
urlParameters: [
|
|
1143
|
+
Parameters.$host,
|
|
1144
|
+
Parameters.resourceGroupName,
|
|
1145
|
+
Parameters.subscriptionId,
|
|
1146
|
+
Parameters.accountName1,
|
|
1147
|
+
Parameters.nextLink,
|
|
1148
|
+
],
|
|
1149
|
+
headerParameters: [Parameters.accept],
|
|
1150
|
+
serializer,
|
|
1151
|
+
};
|
package/src/operations/index.ts
CHANGED
|
@@ -18,16 +18,12 @@ import {
|
|
|
18
18
|
LocationListSupportedVirtualMachineSkusNextOptionalParams,
|
|
19
19
|
LocationListSupportedVirtualMachineSkusOptionalParams,
|
|
20
20
|
LocationListSupportedVirtualMachineSkusResponse,
|
|
21
|
-
LocationListSupportedCloudServiceSkusNextOptionalParams,
|
|
22
|
-
LocationListSupportedCloudServiceSkusOptionalParams,
|
|
23
|
-
LocationListSupportedCloudServiceSkusResponse,
|
|
24
21
|
LocationGetQuotasOptionalParams,
|
|
25
22
|
LocationGetQuotasResponse,
|
|
26
23
|
CheckNameAvailabilityParameters,
|
|
27
24
|
LocationCheckNameAvailabilityOptionalParams,
|
|
28
25
|
LocationCheckNameAvailabilityResponse,
|
|
29
26
|
LocationListSupportedVirtualMachineSkusNextResponse,
|
|
30
|
-
LocationListSupportedCloudServiceSkusNextResponse,
|
|
31
27
|
} from "../models";
|
|
32
28
|
|
|
33
29
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -118,78 +114,6 @@ export class LocationImpl implements Location {
|
|
|
118
114
|
}
|
|
119
115
|
}
|
|
120
116
|
|
|
121
|
-
/**
|
|
122
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
123
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
124
|
-
* @param options The options parameters.
|
|
125
|
-
*/
|
|
126
|
-
public listSupportedCloudServiceSkus(
|
|
127
|
-
locationName: string,
|
|
128
|
-
options?: LocationListSupportedCloudServiceSkusOptionalParams,
|
|
129
|
-
): PagedAsyncIterableIterator<SupportedSku> {
|
|
130
|
-
const iter = this.listSupportedCloudServiceSkusPagingAll(
|
|
131
|
-
locationName,
|
|
132
|
-
options,
|
|
133
|
-
);
|
|
134
|
-
return {
|
|
135
|
-
next() {
|
|
136
|
-
return iter.next();
|
|
137
|
-
},
|
|
138
|
-
[Symbol.asyncIterator]() {
|
|
139
|
-
return this;
|
|
140
|
-
},
|
|
141
|
-
byPage: (settings?: PageSettings) => {
|
|
142
|
-
if (settings?.maxPageSize) {
|
|
143
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
144
|
-
}
|
|
145
|
-
return this.listSupportedCloudServiceSkusPagingPage(
|
|
146
|
-
locationName,
|
|
147
|
-
options,
|
|
148
|
-
settings,
|
|
149
|
-
);
|
|
150
|
-
},
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
private async *listSupportedCloudServiceSkusPagingPage(
|
|
155
|
-
locationName: string,
|
|
156
|
-
options?: LocationListSupportedCloudServiceSkusOptionalParams,
|
|
157
|
-
settings?: PageSettings,
|
|
158
|
-
): AsyncIterableIterator<SupportedSku[]> {
|
|
159
|
-
let result: LocationListSupportedCloudServiceSkusResponse;
|
|
160
|
-
let continuationToken = settings?.continuationToken;
|
|
161
|
-
if (!continuationToken) {
|
|
162
|
-
result = await this._listSupportedCloudServiceSkus(locationName, options);
|
|
163
|
-
let page = result.value || [];
|
|
164
|
-
continuationToken = result.nextLink;
|
|
165
|
-
setContinuationToken(page, continuationToken);
|
|
166
|
-
yield page;
|
|
167
|
-
}
|
|
168
|
-
while (continuationToken) {
|
|
169
|
-
result = await this._listSupportedCloudServiceSkusNext(
|
|
170
|
-
locationName,
|
|
171
|
-
continuationToken,
|
|
172
|
-
options,
|
|
173
|
-
);
|
|
174
|
-
continuationToken = result.nextLink;
|
|
175
|
-
let page = result.value || [];
|
|
176
|
-
setContinuationToken(page, continuationToken);
|
|
177
|
-
yield page;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
private async *listSupportedCloudServiceSkusPagingAll(
|
|
182
|
-
locationName: string,
|
|
183
|
-
options?: LocationListSupportedCloudServiceSkusOptionalParams,
|
|
184
|
-
): AsyncIterableIterator<SupportedSku> {
|
|
185
|
-
for await (const page of this.listSupportedCloudServiceSkusPagingPage(
|
|
186
|
-
locationName,
|
|
187
|
-
options,
|
|
188
|
-
)) {
|
|
189
|
-
yield* page;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
117
|
/**
|
|
194
118
|
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
195
119
|
* @param locationName The region for which to retrieve Batch service quotas.
|
|
@@ -220,21 +144,6 @@ export class LocationImpl implements Location {
|
|
|
220
144
|
);
|
|
221
145
|
}
|
|
222
146
|
|
|
223
|
-
/**
|
|
224
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
225
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
226
|
-
* @param options The options parameters.
|
|
227
|
-
*/
|
|
228
|
-
private _listSupportedCloudServiceSkus(
|
|
229
|
-
locationName: string,
|
|
230
|
-
options?: LocationListSupportedCloudServiceSkusOptionalParams,
|
|
231
|
-
): Promise<LocationListSupportedCloudServiceSkusResponse> {
|
|
232
|
-
return this.client.sendOperationRequest(
|
|
233
|
-
{ locationName, options },
|
|
234
|
-
listSupportedCloudServiceSkusOperationSpec,
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
147
|
/**
|
|
239
148
|
* Checks whether the Batch account name is available in the specified region.
|
|
240
149
|
* @param locationName The desired region for the name check.
|
|
@@ -269,24 +178,6 @@ export class LocationImpl implements Location {
|
|
|
269
178
|
listSupportedVirtualMachineSkusNextOperationSpec,
|
|
270
179
|
);
|
|
271
180
|
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* ListSupportedCloudServiceSkusNext
|
|
275
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
276
|
-
* @param nextLink The nextLink from the previous successful call to the ListSupportedCloudServiceSkus
|
|
277
|
-
* method.
|
|
278
|
-
* @param options The options parameters.
|
|
279
|
-
*/
|
|
280
|
-
private _listSupportedCloudServiceSkusNext(
|
|
281
|
-
locationName: string,
|
|
282
|
-
nextLink: string,
|
|
283
|
-
options?: LocationListSupportedCloudServiceSkusNextOptionalParams,
|
|
284
|
-
): Promise<LocationListSupportedCloudServiceSkusNextResponse> {
|
|
285
|
-
return this.client.sendOperationRequest(
|
|
286
|
-
{ locationName, nextLink, options },
|
|
287
|
-
listSupportedCloudServiceSkusNextOperationSpec,
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
181
|
}
|
|
291
182
|
// Operation Specifications
|
|
292
183
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -335,30 +226,6 @@ const listSupportedVirtualMachineSkusOperationSpec: coreClient.OperationSpec = {
|
|
|
335
226
|
headerParameters: [Parameters.accept],
|
|
336
227
|
serializer,
|
|
337
228
|
};
|
|
338
|
-
const listSupportedCloudServiceSkusOperationSpec: coreClient.OperationSpec = {
|
|
339
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
340
|
-
httpMethod: "GET",
|
|
341
|
-
responses: {
|
|
342
|
-
200: {
|
|
343
|
-
bodyMapper: Mappers.SupportedSkusResult,
|
|
344
|
-
},
|
|
345
|
-
default: {
|
|
346
|
-
bodyMapper: Mappers.CloudError,
|
|
347
|
-
},
|
|
348
|
-
},
|
|
349
|
-
queryParameters: [
|
|
350
|
-
Parameters.apiVersion,
|
|
351
|
-
Parameters.maxresults,
|
|
352
|
-
Parameters.filter,
|
|
353
|
-
],
|
|
354
|
-
urlParameters: [
|
|
355
|
-
Parameters.$host,
|
|
356
|
-
Parameters.subscriptionId,
|
|
357
|
-
Parameters.locationName,
|
|
358
|
-
],
|
|
359
|
-
headerParameters: [Parameters.accept],
|
|
360
|
-
serializer,
|
|
361
|
-
};
|
|
362
229
|
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
363
230
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
364
231
|
httpMethod: "POST",
|
|
@@ -402,24 +269,3 @@ const listSupportedVirtualMachineSkusNextOperationSpec: coreClient.OperationSpec
|
|
|
402
269
|
headerParameters: [Parameters.accept],
|
|
403
270
|
serializer,
|
|
404
271
|
};
|
|
405
|
-
const listSupportedCloudServiceSkusNextOperationSpec: coreClient.OperationSpec =
|
|
406
|
-
{
|
|
407
|
-
path: "{nextLink}",
|
|
408
|
-
httpMethod: "GET",
|
|
409
|
-
responses: {
|
|
410
|
-
200: {
|
|
411
|
-
bodyMapper: Mappers.SupportedSkusResult,
|
|
412
|
-
},
|
|
413
|
-
default: {
|
|
414
|
-
bodyMapper: Mappers.CloudError,
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
|
-
urlParameters: [
|
|
418
|
-
Parameters.$host,
|
|
419
|
-
Parameters.subscriptionId,
|
|
420
|
-
Parameters.nextLink,
|
|
421
|
-
Parameters.locationName,
|
|
422
|
-
],
|
|
423
|
-
headerParameters: [Parameters.accept],
|
|
424
|
-
serializer,
|
|
425
|
-
};
|