@azure/arm-batch 7.1.0 → 7.1.2-alpha.20220427.2
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 +16 -0
- package/dist/index.js +110 -107
- 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/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +2 -2
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +3 -2
- package/dist-esm/src/batchManagementClient.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 +98 -102
- 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 +3 -1
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/poolOperations.js +3 -1
- 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 +3 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/batchManagementClient.ts +3 -2
- package/src/operations/batchAccountOperations.ts +128 -186
- package/src/operations/certificateOperations.ts +3 -1
- package/src/operations/poolOperations.ts +3 -1
- package/src/operations/privateEndpointConnectionOperations.ts +3 -1
- package/src/operationsInterfaces/batchAccountOperations.ts +4 -9
- package/types/arm-batch.d.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
|
@@ -238,11 +238,13 @@ export class CertificateOperationsImpl implements CertificateOperations {
|
|
|
238
238
|
{ resourceGroupName, accountName, certificateName, options },
|
|
239
239
|
deleteOperationSpec
|
|
240
240
|
);
|
|
241
|
-
|
|
241
|
+
const poller = new LroEngine(lro, {
|
|
242
242
|
resumeFrom: options?.resumeFrom,
|
|
243
243
|
intervalInMs: options?.updateIntervalInMs,
|
|
244
244
|
lroResourceLocationConfig: "location"
|
|
245
245
|
});
|
|
246
|
+
await poller.poll();
|
|
247
|
+
return poller;
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
/**
|
|
@@ -234,11 +234,13 @@ export class PoolOperationsImpl implements PoolOperations {
|
|
|
234
234
|
{ resourceGroupName, accountName, poolName, options },
|
|
235
235
|
deleteOperationSpec
|
|
236
236
|
);
|
|
237
|
-
|
|
237
|
+
const poller = new LroEngine(lro, {
|
|
238
238
|
resumeFrom: options?.resumeFrom,
|
|
239
239
|
intervalInMs: options?.updateIntervalInMs,
|
|
240
240
|
lroResourceLocationConfig: "location"
|
|
241
241
|
});
|
|
242
|
+
await poller.poll();
|
|
243
|
+
return poller;
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
/**
|
|
@@ -225,11 +225,13 @@ export class PrivateEndpointConnectionOperationsImpl
|
|
|
225
225
|
},
|
|
226
226
|
updateOperationSpec
|
|
227
227
|
);
|
|
228
|
-
|
|
228
|
+
const poller = new LroEngine(lro, {
|
|
229
229
|
resumeFrom: options?.resumeFrom,
|
|
230
230
|
intervalInMs: options?.updateIntervalInMs,
|
|
231
231
|
lroResourceLocationConfig: "azure-async-operation"
|
|
232
232
|
});
|
|
233
|
+
await poller.poll();
|
|
234
|
+
return poller;
|
|
233
235
|
}
|
|
234
236
|
|
|
235
237
|
/**
|
|
@@ -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" />
|
|
@@ -42,9 +42,7 @@ export interface BatchAccountOperations {
|
|
|
42
42
|
* Gets information about the Batch accounts associated with the subscription.
|
|
43
43
|
* @param options The options parameters.
|
|
44
44
|
*/
|
|
45
|
-
list(
|
|
46
|
-
options?: BatchAccountListOptionalParams
|
|
47
|
-
): PagedAsyncIterableIterator<BatchAccount>;
|
|
45
|
+
list(options?: BatchAccountListOptionalParams): PagedAsyncIterableIterator<BatchAccount>;
|
|
48
46
|
/**
|
|
49
47
|
* Gets information about the Batch accounts associated with the specified resource group.
|
|
50
48
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
@@ -71,7 +69,7 @@ export interface BatchAccountOperations {
|
|
|
71
69
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
72
70
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
73
71
|
* about creating a pool inside of a virtual network, see
|
|
74
|
-
* https://docs.microsoft.com/
|
|
72
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
75
73
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
76
74
|
* @param accountName The name of the Batch account.
|
|
77
75
|
* @param options The options parameters.
|
|
@@ -98,10 +96,7 @@ export interface BatchAccountOperations {
|
|
|
98
96
|
parameters: BatchAccountCreateParameters,
|
|
99
97
|
options?: BatchAccountCreateOptionalParams
|
|
100
98
|
): Promise<
|
|
101
|
-
PollerLike<
|
|
102
|
-
PollOperationState<BatchAccountCreateResponse>,
|
|
103
|
-
BatchAccountCreateResponse
|
|
104
|
-
>
|
|
99
|
+
PollerLike<PollOperationState<BatchAccountCreateResponse>, BatchAccountCreateResponse>
|
|
105
100
|
>;
|
|
106
101
|
/**
|
|
107
102
|
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with
|
package/types/arm-batch.d.ts
CHANGED
|
@@ -634,7 +634,7 @@ export declare interface BatchAccountOperations {
|
|
|
634
634
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
635
635
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
636
636
|
* about creating a pool inside of a virtual network, see
|
|
637
|
-
* https://docs.microsoft.com/
|
|
637
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
638
638
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
639
639
|
* @param accountName The name of the Batch account.
|
|
640
640
|
* @param options The options parameters.
|