@azure/arm-batch 9.1.1-alpha.20240313.1 → 9.2.0-alpha.20240315.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 +12 -10
- package/LICENSE +1 -1
- package/dist/index.js +1815 -1675
- 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 +3 -3
- package/dist-esm/samples-dev/applicationCreateSample.js.map +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 +2 -2
- package/dist-esm/samples-dev/applicationPackageActivateSample.js.map +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 +2 -2
- package/dist-esm/samples-dev/batchAccountCreateSample.js +20 -20
- package/dist-esm/samples-dev/batchAccountCreateSample.js.map +1 -1
- 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 +3 -3
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +4 -4
- package/dist-esm/samples-dev/batchAccountUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +7 -7
- package/dist-esm/samples-dev/certificateCreateSample.js.map +1 -1
- 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 +4 -4
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js.map +1 -1
- package/dist-esm/samples-dev/certificateUpdateSample.js +3 -3
- package/dist-esm/samples-dev/certificateUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +5 -5
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +178 -118
- 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 +25 -6
- package/dist-esm/samples-dev/poolGetSample.js.map +1 -1
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +3 -3
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js.map +1 -1
- package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +14 -14
- package/dist-esm/samples-dev/poolUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +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 +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +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.js +11 -10
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +46 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1367 -1231
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +87 -87
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applicationOperations.js +30 -30
- package/dist-esm/src/operations/applicationOperations.js.map +1 -1
- package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/applicationPackageOperations.js +31 -31
- package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
- package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.js +95 -95
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOperations.js +43 -43
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/location.js +34 -34
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/poolOperations.js +48 -48
- package/dist-esm/src/operations/poolOperations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +45 -45
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResourceOperations.js +16 -16
- package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/test/batch_examples.js +1 -1
- package/dist-esm/test/batch_examples.js.map +1 -1
- package/package.json +3 -4
- package/review/arm-batch.api.md +31 -0
- package/src/batchManagementClient.ts +22 -22
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +74 -14
- package/src/models/mappers.ts +1459 -1314
- package/src/models/parameters.ts +88 -88
- package/src/operations/applicationOperations.ts +54 -59
- package/src/operations/applicationPackageOperations.ts +59 -63
- package/src/operations/batchAccountOperations.ts +211 -223
- package/src/operations/certificateOperations.ts +80 -87
- package/src/operations/location.ts +96 -98
- package/src/operations/operations.ts +16 -16
- package/src/operations/poolOperations.ts +88 -96
- package/src/operations/privateEndpointConnectionOperations.ts +86 -91
- package/src/operations/privateLinkResourceOperations.ts +35 -36
- package/src/operationsInterfaces/applicationOperations.ts +6 -6
- package/src/operationsInterfaces/applicationPackageOperations.ts +6 -6
- package/src/operationsInterfaces/batchAccountOperations.ts +16 -16
- package/src/operationsInterfaces/certificateOperations.ts +8 -8
- package/src/operationsInterfaces/location.ts +5 -5
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/poolOperations.ts +9 -9
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +7 -7
- package/src/operationsInterfaces/privateLinkResourceOperations.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-batch.d.ts +51 -1
|
@@ -20,13 +20,14 @@ import {
|
|
|
20
20
|
PrivateLinkResourceListByBatchAccountResponse,
|
|
21
21
|
PrivateLinkResourceGetOptionalParams,
|
|
22
22
|
PrivateLinkResourceGetResponse,
|
|
23
|
-
PrivateLinkResourceListByBatchAccountNextResponse
|
|
23
|
+
PrivateLinkResourceListByBatchAccountNextResponse,
|
|
24
24
|
} from "../models";
|
|
25
25
|
|
|
26
26
|
/// <reference lib="esnext.asynciterable" />
|
|
27
27
|
/** Class containing PrivateLinkResourceOperations operations. */
|
|
28
28
|
export class PrivateLinkResourceOperationsImpl
|
|
29
|
-
implements PrivateLinkResourceOperations
|
|
29
|
+
implements PrivateLinkResourceOperations
|
|
30
|
+
{
|
|
30
31
|
private readonly client: BatchManagementClient;
|
|
31
32
|
|
|
32
33
|
/**
|
|
@@ -46,12 +47,12 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
46
47
|
public listByBatchAccount(
|
|
47
48
|
resourceGroupName: string,
|
|
48
49
|
accountName: string,
|
|
49
|
-
options?: PrivateLinkResourceListByBatchAccountOptionalParams
|
|
50
|
+
options?: PrivateLinkResourceListByBatchAccountOptionalParams,
|
|
50
51
|
): PagedAsyncIterableIterator<PrivateLinkResource> {
|
|
51
52
|
const iter = this.listByBatchAccountPagingAll(
|
|
52
53
|
resourceGroupName,
|
|
53
54
|
accountName,
|
|
54
|
-
options
|
|
55
|
+
options,
|
|
55
56
|
);
|
|
56
57
|
return {
|
|
57
58
|
next() {
|
|
@@ -68,9 +69,9 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
68
69
|
resourceGroupName,
|
|
69
70
|
accountName,
|
|
70
71
|
options,
|
|
71
|
-
settings
|
|
72
|
+
settings,
|
|
72
73
|
);
|
|
73
|
-
}
|
|
74
|
+
},
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
|
|
@@ -78,7 +79,7 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
78
79
|
resourceGroupName: string,
|
|
79
80
|
accountName: string,
|
|
80
81
|
options?: PrivateLinkResourceListByBatchAccountOptionalParams,
|
|
81
|
-
settings?: PageSettings
|
|
82
|
+
settings?: PageSettings,
|
|
82
83
|
): AsyncIterableIterator<PrivateLinkResource[]> {
|
|
83
84
|
let result: PrivateLinkResourceListByBatchAccountResponse;
|
|
84
85
|
let continuationToken = settings?.continuationToken;
|
|
@@ -86,7 +87,7 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
86
87
|
result = await this._listByBatchAccount(
|
|
87
88
|
resourceGroupName,
|
|
88
89
|
accountName,
|
|
89
|
-
options
|
|
90
|
+
options,
|
|
90
91
|
);
|
|
91
92
|
let page = result.value || [];
|
|
92
93
|
continuationToken = result.nextLink;
|
|
@@ -98,7 +99,7 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
98
99
|
resourceGroupName,
|
|
99
100
|
accountName,
|
|
100
101
|
continuationToken,
|
|
101
|
-
options
|
|
102
|
+
options,
|
|
102
103
|
);
|
|
103
104
|
continuationToken = result.nextLink;
|
|
104
105
|
let page = result.value || [];
|
|
@@ -110,12 +111,12 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
110
111
|
private async *listByBatchAccountPagingAll(
|
|
111
112
|
resourceGroupName: string,
|
|
112
113
|
accountName: string,
|
|
113
|
-
options?: PrivateLinkResourceListByBatchAccountOptionalParams
|
|
114
|
+
options?: PrivateLinkResourceListByBatchAccountOptionalParams,
|
|
114
115
|
): AsyncIterableIterator<PrivateLinkResource> {
|
|
115
116
|
for await (const page of this.listByBatchAccountPagingPage(
|
|
116
117
|
resourceGroupName,
|
|
117
118
|
accountName,
|
|
118
|
-
options
|
|
119
|
+
options,
|
|
119
120
|
)) {
|
|
120
121
|
yield* page;
|
|
121
122
|
}
|
|
@@ -130,11 +131,11 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
130
131
|
private _listByBatchAccount(
|
|
131
132
|
resourceGroupName: string,
|
|
132
133
|
accountName: string,
|
|
133
|
-
options?: PrivateLinkResourceListByBatchAccountOptionalParams
|
|
134
|
+
options?: PrivateLinkResourceListByBatchAccountOptionalParams,
|
|
134
135
|
): Promise<PrivateLinkResourceListByBatchAccountResponse> {
|
|
135
136
|
return this.client.sendOperationRequest(
|
|
136
137
|
{ resourceGroupName, accountName, options },
|
|
137
|
-
listByBatchAccountOperationSpec
|
|
138
|
+
listByBatchAccountOperationSpec,
|
|
138
139
|
);
|
|
139
140
|
}
|
|
140
141
|
|
|
@@ -150,11 +151,11 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
150
151
|
resourceGroupName: string,
|
|
151
152
|
accountName: string,
|
|
152
153
|
privateLinkResourceName: string,
|
|
153
|
-
options?: PrivateLinkResourceGetOptionalParams
|
|
154
|
+
options?: PrivateLinkResourceGetOptionalParams,
|
|
154
155
|
): Promise<PrivateLinkResourceGetResponse> {
|
|
155
156
|
return this.client.sendOperationRequest(
|
|
156
157
|
{ resourceGroupName, accountName, privateLinkResourceName, options },
|
|
157
|
-
getOperationSpec
|
|
158
|
+
getOperationSpec,
|
|
158
159
|
);
|
|
159
160
|
}
|
|
160
161
|
|
|
@@ -169,11 +170,11 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
169
170
|
resourceGroupName: string,
|
|
170
171
|
accountName: string,
|
|
171
172
|
nextLink: string,
|
|
172
|
-
options?: PrivateLinkResourceListByBatchAccountNextOptionalParams
|
|
173
|
+
options?: PrivateLinkResourceListByBatchAccountNextOptionalParams,
|
|
173
174
|
): Promise<PrivateLinkResourceListByBatchAccountNextResponse> {
|
|
174
175
|
return this.client.sendOperationRequest(
|
|
175
176
|
{ resourceGroupName, accountName, nextLink, options },
|
|
176
|
-
listByBatchAccountNextOperationSpec
|
|
177
|
+
listByBatchAccountNextOperationSpec,
|
|
177
178
|
);
|
|
178
179
|
}
|
|
179
180
|
}
|
|
@@ -181,38 +182,36 @@ export class PrivateLinkResourceOperationsImpl
|
|
|
181
182
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
182
183
|
|
|
183
184
|
const listByBatchAccountOperationSpec: coreClient.OperationSpec = {
|
|
184
|
-
path:
|
|
185
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources",
|
|
185
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources",
|
|
186
186
|
httpMethod: "GET",
|
|
187
187
|
responses: {
|
|
188
188
|
200: {
|
|
189
|
-
bodyMapper: Mappers.ListPrivateLinkResourcesResult
|
|
189
|
+
bodyMapper: Mappers.ListPrivateLinkResourcesResult,
|
|
190
190
|
},
|
|
191
191
|
default: {
|
|
192
|
-
bodyMapper: Mappers.CloudError
|
|
193
|
-
}
|
|
192
|
+
bodyMapper: Mappers.CloudError,
|
|
193
|
+
},
|
|
194
194
|
},
|
|
195
195
|
queryParameters: [Parameters.apiVersion, Parameters.maxresults],
|
|
196
196
|
urlParameters: [
|
|
197
197
|
Parameters.$host,
|
|
198
198
|
Parameters.resourceGroupName,
|
|
199
199
|
Parameters.subscriptionId,
|
|
200
|
-
Parameters.accountName1
|
|
200
|
+
Parameters.accountName1,
|
|
201
201
|
],
|
|
202
202
|
headerParameters: [Parameters.accept],
|
|
203
|
-
serializer
|
|
203
|
+
serializer,
|
|
204
204
|
};
|
|
205
205
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
206
|
-
path:
|
|
207
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}",
|
|
206
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}",
|
|
208
207
|
httpMethod: "GET",
|
|
209
208
|
responses: {
|
|
210
209
|
200: {
|
|
211
|
-
bodyMapper: Mappers.PrivateLinkResource
|
|
210
|
+
bodyMapper: Mappers.PrivateLinkResource,
|
|
212
211
|
},
|
|
213
212
|
default: {
|
|
214
|
-
bodyMapper: Mappers.CloudError
|
|
215
|
-
}
|
|
213
|
+
bodyMapper: Mappers.CloudError,
|
|
214
|
+
},
|
|
216
215
|
},
|
|
217
216
|
queryParameters: [Parameters.apiVersion],
|
|
218
217
|
urlParameters: [
|
|
@@ -220,29 +219,29 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
220
219
|
Parameters.resourceGroupName,
|
|
221
220
|
Parameters.subscriptionId,
|
|
222
221
|
Parameters.accountName1,
|
|
223
|
-
Parameters.privateLinkResourceName
|
|
222
|
+
Parameters.privateLinkResourceName,
|
|
224
223
|
],
|
|
225
224
|
headerParameters: [Parameters.accept],
|
|
226
|
-
serializer
|
|
225
|
+
serializer,
|
|
227
226
|
};
|
|
228
227
|
const listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {
|
|
229
228
|
path: "{nextLink}",
|
|
230
229
|
httpMethod: "GET",
|
|
231
230
|
responses: {
|
|
232
231
|
200: {
|
|
233
|
-
bodyMapper: Mappers.ListPrivateLinkResourcesResult
|
|
232
|
+
bodyMapper: Mappers.ListPrivateLinkResourcesResult,
|
|
234
233
|
},
|
|
235
234
|
default: {
|
|
236
|
-
bodyMapper: Mappers.CloudError
|
|
237
|
-
}
|
|
235
|
+
bodyMapper: Mappers.CloudError,
|
|
236
|
+
},
|
|
238
237
|
},
|
|
239
238
|
urlParameters: [
|
|
240
239
|
Parameters.$host,
|
|
241
240
|
Parameters.resourceGroupName,
|
|
242
241
|
Parameters.subscriptionId,
|
|
243
242
|
Parameters.accountName1,
|
|
244
|
-
Parameters.nextLink
|
|
243
|
+
Parameters.nextLink,
|
|
245
244
|
],
|
|
246
245
|
headerParameters: [Parameters.accept],
|
|
247
|
-
serializer
|
|
246
|
+
serializer,
|
|
248
247
|
};
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ApplicationGetOptionalParams,
|
|
17
17
|
ApplicationGetResponse,
|
|
18
18
|
ApplicationUpdateOptionalParams,
|
|
19
|
-
ApplicationUpdateResponse
|
|
19
|
+
ApplicationUpdateResponse,
|
|
20
20
|
} from "../models";
|
|
21
21
|
|
|
22
22
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -31,7 +31,7 @@ export interface ApplicationOperations {
|
|
|
31
31
|
list(
|
|
32
32
|
resourceGroupName: string,
|
|
33
33
|
accountName: string,
|
|
34
|
-
options?: ApplicationListOptionalParams
|
|
34
|
+
options?: ApplicationListOptionalParams,
|
|
35
35
|
): PagedAsyncIterableIterator<Application>;
|
|
36
36
|
/**
|
|
37
37
|
* Adds an application to the specified Batch account.
|
|
@@ -44,7 +44,7 @@ export interface ApplicationOperations {
|
|
|
44
44
|
resourceGroupName: string,
|
|
45
45
|
accountName: string,
|
|
46
46
|
applicationName: string,
|
|
47
|
-
options?: ApplicationCreateOptionalParams
|
|
47
|
+
options?: ApplicationCreateOptionalParams,
|
|
48
48
|
): Promise<ApplicationCreateResponse>;
|
|
49
49
|
/**
|
|
50
50
|
* Deletes an application.
|
|
@@ -57,7 +57,7 @@ export interface ApplicationOperations {
|
|
|
57
57
|
resourceGroupName: string,
|
|
58
58
|
accountName: string,
|
|
59
59
|
applicationName: string,
|
|
60
|
-
options?: ApplicationDeleteOptionalParams
|
|
60
|
+
options?: ApplicationDeleteOptionalParams,
|
|
61
61
|
): Promise<void>;
|
|
62
62
|
/**
|
|
63
63
|
* Gets information about the specified application.
|
|
@@ -70,7 +70,7 @@ export interface ApplicationOperations {
|
|
|
70
70
|
resourceGroupName: string,
|
|
71
71
|
accountName: string,
|
|
72
72
|
applicationName: string,
|
|
73
|
-
options?: ApplicationGetOptionalParams
|
|
73
|
+
options?: ApplicationGetOptionalParams,
|
|
74
74
|
): Promise<ApplicationGetResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* Updates settings for the specified application.
|
|
@@ -85,6 +85,6 @@ export interface ApplicationOperations {
|
|
|
85
85
|
accountName: string,
|
|
86
86
|
applicationName: string,
|
|
87
87
|
parameters: Application,
|
|
88
|
-
options?: ApplicationUpdateOptionalParams
|
|
88
|
+
options?: ApplicationUpdateOptionalParams,
|
|
89
89
|
): Promise<ApplicationUpdateResponse>;
|
|
90
90
|
}
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ApplicationPackageCreateResponse,
|
|
18
18
|
ApplicationPackageDeleteOptionalParams,
|
|
19
19
|
ApplicationPackageGetOptionalParams,
|
|
20
|
-
ApplicationPackageGetResponse
|
|
20
|
+
ApplicationPackageGetResponse,
|
|
21
21
|
} from "../models";
|
|
22
22
|
|
|
23
23
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -34,7 +34,7 @@ export interface ApplicationPackageOperations {
|
|
|
34
34
|
resourceGroupName: string,
|
|
35
35
|
accountName: string,
|
|
36
36
|
applicationName: string,
|
|
37
|
-
options?: ApplicationPackageListOptionalParams
|
|
37
|
+
options?: ApplicationPackageListOptionalParams,
|
|
38
38
|
): PagedAsyncIterableIterator<ApplicationPackage>;
|
|
39
39
|
/**
|
|
40
40
|
* Activates the specified application package. This should be done after the `ApplicationPackage` was
|
|
@@ -53,7 +53,7 @@ export interface ApplicationPackageOperations {
|
|
|
53
53
|
applicationName: string,
|
|
54
54
|
versionName: string,
|
|
55
55
|
parameters: ActivateApplicationPackageParameters,
|
|
56
|
-
options?: ApplicationPackageActivateOptionalParams
|
|
56
|
+
options?: ApplicationPackageActivateOptionalParams,
|
|
57
57
|
): Promise<ApplicationPackageActivateResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* Creates an application package record. The record contains a storageUrl where the package should be
|
|
@@ -71,7 +71,7 @@ export interface ApplicationPackageOperations {
|
|
|
71
71
|
accountName: string,
|
|
72
72
|
applicationName: string,
|
|
73
73
|
versionName: string,
|
|
74
|
-
options?: ApplicationPackageCreateOptionalParams
|
|
74
|
+
options?: ApplicationPackageCreateOptionalParams,
|
|
75
75
|
): Promise<ApplicationPackageCreateResponse>;
|
|
76
76
|
/**
|
|
77
77
|
* Deletes an application package record and its associated binary file.
|
|
@@ -86,7 +86,7 @@ export interface ApplicationPackageOperations {
|
|
|
86
86
|
accountName: string,
|
|
87
87
|
applicationName: string,
|
|
88
88
|
versionName: string,
|
|
89
|
-
options?: ApplicationPackageDeleteOptionalParams
|
|
89
|
+
options?: ApplicationPackageDeleteOptionalParams,
|
|
90
90
|
): Promise<void>;
|
|
91
91
|
/**
|
|
92
92
|
* Gets information about the specified application package.
|
|
@@ -101,6 +101,6 @@ export interface ApplicationPackageOperations {
|
|
|
101
101
|
accountName: string,
|
|
102
102
|
applicationName: string,
|
|
103
103
|
versionName: string,
|
|
104
|
-
options?: ApplicationPackageGetOptionalParams
|
|
104
|
+
options?: ApplicationPackageGetOptionalParams,
|
|
105
105
|
): Promise<ApplicationPackageGetResponse>;
|
|
106
106
|
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
BatchAccountGetKeysOptionalParams,
|
|
33
33
|
BatchAccountGetKeysResponse,
|
|
34
34
|
BatchAccountGetDetectorOptionalParams,
|
|
35
|
-
BatchAccountGetDetectorResponse
|
|
35
|
+
BatchAccountGetDetectorResponse,
|
|
36
36
|
} from "../models";
|
|
37
37
|
|
|
38
38
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -43,7 +43,7 @@ export interface BatchAccountOperations {
|
|
|
43
43
|
* @param options The options parameters.
|
|
44
44
|
*/
|
|
45
45
|
list(
|
|
46
|
-
options?: BatchAccountListOptionalParams
|
|
46
|
+
options?: BatchAccountListOptionalParams,
|
|
47
47
|
): PagedAsyncIterableIterator<BatchAccount>;
|
|
48
48
|
/**
|
|
49
49
|
* Gets information about the Batch accounts associated with the specified resource group.
|
|
@@ -52,7 +52,7 @@ export interface BatchAccountOperations {
|
|
|
52
52
|
*/
|
|
53
53
|
listByResourceGroup(
|
|
54
54
|
resourceGroupName: string,
|
|
55
|
-
options?: BatchAccountListByResourceGroupOptionalParams
|
|
55
|
+
options?: BatchAccountListByResourceGroupOptionalParams,
|
|
56
56
|
): PagedAsyncIterableIterator<BatchAccount>;
|
|
57
57
|
/**
|
|
58
58
|
* Gets information about the detectors available for a given Batch account.
|
|
@@ -63,7 +63,7 @@ export interface BatchAccountOperations {
|
|
|
63
63
|
listDetectors(
|
|
64
64
|
resourceGroupName: string,
|
|
65
65
|
accountName: string,
|
|
66
|
-
options?: BatchAccountListDetectorsOptionalParams
|
|
66
|
+
options?: BatchAccountListDetectorsOptionalParams,
|
|
67
67
|
): PagedAsyncIterableIterator<DetectorResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch
|
|
@@ -71,7 +71,7 @@ export interface BatchAccountOperations {
|
|
|
71
71
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
72
72
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
73
73
|
* about creating a pool inside of a virtual network, see
|
|
74
|
-
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
74
|
+
* https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
|
|
75
75
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
76
76
|
* @param accountName The name of the Batch account.
|
|
77
77
|
* @param options The options parameters.
|
|
@@ -79,7 +79,7 @@ export interface BatchAccountOperations {
|
|
|
79
79
|
listOutboundNetworkDependenciesEndpoints(
|
|
80
80
|
resourceGroupName: string,
|
|
81
81
|
accountName: string,
|
|
82
|
-
options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams
|
|
82
|
+
options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,
|
|
83
83
|
): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
|
|
84
84
|
/**
|
|
85
85
|
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with
|
|
@@ -96,7 +96,7 @@ export interface BatchAccountOperations {
|
|
|
96
96
|
resourceGroupName: string,
|
|
97
97
|
accountName: string,
|
|
98
98
|
parameters: BatchAccountCreateParameters,
|
|
99
|
-
options?: BatchAccountCreateOptionalParams
|
|
99
|
+
options?: BatchAccountCreateOptionalParams,
|
|
100
100
|
): Promise<
|
|
101
101
|
SimplePollerLike<
|
|
102
102
|
OperationState<BatchAccountCreateResponse>,
|
|
@@ -118,7 +118,7 @@ export interface BatchAccountOperations {
|
|
|
118
118
|
resourceGroupName: string,
|
|
119
119
|
accountName: string,
|
|
120
120
|
parameters: BatchAccountCreateParameters,
|
|
121
|
-
options?: BatchAccountCreateOptionalParams
|
|
121
|
+
options?: BatchAccountCreateOptionalParams,
|
|
122
122
|
): Promise<BatchAccountCreateResponse>;
|
|
123
123
|
/**
|
|
124
124
|
* Updates the properties of an existing Batch account.
|
|
@@ -131,7 +131,7 @@ export interface BatchAccountOperations {
|
|
|
131
131
|
resourceGroupName: string,
|
|
132
132
|
accountName: string,
|
|
133
133
|
parameters: BatchAccountUpdateParameters,
|
|
134
|
-
options?: BatchAccountUpdateOptionalParams
|
|
134
|
+
options?: BatchAccountUpdateOptionalParams,
|
|
135
135
|
): Promise<BatchAccountUpdateResponse>;
|
|
136
136
|
/**
|
|
137
137
|
* Deletes the specified Batch account.
|
|
@@ -142,7 +142,7 @@ export interface BatchAccountOperations {
|
|
|
142
142
|
beginDelete(
|
|
143
143
|
resourceGroupName: string,
|
|
144
144
|
accountName: string,
|
|
145
|
-
options?: BatchAccountDeleteOptionalParams
|
|
145
|
+
options?: BatchAccountDeleteOptionalParams,
|
|
146
146
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
147
147
|
/**
|
|
148
148
|
* Deletes the specified Batch account.
|
|
@@ -153,7 +153,7 @@ export interface BatchAccountOperations {
|
|
|
153
153
|
beginDeleteAndWait(
|
|
154
154
|
resourceGroupName: string,
|
|
155
155
|
accountName: string,
|
|
156
|
-
options?: BatchAccountDeleteOptionalParams
|
|
156
|
+
options?: BatchAccountDeleteOptionalParams,
|
|
157
157
|
): Promise<void>;
|
|
158
158
|
/**
|
|
159
159
|
* Gets information about the specified Batch account.
|
|
@@ -164,7 +164,7 @@ export interface BatchAccountOperations {
|
|
|
164
164
|
get(
|
|
165
165
|
resourceGroupName: string,
|
|
166
166
|
accountName: string,
|
|
167
|
-
options?: BatchAccountGetOptionalParams
|
|
167
|
+
options?: BatchAccountGetOptionalParams,
|
|
168
168
|
): Promise<BatchAccountGetResponse>;
|
|
169
169
|
/**
|
|
170
170
|
* Synchronizes access keys for the auto-storage account configured for the specified Batch account,
|
|
@@ -176,7 +176,7 @@ export interface BatchAccountOperations {
|
|
|
176
176
|
synchronizeAutoStorageKeys(
|
|
177
177
|
resourceGroupName: string,
|
|
178
178
|
accountName: string,
|
|
179
|
-
options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams
|
|
179
|
+
options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams,
|
|
180
180
|
): Promise<void>;
|
|
181
181
|
/**
|
|
182
182
|
* This operation applies only to Batch accounts with allowedAuthenticationModes containing
|
|
@@ -192,7 +192,7 @@ export interface BatchAccountOperations {
|
|
|
192
192
|
resourceGroupName: string,
|
|
193
193
|
accountName: string,
|
|
194
194
|
parameters: BatchAccountRegenerateKeyParameters,
|
|
195
|
-
options?: BatchAccountRegenerateKeyOptionalParams
|
|
195
|
+
options?: BatchAccountRegenerateKeyOptionalParams,
|
|
196
196
|
): Promise<BatchAccountRegenerateKeyResponse>;
|
|
197
197
|
/**
|
|
198
198
|
* This operation applies only to Batch accounts with allowedAuthenticationModes containing
|
|
@@ -206,7 +206,7 @@ export interface BatchAccountOperations {
|
|
|
206
206
|
getKeys(
|
|
207
207
|
resourceGroupName: string,
|
|
208
208
|
accountName: string,
|
|
209
|
-
options?: BatchAccountGetKeysOptionalParams
|
|
209
|
+
options?: BatchAccountGetKeysOptionalParams,
|
|
210
210
|
): Promise<BatchAccountGetKeysResponse>;
|
|
211
211
|
/**
|
|
212
212
|
* Gets information about the given detector for a given Batch account.
|
|
@@ -219,6 +219,6 @@ export interface BatchAccountOperations {
|
|
|
219
219
|
resourceGroupName: string,
|
|
220
220
|
accountName: string,
|
|
221
221
|
detectorId: string,
|
|
222
|
-
options?: BatchAccountGetDetectorOptionalParams
|
|
222
|
+
options?: BatchAccountGetDetectorOptionalParams,
|
|
223
223
|
): Promise<BatchAccountGetDetectorResponse>;
|
|
224
224
|
}
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
CertificateGetOptionalParams,
|
|
21
21
|
CertificateGetResponse,
|
|
22
22
|
CertificateCancelDeletionOptionalParams,
|
|
23
|
-
CertificateCancelDeletionResponse
|
|
23
|
+
CertificateCancelDeletionResponse,
|
|
24
24
|
} from "../models";
|
|
25
25
|
|
|
26
26
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -37,7 +37,7 @@ export interface CertificateOperations {
|
|
|
37
37
|
listByBatchAccount(
|
|
38
38
|
resourceGroupName: string,
|
|
39
39
|
accountName: string,
|
|
40
|
-
options?: CertificateListByBatchAccountOptionalParams
|
|
40
|
+
options?: CertificateListByBatchAccountOptionalParams,
|
|
41
41
|
): PagedAsyncIterableIterator<Certificate>;
|
|
42
42
|
/**
|
|
43
43
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -56,7 +56,7 @@ export interface CertificateOperations {
|
|
|
56
56
|
accountName: string,
|
|
57
57
|
certificateName: string,
|
|
58
58
|
parameters: CertificateCreateOrUpdateParameters,
|
|
59
|
-
options?: CertificateCreateOptionalParams
|
|
59
|
+
options?: CertificateCreateOptionalParams,
|
|
60
60
|
): Promise<CertificateCreateResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -75,7 +75,7 @@ export interface CertificateOperations {
|
|
|
75
75
|
accountName: string,
|
|
76
76
|
certificateName: string,
|
|
77
77
|
parameters: CertificateCreateOrUpdateParameters,
|
|
78
|
-
options?: CertificateUpdateOptionalParams
|
|
78
|
+
options?: CertificateUpdateOptionalParams,
|
|
79
79
|
): Promise<CertificateUpdateResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -92,7 +92,7 @@ export interface CertificateOperations {
|
|
|
92
92
|
resourceGroupName: string,
|
|
93
93
|
accountName: string,
|
|
94
94
|
certificateName: string,
|
|
95
|
-
options?: CertificateDeleteOptionalParams
|
|
95
|
+
options?: CertificateDeleteOptionalParams,
|
|
96
96
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
97
97
|
/**
|
|
98
98
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -109,7 +109,7 @@ export interface CertificateOperations {
|
|
|
109
109
|
resourceGroupName: string,
|
|
110
110
|
accountName: string,
|
|
111
111
|
certificateName: string,
|
|
112
|
-
options?: CertificateDeleteOptionalParams
|
|
112
|
+
options?: CertificateDeleteOptionalParams,
|
|
113
113
|
): Promise<void>;
|
|
114
114
|
/**
|
|
115
115
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -126,7 +126,7 @@ export interface CertificateOperations {
|
|
|
126
126
|
resourceGroupName: string,
|
|
127
127
|
accountName: string,
|
|
128
128
|
certificateName: string,
|
|
129
|
-
options?: CertificateGetOptionalParams
|
|
129
|
+
options?: CertificateGetOptionalParams,
|
|
130
130
|
): Promise<CertificateGetResponse>;
|
|
131
131
|
/**
|
|
132
132
|
* If you try to delete a certificate that is being used by a pool or compute node, the status of the
|
|
@@ -150,6 +150,6 @@ export interface CertificateOperations {
|
|
|
150
150
|
resourceGroupName: string,
|
|
151
151
|
accountName: string,
|
|
152
152
|
certificateName: string,
|
|
153
|
-
options?: CertificateCancelDeletionOptionalParams
|
|
153
|
+
options?: CertificateCancelDeletionOptionalParams,
|
|
154
154
|
): Promise<CertificateCancelDeletionResponse>;
|
|
155
155
|
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
LocationGetQuotasResponse,
|
|
16
16
|
CheckNameAvailabilityParameters,
|
|
17
17
|
LocationCheckNameAvailabilityOptionalParams,
|
|
18
|
-
LocationCheckNameAvailabilityResponse
|
|
18
|
+
LocationCheckNameAvailabilityResponse,
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -28,7 +28,7 @@ export interface Location {
|
|
|
28
28
|
*/
|
|
29
29
|
listSupportedVirtualMachineSkus(
|
|
30
30
|
locationName: string,
|
|
31
|
-
options?: LocationListSupportedVirtualMachineSkusOptionalParams
|
|
31
|
+
options?: LocationListSupportedVirtualMachineSkusOptionalParams,
|
|
32
32
|
): PagedAsyncIterableIterator<SupportedSku>;
|
|
33
33
|
/**
|
|
34
34
|
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
@@ -37,7 +37,7 @@ export interface Location {
|
|
|
37
37
|
*/
|
|
38
38
|
listSupportedCloudServiceSkus(
|
|
39
39
|
locationName: string,
|
|
40
|
-
options?: LocationListSupportedCloudServiceSkusOptionalParams
|
|
40
|
+
options?: LocationListSupportedCloudServiceSkusOptionalParams,
|
|
41
41
|
): PagedAsyncIterableIterator<SupportedSku>;
|
|
42
42
|
/**
|
|
43
43
|
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
@@ -46,7 +46,7 @@ export interface Location {
|
|
|
46
46
|
*/
|
|
47
47
|
getQuotas(
|
|
48
48
|
locationName: string,
|
|
49
|
-
options?: LocationGetQuotasOptionalParams
|
|
49
|
+
options?: LocationGetQuotasOptionalParams,
|
|
50
50
|
): Promise<LocationGetQuotasResponse>;
|
|
51
51
|
/**
|
|
52
52
|
* Checks whether the Batch account name is available in the specified region.
|
|
@@ -57,6 +57,6 @@ export interface Location {
|
|
|
57
57
|
checkNameAvailability(
|
|
58
58
|
locationName: string,
|
|
59
59
|
parameters: CheckNameAvailabilityParameters,
|
|
60
|
-
options?: LocationCheckNameAvailabilityOptionalParams
|
|
60
|
+
options?: LocationCheckNameAvailabilityOptionalParams,
|
|
61
61
|
): Promise<LocationCheckNameAvailabilityResponse>;
|
|
62
62
|
}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
PoolDisableAutoScaleOptionalParams,
|
|
22
22
|
PoolDisableAutoScaleResponse,
|
|
23
23
|
PoolStopResizeOptionalParams,
|
|
24
|
-
PoolStopResizeResponse
|
|
24
|
+
PoolStopResizeResponse,
|
|
25
25
|
} from "../models";
|
|
26
26
|
|
|
27
27
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -36,7 +36,7 @@ export interface PoolOperations {
|
|
|
36
36
|
listByBatchAccount(
|
|
37
37
|
resourceGroupName: string,
|
|
38
38
|
accountName: string,
|
|
39
|
-
options?: PoolListByBatchAccountOptionalParams
|
|
39
|
+
options?: PoolListByBatchAccountOptionalParams,
|
|
40
40
|
): PagedAsyncIterableIterator<Pool>;
|
|
41
41
|
/**
|
|
42
42
|
* Creates a new pool inside the specified account.
|
|
@@ -51,7 +51,7 @@ export interface PoolOperations {
|
|
|
51
51
|
accountName: string,
|
|
52
52
|
poolName: string,
|
|
53
53
|
parameters: Pool,
|
|
54
|
-
options?: PoolCreateOptionalParams
|
|
54
|
+
options?: PoolCreateOptionalParams,
|
|
55
55
|
): Promise<PoolCreateResponse>;
|
|
56
56
|
/**
|
|
57
57
|
* Updates the properties of an existing pool.
|
|
@@ -67,7 +67,7 @@ export interface PoolOperations {
|
|
|
67
67
|
accountName: string,
|
|
68
68
|
poolName: string,
|
|
69
69
|
parameters: Pool,
|
|
70
|
-
options?: PoolUpdateOptionalParams
|
|
70
|
+
options?: PoolUpdateOptionalParams,
|
|
71
71
|
): Promise<PoolUpdateResponse>;
|
|
72
72
|
/**
|
|
73
73
|
* Deletes the specified pool.
|
|
@@ -80,7 +80,7 @@ export interface PoolOperations {
|
|
|
80
80
|
resourceGroupName: string,
|
|
81
81
|
accountName: string,
|
|
82
82
|
poolName: string,
|
|
83
|
-
options?: PoolDeleteOptionalParams
|
|
83
|
+
options?: PoolDeleteOptionalParams,
|
|
84
84
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
85
85
|
/**
|
|
86
86
|
* Deletes the specified pool.
|
|
@@ -93,7 +93,7 @@ export interface PoolOperations {
|
|
|
93
93
|
resourceGroupName: string,
|
|
94
94
|
accountName: string,
|
|
95
95
|
poolName: string,
|
|
96
|
-
options?: PoolDeleteOptionalParams
|
|
96
|
+
options?: PoolDeleteOptionalParams,
|
|
97
97
|
): Promise<void>;
|
|
98
98
|
/**
|
|
99
99
|
* Gets information about the specified pool.
|
|
@@ -106,7 +106,7 @@ export interface PoolOperations {
|
|
|
106
106
|
resourceGroupName: string,
|
|
107
107
|
accountName: string,
|
|
108
108
|
poolName: string,
|
|
109
|
-
options?: PoolGetOptionalParams
|
|
109
|
+
options?: PoolGetOptionalParams,
|
|
110
110
|
): Promise<PoolGetResponse>;
|
|
111
111
|
/**
|
|
112
112
|
* Disables automatic scaling for a pool.
|
|
@@ -119,7 +119,7 @@ export interface PoolOperations {
|
|
|
119
119
|
resourceGroupName: string,
|
|
120
120
|
accountName: string,
|
|
121
121
|
poolName: string,
|
|
122
|
-
options?: PoolDisableAutoScaleOptionalParams
|
|
122
|
+
options?: PoolDisableAutoScaleOptionalParams,
|
|
123
123
|
): Promise<PoolDisableAutoScaleResponse>;
|
|
124
124
|
/**
|
|
125
125
|
* This does not restore the pool to its previous state before the resize operation: it only stops any
|
|
@@ -137,6 +137,6 @@ export interface PoolOperations {
|
|
|
137
137
|
resourceGroupName: string,
|
|
138
138
|
accountName: string,
|
|
139
139
|
poolName: string,
|
|
140
|
-
options?: PoolStopResizeOptionalParams
|
|
140
|
+
options?: PoolStopResizeOptionalParams,
|
|
141
141
|
): Promise<PoolStopResizeResponse>;
|
|
142
142
|
}
|