@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.
Files changed (33) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/index.js +110 -107
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +2 -2
  7. package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
  8. package/dist-esm/src/batchManagementClient.js +3 -2
  9. package/dist-esm/src/batchManagementClient.js.map +1 -1
  10. package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
  11. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -1
  12. package/dist-esm/src/operations/batchAccountOperations.js +98 -102
  13. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
  14. package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
  15. package/dist-esm/src/operations/certificateOperations.js +3 -1
  16. package/dist-esm/src/operations/certificateOperations.js.map +1 -1
  17. package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
  18. package/dist-esm/src/operations/poolOperations.js +3 -1
  19. package/dist-esm/src/operations/poolOperations.js.map +1 -1
  20. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
  21. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +3 -1
  22. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
  23. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
  24. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -1
  25. package/package.json +2 -2
  26. package/src/batchManagementClient.ts +3 -2
  27. package/src/operations/batchAccountOperations.ts +128 -186
  28. package/src/operations/certificateOperations.ts +3 -1
  29. package/src/operations/poolOperations.ts +3 -1
  30. package/src/operations/privateEndpointConnectionOperations.ts +3 -1
  31. package/src/operationsInterfaces/batchAccountOperations.ts +4 -9
  32. package/types/arm-batch.d.ts +1 -1
  33. 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
- return new LroEngine(lro, {
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
- return new LroEngine(lro, {
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
- return new LroEngine(lro, {
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/en-us/azure/batch/batch-virtual-network.
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
@@ -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/en-us/azure/batch/batch-virtual-network.
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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.19.4"
8
+ "packageVersion": "7.18.11"
9
9
  }
10
10
  ]
11
11
  }