@azure/arm-batch 7.1.2-alpha.20220427.2 → 7.2.0-alpha.20220720.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 +29 -10
- package/dist/index.js +400 -106
- 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/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 +9 -9
- 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 +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
- 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 +2 -2
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
- package/dist-esm/src/batchManagementClient.d.ts +2 -0
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +48 -2
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +92 -35
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +146 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +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 +100 -92
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +19 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +92 -0
- 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/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +19 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/test/batch_examples.d.ts.map +1 -1
- package/dist-esm/test/batch_examples.js +20 -22
- package/dist-esm/test/batch_examples.js.map +1 -1
- package/package.json +10 -7
- package/review/arm-batch.api.md +113 -69
- package/src/batchManagementClient.ts +60 -2
- package/src/models/index.ts +104 -36
- package/src/models/mappers.ts +153 -2
- package/src/models/parameters.ts +1 -1
- package/src/operations/batchAccountOperations.ts +184 -122
- package/src/operations/privateEndpointConnectionOperations.ts +134 -0
- package/src/operationsInterfaces/batchAccountOperations.ts +9 -4
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +36 -1
- package/types/arm-batch.d.ts +120 -36
|
@@ -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-06-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-06-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-06-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-06-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-06-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/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/azure/batch/batch-virtual-network
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-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-06-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-06-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-06-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-06-01/examples/BatchAccountUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function batchAccountUpdate() {
|
|
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 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
15
|
*
|
|
16
16
|
* @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
|
-
* 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-06-01/examples/CertificateCancelDeletion.json
|
|
18
18
|
*/
|
|
19
19
|
function certificateCancelDeletion() {
|
|
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 certificate inside the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new certificate 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-06-01/examples/CertificateCreate_Full.json
|
|
18
18
|
*/
|
|
19
19
|
function createCertificateFull() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -40,7 +40,7 @@ createCertificateFull().catch(console.error);
|
|
|
40
40
|
* This sample demonstrates how to Creates a new certificate inside the specified account.
|
|
41
41
|
*
|
|
42
42
|
* @summary Creates a new certificate inside the specified account.
|
|
43
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
43
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/CertificateCreate_MinimalCer.json
|
|
44
44
|
*/
|
|
45
45
|
function createCertificateMinimalCer() {
|
|
46
46
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -63,7 +63,7 @@ createCertificateMinimalCer().catch(console.error);
|
|
|
63
63
|
* This sample demonstrates how to Creates a new certificate inside the specified account.
|
|
64
64
|
*
|
|
65
65
|
* @summary Creates a new certificate inside the specified account.
|
|
66
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
66
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/CertificateCreate_Minimal.json
|
|
67
67
|
*/
|
|
68
68
|
function createCertificateMinimalPfx() {
|
|
69
69
|
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 certificate.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the specified certificate.
|
|
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-06-01/examples/CertificateDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function certificateDelete() {
|
|
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 certificate.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the specified certificate.
|
|
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-06-01/examples/CertificateGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getCertificate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ getCertificate().catch(console.error);
|
|
|
33
33
|
* This sample demonstrates how to Gets information about the specified certificate.
|
|
34
34
|
*
|
|
35
35
|
* @summary Gets information about the specified certificate.
|
|
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-06-01/examples/CertificateGetWithDeletionError.json
|
|
37
37
|
*/
|
|
38
38
|
function getCertificateWithDeletionError() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all of the certificates in the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the certificates in 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-06-01/examples/CertificateList.json
|
|
18
18
|
*/
|
|
19
19
|
function listCertificates() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -46,7 +46,7 @@ listCertificates().catch(console.error);
|
|
|
46
46
|
* This sample demonstrates how to Lists all of the certificates in the specified account.
|
|
47
47
|
*
|
|
48
48
|
* @summary Lists all of the certificates in the specified account.
|
|
49
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
49
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/CertificateListWithFilter.json
|
|
50
50
|
*/
|
|
51
51
|
function listCertificatesFilterAndSelect() {
|
|
52
52
|
var e_2, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Updates the properties of an existing certificate.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates the properties of an existing certificate.
|
|
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-06-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-06-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-06-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-06-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-06-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-06-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-06-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-06-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-06-01/examples/PoolCreate_CloudServiceConfiguration.json
|
|
48
48
|
*/
|
|
49
49
|
function createPoolFullCloudServiceConfiguration() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -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-06-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-06-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-06-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-06-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-06-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-06-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-06-01/examples/PoolCreate_VirtualMachineConfiguration_Extensions.json
|
|
410
410
|
*/
|
|
411
411
|
function createPoolVirtualMachineConfigurationExtensions() {
|
|
412
412
|
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 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-06-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-06-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-06-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-06-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json
|
|
37
37
|
*/
|
|
38
38
|
function getPoolVirtualMachineConfigurationExtensions() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all of the pools in the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the pools in 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-06-01/examples/PoolList.json
|
|
18
18
|
*/
|
|
19
19
|
function listPool() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -46,7 +46,7 @@ listPool().catch(console.error);
|
|
|
46
46
|
* This sample demonstrates how to Lists all of the pools in the specified account.
|
|
47
47
|
*
|
|
48
48
|
* @summary Lists all of the pools in the specified account.
|
|
49
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
49
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/PoolListWithFilter.json
|
|
50
50
|
*/
|
|
51
51
|
function listPoolWithFilter() {
|
|
52
52
|
var e_2, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
|
|
15
15
|
*
|
|
16
16
|
* @summary This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
|
|
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-06-01/examples/PoolStopResize.json
|
|
18
18
|
*/
|
|
19
19
|
function stopPoolResize() {
|
|
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 pool.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates the properties of an existing 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-06-01/examples/PoolUpdate_EnableAutoScale.json
|
|
18
18
|
*/
|
|
19
19
|
function updatePoolEnableAutoscale() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -36,7 +36,7 @@ updatePoolEnableAutoscale().catch(console.error);
|
|
|
36
36
|
* This sample demonstrates how to Updates the properties of an existing pool.
|
|
37
37
|
*
|
|
38
38
|
* @summary Updates the properties of an existing pool.
|
|
39
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
39
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/PoolUpdate_OtherProperties.json
|
|
40
40
|
*/
|
|
41
41
|
function updatePoolOtherProperties() {
|
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,7 +74,7 @@ updatePoolOtherProperties().catch(console.error);
|
|
|
74
74
|
* This sample demonstrates how to Updates the properties of an existing pool.
|
|
75
75
|
*
|
|
76
76
|
* @summary Updates the properties of an existing pool.
|
|
77
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
77
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/PoolUpdate_RemoveStartTask.json
|
|
78
78
|
*/
|
|
79
79
|
function updatePoolRemoveStartTask() {
|
|
80
80
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -94,7 +94,7 @@ updatePoolRemoveStartTask().catch(console.error);
|
|
|
94
94
|
* This sample demonstrates how to Updates the properties of an existing pool.
|
|
95
95
|
*
|
|
96
96
|
* @summary Updates the properties of an existing pool.
|
|
97
|
-
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-
|
|
97
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/PoolUpdate_ResizePool.json
|
|
98
98
|
*/
|
|
99
99
|
function updatePoolResizePool() {
|
|
100
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { BatchManagementClient } from "@azure/arm-batch";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Deletes the specified private endpoint connection.
|
|
15
|
+
*
|
|
16
|
+
* @summary Deletes the specified private endpoint connection.
|
|
17
|
+
* x-ms-original-file: specification/batch/resource-manager/Microsoft.Batch/stable/2022-06-01/examples/PrivateEndpointConnectionDelete.json
|
|
18
|
+
*/
|
|
19
|
+
function privateEndpointConnectionDelete() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "default-azurebatch-japaneast";
|
|
23
|
+
const accountName = "sampleacct";
|
|
24
|
+
const privateEndpointConnectionName = "testprivateEndpointConnection5testprivateEndpointConnection5.24d6b4b5-e65c-4330-bbe9-3a290d62f8e0";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new BatchManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.privateEndpointConnectionOperations.beginDeleteAndWait(resourceGroupName, accountName, privateEndpointConnectionName);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
privateEndpointConnectionDelete().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=privateEndpointConnectionDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionDeleteSample.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;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,6BAA6B,GACjC,mGAAmG,CAAC;QACtG,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,mCAAmC,CAAC,kBAAkB,CAChF,iBAAiB,EACjB,WAAW,EACX,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the specified private endpoint connection.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the specified private endpoint connection.
|
|
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-06-01/examples/PrivateEndpointConnectionGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getPrivateEndpointConnection() {
|
|
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 Lists all of the private endpoint connections in the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the private endpoint connections in 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-06-01/examples/PrivateEndpointConnectionsList.json
|
|
18
18
|
*/
|
|
19
19
|
function listPrivateEndpointConnections() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Updates the properties of an existing private endpoint connection.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates the properties of an existing private endpoint connection.
|
|
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-06-01/examples/PrivateEndpointConnectionUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function updatePrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,14 +14,14 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets information about the specified private link resource.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets information about the specified private link resource.
|
|
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-06-01/examples/PrivateLinkResourceGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getPrivateLinkResource() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
21
|
const subscriptionId = "subid";
|
|
22
22
|
const resourceGroupName = "default-azurebatch-japaneast";
|
|
23
23
|
const accountName = "sampleacct";
|
|
24
|
-
const privateLinkResourceName = "
|
|
24
|
+
const privateLinkResourceName = "batchAccount";
|
|
25
25
|
const credential = new DefaultAzureCredential();
|
|
26
26
|
const client = new BatchManagementClient(credential, subscriptionId);
|
|
27
27
|
const result = yield client.privateLinkResourceOperations.get(resourceGroupName, accountName, privateLinkResourceName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResourceGetSample.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourceGetSample.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;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,uBAAuB,GAAG,
|
|
1
|
+
{"version":3,"file":"privateLinkResourceGetSample.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourceGetSample.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;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,8BAA8B,CAAC;QACzD,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,uBAAuB,GAAG,cAAc,CAAC;QAC/C,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,6BAA6B,CAAC,GAAG,CAC3D,iBAAiB,EACjB,WAAW,EACX,uBAAuB,CACxB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all of the private link resources in the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the private link resources in 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-06-01/examples/PrivateLinkResourcesList.json
|
|
18
18
|
*/
|
|
19
19
|
function listPrivateLinkResource() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,6 +14,8 @@ export declare class BatchManagementClient extends coreClient.ServiceClient {
|
|
|
14
14
|
* @param options The parameter options
|
|
15
15
|
*/
|
|
16
16
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: BatchManagementClientOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
17
19
|
batchAccountOperations: BatchAccountOperations;
|
|
18
20
|
applicationPackageOperations: ApplicationPackageOperations;
|
|
19
21
|
applicationOperations: ApplicationOperations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchManagementClient.d.ts","sourceRoot":"","sources":["../../src/batchManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"batchManagementClient.d.ts","sourceRoot":"","sources":["../../src/batchManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAY7C,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,qBAAqB,EACrB,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,6BAA6B,EAC7B,mCAAmC,EACnC,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC;IAoF/C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,mCAAmC,EAAE,mCAAmC,CAAC;IACzE,cAAc,EAAE,cAAc,CAAC;CAChC"}
|