@azure/arm-batch 9.2.1-alpha.20240925.1 → 10.0.0
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 +6 -5
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { Location } from "../operationsInterfaces";
|
|
3
3
|
import { BatchManagementClient } from "../batchManagementClient";
|
|
4
|
-
import { SupportedSku, LocationListSupportedVirtualMachineSkusOptionalParams,
|
|
4
|
+
import { SupportedSku, LocationListSupportedVirtualMachineSkusOptionalParams, LocationGetQuotasOptionalParams, LocationGetQuotasResponse, CheckNameAvailabilityParameters, LocationCheckNameAvailabilityOptionalParams, LocationCheckNameAvailabilityResponse } from "../models";
|
|
5
5
|
/** Class containing Location operations. */
|
|
6
6
|
export declare class LocationImpl implements Location {
|
|
7
7
|
private readonly client;
|
|
@@ -18,14 +18,6 @@ export declare class LocationImpl implements Location {
|
|
|
18
18
|
listSupportedVirtualMachineSkus(locationName: string, options?: LocationListSupportedVirtualMachineSkusOptionalParams): PagedAsyncIterableIterator<SupportedSku>;
|
|
19
19
|
private listSupportedVirtualMachineSkusPagingPage;
|
|
20
20
|
private listSupportedVirtualMachineSkusPagingAll;
|
|
21
|
-
/**
|
|
22
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
23
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
listSupportedCloudServiceSkus(locationName: string, options?: LocationListSupportedCloudServiceSkusOptionalParams): PagedAsyncIterableIterator<SupportedSku>;
|
|
27
|
-
private listSupportedCloudServiceSkusPagingPage;
|
|
28
|
-
private listSupportedCloudServiceSkusPagingAll;
|
|
29
21
|
/**
|
|
30
22
|
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
31
23
|
* @param locationName The region for which to retrieve Batch service quotas.
|
|
@@ -38,12 +30,6 @@ export declare class LocationImpl implements Location {
|
|
|
38
30
|
* @param options The options parameters.
|
|
39
31
|
*/
|
|
40
32
|
private _listSupportedVirtualMachineSkus;
|
|
41
|
-
/**
|
|
42
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
43
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
44
|
-
* @param options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
private _listSupportedCloudServiceSkus;
|
|
47
33
|
/**
|
|
48
34
|
* Checks whether the Batch account name is available in the specified region.
|
|
49
35
|
* @param locationName The desired region for the name check.
|
|
@@ -59,13 +45,5 @@ export declare class LocationImpl implements Location {
|
|
|
59
45
|
* @param options The options parameters.
|
|
60
46
|
*/
|
|
61
47
|
private _listSupportedVirtualMachineSkusNext;
|
|
62
|
-
/**
|
|
63
|
-
* ListSupportedCloudServiceSkusNext
|
|
64
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
65
|
-
* @param nextLink The nextLink from the previous successful call to the ListSupportedCloudServiceSkus
|
|
66
|
-
* method.
|
|
67
|
-
* @param options The options parameters.
|
|
68
|
-
*/
|
|
69
|
-
private _listSupportedCloudServiceSkusNext;
|
|
70
48
|
}
|
|
71
49
|
//# sourceMappingURL=location.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,YAAY,EAEZ,qDAAqD,
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,YAAY,EAEZ,qDAAqD,EAErD,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,2CAA2C,EAC3C,qCAAqC,EAEtC,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;OAIG;IACI,+BAA+B,CACpC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,YAAY,CAAC;YAyB5B,yCAAyC;YA8BzC,wCAAwC;IAYvD;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,OAAO,CAAC,gCAAgC;IAUxC;;;;;OAKG;IACH,qBAAqB,CACnB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,+BAA+B,EAC3C,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;;OAMG;IACH,OAAO,CAAC,oCAAoC;CAU7C"}
|
|
@@ -82,68 +82,6 @@ export class LocationImpl {
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
/**
|
|
86
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
87
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
88
|
-
* @param options The options parameters.
|
|
89
|
-
*/
|
|
90
|
-
listSupportedCloudServiceSkus(locationName, options) {
|
|
91
|
-
const iter = this.listSupportedCloudServiceSkusPagingAll(locationName, options);
|
|
92
|
-
return {
|
|
93
|
-
next() {
|
|
94
|
-
return iter.next();
|
|
95
|
-
},
|
|
96
|
-
[Symbol.asyncIterator]() {
|
|
97
|
-
return this;
|
|
98
|
-
},
|
|
99
|
-
byPage: (settings) => {
|
|
100
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
101
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
102
|
-
}
|
|
103
|
-
return this.listSupportedCloudServiceSkusPagingPage(locationName, options, settings);
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
listSupportedCloudServiceSkusPagingPage(locationName, options, settings) {
|
|
108
|
-
return __asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingPage_1() {
|
|
109
|
-
let result;
|
|
110
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
111
|
-
if (!continuationToken) {
|
|
112
|
-
result = yield __await(this._listSupportedCloudServiceSkus(locationName, options));
|
|
113
|
-
let page = result.value || [];
|
|
114
|
-
continuationToken = result.nextLink;
|
|
115
|
-
setContinuationToken(page, continuationToken);
|
|
116
|
-
yield yield __await(page);
|
|
117
|
-
}
|
|
118
|
-
while (continuationToken) {
|
|
119
|
-
result = yield __await(this._listSupportedCloudServiceSkusNext(locationName, continuationToken, options));
|
|
120
|
-
continuationToken = result.nextLink;
|
|
121
|
-
let page = result.value || [];
|
|
122
|
-
setContinuationToken(page, continuationToken);
|
|
123
|
-
yield yield __await(page);
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
listSupportedCloudServiceSkusPagingAll(locationName, options) {
|
|
128
|
-
return __asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingAll_1() {
|
|
129
|
-
var _a, e_2, _b, _c;
|
|
130
|
-
try {
|
|
131
|
-
for (var _d = true, _e = __asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
132
|
-
_c = _f.value;
|
|
133
|
-
_d = false;
|
|
134
|
-
const page = _c;
|
|
135
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
139
|
-
finally {
|
|
140
|
-
try {
|
|
141
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
142
|
-
}
|
|
143
|
-
finally { if (e_2) throw e_2.error; }
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
85
|
/**
|
|
148
86
|
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
149
87
|
* @param locationName The region for which to retrieve Batch service quotas.
|
|
@@ -160,14 +98,6 @@ export class LocationImpl {
|
|
|
160
98
|
_listSupportedVirtualMachineSkus(locationName, options) {
|
|
161
99
|
return this.client.sendOperationRequest({ locationName, options }, listSupportedVirtualMachineSkusOperationSpec);
|
|
162
100
|
}
|
|
163
|
-
/**
|
|
164
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
165
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
166
|
-
* @param options The options parameters.
|
|
167
|
-
*/
|
|
168
|
-
_listSupportedCloudServiceSkus(locationName, options) {
|
|
169
|
-
return this.client.sendOperationRequest({ locationName, options }, listSupportedCloudServiceSkusOperationSpec);
|
|
170
|
-
}
|
|
171
101
|
/**
|
|
172
102
|
* Checks whether the Batch account name is available in the specified region.
|
|
173
103
|
* @param locationName The desired region for the name check.
|
|
@@ -187,16 +117,6 @@ export class LocationImpl {
|
|
|
187
117
|
_listSupportedVirtualMachineSkusNext(locationName, nextLink, options) {
|
|
188
118
|
return this.client.sendOperationRequest({ locationName, nextLink, options }, listSupportedVirtualMachineSkusNextOperationSpec);
|
|
189
119
|
}
|
|
190
|
-
/**
|
|
191
|
-
* ListSupportedCloudServiceSkusNext
|
|
192
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
193
|
-
* @param nextLink The nextLink from the previous successful call to the ListSupportedCloudServiceSkus
|
|
194
|
-
* method.
|
|
195
|
-
* @param options The options parameters.
|
|
196
|
-
*/
|
|
197
|
-
_listSupportedCloudServiceSkusNext(locationName, nextLink, options) {
|
|
198
|
-
return this.client.sendOperationRequest({ locationName, nextLink, options }, listSupportedCloudServiceSkusNextOperationSpec);
|
|
199
|
-
}
|
|
200
120
|
}
|
|
201
121
|
// Operation Specifications
|
|
202
122
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -244,30 +164,6 @@ const listSupportedVirtualMachineSkusOperationSpec = {
|
|
|
244
164
|
headerParameters: [Parameters.accept],
|
|
245
165
|
serializer,
|
|
246
166
|
};
|
|
247
|
-
const listSupportedCloudServiceSkusOperationSpec = {
|
|
248
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
249
|
-
httpMethod: "GET",
|
|
250
|
-
responses: {
|
|
251
|
-
200: {
|
|
252
|
-
bodyMapper: Mappers.SupportedSkusResult,
|
|
253
|
-
},
|
|
254
|
-
default: {
|
|
255
|
-
bodyMapper: Mappers.CloudError,
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
queryParameters: [
|
|
259
|
-
Parameters.apiVersion,
|
|
260
|
-
Parameters.maxresults,
|
|
261
|
-
Parameters.filter,
|
|
262
|
-
],
|
|
263
|
-
urlParameters: [
|
|
264
|
-
Parameters.$host,
|
|
265
|
-
Parameters.subscriptionId,
|
|
266
|
-
Parameters.locationName,
|
|
267
|
-
],
|
|
268
|
-
headerParameters: [Parameters.accept],
|
|
269
|
-
serializer,
|
|
270
|
-
};
|
|
271
167
|
const checkNameAvailabilityOperationSpec = {
|
|
272
168
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
273
169
|
httpMethod: "POST",
|
|
@@ -310,24 +206,4 @@ const listSupportedVirtualMachineSkusNextOperationSpec = {
|
|
|
310
206
|
headerParameters: [Parameters.accept],
|
|
311
207
|
serializer,
|
|
312
208
|
};
|
|
313
|
-
const listSupportedCloudServiceSkusNextOperationSpec = {
|
|
314
|
-
path: "{nextLink}",
|
|
315
|
-
httpMethod: "GET",
|
|
316
|
-
responses: {
|
|
317
|
-
200: {
|
|
318
|
-
bodyMapper: Mappers.SupportedSkusResult,
|
|
319
|
-
},
|
|
320
|
-
default: {
|
|
321
|
-
bodyMapper: Mappers.CloudError,
|
|
322
|
-
},
|
|
323
|
-
},
|
|
324
|
-
urlParameters: [
|
|
325
|
-
Parameters.$host,
|
|
326
|
-
Parameters.subscriptionId,
|
|
327
|
-
Parameters.nextLink,
|
|
328
|
-
Parameters.locationName,
|
|
329
|
-
],
|
|
330
|
-
headerParameters: [Parameters.accept],
|
|
331
|
-
serializer,
|
|
332
|
-
};
|
|
333
209
|
//# sourceMappingURL=location.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../src/operations/location.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,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O,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gDAAgD,GACpD;IACE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { NetworkSecurityPerimeterOperations } from "../operationsInterfaces";
|
|
3
|
+
import { BatchManagementClient } from "../batchManagementClient";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterListConfigurationsOptionalParams, NetworkSecurityPerimeterGetConfigurationOptionalParams, NetworkSecurityPerimeterGetConfigurationResponse, NetworkSecurityPerimeterReconcileConfigurationOptionalParams, NetworkSecurityPerimeterReconcileConfigurationResponse } from "../models";
|
|
6
|
+
/** Class containing NetworkSecurityPerimeterOperations operations. */
|
|
7
|
+
export declare class NetworkSecurityPerimeterOperationsImpl implements NetworkSecurityPerimeterOperations {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class NetworkSecurityPerimeterOperations class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: BatchManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists all of the NSP configurations in the specified account.
|
|
16
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
17
|
+
* @param accountName The name of the Batch account.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listConfigurations(resourceGroupName: string, accountName: string, options?: NetworkSecurityPerimeterListConfigurationsOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
|
|
21
|
+
private listConfigurationsPagingPage;
|
|
22
|
+
private listConfigurationsPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Lists all of the NSP configurations in the specified account.
|
|
25
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
26
|
+
* @param accountName The name of the Batch account.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listConfigurations;
|
|
30
|
+
/**
|
|
31
|
+
* Gets information about the specified NSP configuration.
|
|
32
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
33
|
+
* @param accountName The name of the Batch account.
|
|
34
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
35
|
+
* configuration
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
getConfiguration(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterGetConfigurationOptionalParams): Promise<NetworkSecurityPerimeterGetConfigurationResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Reconciles the specified NSP configuration.
|
|
41
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
42
|
+
* @param accountName The name of the Batch account.
|
|
43
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
44
|
+
* configuration
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
beginReconcileConfiguration(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterReconcileConfigurationResponse>, NetworkSecurityPerimeterReconcileConfigurationResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* Reconciles the specified NSP configuration.
|
|
50
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
51
|
+
* @param accountName The name of the Batch account.
|
|
52
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
53
|
+
* configuration
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginReconcileConfigurationAndWait(resourceGroupName: string, accountName: string, networkSecurityPerimeterConfigurationName: string, options?: NetworkSecurityPerimeterReconcileConfigurationOptionalParams): Promise<NetworkSecurityPerimeterReconcileConfigurationResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* ListConfigurationsNext
|
|
59
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
60
|
+
* @param accountName The name of the Batch account.
|
|
61
|
+
* @param nextLink The nextLink from the previous successful call to the ListConfigurations method.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
private _listConfigurationsNext;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=networkSecurityPerimeterOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE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C;IAUlE;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;CAWhC"}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing NetworkSecurityPerimeterOperations operations. */
|
|
17
|
+
export class NetworkSecurityPerimeterOperationsImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class NetworkSecurityPerimeterOperations class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists all of the NSP configurations in the specified account.
|
|
27
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
28
|
+
* @param accountName The name of the Batch account.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listConfigurations(resourceGroupName, accountName, options) {
|
|
32
|
+
const iter = this.listConfigurationsPagingAll(resourceGroupName, accountName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listConfigurationsPagingPage(resourceGroupName, accountName, options, settings);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
listConfigurationsPagingPage(resourceGroupName, accountName, options, settings) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listConfigurationsPagingPage_1() {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = yield __await(this._listConfigurations(resourceGroupName, accountName, options));
|
|
54
|
+
let page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
setContinuationToken(page, continuationToken);
|
|
57
|
+
yield yield __await(page);
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = yield __await(this._listConfigurationsNext(resourceGroupName, accountName, continuationToken, options));
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
let page = result.value || [];
|
|
63
|
+
setContinuationToken(page, continuationToken);
|
|
64
|
+
yield yield __await(page);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
listConfigurationsPagingAll(resourceGroupName, accountName, options) {
|
|
69
|
+
return __asyncGenerator(this, arguments, function* listConfigurationsPagingAll_1() {
|
|
70
|
+
var _a, e_1, _b, _c;
|
|
71
|
+
try {
|
|
72
|
+
for (var _d = true, _e = __asyncValues(this.listConfigurationsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
+
_c = _f.value;
|
|
74
|
+
_d = false;
|
|
75
|
+
const page = _c;
|
|
76
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
+
finally {
|
|
81
|
+
try {
|
|
82
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
+
}
|
|
84
|
+
finally { if (e_1) throw e_1.error; }
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Lists all of the NSP configurations in the specified account.
|
|
90
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
91
|
+
* @param accountName The name of the Batch account.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
_listConfigurations(resourceGroupName, accountName, options) {
|
|
95
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listConfigurationsOperationSpec);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Gets information about the specified NSP configuration.
|
|
99
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
100
|
+
* @param accountName The name of the Batch account.
|
|
101
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
102
|
+
* configuration
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
getConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
106
|
+
return this.client.sendOperationRequest({
|
|
107
|
+
resourceGroupName,
|
|
108
|
+
accountName,
|
|
109
|
+
networkSecurityPerimeterConfigurationName,
|
|
110
|
+
options,
|
|
111
|
+
}, getConfigurationOperationSpec);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Reconciles the specified NSP configuration.
|
|
115
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
116
|
+
* @param accountName The name of the Batch account.
|
|
117
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
118
|
+
* configuration
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
return this.client.sendOperationRequest(args, spec);
|
|
125
|
+
});
|
|
126
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
var _a;
|
|
128
|
+
let currentRawResponse = undefined;
|
|
129
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
130
|
+
const callback = (rawResponse, flatResponse) => {
|
|
131
|
+
currentRawResponse = rawResponse;
|
|
132
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
133
|
+
};
|
|
134
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
135
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
136
|
+
return {
|
|
137
|
+
flatResponse,
|
|
138
|
+
rawResponse: {
|
|
139
|
+
statusCode: currentRawResponse.status,
|
|
140
|
+
body: currentRawResponse.parsedBody,
|
|
141
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
});
|
|
145
|
+
const lro = createLroSpec({
|
|
146
|
+
sendOperationFn,
|
|
147
|
+
args: {
|
|
148
|
+
resourceGroupName,
|
|
149
|
+
accountName,
|
|
150
|
+
networkSecurityPerimeterConfigurationName,
|
|
151
|
+
options,
|
|
152
|
+
},
|
|
153
|
+
spec: reconcileConfigurationOperationSpec,
|
|
154
|
+
});
|
|
155
|
+
const poller = yield createHttpPoller(lro, {
|
|
156
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
157
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
158
|
+
resourceLocationConfig: "location",
|
|
159
|
+
});
|
|
160
|
+
yield poller.poll();
|
|
161
|
+
return poller;
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Reconciles the specified NSP configuration.
|
|
166
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
167
|
+
* @param accountName The name of the Batch account.
|
|
168
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
169
|
+
* configuration
|
|
170
|
+
* @param options The options parameters.
|
|
171
|
+
*/
|
|
172
|
+
beginReconcileConfigurationAndWait(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
const poller = yield this.beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options);
|
|
175
|
+
return poller.pollUntilDone();
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* ListConfigurationsNext
|
|
180
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
181
|
+
* @param accountName The name of the Batch account.
|
|
182
|
+
* @param nextLink The nextLink from the previous successful call to the ListConfigurations method.
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
_listConfigurationsNext(resourceGroupName, accountName, nextLink, options) {
|
|
186
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listConfigurationsNextOperationSpec);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
// Operation Specifications
|
|
190
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
191
|
+
const listConfigurationsOperationSpec = {
|
|
192
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations",
|
|
193
|
+
httpMethod: "GET",
|
|
194
|
+
responses: {
|
|
195
|
+
200: {
|
|
196
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
|
|
197
|
+
},
|
|
198
|
+
default: {
|
|
199
|
+
bodyMapper: Mappers.CloudError,
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [
|
|
204
|
+
Parameters.$host,
|
|
205
|
+
Parameters.resourceGroupName,
|
|
206
|
+
Parameters.subscriptionId,
|
|
207
|
+
Parameters.accountName1,
|
|
208
|
+
],
|
|
209
|
+
headerParameters: [Parameters.accept],
|
|
210
|
+
serializer,
|
|
211
|
+
};
|
|
212
|
+
const getConfigurationOperationSpec = {
|
|
213
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}",
|
|
214
|
+
httpMethod: "GET",
|
|
215
|
+
responses: {
|
|
216
|
+
200: {
|
|
217
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
218
|
+
},
|
|
219
|
+
default: {
|
|
220
|
+
bodyMapper: Mappers.CloudError,
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
queryParameters: [Parameters.apiVersion],
|
|
224
|
+
urlParameters: [
|
|
225
|
+
Parameters.$host,
|
|
226
|
+
Parameters.resourceGroupName,
|
|
227
|
+
Parameters.subscriptionId,
|
|
228
|
+
Parameters.accountName1,
|
|
229
|
+
Parameters.networkSecurityPerimeterConfigurationName,
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer,
|
|
233
|
+
};
|
|
234
|
+
const reconcileConfigurationOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile",
|
|
236
|
+
httpMethod: "POST",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
headersMapper: Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
240
|
+
},
|
|
241
|
+
201: {
|
|
242
|
+
headersMapper: Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
243
|
+
},
|
|
244
|
+
202: {
|
|
245
|
+
headersMapper: Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
246
|
+
},
|
|
247
|
+
204: {
|
|
248
|
+
headersMapper: Mappers.NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
249
|
+
},
|
|
250
|
+
default: {
|
|
251
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
queryParameters: [Parameters.apiVersion],
|
|
255
|
+
urlParameters: [
|
|
256
|
+
Parameters.$host,
|
|
257
|
+
Parameters.resourceGroupName,
|
|
258
|
+
Parameters.subscriptionId,
|
|
259
|
+
Parameters.accountName1,
|
|
260
|
+
Parameters.networkSecurityPerimeterConfigurationName,
|
|
261
|
+
],
|
|
262
|
+
headerParameters: [Parameters.accept],
|
|
263
|
+
serializer,
|
|
264
|
+
};
|
|
265
|
+
const listConfigurationsNextOperationSpec = {
|
|
266
|
+
path: "{nextLink}",
|
|
267
|
+
httpMethod: "GET",
|
|
268
|
+
responses: {
|
|
269
|
+
200: {
|
|
270
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
|
|
271
|
+
},
|
|
272
|
+
default: {
|
|
273
|
+
bodyMapper: Mappers.CloudError,
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
urlParameters: [
|
|
277
|
+
Parameters.$host,
|
|
278
|
+
Parameters.resourceGroupName,
|
|
279
|
+
Parameters.subscriptionId,
|
|
280
|
+
Parameters.accountName1,
|
|
281
|
+
Parameters.nextLink,
|
|
282
|
+
],
|
|
283
|
+
headerParameters: [Parameters.accept],
|
|
284
|
+
serializer,
|
|
285
|
+
};
|
|
286
|
+
//# sourceMappingURL=networkSecurityPerimeterOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterOperations.js","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAa3C,4CAA4C;AAC5C,sEAAsE;AACtE,MAAM,OAAO,sCAAsC;IAKjD;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,WAAmB,EACnB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,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,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,GAAG,EAAE;YACH,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,yCAAyC;KACrD;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -27,7 +27,7 @@ export interface BatchAccountOperations {
|
|
|
27
27
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
28
28
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
29
29
|
* about creating a pool inside of a virtual network, see
|
|
30
|
-
* https://docs.microsoft.com/
|
|
30
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
31
31
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
32
32
|
* @param accountName The name of the Batch account.
|
|
33
33
|
* @param options The options parameters.
|
|
@@ -7,4 +7,5 @@ export * from "./certificateOperations";
|
|
|
7
7
|
export * from "./privateLinkResourceOperations";
|
|
8
8
|
export * from "./privateEndpointConnectionOperations";
|
|
9
9
|
export * from "./poolOperations";
|
|
10
|
+
export * from "./networkSecurityPerimeterOperations";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sCAAsC,CAAC"}
|
|
@@ -14,4 +14,5 @@ export * from "./certificateOperations";
|
|
|
14
14
|
export * from "./privateLinkResourceOperations";
|
|
15
15
|
export * from "./privateEndpointConnectionOperations";
|
|
16
16
|
export * from "./poolOperations";
|
|
17
|
+
export * from "./networkSecurityPerimeterOperations";
|
|
17
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sCAAsC,CAAC"}
|