@azure/arm-batch 7.2.1-alpha.20221101.1 → 8.0.0-alpha.20221111.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 +16 -8
- package/dist/index.js +337 -126
- 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 +5 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js.map +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +9 -9
- package/dist-esm/samples-dev/certificateDeleteSample.js +3 -3
- package/dist-esm/samples-dev/certificateGetSample.js +6 -6
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +6 -6
- package/dist-esm/samples-dev/certificateUpdateSample.js +3 -3
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- 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 +11 -10
- 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 +2 -2
- 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 +6 -5
- package/dist-esm/samples-dev/poolUpdateSample.js.map +1 -1
- 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.map +1 -1
- package/dist-esm/src/batchManagementClient.js +21 -19
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +20 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +21 -6
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/applicationOperations.js +19 -7
- 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 +19 -7
- 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 +75 -30
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/certificateOperations.d.ts +25 -7
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOperations.js +44 -14
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/location.d.ts.map +1 -1
- package/dist-esm/src/operations/location.js +37 -14
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/poolOperations.js +19 -7
- 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 +19 -7
- 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 +19 -7
- package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +22 -6
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/batch_examples.js +1 -1
- package/package.json +4 -3
- package/review/arm-batch.api.md +11 -3
- package/src/batchManagementClient.ts +27 -21
- package/src/index.ts +1 -0
- package/src/models/index.ts +20 -7
- package/src/models/mappers.ts +23 -6
- package/src/models/parameters.ts +1 -1
- package/src/operations/applicationOperations.ts +27 -9
- package/src/operations/applicationPackageOperations.ts +28 -14
- package/src/operations/batchAccountOperations.ts +98 -43
- package/src/operations/certificateOperations.ts +51 -19
- package/src/operations/location.ts +47 -23
- package/src/operations/operations.ts +21 -8
- package/src/operations/poolOperations.ts +26 -12
- package/src/operations/privateEndpointConnectionOperations.ts +26 -12
- package/src/operations/privateLinkResourceOperations.ts +26 -12
- package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
- package/src/operationsInterfaces/certificateOperations.ts +22 -6
- package/src/pagingHelper.ts +39 -0
- package/types/arm-batch.d.ts +53 -14
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Updates settings for the specified application.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates settings for the specified application.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/ApplicationUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function applicationUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountCreate_BYOS.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountCreateByos() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -43,7 +43,7 @@ batchAccountCreateByos().catch(console.error);
|
|
|
43
43
|
* This sample demonstrates how to Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
44
44
|
*
|
|
45
45
|
* @summary Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
46
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
46
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountCreate_Default.json
|
|
47
47
|
*/
|
|
48
48
|
function batchAccountCreateDefault() {
|
|
49
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -67,7 +67,7 @@ batchAccountCreateDefault().catch(console.error);
|
|
|
67
67
|
* This sample demonstrates how to Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
68
68
|
*
|
|
69
69
|
* @summary Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
70
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
70
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountCreate_SystemAssignedIdentity.json
|
|
71
71
|
*/
|
|
72
72
|
function batchAccountCreateSystemAssignedIdentity() {
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -92,7 +92,7 @@ batchAccountCreateSystemAssignedIdentity().catch(console.error);
|
|
|
92
92
|
* This sample demonstrates how to Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
93
93
|
*
|
|
94
94
|
* @summary Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
95
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
95
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountCreate_UserAssignedIdentity.json
|
|
96
96
|
*/
|
|
97
97
|
function batchAccountCreateUserAssignedIdentity() {
|
|
98
98
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -122,7 +122,7 @@ batchAccountCreateUserAssignedIdentity().catch(console.error);
|
|
|
122
122
|
* This sample demonstrates how to Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
123
123
|
*
|
|
124
124
|
* @summary Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
|
|
125
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
125
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PrivateBatchAccountCreate.json
|
|
126
126
|
*/
|
|
127
127
|
function privateBatchAccountCreate() {
|
|
128
128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the specified Batch account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the specified Batch account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the given detector for a given Batch account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the given detector for a given Batch account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/DetectorGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getDetector() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, getting the keys will fail.
|
|
15
15
|
*
|
|
16
16
|
* @summary This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, getting the keys will fail.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountGetKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountGetKeys() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the specified Batch account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the specified Batch account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountGet.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -32,7 +32,7 @@ batchAccountGet().catch(console.error);
|
|
|
32
32
|
* This sample demonstrates how to Gets information about the specified Batch account.
|
|
33
33
|
*
|
|
34
34
|
* @summary Gets information about the specified Batch account.
|
|
35
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
35
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PrivateBatchAccountGet.json
|
|
36
36
|
*/
|
|
37
37
|
function privateBatchAccountGet() {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the Batch accounts associated with the specified resource group.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the Batch accounts associated with the specified resource group.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountListByResourceGroup.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountListByResourceGroup() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the detectors available for a given Batch account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the detectors available for a given Batch account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/DetectorList.json
|
|
18
18
|
*/
|
|
19
19
|
function listDetectors() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -11,10 +11,10 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/azure/batch/batch-virtual-network
|
|
14
|
+
* This sample demonstrates how to Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
|
|
15
15
|
*
|
|
16
|
-
* @summary Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/azure/batch/batch-virtual-network
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountListOutboundNetworkDependenciesEndpoints.json
|
|
18
18
|
*/
|
|
19
19
|
function listOutboundNetworkDependencies() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the Batch accounts associated with the subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the Batch accounts associated with the subscription.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountList.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, regenerating the keys will fail.
|
|
15
15
|
*
|
|
16
16
|
* @summary This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, regenerating the keys will fail.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountRegenerateKey.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountRegenerateKey() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Synchronizes access keys for the auto-storage account configured for the specified Batch account, only if storage key authentication is being used.
|
|
15
15
|
*
|
|
16
16
|
* @summary Synchronizes access keys for the auto-storage account configured for the specified Batch account, only if storage key authentication is being used.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountSynchronizeAutoStorageKeys() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Updates the properties of an existing Batch account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates the properties of an existing Batch account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/BatchAccountUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12,9 +12,13 @@ import { BatchManagementClient } from "@azure/arm-batch";
|
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
14
|
* This sample demonstrates how to If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.
|
|
15
|
+
|
|
16
|
+
Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
17
|
*
|
|
16
18
|
* @summary If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.
|
|
17
|
-
|
|
19
|
+
|
|
20
|
+
Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
21
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateCancelDeletion.json
|
|
18
22
|
*/
|
|
19
23
|
function certificateCancelDeletion() {
|
|
20
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificateCancelDeletionSample.js","sourceRoot":"","sources":["../../samples-dev/certificateCancelDeletionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"certificateCancelDeletionSample.js","sourceRoot":"","sources":["../../samples-dev/certificateCancelDeletionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;;;GASG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,eAAe,GAAG,+CAA+C,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,cAAc,CAC9D,iBAAiB,EACjB,WAAW,EACX,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -11,10 +11,10 @@ import { __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
14
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
15
|
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateCreate_Full.json
|
|
18
18
|
*/
|
|
19
19
|
function createCertificateFull() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,10 +37,10 @@ function createCertificateFull() {
|
|
|
37
37
|
}
|
|
38
38
|
createCertificateFull().catch(console.error);
|
|
39
39
|
/**
|
|
40
|
-
* This sample demonstrates how to
|
|
40
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
41
41
|
*
|
|
42
|
-
* @summary
|
|
43
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
42
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
43
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateCreate_MinimalCer.json
|
|
44
44
|
*/
|
|
45
45
|
function createCertificateMinimalCer() {
|
|
46
46
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -60,10 +60,10 @@ function createCertificateMinimalCer() {
|
|
|
60
60
|
}
|
|
61
61
|
createCertificateMinimalCer().catch(console.error);
|
|
62
62
|
/**
|
|
63
|
-
* This sample demonstrates how to
|
|
63
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
64
64
|
*
|
|
65
|
-
* @summary
|
|
66
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
65
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
66
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateCreate_Minimal.json
|
|
67
67
|
*/
|
|
68
68
|
function createCertificateMinimalPfx() {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11,10 +11,10 @@ import { __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
14
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
15
|
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function certificateDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11,10 +11,10 @@ import { __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
14
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
15
|
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getCertificate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,10 +30,10 @@ function getCertificate() {
|
|
|
30
30
|
}
|
|
31
31
|
getCertificate().catch(console.error);
|
|
32
32
|
/**
|
|
33
|
-
* This sample demonstrates how to
|
|
33
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
34
34
|
*
|
|
35
|
-
* @summary
|
|
36
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
35
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
36
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateGetWithDeletionError.json
|
|
37
37
|
*/
|
|
38
38
|
function getCertificateWithDeletionError() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11,10 +11,10 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
14
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
15
|
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateList.json
|
|
18
18
|
*/
|
|
19
19
|
function listCertificates() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -43,10 +43,10 @@ function listCertificates() {
|
|
|
43
43
|
}
|
|
44
44
|
listCertificates().catch(console.error);
|
|
45
45
|
/**
|
|
46
|
-
* This sample demonstrates how to
|
|
46
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
47
47
|
*
|
|
48
|
-
* @summary
|
|
49
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
48
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
49
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateListWithFilter.json
|
|
50
50
|
*/
|
|
51
51
|
function listCertificatesFilterAndSelect() {
|
|
52
52
|
var e_2, _a;
|
|
@@ -11,10 +11,10 @@ import { __awaiter } from "tslib";
|
|
|
11
11
|
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
14
|
+
* This sample demonstrates how to Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
15
15
|
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
16
|
+
* @summary Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/CertificateUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function updateCertificate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Checks whether the Batch account name is available in the specified region.
|
|
15
15
|
*
|
|
16
16
|
* @summary Checks whether the Batch account name is available in the specified region.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/LocationCheckNameAvailability_AlreadyExists.json
|
|
18
18
|
*/
|
|
19
19
|
function locationCheckNameAvailabilityAlreadyExists() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ locationCheckNameAvailabilityAlreadyExists().catch(console.error);
|
|
|
35
35
|
* This sample demonstrates how to Checks whether the Batch account name is available in the specified region.
|
|
36
36
|
*
|
|
37
37
|
* @summary Checks whether the Batch account name is available in the specified region.
|
|
38
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
38
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/LocationCheckNameAvailability_Available.json
|
|
39
39
|
*/
|
|
40
40
|
function locationCheckNameAvailabilityAvailable() {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the Batch service quotas for the specified subscription at the given location.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the Batch service quotas for the specified subscription at the given location.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/LocationGetQuotas.json
|
|
18
18
|
*/
|
|
19
19
|
function locationGetQuotas() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/LocationListCloudServiceSkus.json
|
|
18
18
|
*/
|
|
19
19
|
function locationListCloudServiceSkus() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/LocationListVirtualMachineSkus.json
|
|
18
18
|
*/
|
|
19
19
|
function locationListVirtualMachineSkus() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists available operations for the Microsoft.Batch provider
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists available operations for the Microsoft.Batch provider
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/OperationsList.json
|
|
18
18
|
*/
|
|
19
19
|
function operationsList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new pool inside the specified account.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_SharedImageGallery.json
|
|
18
18
|
*/
|
|
19
19
|
function createPoolCustomImage() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,7 @@ createPoolCustomImage().catch(console.error);
|
|
|
44
44
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
45
45
|
*
|
|
46
46
|
* @summary Creates a new pool inside the specified account.
|
|
47
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
47
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_CloudServiceConfiguration.json
|
|
48
48
|
*/
|
|
49
49
|
function createPoolFullCloudServiceConfiguration() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -105,7 +105,7 @@ function createPoolFullCloudServiceConfiguration() {
|
|
|
105
105
|
resourceFiles: [
|
|
106
106
|
{
|
|
107
107
|
fileMode: "777",
|
|
108
|
-
filePath: "c
|
|
108
|
+
filePath: "c:\\temp\\gohere",
|
|
109
109
|
httpUrl: "https://testaccount.blob.core.windows.net/example-blob-file"
|
|
110
110
|
}
|
|
111
111
|
],
|
|
@@ -139,7 +139,7 @@ createPoolFullCloudServiceConfiguration().catch(console.error);
|
|
|
139
139
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
140
140
|
*
|
|
141
141
|
* @summary Creates a new pool inside the specified account.
|
|
142
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
142
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_VirtualMachineConfiguration.json
|
|
143
143
|
*/
|
|
144
144
|
function createPoolFullVirtualMachineConfiguration() {
|
|
145
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -224,7 +224,7 @@ createPoolFullVirtualMachineConfiguration().catch(console.error);
|
|
|
224
224
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
225
225
|
*
|
|
226
226
|
* @summary Creates a new pool inside the specified account.
|
|
227
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
227
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
|
|
228
228
|
*/
|
|
229
229
|
function createPoolMinimalCloudServiceConfiguration() {
|
|
230
230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -248,7 +248,7 @@ createPoolMinimalCloudServiceConfiguration().catch(console.error);
|
|
|
248
248
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
249
249
|
*
|
|
250
250
|
* @summary Creates a new pool inside the specified account.
|
|
251
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
251
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
|
|
252
252
|
*/
|
|
253
253
|
function createPoolMinimalVirtualMachineConfiguration() {
|
|
254
254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -287,7 +287,7 @@ createPoolMinimalVirtualMachineConfiguration().catch(console.error);
|
|
|
287
287
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
288
288
|
*
|
|
289
289
|
* @summary Creates a new pool inside the specified account.
|
|
290
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
290
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_NoPublicIPAddresses.json
|
|
291
291
|
*/
|
|
292
292
|
function createPoolNoPublicIP() {
|
|
293
293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -321,7 +321,7 @@ createPoolNoPublicIP().catch(console.error);
|
|
|
321
321
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
322
322
|
*
|
|
323
323
|
* @summary Creates a new pool inside the specified account.
|
|
324
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
324
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_PublicIPs.json
|
|
325
325
|
*/
|
|
326
326
|
function createPoolPublicIPs() {
|
|
327
327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -360,7 +360,7 @@ createPoolPublicIPs().catch(console.error);
|
|
|
360
360
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
361
361
|
*
|
|
362
362
|
* @summary Creates a new pool inside the specified account.
|
|
363
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
363
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_UserAssignedIdentities.json
|
|
364
364
|
*/
|
|
365
365
|
function createPoolUserAssignedIdentities() {
|
|
366
366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -406,7 +406,7 @@ createPoolUserAssignedIdentities().catch(console.error);
|
|
|
406
406
|
* This sample demonstrates how to Creates a new pool inside the specified account.
|
|
407
407
|
*
|
|
408
408
|
* @summary Creates a new pool inside the specified account.
|
|
409
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
409
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolCreate_VirtualMachineConfiguration_Extensions.json
|
|
410
410
|
*/
|
|
411
411
|
function createPoolVirtualMachineConfigurationExtensions() {
|
|
412
412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -444,6 +444,7 @@ function createPoolVirtualMachineConfigurationExtensions() {
|
|
|
444
444
|
formula: "$TargetDedicatedNodes=1"
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
|
+
targetNodeCommunicationMode: "Default",
|
|
447
448
|
vmSize: "STANDARD_D4"
|
|
448
449
|
};
|
|
449
450
|
const credential = new DefaultAzureCredential();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poolCreateSample.js","sourceRoot":"","sources":["../../samples-dev/poolCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAQ,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAC;QAC5B,MAAM,UAAU,GAAS;YACvB,uBAAuB,EAAE;gBACvB,2BAA2B,EAAE;oBAC3B,cAAc,EAAE;wBACd,EAAE,EACA,2IAA2I;qBAC9I;oBACD,cAAc,EAAE,yBAAyB;iBAC1C;aACF;YACD,MAAM,EAAE,aAAa;SACtB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,MAAM,CAC/C,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAE7C;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;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ential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the specified pool.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the specified pool.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function deletePool() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Disables automatic scaling for a pool.
|
|
15
15
|
*
|
|
16
16
|
* @summary Disables automatic scaling for a pool.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolDisableAutoScale.json
|
|
18
18
|
*/
|
|
19
19
|
function disableAutoScale() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the specified pool.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the specified pool.
|
|
17
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getPool() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ getPool().catch(console.error);
|
|
|
33
33
|
* This sample demonstrates how to Gets information about the specified pool.
|
|
34
34
|
*
|
|
35
35
|
* @summary Gets information about the specified pool.
|
|
36
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
36
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json
|
|
37
37
|
*/
|
|
38
38
|
function getPoolVirtualMachineConfigurationExtensions() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|