@azure/arm-batch 9.2.1-alpha.20240925.1 → 10.0.0-alpha.20240926.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +63 -7
- package/dist/index.js +1215 -315
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationListSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageActivateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageCreateSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationPackageListSample.js +1 -1
- package/dist-esm/samples-dev/applicationUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountCreateSample.js +5 -5
- package/dist-esm/samples-dev/batchAccountDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetDetectorSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountGetSample.js +2 -2
- package/dist-esm/samples-dev/batchAccountListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListDetectorsSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountListOutboundNetworkDependenciesEndpointsSample.js +3 -3
- package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
- package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificateGetSample.js +2 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterGetConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{locationListSupportedCloudServiceSkusSample.js → networkSecurityPerimeterListConfigurationsSample.js} +9 -8
- package/dist-esm/samples-dev/networkSecurityPerimeterListConfigurationsSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js +39 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterReconcileConfigurationSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +50 -132
- package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
- package/dist-esm/samples-dev/poolGetSample.js +7 -7
- package/dist-esm/samples-dev/poolListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/poolStopResizeSample.js +1 -1
- package/dist-esm/samples-dev/poolUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionListByBatchAccountSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourceListByBatchAccountSample.js +1 -1
- package/dist-esm/src/batchManagementClient.d.ts +2 -1
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +5 -3
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +467 -46
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +92 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +22 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +739 -120
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +14 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js +2 -2
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/location.d.ts +1 -23
- package/dist-esm/src/operations/location.d.ts.map +1 -1
- package/dist-esm/src/operations/location.js +0 -124
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts +66 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js +286 -0
- package/dist-esm/src/operations/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts +1 -7
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterOperations.js.map +1 -0
- package/dist-esm/test/batch_examples.js +23 -45
- package/dist-esm/test/batch_examples.js.map +1 -1
- package/package.json +33 -31
- package/review/arm-batch.api.md +294 -44
- package/src/batchManagementClient.ts +7 -2
- package/src/models/index.ts +517 -53
- package/src/models/mappers.ts +781 -133
- package/src/models/parameters.ts +16 -1
- package/src/operations/batchAccountOperations.ts +42 -42
- package/src/operations/index.ts +1 -0
- package/src/operations/location.ts +0 -154
- package/src/operations/networkSecurityPerimeterOperations.ts +397 -0
- package/src/operationsInterfaces/batchAccountOperations.ts +1 -1
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/location.ts +0 -10
- package/src/operationsInterfaces/networkSecurityPerimeterOperations.ts +81 -0
- package/types/arm-batch.d.ts +575 -81
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -74,6 +74,98 @@ exports.KnownContainerType = void 0;
|
|
|
74
74
|
/** A CRI based technology will be used to launch the containers. */
|
|
75
75
|
KnownContainerType["CriCompatible"] = "CriCompatible";
|
|
76
76
|
})(exports.KnownContainerType || (exports.KnownContainerType = {}));
|
|
77
|
+
/** Known values of {@link SecurityEncryptionTypes} that the service accepts. */
|
|
78
|
+
exports.KnownSecurityEncryptionTypes = void 0;
|
|
79
|
+
(function (KnownSecurityEncryptionTypes) {
|
|
80
|
+
/** NonPersistedTPM */
|
|
81
|
+
KnownSecurityEncryptionTypes["NonPersistedTPM"] = "NonPersistedTPM";
|
|
82
|
+
/** VMGuestStateOnly */
|
|
83
|
+
KnownSecurityEncryptionTypes["VMGuestStateOnly"] = "VMGuestStateOnly";
|
|
84
|
+
})(exports.KnownSecurityEncryptionTypes || (exports.KnownSecurityEncryptionTypes = {}));
|
|
85
|
+
/** Known values of {@link ContainerHostDataPath} that the service accepts. */
|
|
86
|
+
exports.KnownContainerHostDataPath = void 0;
|
|
87
|
+
(function (KnownContainerHostDataPath) {
|
|
88
|
+
/** The path for multi-instances task to shared their files. */
|
|
89
|
+
KnownContainerHostDataPath["Shared"] = "Shared";
|
|
90
|
+
/** The path for start task. */
|
|
91
|
+
KnownContainerHostDataPath["Startup"] = "Startup";
|
|
92
|
+
/** The path contains all virtual file systems are mounted on this node. */
|
|
93
|
+
KnownContainerHostDataPath["VfsMounts"] = "VfsMounts";
|
|
94
|
+
/** The task path. */
|
|
95
|
+
KnownContainerHostDataPath["Task"] = "Task";
|
|
96
|
+
/** The job-prep task path. */
|
|
97
|
+
KnownContainerHostDataPath["JobPrep"] = "JobPrep";
|
|
98
|
+
/** The applications path. */
|
|
99
|
+
KnownContainerHostDataPath["Applications"] = "Applications";
|
|
100
|
+
})(exports.KnownContainerHostDataPath || (exports.KnownContainerHostDataPath = {}));
|
|
101
|
+
/** Known values of {@link NetworkSecurityPerimeterConfigurationProvisioningState} that the service accepts. */
|
|
102
|
+
exports.KnownNetworkSecurityPerimeterConfigurationProvisioningState = void 0;
|
|
103
|
+
(function (KnownNetworkSecurityPerimeterConfigurationProvisioningState) {
|
|
104
|
+
/** Succeeded */
|
|
105
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Succeeded"] = "Succeeded";
|
|
106
|
+
/** Creating */
|
|
107
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Creating"] = "Creating";
|
|
108
|
+
/** Updating */
|
|
109
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Updating"] = "Updating";
|
|
110
|
+
/** Deleting */
|
|
111
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Deleting"] = "Deleting";
|
|
112
|
+
/** Accepted */
|
|
113
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Accepted"] = "Accepted";
|
|
114
|
+
/** Failed */
|
|
115
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Failed"] = "Failed";
|
|
116
|
+
/** Canceled */
|
|
117
|
+
KnownNetworkSecurityPerimeterConfigurationProvisioningState["Canceled"] = "Canceled";
|
|
118
|
+
})(exports.KnownNetworkSecurityPerimeterConfigurationProvisioningState || (exports.KnownNetworkSecurityPerimeterConfigurationProvisioningState = {}));
|
|
119
|
+
/** Known values of {@link IssueType} that the service accepts. */
|
|
120
|
+
exports.KnownIssueType = void 0;
|
|
121
|
+
(function (KnownIssueType) {
|
|
122
|
+
/** Unknown issue type */
|
|
123
|
+
KnownIssueType["Unknown"] = "Unknown";
|
|
124
|
+
/** An error occurred while applying the network security perimeter (NSP) configuration. */
|
|
125
|
+
KnownIssueType["ConfigurationPropagationFailure"] = "ConfigurationPropagationFailure";
|
|
126
|
+
/** A network connectivity issue is happening on the resource which could be addressed either by adding new resources to the network security perimeter (NSP) or by modifying access rules. */
|
|
127
|
+
KnownIssueType["MissingPerimeterConfiguration"] = "MissingPerimeterConfiguration";
|
|
128
|
+
/** An managed identity hasn't been associated with the resource. The resource will still be able to validate inbound traffic from the network security perimeter (NSP) or matching inbound access rules, but it won't be able to perform outbound access as a member of the NSP. */
|
|
129
|
+
KnownIssueType["MissingIdentityConfiguration"] = "MissingIdentityConfiguration";
|
|
130
|
+
})(exports.KnownIssueType || (exports.KnownIssueType = {}));
|
|
131
|
+
/** Known values of {@link Severity} that the service accepts. */
|
|
132
|
+
exports.KnownSeverity = void 0;
|
|
133
|
+
(function (KnownSeverity) {
|
|
134
|
+
/** Warning */
|
|
135
|
+
KnownSeverity["Warning"] = "Warning";
|
|
136
|
+
/** Error */
|
|
137
|
+
KnownSeverity["Error"] = "Error";
|
|
138
|
+
})(exports.KnownSeverity || (exports.KnownSeverity = {}));
|
|
139
|
+
/** Known values of {@link AccessRuleDirection} that the service accepts. */
|
|
140
|
+
exports.KnownAccessRuleDirection = void 0;
|
|
141
|
+
(function (KnownAccessRuleDirection) {
|
|
142
|
+
/** Applies to inbound network traffic to the secured resources. */
|
|
143
|
+
KnownAccessRuleDirection["Inbound"] = "Inbound";
|
|
144
|
+
/** Applies to outbound network traffic from the secured resources */
|
|
145
|
+
KnownAccessRuleDirection["Outbound"] = "Outbound";
|
|
146
|
+
})(exports.KnownAccessRuleDirection || (exports.KnownAccessRuleDirection = {}));
|
|
147
|
+
/** Known values of {@link ResourceAssociationAccessMode} that the service accepts. */
|
|
148
|
+
exports.KnownResourceAssociationAccessMode = void 0;
|
|
149
|
+
(function (KnownResourceAssociationAccessMode) {
|
|
150
|
+
/** Enforced access mode - traffic to the resource that failed access checks is blocked */
|
|
151
|
+
KnownResourceAssociationAccessMode["Enforced"] = "Enforced";
|
|
152
|
+
/** Learning access mode - traffic to the resource is enabled for analysis but not blocked */
|
|
153
|
+
KnownResourceAssociationAccessMode["Learning"] = "Learning";
|
|
154
|
+
/** Audit access mode - traffic to the resource that fails access checks is logged but not blocked */
|
|
155
|
+
KnownResourceAssociationAccessMode["Audit"] = "Audit";
|
|
156
|
+
})(exports.KnownResourceAssociationAccessMode || (exports.KnownResourceAssociationAccessMode = {}));
|
|
157
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
158
|
+
exports.KnownCreatedByType = void 0;
|
|
159
|
+
(function (KnownCreatedByType) {
|
|
160
|
+
/** User */
|
|
161
|
+
KnownCreatedByType["User"] = "User";
|
|
162
|
+
/** Application */
|
|
163
|
+
KnownCreatedByType["Application"] = "Application";
|
|
164
|
+
/** ManagedIdentity */
|
|
165
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
166
|
+
/** Key */
|
|
167
|
+
KnownCreatedByType["Key"] = "Key";
|
|
168
|
+
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
77
169
|
|
|
78
170
|
/*
|
|
79
171
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -134,7 +226,7 @@ const BatchAccountCreateParameters = {
|
|
|
134
226
|
serializedName: "properties.publicNetworkAccess",
|
|
135
227
|
type: {
|
|
136
228
|
name: "Enum",
|
|
137
|
-
allowedValues: ["Enabled", "Disabled"],
|
|
229
|
+
allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
|
|
138
230
|
},
|
|
139
231
|
},
|
|
140
232
|
networkProfile: {
|
|
@@ -447,10 +539,10 @@ const PrivateLinkServiceConnectionState = {
|
|
|
447
539
|
},
|
|
448
540
|
},
|
|
449
541
|
};
|
|
450
|
-
const
|
|
542
|
+
const AzureProxyResource = {
|
|
451
543
|
type: {
|
|
452
544
|
name: "Composite",
|
|
453
|
-
className: "
|
|
545
|
+
className: "AzureProxyResource",
|
|
454
546
|
modelProperties: {
|
|
455
547
|
id: {
|
|
456
548
|
serializedName: "id",
|
|
@@ -480,6 +572,13 @@ const ProxyResource = {
|
|
|
480
572
|
name: "String",
|
|
481
573
|
},
|
|
482
574
|
},
|
|
575
|
+
tags: {
|
|
576
|
+
serializedName: "tags",
|
|
577
|
+
type: {
|
|
578
|
+
name: "Dictionary",
|
|
579
|
+
value: { type: { name: "String" } },
|
|
580
|
+
},
|
|
581
|
+
},
|
|
483
582
|
},
|
|
484
583
|
},
|
|
485
584
|
};
|
|
@@ -505,10 +604,10 @@ const VirtualMachineFamilyCoreQuota = {
|
|
|
505
604
|
},
|
|
506
605
|
},
|
|
507
606
|
};
|
|
508
|
-
const
|
|
607
|
+
const AzureResource = {
|
|
509
608
|
type: {
|
|
510
609
|
name: "Composite",
|
|
511
|
-
className: "
|
|
610
|
+
className: "AzureResource",
|
|
512
611
|
modelProperties: {
|
|
513
612
|
id: {
|
|
514
613
|
serializedName: "id",
|
|
@@ -653,7 +752,7 @@ const BatchAccountUpdateParameters = {
|
|
|
653
752
|
serializedName: "properties.publicNetworkAccess",
|
|
654
753
|
type: {
|
|
655
754
|
name: "Enum",
|
|
656
|
-
allowedValues: ["Enabled", "Disabled"],
|
|
755
|
+
allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
|
|
657
756
|
},
|
|
658
757
|
},
|
|
659
758
|
networkProfile: {
|
|
@@ -1264,13 +1363,6 @@ const DeploymentConfiguration = {
|
|
|
1264
1363
|
name: "Composite",
|
|
1265
1364
|
className: "DeploymentConfiguration",
|
|
1266
1365
|
modelProperties: {
|
|
1267
|
-
cloudServiceConfiguration: {
|
|
1268
|
-
serializedName: "cloudServiceConfiguration",
|
|
1269
|
-
type: {
|
|
1270
|
-
name: "Composite",
|
|
1271
|
-
className: "CloudServiceConfiguration",
|
|
1272
|
-
},
|
|
1273
|
-
},
|
|
1274
1366
|
virtualMachineConfiguration: {
|
|
1275
1367
|
serializedName: "virtualMachineConfiguration",
|
|
1276
1368
|
type: {
|
|
@@ -1281,27 +1373,6 @@ const DeploymentConfiguration = {
|
|
|
1281
1373
|
},
|
|
1282
1374
|
},
|
|
1283
1375
|
};
|
|
1284
|
-
const CloudServiceConfiguration = {
|
|
1285
|
-
type: {
|
|
1286
|
-
name: "Composite",
|
|
1287
|
-
className: "CloudServiceConfiguration",
|
|
1288
|
-
modelProperties: {
|
|
1289
|
-
osFamily: {
|
|
1290
|
-
serializedName: "osFamily",
|
|
1291
|
-
required: true,
|
|
1292
|
-
type: {
|
|
1293
|
-
name: "String",
|
|
1294
|
-
},
|
|
1295
|
-
},
|
|
1296
|
-
osVersion: {
|
|
1297
|
-
serializedName: "osVersion",
|
|
1298
|
-
type: {
|
|
1299
|
-
name: "String",
|
|
1300
|
-
},
|
|
1301
|
-
},
|
|
1302
|
-
},
|
|
1303
|
-
},
|
|
1304
|
-
};
|
|
1305
1376
|
const VirtualMachineConfiguration = {
|
|
1306
1377
|
type: {
|
|
1307
1378
|
name: "Composite",
|
|
@@ -1438,6 +1509,18 @@ const ImageReference = {
|
|
|
1438
1509
|
name: "String",
|
|
1439
1510
|
},
|
|
1440
1511
|
},
|
|
1512
|
+
sharedGalleryImageId: {
|
|
1513
|
+
serializedName: "sharedGalleryImageId",
|
|
1514
|
+
type: {
|
|
1515
|
+
name: "String",
|
|
1516
|
+
},
|
|
1517
|
+
},
|
|
1518
|
+
communityGalleryImageId: {
|
|
1519
|
+
serializedName: "communityGalleryImageId",
|
|
1520
|
+
type: {
|
|
1521
|
+
name: "String",
|
|
1522
|
+
},
|
|
1523
|
+
},
|
|
1441
1524
|
},
|
|
1442
1525
|
},
|
|
1443
1526
|
};
|
|
@@ -1738,6 +1821,27 @@ const ManagedDisk = {
|
|
|
1738
1821
|
allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"],
|
|
1739
1822
|
},
|
|
1740
1823
|
},
|
|
1824
|
+
securityProfile: {
|
|
1825
|
+
serializedName: "securityProfile",
|
|
1826
|
+
type: {
|
|
1827
|
+
name: "Composite",
|
|
1828
|
+
className: "VMDiskSecurityProfile",
|
|
1829
|
+
},
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1832
|
+
},
|
|
1833
|
+
};
|
|
1834
|
+
const VMDiskSecurityProfile = {
|
|
1835
|
+
type: {
|
|
1836
|
+
name: "Composite",
|
|
1837
|
+
className: "VMDiskSecurityProfile",
|
|
1838
|
+
modelProperties: {
|
|
1839
|
+
securityEncryptionType: {
|
|
1840
|
+
serializedName: "securityEncryptionType",
|
|
1841
|
+
type: {
|
|
1842
|
+
name: "String",
|
|
1843
|
+
},
|
|
1844
|
+
},
|
|
1741
1845
|
},
|
|
1742
1846
|
},
|
|
1743
1847
|
};
|
|
@@ -1747,11 +1851,10 @@ const SecurityProfile = {
|
|
|
1747
1851
|
className: "SecurityProfile",
|
|
1748
1852
|
modelProperties: {
|
|
1749
1853
|
securityType: {
|
|
1750
|
-
defaultValue: "trustedLaunch",
|
|
1751
|
-
isConstant: true,
|
|
1752
1854
|
serializedName: "securityType",
|
|
1753
1855
|
type: {
|
|
1754
|
-
name: "
|
|
1856
|
+
name: "Enum",
|
|
1857
|
+
allowedValues: ["trustedLaunch", "confidentialVM"],
|
|
1755
1858
|
},
|
|
1756
1859
|
},
|
|
1757
1860
|
encryptionAtHost: {
|
|
@@ -2470,6 +2573,38 @@ const TaskContainerSettings = {
|
|
|
2470
2573
|
allowedValues: ["TaskWorkingDirectory", "ContainerImageDefault"],
|
|
2471
2574
|
},
|
|
2472
2575
|
},
|
|
2576
|
+
containerHostBatchBindMounts: {
|
|
2577
|
+
serializedName: "containerHostBatchBindMounts",
|
|
2578
|
+
type: {
|
|
2579
|
+
name: "Sequence",
|
|
2580
|
+
element: {
|
|
2581
|
+
type: {
|
|
2582
|
+
name: "Composite",
|
|
2583
|
+
className: "ContainerHostBatchBindMountEntry",
|
|
2584
|
+
},
|
|
2585
|
+
},
|
|
2586
|
+
},
|
|
2587
|
+
},
|
|
2588
|
+
},
|
|
2589
|
+
},
|
|
2590
|
+
};
|
|
2591
|
+
const ContainerHostBatchBindMountEntry = {
|
|
2592
|
+
type: {
|
|
2593
|
+
name: "Composite",
|
|
2594
|
+
className: "ContainerHostBatchBindMountEntry",
|
|
2595
|
+
modelProperties: {
|
|
2596
|
+
source: {
|
|
2597
|
+
serializedName: "source",
|
|
2598
|
+
type: {
|
|
2599
|
+
name: "String",
|
|
2600
|
+
},
|
|
2601
|
+
},
|
|
2602
|
+
isReadOnly: {
|
|
2603
|
+
serializedName: "isReadOnly",
|
|
2604
|
+
type: {
|
|
2605
|
+
name: "Boolean",
|
|
2606
|
+
},
|
|
2607
|
+
},
|
|
2473
2608
|
},
|
|
2474
2609
|
},
|
|
2475
2610
|
};
|
|
@@ -3080,146 +3215,682 @@ const EndpointDetail = {
|
|
|
3080
3215
|
},
|
|
3081
3216
|
},
|
|
3082
3217
|
};
|
|
3083
|
-
const
|
|
3218
|
+
const NetworkSecurityPerimeterConfigurationListResult = {
|
|
3084
3219
|
type: {
|
|
3085
3220
|
name: "Composite",
|
|
3086
|
-
className: "
|
|
3087
|
-
modelProperties:
|
|
3088
|
-
|
|
3089
|
-
|
|
3221
|
+
className: "NetworkSecurityPerimeterConfigurationListResult",
|
|
3222
|
+
modelProperties: {
|
|
3223
|
+
value: {
|
|
3224
|
+
serializedName: "value",
|
|
3090
3225
|
type: {
|
|
3091
|
-
name: "
|
|
3226
|
+
name: "Sequence",
|
|
3227
|
+
element: {
|
|
3228
|
+
type: {
|
|
3229
|
+
name: "Composite",
|
|
3230
|
+
className: "NetworkSecurityPerimeterConfiguration",
|
|
3231
|
+
},
|
|
3232
|
+
},
|
|
3092
3233
|
},
|
|
3093
|
-
}
|
|
3234
|
+
},
|
|
3235
|
+
nextLink: {
|
|
3236
|
+
serializedName: "nextLink",
|
|
3237
|
+
type: {
|
|
3238
|
+
name: "String",
|
|
3239
|
+
},
|
|
3240
|
+
},
|
|
3241
|
+
},
|
|
3094
3242
|
},
|
|
3095
3243
|
};
|
|
3096
|
-
const
|
|
3244
|
+
const NetworkSecurityPerimeterConfigurationProperties = {
|
|
3097
3245
|
type: {
|
|
3098
3246
|
name: "Composite",
|
|
3099
|
-
className: "
|
|
3100
|
-
modelProperties:
|
|
3101
|
-
|
|
3247
|
+
className: "NetworkSecurityPerimeterConfigurationProperties",
|
|
3248
|
+
modelProperties: {
|
|
3249
|
+
provisioningState: {
|
|
3250
|
+
serializedName: "provisioningState",
|
|
3102
3251
|
readOnly: true,
|
|
3103
3252
|
type: {
|
|
3104
|
-
name: "
|
|
3105
|
-
allowedValues: [
|
|
3106
|
-
"Creating",
|
|
3107
|
-
"Updating",
|
|
3108
|
-
"Deleting",
|
|
3109
|
-
"Succeeded",
|
|
3110
|
-
"Failed",
|
|
3111
|
-
"Cancelled",
|
|
3112
|
-
],
|
|
3113
|
-
},
|
|
3114
|
-
}, privateEndpoint: {
|
|
3115
|
-
serializedName: "properties.privateEndpoint",
|
|
3116
|
-
type: {
|
|
3117
|
-
name: "Composite",
|
|
3118
|
-
className: "PrivateEndpoint",
|
|
3253
|
+
name: "String",
|
|
3119
3254
|
},
|
|
3120
|
-
},
|
|
3121
|
-
|
|
3255
|
+
},
|
|
3256
|
+
provisioningIssues: {
|
|
3257
|
+
serializedName: "provisioningIssues",
|
|
3122
3258
|
readOnly: true,
|
|
3123
3259
|
type: {
|
|
3124
3260
|
name: "Sequence",
|
|
3125
3261
|
element: {
|
|
3126
3262
|
type: {
|
|
3127
|
-
name: "
|
|
3263
|
+
name: "Composite",
|
|
3264
|
+
className: "ProvisioningIssue",
|
|
3128
3265
|
},
|
|
3129
3266
|
},
|
|
3130
3267
|
},
|
|
3131
|
-
},
|
|
3132
|
-
|
|
3268
|
+
},
|
|
3269
|
+
networkSecurityPerimeter: {
|
|
3270
|
+
serializedName: "networkSecurityPerimeter",
|
|
3133
3271
|
type: {
|
|
3134
3272
|
name: "Composite",
|
|
3135
|
-
className: "
|
|
3273
|
+
className: "NetworkSecurityPerimeter",
|
|
3136
3274
|
},
|
|
3137
|
-
}
|
|
3275
|
+
},
|
|
3276
|
+
resourceAssociation: {
|
|
3277
|
+
serializedName: "resourceAssociation",
|
|
3278
|
+
type: {
|
|
3279
|
+
name: "Composite",
|
|
3280
|
+
className: "ResourceAssociation",
|
|
3281
|
+
},
|
|
3282
|
+
},
|
|
3283
|
+
profile: {
|
|
3284
|
+
serializedName: "profile",
|
|
3285
|
+
type: {
|
|
3286
|
+
name: "Composite",
|
|
3287
|
+
className: "NetworkSecurityProfile",
|
|
3288
|
+
},
|
|
3289
|
+
},
|
|
3290
|
+
},
|
|
3138
3291
|
},
|
|
3139
3292
|
};
|
|
3140
|
-
const
|
|
3293
|
+
const ProvisioningIssue = {
|
|
3141
3294
|
type: {
|
|
3142
3295
|
name: "Composite",
|
|
3143
|
-
className: "
|
|
3144
|
-
modelProperties:
|
|
3145
|
-
|
|
3296
|
+
className: "ProvisioningIssue",
|
|
3297
|
+
modelProperties: {
|
|
3298
|
+
name: {
|
|
3299
|
+
serializedName: "name",
|
|
3146
3300
|
readOnly: true,
|
|
3147
3301
|
type: {
|
|
3148
|
-
name: "
|
|
3149
|
-
allowedValues: ["Pending", "Active"],
|
|
3302
|
+
name: "String",
|
|
3150
3303
|
},
|
|
3151
|
-
},
|
|
3152
|
-
|
|
3304
|
+
},
|
|
3305
|
+
properties: {
|
|
3306
|
+
serializedName: "properties",
|
|
3307
|
+
type: {
|
|
3308
|
+
name: "Composite",
|
|
3309
|
+
className: "ProvisioningIssueProperties",
|
|
3310
|
+
},
|
|
3311
|
+
},
|
|
3312
|
+
},
|
|
3313
|
+
},
|
|
3314
|
+
};
|
|
3315
|
+
const ProvisioningIssueProperties = {
|
|
3316
|
+
type: {
|
|
3317
|
+
name: "Composite",
|
|
3318
|
+
className: "ProvisioningIssueProperties",
|
|
3319
|
+
modelProperties: {
|
|
3320
|
+
issueType: {
|
|
3321
|
+
serializedName: "issueType",
|
|
3153
3322
|
readOnly: true,
|
|
3154
3323
|
type: {
|
|
3155
3324
|
name: "String",
|
|
3156
3325
|
},
|
|
3157
|
-
},
|
|
3158
|
-
|
|
3326
|
+
},
|
|
3327
|
+
severity: {
|
|
3328
|
+
serializedName: "severity",
|
|
3159
3329
|
readOnly: true,
|
|
3160
3330
|
type: {
|
|
3161
3331
|
name: "String",
|
|
3162
3332
|
},
|
|
3163
|
-
},
|
|
3164
|
-
|
|
3333
|
+
},
|
|
3334
|
+
description: {
|
|
3335
|
+
serializedName: "description",
|
|
3165
3336
|
readOnly: true,
|
|
3166
3337
|
type: {
|
|
3167
|
-
name: "
|
|
3338
|
+
name: "String",
|
|
3168
3339
|
},
|
|
3169
|
-
},
|
|
3170
|
-
|
|
3340
|
+
},
|
|
3341
|
+
suggestedResourceIds: {
|
|
3342
|
+
serializedName: "suggestedResourceIds",
|
|
3171
3343
|
readOnly: true,
|
|
3172
3344
|
type: {
|
|
3173
|
-
name: "
|
|
3345
|
+
name: "Sequence",
|
|
3346
|
+
element: {
|
|
3347
|
+
type: {
|
|
3348
|
+
name: "String",
|
|
3349
|
+
},
|
|
3350
|
+
},
|
|
3174
3351
|
},
|
|
3175
|
-
}
|
|
3352
|
+
},
|
|
3353
|
+
suggestedAccessRules: {
|
|
3354
|
+
serializedName: "suggestedAccessRules",
|
|
3355
|
+
readOnly: true,
|
|
3356
|
+
type: {
|
|
3357
|
+
name: "Sequence",
|
|
3358
|
+
element: {
|
|
3359
|
+
type: {
|
|
3360
|
+
name: "Composite",
|
|
3361
|
+
className: "AccessRule",
|
|
3362
|
+
},
|
|
3363
|
+
},
|
|
3364
|
+
},
|
|
3365
|
+
},
|
|
3366
|
+
},
|
|
3176
3367
|
},
|
|
3177
3368
|
};
|
|
3178
|
-
const
|
|
3369
|
+
const AccessRule = {
|
|
3179
3370
|
type: {
|
|
3180
3371
|
name: "Composite",
|
|
3181
|
-
className: "
|
|
3182
|
-
modelProperties:
|
|
3183
|
-
|
|
3372
|
+
className: "AccessRule",
|
|
3373
|
+
modelProperties: {
|
|
3374
|
+
name: {
|
|
3375
|
+
serializedName: "name",
|
|
3184
3376
|
type: {
|
|
3185
3377
|
name: "String",
|
|
3186
3378
|
},
|
|
3187
|
-
},
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
name: "Boolean",
|
|
3191
|
-
},
|
|
3192
|
-
}, defaultVersion: {
|
|
3193
|
-
serializedName: "properties.defaultVersion",
|
|
3379
|
+
},
|
|
3380
|
+
properties: {
|
|
3381
|
+
serializedName: "properties",
|
|
3194
3382
|
type: {
|
|
3195
|
-
name: "
|
|
3383
|
+
name: "Composite",
|
|
3384
|
+
className: "AccessRuleProperties",
|
|
3196
3385
|
},
|
|
3197
|
-
}
|
|
3386
|
+
},
|
|
3387
|
+
},
|
|
3198
3388
|
},
|
|
3199
3389
|
};
|
|
3200
|
-
const
|
|
3390
|
+
const AccessRuleProperties = {
|
|
3201
3391
|
type: {
|
|
3202
3392
|
name: "Composite",
|
|
3203
|
-
className: "
|
|
3204
|
-
modelProperties:
|
|
3205
|
-
|
|
3393
|
+
className: "AccessRuleProperties",
|
|
3394
|
+
modelProperties: {
|
|
3395
|
+
direction: {
|
|
3396
|
+
serializedName: "direction",
|
|
3206
3397
|
type: {
|
|
3207
3398
|
name: "String",
|
|
3208
3399
|
},
|
|
3209
|
-
},
|
|
3210
|
-
|
|
3400
|
+
},
|
|
3401
|
+
addressPrefixes: {
|
|
3402
|
+
serializedName: "addressPrefixes",
|
|
3211
3403
|
type: {
|
|
3212
|
-
name: "
|
|
3404
|
+
name: "Sequence",
|
|
3405
|
+
element: {
|
|
3406
|
+
type: {
|
|
3407
|
+
name: "String",
|
|
3408
|
+
},
|
|
3409
|
+
},
|
|
3213
3410
|
},
|
|
3214
|
-
},
|
|
3215
|
-
|
|
3411
|
+
},
|
|
3412
|
+
subscriptions: {
|
|
3413
|
+
serializedName: "subscriptions",
|
|
3216
3414
|
type: {
|
|
3217
|
-
name: "
|
|
3218
|
-
|
|
3415
|
+
name: "Sequence",
|
|
3416
|
+
element: {
|
|
3417
|
+
type: {
|
|
3418
|
+
name: "Composite",
|
|
3419
|
+
className: "AccessRulePropertiesSubscriptionsItem",
|
|
3420
|
+
},
|
|
3421
|
+
},
|
|
3219
3422
|
},
|
|
3220
|
-
},
|
|
3221
|
-
|
|
3222
|
-
|
|
3423
|
+
},
|
|
3424
|
+
networkSecurityPerimeters: {
|
|
3425
|
+
serializedName: "networkSecurityPerimeters",
|
|
3426
|
+
type: {
|
|
3427
|
+
name: "Sequence",
|
|
3428
|
+
element: {
|
|
3429
|
+
type: {
|
|
3430
|
+
name: "Composite",
|
|
3431
|
+
className: "NetworkSecurityPerimeter",
|
|
3432
|
+
},
|
|
3433
|
+
},
|
|
3434
|
+
},
|
|
3435
|
+
},
|
|
3436
|
+
fullyQualifiedDomainNames: {
|
|
3437
|
+
serializedName: "fullyQualifiedDomainNames",
|
|
3438
|
+
type: {
|
|
3439
|
+
name: "Sequence",
|
|
3440
|
+
element: {
|
|
3441
|
+
type: {
|
|
3442
|
+
name: "String",
|
|
3443
|
+
},
|
|
3444
|
+
},
|
|
3445
|
+
},
|
|
3446
|
+
},
|
|
3447
|
+
emailAddresses: {
|
|
3448
|
+
serializedName: "emailAddresses",
|
|
3449
|
+
type: {
|
|
3450
|
+
name: "Sequence",
|
|
3451
|
+
element: {
|
|
3452
|
+
type: {
|
|
3453
|
+
name: "String",
|
|
3454
|
+
},
|
|
3455
|
+
},
|
|
3456
|
+
},
|
|
3457
|
+
},
|
|
3458
|
+
phoneNumbers: {
|
|
3459
|
+
serializedName: "phoneNumbers",
|
|
3460
|
+
type: {
|
|
3461
|
+
name: "Sequence",
|
|
3462
|
+
element: {
|
|
3463
|
+
type: {
|
|
3464
|
+
name: "String",
|
|
3465
|
+
},
|
|
3466
|
+
},
|
|
3467
|
+
},
|
|
3468
|
+
},
|
|
3469
|
+
},
|
|
3470
|
+
},
|
|
3471
|
+
};
|
|
3472
|
+
const AccessRulePropertiesSubscriptionsItem = {
|
|
3473
|
+
type: {
|
|
3474
|
+
name: "Composite",
|
|
3475
|
+
className: "AccessRulePropertiesSubscriptionsItem",
|
|
3476
|
+
modelProperties: {
|
|
3477
|
+
id: {
|
|
3478
|
+
serializedName: "id",
|
|
3479
|
+
type: {
|
|
3480
|
+
name: "String",
|
|
3481
|
+
},
|
|
3482
|
+
},
|
|
3483
|
+
},
|
|
3484
|
+
},
|
|
3485
|
+
};
|
|
3486
|
+
const NetworkSecurityPerimeter = {
|
|
3487
|
+
type: {
|
|
3488
|
+
name: "Composite",
|
|
3489
|
+
className: "NetworkSecurityPerimeter",
|
|
3490
|
+
modelProperties: {
|
|
3491
|
+
id: {
|
|
3492
|
+
serializedName: "id",
|
|
3493
|
+
type: {
|
|
3494
|
+
name: "String",
|
|
3495
|
+
},
|
|
3496
|
+
},
|
|
3497
|
+
perimeterGuid: {
|
|
3498
|
+
serializedName: "perimeterGuid",
|
|
3499
|
+
type: {
|
|
3500
|
+
name: "Uuid",
|
|
3501
|
+
},
|
|
3502
|
+
},
|
|
3503
|
+
location: {
|
|
3504
|
+
serializedName: "location",
|
|
3505
|
+
type: {
|
|
3506
|
+
name: "String",
|
|
3507
|
+
},
|
|
3508
|
+
},
|
|
3509
|
+
},
|
|
3510
|
+
},
|
|
3511
|
+
};
|
|
3512
|
+
const ResourceAssociation = {
|
|
3513
|
+
type: {
|
|
3514
|
+
name: "Composite",
|
|
3515
|
+
className: "ResourceAssociation",
|
|
3516
|
+
modelProperties: {
|
|
3517
|
+
name: {
|
|
3518
|
+
serializedName: "name",
|
|
3519
|
+
type: {
|
|
3520
|
+
name: "String",
|
|
3521
|
+
},
|
|
3522
|
+
},
|
|
3523
|
+
accessMode: {
|
|
3524
|
+
serializedName: "accessMode",
|
|
3525
|
+
type: {
|
|
3526
|
+
name: "String",
|
|
3527
|
+
},
|
|
3528
|
+
},
|
|
3529
|
+
},
|
|
3530
|
+
},
|
|
3531
|
+
};
|
|
3532
|
+
const NetworkSecurityProfile = {
|
|
3533
|
+
type: {
|
|
3534
|
+
name: "Composite",
|
|
3535
|
+
className: "NetworkSecurityProfile",
|
|
3536
|
+
modelProperties: {
|
|
3537
|
+
name: {
|
|
3538
|
+
serializedName: "name",
|
|
3539
|
+
type: {
|
|
3540
|
+
name: "String",
|
|
3541
|
+
},
|
|
3542
|
+
},
|
|
3543
|
+
accessRulesVersion: {
|
|
3544
|
+
serializedName: "accessRulesVersion",
|
|
3545
|
+
type: {
|
|
3546
|
+
name: "Number",
|
|
3547
|
+
},
|
|
3548
|
+
},
|
|
3549
|
+
accessRules: {
|
|
3550
|
+
serializedName: "accessRules",
|
|
3551
|
+
type: {
|
|
3552
|
+
name: "Sequence",
|
|
3553
|
+
element: {
|
|
3554
|
+
type: {
|
|
3555
|
+
name: "Composite",
|
|
3556
|
+
className: "AccessRule",
|
|
3557
|
+
},
|
|
3558
|
+
},
|
|
3559
|
+
},
|
|
3560
|
+
},
|
|
3561
|
+
diagnosticSettingsVersion: {
|
|
3562
|
+
serializedName: "diagnosticSettingsVersion",
|
|
3563
|
+
type: {
|
|
3564
|
+
name: "Number",
|
|
3565
|
+
},
|
|
3566
|
+
},
|
|
3567
|
+
enabledLogCategories: {
|
|
3568
|
+
serializedName: "enabledLogCategories",
|
|
3569
|
+
type: {
|
|
3570
|
+
name: "Sequence",
|
|
3571
|
+
element: {
|
|
3572
|
+
type: {
|
|
3573
|
+
name: "String",
|
|
3574
|
+
},
|
|
3575
|
+
},
|
|
3576
|
+
},
|
|
3577
|
+
},
|
|
3578
|
+
},
|
|
3579
|
+
},
|
|
3580
|
+
};
|
|
3581
|
+
const Resource = {
|
|
3582
|
+
type: {
|
|
3583
|
+
name: "Composite",
|
|
3584
|
+
className: "Resource",
|
|
3585
|
+
modelProperties: {
|
|
3586
|
+
id: {
|
|
3587
|
+
serializedName: "id",
|
|
3588
|
+
readOnly: true,
|
|
3589
|
+
type: {
|
|
3590
|
+
name: "String",
|
|
3591
|
+
},
|
|
3592
|
+
},
|
|
3593
|
+
name: {
|
|
3594
|
+
serializedName: "name",
|
|
3595
|
+
readOnly: true,
|
|
3596
|
+
type: {
|
|
3597
|
+
name: "String",
|
|
3598
|
+
},
|
|
3599
|
+
},
|
|
3600
|
+
type: {
|
|
3601
|
+
serializedName: "type",
|
|
3602
|
+
readOnly: true,
|
|
3603
|
+
type: {
|
|
3604
|
+
name: "String",
|
|
3605
|
+
},
|
|
3606
|
+
},
|
|
3607
|
+
systemData: {
|
|
3608
|
+
serializedName: "systemData",
|
|
3609
|
+
type: {
|
|
3610
|
+
name: "Composite",
|
|
3611
|
+
className: "SystemData",
|
|
3612
|
+
},
|
|
3613
|
+
},
|
|
3614
|
+
},
|
|
3615
|
+
},
|
|
3616
|
+
};
|
|
3617
|
+
const SystemData = {
|
|
3618
|
+
type: {
|
|
3619
|
+
name: "Composite",
|
|
3620
|
+
className: "SystemData",
|
|
3621
|
+
modelProperties: {
|
|
3622
|
+
createdBy: {
|
|
3623
|
+
serializedName: "createdBy",
|
|
3624
|
+
type: {
|
|
3625
|
+
name: "String",
|
|
3626
|
+
},
|
|
3627
|
+
},
|
|
3628
|
+
createdByType: {
|
|
3629
|
+
serializedName: "createdByType",
|
|
3630
|
+
type: {
|
|
3631
|
+
name: "String",
|
|
3632
|
+
},
|
|
3633
|
+
},
|
|
3634
|
+
createdAt: {
|
|
3635
|
+
serializedName: "createdAt",
|
|
3636
|
+
type: {
|
|
3637
|
+
name: "DateTime",
|
|
3638
|
+
},
|
|
3639
|
+
},
|
|
3640
|
+
lastModifiedBy: {
|
|
3641
|
+
serializedName: "lastModifiedBy",
|
|
3642
|
+
type: {
|
|
3643
|
+
name: "String",
|
|
3644
|
+
},
|
|
3645
|
+
},
|
|
3646
|
+
lastModifiedByType: {
|
|
3647
|
+
serializedName: "lastModifiedByType",
|
|
3648
|
+
type: {
|
|
3649
|
+
name: "String",
|
|
3650
|
+
},
|
|
3651
|
+
},
|
|
3652
|
+
lastModifiedAt: {
|
|
3653
|
+
serializedName: "lastModifiedAt",
|
|
3654
|
+
type: {
|
|
3655
|
+
name: "DateTime",
|
|
3656
|
+
},
|
|
3657
|
+
},
|
|
3658
|
+
},
|
|
3659
|
+
},
|
|
3660
|
+
};
|
|
3661
|
+
const ErrorResponse = {
|
|
3662
|
+
type: {
|
|
3663
|
+
name: "Composite",
|
|
3664
|
+
className: "ErrorResponse",
|
|
3665
|
+
modelProperties: {
|
|
3666
|
+
error: {
|
|
3667
|
+
serializedName: "error",
|
|
3668
|
+
type: {
|
|
3669
|
+
name: "Composite",
|
|
3670
|
+
className: "ErrorDetail",
|
|
3671
|
+
},
|
|
3672
|
+
},
|
|
3673
|
+
},
|
|
3674
|
+
},
|
|
3675
|
+
};
|
|
3676
|
+
const ErrorDetail = {
|
|
3677
|
+
type: {
|
|
3678
|
+
name: "Composite",
|
|
3679
|
+
className: "ErrorDetail",
|
|
3680
|
+
modelProperties: {
|
|
3681
|
+
code: {
|
|
3682
|
+
serializedName: "code",
|
|
3683
|
+
readOnly: true,
|
|
3684
|
+
type: {
|
|
3685
|
+
name: "String",
|
|
3686
|
+
},
|
|
3687
|
+
},
|
|
3688
|
+
message: {
|
|
3689
|
+
serializedName: "message",
|
|
3690
|
+
readOnly: true,
|
|
3691
|
+
type: {
|
|
3692
|
+
name: "String",
|
|
3693
|
+
},
|
|
3694
|
+
},
|
|
3695
|
+
target: {
|
|
3696
|
+
serializedName: "target",
|
|
3697
|
+
readOnly: true,
|
|
3698
|
+
type: {
|
|
3699
|
+
name: "String",
|
|
3700
|
+
},
|
|
3701
|
+
},
|
|
3702
|
+
details: {
|
|
3703
|
+
serializedName: "details",
|
|
3704
|
+
readOnly: true,
|
|
3705
|
+
type: {
|
|
3706
|
+
name: "Sequence",
|
|
3707
|
+
element: {
|
|
3708
|
+
type: {
|
|
3709
|
+
name: "Composite",
|
|
3710
|
+
className: "ErrorDetail",
|
|
3711
|
+
},
|
|
3712
|
+
},
|
|
3713
|
+
},
|
|
3714
|
+
},
|
|
3715
|
+
additionalInfo: {
|
|
3716
|
+
serializedName: "additionalInfo",
|
|
3717
|
+
readOnly: true,
|
|
3718
|
+
type: {
|
|
3719
|
+
name: "Sequence",
|
|
3720
|
+
element: {
|
|
3721
|
+
type: {
|
|
3722
|
+
name: "Composite",
|
|
3723
|
+
className: "ErrorAdditionalInfo",
|
|
3724
|
+
},
|
|
3725
|
+
},
|
|
3726
|
+
},
|
|
3727
|
+
},
|
|
3728
|
+
},
|
|
3729
|
+
},
|
|
3730
|
+
};
|
|
3731
|
+
const ErrorAdditionalInfo = {
|
|
3732
|
+
type: {
|
|
3733
|
+
name: "Composite",
|
|
3734
|
+
className: "ErrorAdditionalInfo",
|
|
3735
|
+
modelProperties: {
|
|
3736
|
+
type: {
|
|
3737
|
+
serializedName: "type",
|
|
3738
|
+
readOnly: true,
|
|
3739
|
+
type: {
|
|
3740
|
+
name: "String",
|
|
3741
|
+
},
|
|
3742
|
+
},
|
|
3743
|
+
info: {
|
|
3744
|
+
serializedName: "info",
|
|
3745
|
+
readOnly: true,
|
|
3746
|
+
type: {
|
|
3747
|
+
name: "Dictionary",
|
|
3748
|
+
value: { type: { name: "any" } },
|
|
3749
|
+
},
|
|
3750
|
+
},
|
|
3751
|
+
},
|
|
3752
|
+
},
|
|
3753
|
+
};
|
|
3754
|
+
const AutoStorageProperties = {
|
|
3755
|
+
type: {
|
|
3756
|
+
name: "Composite",
|
|
3757
|
+
className: "AutoStorageProperties",
|
|
3758
|
+
modelProperties: Object.assign(Object.assign({}, AutoStorageBaseProperties.type.modelProperties), { lastKeySync: {
|
|
3759
|
+
serializedName: "lastKeySync",
|
|
3760
|
+
required: true,
|
|
3761
|
+
type: {
|
|
3762
|
+
name: "DateTime",
|
|
3763
|
+
},
|
|
3764
|
+
} }),
|
|
3765
|
+
},
|
|
3766
|
+
};
|
|
3767
|
+
const PrivateEndpointConnection = {
|
|
3768
|
+
type: {
|
|
3769
|
+
name: "Composite",
|
|
3770
|
+
className: "PrivateEndpointConnection",
|
|
3771
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { provisioningState: {
|
|
3772
|
+
serializedName: "properties.provisioningState",
|
|
3773
|
+
readOnly: true,
|
|
3774
|
+
type: {
|
|
3775
|
+
name: "Enum",
|
|
3776
|
+
allowedValues: [
|
|
3777
|
+
"Creating",
|
|
3778
|
+
"Updating",
|
|
3779
|
+
"Deleting",
|
|
3780
|
+
"Succeeded",
|
|
3781
|
+
"Failed",
|
|
3782
|
+
"Cancelled",
|
|
3783
|
+
],
|
|
3784
|
+
},
|
|
3785
|
+
}, privateEndpoint: {
|
|
3786
|
+
serializedName: "properties.privateEndpoint",
|
|
3787
|
+
type: {
|
|
3788
|
+
name: "Composite",
|
|
3789
|
+
className: "PrivateEndpoint",
|
|
3790
|
+
},
|
|
3791
|
+
}, groupIds: {
|
|
3792
|
+
serializedName: "properties.groupIds",
|
|
3793
|
+
readOnly: true,
|
|
3794
|
+
type: {
|
|
3795
|
+
name: "Sequence",
|
|
3796
|
+
element: {
|
|
3797
|
+
type: {
|
|
3798
|
+
name: "String",
|
|
3799
|
+
},
|
|
3800
|
+
},
|
|
3801
|
+
},
|
|
3802
|
+
}, privateLinkServiceConnectionState: {
|
|
3803
|
+
serializedName: "properties.privateLinkServiceConnectionState",
|
|
3804
|
+
type: {
|
|
3805
|
+
name: "Composite",
|
|
3806
|
+
className: "PrivateLinkServiceConnectionState",
|
|
3807
|
+
},
|
|
3808
|
+
} }),
|
|
3809
|
+
},
|
|
3810
|
+
};
|
|
3811
|
+
const ApplicationPackage = {
|
|
3812
|
+
type: {
|
|
3813
|
+
name: "Composite",
|
|
3814
|
+
className: "ApplicationPackage",
|
|
3815
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { state: {
|
|
3816
|
+
serializedName: "properties.state",
|
|
3817
|
+
readOnly: true,
|
|
3818
|
+
type: {
|
|
3819
|
+
name: "Enum",
|
|
3820
|
+
allowedValues: ["Pending", "Active"],
|
|
3821
|
+
},
|
|
3822
|
+
}, format: {
|
|
3823
|
+
serializedName: "properties.format",
|
|
3824
|
+
readOnly: true,
|
|
3825
|
+
type: {
|
|
3826
|
+
name: "String",
|
|
3827
|
+
},
|
|
3828
|
+
}, storageUrl: {
|
|
3829
|
+
serializedName: "properties.storageUrl",
|
|
3830
|
+
readOnly: true,
|
|
3831
|
+
type: {
|
|
3832
|
+
name: "String",
|
|
3833
|
+
},
|
|
3834
|
+
}, storageUrlExpiry: {
|
|
3835
|
+
serializedName: "properties.storageUrlExpiry",
|
|
3836
|
+
readOnly: true,
|
|
3837
|
+
type: {
|
|
3838
|
+
name: "DateTime",
|
|
3839
|
+
},
|
|
3840
|
+
}, lastActivationTime: {
|
|
3841
|
+
serializedName: "properties.lastActivationTime",
|
|
3842
|
+
readOnly: true,
|
|
3843
|
+
type: {
|
|
3844
|
+
name: "DateTime",
|
|
3845
|
+
},
|
|
3846
|
+
} }),
|
|
3847
|
+
},
|
|
3848
|
+
};
|
|
3849
|
+
const Application = {
|
|
3850
|
+
type: {
|
|
3851
|
+
name: "Composite",
|
|
3852
|
+
className: "Application",
|
|
3853
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { displayName: {
|
|
3854
|
+
serializedName: "properties.displayName",
|
|
3855
|
+
type: {
|
|
3856
|
+
name: "String",
|
|
3857
|
+
},
|
|
3858
|
+
}, allowUpdates: {
|
|
3859
|
+
serializedName: "properties.allowUpdates",
|
|
3860
|
+
type: {
|
|
3861
|
+
name: "Boolean",
|
|
3862
|
+
},
|
|
3863
|
+
}, defaultVersion: {
|
|
3864
|
+
serializedName: "properties.defaultVersion",
|
|
3865
|
+
type: {
|
|
3866
|
+
name: "String",
|
|
3867
|
+
},
|
|
3868
|
+
} }),
|
|
3869
|
+
},
|
|
3870
|
+
};
|
|
3871
|
+
const Certificate = {
|
|
3872
|
+
type: {
|
|
3873
|
+
name: "Composite",
|
|
3874
|
+
className: "Certificate",
|
|
3875
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { thumbprintAlgorithm: {
|
|
3876
|
+
serializedName: "properties.thumbprintAlgorithm",
|
|
3877
|
+
type: {
|
|
3878
|
+
name: "String",
|
|
3879
|
+
},
|
|
3880
|
+
}, thumbprint: {
|
|
3881
|
+
serializedName: "properties.thumbprint",
|
|
3882
|
+
type: {
|
|
3883
|
+
name: "String",
|
|
3884
|
+
},
|
|
3885
|
+
}, format: {
|
|
3886
|
+
serializedName: "properties.format",
|
|
3887
|
+
type: {
|
|
3888
|
+
name: "Enum",
|
|
3889
|
+
allowedValues: ["Pfx", "Cer"],
|
|
3890
|
+
},
|
|
3891
|
+
}, provisioningState: {
|
|
3892
|
+
serializedName: "properties.provisioningState",
|
|
3893
|
+
readOnly: true,
|
|
3223
3894
|
type: {
|
|
3224
3895
|
name: "Enum",
|
|
3225
3896
|
allowedValues: ["Succeeded", "Deleting", "Failed"],
|
|
@@ -3262,7 +3933,7 @@ const CertificateCreateOrUpdateParameters = {
|
|
|
3262
3933
|
type: {
|
|
3263
3934
|
name: "Composite",
|
|
3264
3935
|
className: "CertificateCreateOrUpdateParameters",
|
|
3265
|
-
modelProperties: Object.assign(Object.assign({},
|
|
3936
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { thumbprintAlgorithm: {
|
|
3266
3937
|
serializedName: "properties.thumbprintAlgorithm",
|
|
3267
3938
|
type: {
|
|
3268
3939
|
name: "String",
|
|
@@ -3295,7 +3966,7 @@ const DetectorResponse = {
|
|
|
3295
3966
|
type: {
|
|
3296
3967
|
name: "Composite",
|
|
3297
3968
|
className: "DetectorResponse",
|
|
3298
|
-
modelProperties: Object.assign(Object.assign({},
|
|
3969
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { value: {
|
|
3299
3970
|
serializedName: "properties.value",
|
|
3300
3971
|
type: {
|
|
3301
3972
|
name: "String",
|
|
@@ -3307,7 +3978,7 @@ const PrivateLinkResource = {
|
|
|
3307
3978
|
type: {
|
|
3308
3979
|
name: "Composite",
|
|
3309
3980
|
className: "PrivateLinkResource",
|
|
3310
|
-
modelProperties: Object.assign(Object.assign({},
|
|
3981
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { groupId: {
|
|
3311
3982
|
serializedName: "properties.groupId",
|
|
3312
3983
|
readOnly: true,
|
|
3313
3984
|
type: {
|
|
@@ -3342,7 +4013,7 @@ const Pool = {
|
|
|
3342
4013
|
type: {
|
|
3343
4014
|
name: "Composite",
|
|
3344
4015
|
className: "Pool",
|
|
3345
|
-
modelProperties: Object.assign(Object.assign({},
|
|
4016
|
+
modelProperties: Object.assign(Object.assign({}, AzureProxyResource.type.modelProperties), { identity: {
|
|
3346
4017
|
serializedName: "identity",
|
|
3347
4018
|
type: {
|
|
3348
4019
|
name: "Composite",
|
|
@@ -3560,7 +4231,7 @@ const BatchAccount = {
|
|
|
3560
4231
|
type: {
|
|
3561
4232
|
name: "Composite",
|
|
3562
4233
|
className: "BatchAccount",
|
|
3563
|
-
modelProperties: Object.assign(Object.assign({},
|
|
4234
|
+
modelProperties: Object.assign(Object.assign({}, AzureResource.type.modelProperties), { identity: {
|
|
3564
4235
|
serializedName: "identity",
|
|
3565
4236
|
type: {
|
|
3566
4237
|
name: "Composite",
|
|
@@ -3611,7 +4282,7 @@ const BatchAccount = {
|
|
|
3611
4282
|
nullable: true,
|
|
3612
4283
|
type: {
|
|
3613
4284
|
name: "Enum",
|
|
3614
|
-
allowedValues: ["Enabled", "Disabled"],
|
|
4285
|
+
allowedValues: ["Enabled", "Disabled", "SecuredByPerimeter"],
|
|
3615
4286
|
},
|
|
3616
4287
|
}, networkProfile: {
|
|
3617
4288
|
serializedName: "properties.networkProfile",
|
|
@@ -3768,6 +4439,26 @@ const CertificateCreateOrUpdateProperties = {
|
|
|
3768
4439
|
} }),
|
|
3769
4440
|
},
|
|
3770
4441
|
};
|
|
4442
|
+
const ProxyResource = {
|
|
4443
|
+
type: {
|
|
4444
|
+
name: "Composite",
|
|
4445
|
+
className: "ProxyResource",
|
|
4446
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
4447
|
+
},
|
|
4448
|
+
};
|
|
4449
|
+
const NetworkSecurityPerimeterConfiguration = {
|
|
4450
|
+
type: {
|
|
4451
|
+
name: "Composite",
|
|
4452
|
+
className: "NetworkSecurityPerimeterConfiguration",
|
|
4453
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
|
|
4454
|
+
serializedName: "properties",
|
|
4455
|
+
type: {
|
|
4456
|
+
name: "Composite",
|
|
4457
|
+
className: "NetworkSecurityPerimeterConfigurationProperties",
|
|
4458
|
+
},
|
|
4459
|
+
} }),
|
|
4460
|
+
},
|
|
4461
|
+
};
|
|
3771
4462
|
const BatchAccountCreateHeaders = {
|
|
3772
4463
|
type: {
|
|
3773
4464
|
name: "Composite",
|
|
@@ -4014,9 +4705,32 @@ const PoolStopResizeHeaders = {
|
|
|
4014
4705
|
},
|
|
4015
4706
|
},
|
|
4016
4707
|
};
|
|
4708
|
+
const NetworkSecurityPerimeterReconcileConfigurationHeaders = {
|
|
4709
|
+
type: {
|
|
4710
|
+
name: "Composite",
|
|
4711
|
+
className: "NetworkSecurityPerimeterReconcileConfigurationHeaders",
|
|
4712
|
+
modelProperties: {
|
|
4713
|
+
location: {
|
|
4714
|
+
serializedName: "location",
|
|
4715
|
+
type: {
|
|
4716
|
+
name: "String",
|
|
4717
|
+
},
|
|
4718
|
+
},
|
|
4719
|
+
retryAfter: {
|
|
4720
|
+
serializedName: "retry-after",
|
|
4721
|
+
type: {
|
|
4722
|
+
name: "Number",
|
|
4723
|
+
},
|
|
4724
|
+
},
|
|
4725
|
+
},
|
|
4726
|
+
},
|
|
4727
|
+
};
|
|
4017
4728
|
|
|
4018
4729
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
4019
4730
|
__proto__: null,
|
|
4731
|
+
AccessRule: AccessRule,
|
|
4732
|
+
AccessRuleProperties: AccessRuleProperties,
|
|
4733
|
+
AccessRulePropertiesSubscriptionsItem: AccessRulePropertiesSubscriptionsItem,
|
|
4020
4734
|
ActivateApplicationPackageParameters: ActivateApplicationPackageParameters,
|
|
4021
4735
|
Application: Application,
|
|
4022
4736
|
ApplicationPackage: ApplicationPackage,
|
|
@@ -4030,6 +4744,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4030
4744
|
AutomaticOSUpgradePolicy: AutomaticOSUpgradePolicy,
|
|
4031
4745
|
AzureBlobFileSystemConfiguration: AzureBlobFileSystemConfiguration,
|
|
4032
4746
|
AzureFileShareConfiguration: AzureFileShareConfiguration,
|
|
4747
|
+
AzureProxyResource: AzureProxyResource,
|
|
4748
|
+
AzureResource: AzureResource,
|
|
4033
4749
|
BatchAccount: BatchAccount,
|
|
4034
4750
|
BatchAccountCreateHeaders: BatchAccountCreateHeaders,
|
|
4035
4751
|
BatchAccountCreateParameters: BatchAccountCreateParameters,
|
|
@@ -4057,9 +4773,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4057
4773
|
CifsMountConfiguration: CifsMountConfiguration,
|
|
4058
4774
|
CloudError: CloudError,
|
|
4059
4775
|
CloudErrorBody: CloudErrorBody,
|
|
4060
|
-
CloudServiceConfiguration: CloudServiceConfiguration,
|
|
4061
4776
|
ComputeNodeIdentityReference: ComputeNodeIdentityReference,
|
|
4062
4777
|
ContainerConfiguration: ContainerConfiguration,
|
|
4778
|
+
ContainerHostBatchBindMountEntry: ContainerHostBatchBindMountEntry,
|
|
4063
4779
|
ContainerRegistry: ContainerRegistry,
|
|
4064
4780
|
DataDisk: DataDisk,
|
|
4065
4781
|
DeleteCertificateError: DeleteCertificateError,
|
|
@@ -4073,6 +4789,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4073
4789
|
EndpointDependency: EndpointDependency,
|
|
4074
4790
|
EndpointDetail: EndpointDetail,
|
|
4075
4791
|
EnvironmentSetting: EnvironmentSetting,
|
|
4792
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
4793
|
+
ErrorDetail: ErrorDetail,
|
|
4794
|
+
ErrorResponse: ErrorResponse,
|
|
4076
4795
|
FixedScaleSettings: FixedScaleSettings,
|
|
4077
4796
|
IPRule: IPRule,
|
|
4078
4797
|
ImageReference: ImageReference,
|
|
@@ -4093,6 +4812,12 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4093
4812
|
NetworkConfiguration: NetworkConfiguration,
|
|
4094
4813
|
NetworkProfile: NetworkProfile,
|
|
4095
4814
|
NetworkSecurityGroupRule: NetworkSecurityGroupRule,
|
|
4815
|
+
NetworkSecurityPerimeter: NetworkSecurityPerimeter,
|
|
4816
|
+
NetworkSecurityPerimeterConfiguration: NetworkSecurityPerimeterConfiguration,
|
|
4817
|
+
NetworkSecurityPerimeterConfigurationListResult: NetworkSecurityPerimeterConfigurationListResult,
|
|
4818
|
+
NetworkSecurityPerimeterConfigurationProperties: NetworkSecurityPerimeterConfigurationProperties,
|
|
4819
|
+
NetworkSecurityPerimeterReconcileConfigurationHeaders: NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
4820
|
+
NetworkSecurityProfile: NetworkSecurityProfile,
|
|
4096
4821
|
NodePlacementConfiguration: NodePlacementConfiguration,
|
|
4097
4822
|
OSDisk: OSDisk,
|
|
4098
4823
|
Operation: Operation,
|
|
@@ -4114,11 +4839,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4114
4839
|
PrivateEndpointConnectionUpdateHeaders: PrivateEndpointConnectionUpdateHeaders,
|
|
4115
4840
|
PrivateLinkResource: PrivateLinkResource,
|
|
4116
4841
|
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
4842
|
+
ProvisioningIssue: ProvisioningIssue,
|
|
4843
|
+
ProvisioningIssueProperties: ProvisioningIssueProperties,
|
|
4117
4844
|
ProxyResource: ProxyResource,
|
|
4118
4845
|
PublicIPAddressConfiguration: PublicIPAddressConfiguration,
|
|
4119
4846
|
ResizeError: ResizeError,
|
|
4120
4847
|
ResizeOperationStatus: ResizeOperationStatus,
|
|
4121
4848
|
Resource: Resource,
|
|
4849
|
+
ResourceAssociation: ResourceAssociation,
|
|
4122
4850
|
ResourceFile: ResourceFile,
|
|
4123
4851
|
RollingUpgradePolicy: RollingUpgradePolicy,
|
|
4124
4852
|
ScaleSettings: ScaleSettings,
|
|
@@ -4128,6 +4856,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4128
4856
|
StartTask: StartTask,
|
|
4129
4857
|
SupportedSku: SupportedSku,
|
|
4130
4858
|
SupportedSkusResult: SupportedSkusResult,
|
|
4859
|
+
SystemData: SystemData,
|
|
4131
4860
|
TaskContainerSettings: TaskContainerSettings,
|
|
4132
4861
|
TaskSchedulingPolicy: TaskSchedulingPolicy,
|
|
4133
4862
|
UefiSettings: UefiSettings,
|
|
@@ -4135,6 +4864,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
4135
4864
|
UserAccount: UserAccount,
|
|
4136
4865
|
UserAssignedIdentities: UserAssignedIdentities,
|
|
4137
4866
|
UserIdentity: UserIdentity,
|
|
4867
|
+
VMDiskSecurityProfile: VMDiskSecurityProfile,
|
|
4138
4868
|
VMExtension: VMExtension,
|
|
4139
4869
|
VirtualMachineConfiguration: VirtualMachineConfiguration,
|
|
4140
4870
|
VirtualMachineFamilyCoreQuota: VirtualMachineFamilyCoreQuota,
|
|
@@ -4214,7 +4944,7 @@ const accountName = {
|
|
|
4214
4944
|
const apiVersion = {
|
|
4215
4945
|
parameterPath: "apiVersion",
|
|
4216
4946
|
mapper: {
|
|
4217
|
-
defaultValue: "2024-
|
|
4947
|
+
defaultValue: "2024-07-01",
|
|
4218
4948
|
isConstant: true,
|
|
4219
4949
|
serializedName: "api-version",
|
|
4220
4950
|
type: {
|
|
@@ -4453,6 +5183,19 @@ const poolName = {
|
|
|
4453
5183
|
},
|
|
4454
5184
|
},
|
|
4455
5185
|
};
|
|
5186
|
+
const networkSecurityPerimeterConfigurationName = {
|
|
5187
|
+
parameterPath: "networkSecurityPerimeterConfigurationName",
|
|
5188
|
+
mapper: {
|
|
5189
|
+
constraints: {
|
|
5190
|
+
Pattern: new RegExp("^.*$"),
|
|
5191
|
+
},
|
|
5192
|
+
serializedName: "networkSecurityPerimeterConfigurationName",
|
|
5193
|
+
required: true,
|
|
5194
|
+
type: {
|
|
5195
|
+
name: "String",
|
|
5196
|
+
},
|
|
5197
|
+
},
|
|
5198
|
+
};
|
|
4456
5199
|
|
|
4457
5200
|
/*
|
|
4458
5201
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -4683,7 +5426,7 @@ class BatchAccountOperationsImpl {
|
|
|
4683
5426
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
4684
5427
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
4685
5428
|
* about creating a pool inside of a virtual network, see
|
|
4686
|
-
* https://docs.microsoft.com/
|
|
5429
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
4687
5430
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
4688
5431
|
* @param accountName The name of the Batch account.
|
|
4689
5432
|
* @param options The options parameters.
|
|
@@ -4961,7 +5704,7 @@ class BatchAccountOperationsImpl {
|
|
|
4961
5704
|
* you must make sure your network allows outbound access to these endpoints. Failure to allow access
|
|
4962
5705
|
* to these endpoints may cause Batch to mark the affected nodes as unusable. For more information
|
|
4963
5706
|
* about creating a pool inside of a virtual network, see
|
|
4964
|
-
* https://docs.microsoft.com/
|
|
5707
|
+
* https://docs.microsoft.com/azure/batch/batch-virtual-network.
|
|
4965
5708
|
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
4966
5709
|
* @param accountName The name of the Batch account.
|
|
4967
5710
|
* @param options The options parameters.
|
|
@@ -5009,7 +5752,7 @@ class BatchAccountOperationsImpl {
|
|
|
5009
5752
|
}
|
|
5010
5753
|
}
|
|
5011
5754
|
// Operation Specifications
|
|
5012
|
-
const serializer$
|
|
5755
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5013
5756
|
const createOperationSpec$4 = {
|
|
5014
5757
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
5015
5758
|
httpMethod: "PUT",
|
|
@@ -5040,7 +5783,7 @@ const createOperationSpec$4 = {
|
|
|
5040
5783
|
],
|
|
5041
5784
|
headerParameters: [contentType, accept],
|
|
5042
5785
|
mediaType: "json",
|
|
5043
|
-
serializer: serializer$
|
|
5786
|
+
serializer: serializer$9,
|
|
5044
5787
|
};
|
|
5045
5788
|
const updateOperationSpec$4 = {
|
|
5046
5789
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
@@ -5063,7 +5806,7 @@ const updateOperationSpec$4 = {
|
|
|
5063
5806
|
],
|
|
5064
5807
|
headerParameters: [contentType, accept],
|
|
5065
5808
|
mediaType: "json",
|
|
5066
|
-
serializer: serializer$
|
|
5809
|
+
serializer: serializer$9,
|
|
5067
5810
|
};
|
|
5068
5811
|
const deleteOperationSpec$5 = {
|
|
5069
5812
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
@@ -5085,7 +5828,7 @@ const deleteOperationSpec$5 = {
|
|
|
5085
5828
|
accountName1,
|
|
5086
5829
|
],
|
|
5087
5830
|
headerParameters: [accept],
|
|
5088
|
-
serializer: serializer$
|
|
5831
|
+
serializer: serializer$9,
|
|
5089
5832
|
};
|
|
5090
5833
|
const getOperationSpec$6 = {
|
|
5091
5834
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}",
|
|
@@ -5106,7 +5849,7 @@ const getOperationSpec$6 = {
|
|
|
5106
5849
|
accountName1,
|
|
5107
5850
|
],
|
|
5108
5851
|
headerParameters: [accept],
|
|
5109
|
-
serializer: serializer$
|
|
5852
|
+
serializer: serializer$9,
|
|
5110
5853
|
};
|
|
5111
5854
|
const listOperationSpec$3 = {
|
|
5112
5855
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts",
|
|
@@ -5122,7 +5865,7 @@ const listOperationSpec$3 = {
|
|
|
5122
5865
|
queryParameters: [apiVersion],
|
|
5123
5866
|
urlParameters: [$host, subscriptionId],
|
|
5124
5867
|
headerParameters: [accept],
|
|
5125
|
-
serializer: serializer$
|
|
5868
|
+
serializer: serializer$9,
|
|
5126
5869
|
};
|
|
5127
5870
|
const listByResourceGroupOperationSpec = {
|
|
5128
5871
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts",
|
|
@@ -5142,7 +5885,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
5142
5885
|
subscriptionId,
|
|
5143
5886
|
],
|
|
5144
5887
|
headerParameters: [accept],
|
|
5145
|
-
serializer: serializer$
|
|
5888
|
+
serializer: serializer$9,
|
|
5146
5889
|
};
|
|
5147
5890
|
const synchronizeAutoStorageKeysOperationSpec = {
|
|
5148
5891
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys",
|
|
@@ -5161,7 +5904,7 @@ const synchronizeAutoStorageKeysOperationSpec = {
|
|
|
5161
5904
|
accountName1,
|
|
5162
5905
|
],
|
|
5163
5906
|
headerParameters: [accept],
|
|
5164
|
-
serializer: serializer$
|
|
5907
|
+
serializer: serializer$9,
|
|
5165
5908
|
};
|
|
5166
5909
|
const regenerateKeyOperationSpec = {
|
|
5167
5910
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys",
|
|
@@ -5184,7 +5927,7 @@ const regenerateKeyOperationSpec = {
|
|
|
5184
5927
|
],
|
|
5185
5928
|
headerParameters: [contentType, accept],
|
|
5186
5929
|
mediaType: "json",
|
|
5187
|
-
serializer: serializer$
|
|
5930
|
+
serializer: serializer$9,
|
|
5188
5931
|
};
|
|
5189
5932
|
const getKeysOperationSpec = {
|
|
5190
5933
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys",
|
|
@@ -5205,7 +5948,7 @@ const getKeysOperationSpec = {
|
|
|
5205
5948
|
accountName1,
|
|
5206
5949
|
],
|
|
5207
5950
|
headerParameters: [accept],
|
|
5208
|
-
serializer: serializer$
|
|
5951
|
+
serializer: serializer$9,
|
|
5209
5952
|
};
|
|
5210
5953
|
const listDetectorsOperationSpec = {
|
|
5211
5954
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors",
|
|
@@ -5226,7 +5969,7 @@ const listDetectorsOperationSpec = {
|
|
|
5226
5969
|
accountName1,
|
|
5227
5970
|
],
|
|
5228
5971
|
headerParameters: [accept],
|
|
5229
|
-
serializer: serializer$
|
|
5972
|
+
serializer: serializer$9,
|
|
5230
5973
|
};
|
|
5231
5974
|
const getDetectorOperationSpec = {
|
|
5232
5975
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}",
|
|
@@ -5248,7 +5991,7 @@ const getDetectorOperationSpec = {
|
|
|
5248
5991
|
detectorId,
|
|
5249
5992
|
],
|
|
5250
5993
|
headerParameters: [accept],
|
|
5251
|
-
serializer: serializer$
|
|
5994
|
+
serializer: serializer$9,
|
|
5252
5995
|
};
|
|
5253
5996
|
const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
5254
5997
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints",
|
|
@@ -5269,7 +6012,7 @@ const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
|
5269
6012
|
accountName1,
|
|
5270
6013
|
],
|
|
5271
6014
|
headerParameters: [accept],
|
|
5272
|
-
serializer: serializer$
|
|
6015
|
+
serializer: serializer$9,
|
|
5273
6016
|
};
|
|
5274
6017
|
const listNextOperationSpec$3 = {
|
|
5275
6018
|
path: "{nextLink}",
|
|
@@ -5288,7 +6031,7 @@ const listNextOperationSpec$3 = {
|
|
|
5288
6031
|
nextLink,
|
|
5289
6032
|
],
|
|
5290
6033
|
headerParameters: [accept],
|
|
5291
|
-
serializer: serializer$
|
|
6034
|
+
serializer: serializer$9,
|
|
5292
6035
|
};
|
|
5293
6036
|
const listByResourceGroupNextOperationSpec = {
|
|
5294
6037
|
path: "{nextLink}",
|
|
@@ -5308,7 +6051,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
5308
6051
|
nextLink,
|
|
5309
6052
|
],
|
|
5310
6053
|
headerParameters: [accept],
|
|
5311
|
-
serializer: serializer$
|
|
6054
|
+
serializer: serializer$9,
|
|
5312
6055
|
};
|
|
5313
6056
|
const listDetectorsNextOperationSpec = {
|
|
5314
6057
|
path: "{nextLink}",
|
|
@@ -5329,7 +6072,7 @@ const listDetectorsNextOperationSpec = {
|
|
|
5329
6072
|
nextLink,
|
|
5330
6073
|
],
|
|
5331
6074
|
headerParameters: [accept],
|
|
5332
|
-
serializer: serializer$
|
|
6075
|
+
serializer: serializer$9,
|
|
5333
6076
|
};
|
|
5334
6077
|
const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
5335
6078
|
path: "{nextLink}",
|
|
@@ -5350,7 +6093,7 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
|
5350
6093
|
nextLink,
|
|
5351
6094
|
],
|
|
5352
6095
|
headerParameters: [accept],
|
|
5353
|
-
serializer: serializer$
|
|
6096
|
+
serializer: serializer$9,
|
|
5354
6097
|
};
|
|
5355
6098
|
|
|
5356
6099
|
/*
|
|
@@ -5514,7 +6257,7 @@ class ApplicationPackageOperationsImpl {
|
|
|
5514
6257
|
}
|
|
5515
6258
|
}
|
|
5516
6259
|
// Operation Specifications
|
|
5517
|
-
const serializer$
|
|
6260
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5518
6261
|
const activateOperationSpec = {
|
|
5519
6262
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate",
|
|
5520
6263
|
httpMethod: "POST",
|
|
@@ -5538,7 +6281,7 @@ const activateOperationSpec = {
|
|
|
5538
6281
|
],
|
|
5539
6282
|
headerParameters: [contentType, accept],
|
|
5540
6283
|
mediaType: "json",
|
|
5541
|
-
serializer: serializer$
|
|
6284
|
+
serializer: serializer$8,
|
|
5542
6285
|
};
|
|
5543
6286
|
const createOperationSpec$3 = {
|
|
5544
6287
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
@@ -5563,7 +6306,7 @@ const createOperationSpec$3 = {
|
|
|
5563
6306
|
],
|
|
5564
6307
|
headerParameters: [contentType, accept],
|
|
5565
6308
|
mediaType: "json",
|
|
5566
|
-
serializer: serializer$
|
|
6309
|
+
serializer: serializer$8,
|
|
5567
6310
|
};
|
|
5568
6311
|
const deleteOperationSpec$4 = {
|
|
5569
6312
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
@@ -5585,7 +6328,7 @@ const deleteOperationSpec$4 = {
|
|
|
5585
6328
|
versionName,
|
|
5586
6329
|
],
|
|
5587
6330
|
headerParameters: [accept],
|
|
5588
|
-
serializer: serializer$
|
|
6331
|
+
serializer: serializer$8,
|
|
5589
6332
|
};
|
|
5590
6333
|
const getOperationSpec$5 = {
|
|
5591
6334
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}",
|
|
@@ -5608,7 +6351,7 @@ const getOperationSpec$5 = {
|
|
|
5608
6351
|
versionName,
|
|
5609
6352
|
],
|
|
5610
6353
|
headerParameters: [accept],
|
|
5611
|
-
serializer: serializer$
|
|
6354
|
+
serializer: serializer$8,
|
|
5612
6355
|
};
|
|
5613
6356
|
const listOperationSpec$2 = {
|
|
5614
6357
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions",
|
|
@@ -5630,7 +6373,7 @@ const listOperationSpec$2 = {
|
|
|
5630
6373
|
applicationName,
|
|
5631
6374
|
],
|
|
5632
6375
|
headerParameters: [accept],
|
|
5633
|
-
serializer: serializer$
|
|
6376
|
+
serializer: serializer$8,
|
|
5634
6377
|
};
|
|
5635
6378
|
const listNextOperationSpec$2 = {
|
|
5636
6379
|
path: "{nextLink}",
|
|
@@ -5652,7 +6395,7 @@ const listNextOperationSpec$2 = {
|
|
|
5652
6395
|
applicationName,
|
|
5653
6396
|
],
|
|
5654
6397
|
headerParameters: [accept],
|
|
5655
|
-
serializer: serializer$
|
|
6398
|
+
serializer: serializer$8,
|
|
5656
6399
|
};
|
|
5657
6400
|
|
|
5658
6401
|
/*
|
|
@@ -5797,7 +6540,7 @@ class ApplicationOperationsImpl {
|
|
|
5797
6540
|
}
|
|
5798
6541
|
}
|
|
5799
6542
|
// Operation Specifications
|
|
5800
|
-
const serializer$
|
|
6543
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5801
6544
|
const createOperationSpec$2 = {
|
|
5802
6545
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
5803
6546
|
httpMethod: "PUT",
|
|
@@ -5820,7 +6563,7 @@ const createOperationSpec$2 = {
|
|
|
5820
6563
|
],
|
|
5821
6564
|
headerParameters: [contentType, accept],
|
|
5822
6565
|
mediaType: "json",
|
|
5823
|
-
serializer: serializer$
|
|
6566
|
+
serializer: serializer$7,
|
|
5824
6567
|
};
|
|
5825
6568
|
const deleteOperationSpec$3 = {
|
|
5826
6569
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
@@ -5841,7 +6584,7 @@ const deleteOperationSpec$3 = {
|
|
|
5841
6584
|
applicationName,
|
|
5842
6585
|
],
|
|
5843
6586
|
headerParameters: [accept],
|
|
5844
|
-
serializer: serializer$
|
|
6587
|
+
serializer: serializer$7,
|
|
5845
6588
|
};
|
|
5846
6589
|
const getOperationSpec$4 = {
|
|
5847
6590
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
@@ -5863,7 +6606,7 @@ const getOperationSpec$4 = {
|
|
|
5863
6606
|
applicationName,
|
|
5864
6607
|
],
|
|
5865
6608
|
headerParameters: [accept],
|
|
5866
|
-
serializer: serializer$
|
|
6609
|
+
serializer: serializer$7,
|
|
5867
6610
|
};
|
|
5868
6611
|
const updateOperationSpec$3 = {
|
|
5869
6612
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}",
|
|
@@ -5887,7 +6630,7 @@ const updateOperationSpec$3 = {
|
|
|
5887
6630
|
],
|
|
5888
6631
|
headerParameters: [contentType, accept],
|
|
5889
6632
|
mediaType: "json",
|
|
5890
|
-
serializer: serializer$
|
|
6633
|
+
serializer: serializer$7,
|
|
5891
6634
|
};
|
|
5892
6635
|
const listOperationSpec$1 = {
|
|
5893
6636
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications",
|
|
@@ -5908,7 +6651,7 @@ const listOperationSpec$1 = {
|
|
|
5908
6651
|
accountName1,
|
|
5909
6652
|
],
|
|
5910
6653
|
headerParameters: [accept],
|
|
5911
|
-
serializer: serializer$
|
|
6654
|
+
serializer: serializer$7,
|
|
5912
6655
|
};
|
|
5913
6656
|
const listNextOperationSpec$1 = {
|
|
5914
6657
|
path: "{nextLink}",
|
|
@@ -5929,7 +6672,7 @@ const listNextOperationSpec$1 = {
|
|
|
5929
6672
|
nextLink,
|
|
5930
6673
|
],
|
|
5931
6674
|
headerParameters: [accept],
|
|
5932
|
-
serializer: serializer$
|
|
6675
|
+
serializer: serializer$7,
|
|
5933
6676
|
};
|
|
5934
6677
|
|
|
5935
6678
|
/*
|
|
@@ -6011,68 +6754,6 @@ class LocationImpl {
|
|
|
6011
6754
|
}
|
|
6012
6755
|
});
|
|
6013
6756
|
}
|
|
6014
|
-
/**
|
|
6015
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
6016
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
6017
|
-
* @param options The options parameters.
|
|
6018
|
-
*/
|
|
6019
|
-
listSupportedCloudServiceSkus(locationName, options) {
|
|
6020
|
-
const iter = this.listSupportedCloudServiceSkusPagingAll(locationName, options);
|
|
6021
|
-
return {
|
|
6022
|
-
next() {
|
|
6023
|
-
return iter.next();
|
|
6024
|
-
},
|
|
6025
|
-
[Symbol.asyncIterator]() {
|
|
6026
|
-
return this;
|
|
6027
|
-
},
|
|
6028
|
-
byPage: (settings) => {
|
|
6029
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6030
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
6031
|
-
}
|
|
6032
|
-
return this.listSupportedCloudServiceSkusPagingPage(locationName, options, settings);
|
|
6033
|
-
},
|
|
6034
|
-
};
|
|
6035
|
-
}
|
|
6036
|
-
listSupportedCloudServiceSkusPagingPage(locationName, options, settings) {
|
|
6037
|
-
return tslib.__asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingPage_1() {
|
|
6038
|
-
let result;
|
|
6039
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6040
|
-
if (!continuationToken) {
|
|
6041
|
-
result = yield tslib.__await(this._listSupportedCloudServiceSkus(locationName, options));
|
|
6042
|
-
let page = result.value || [];
|
|
6043
|
-
continuationToken = result.nextLink;
|
|
6044
|
-
setContinuationToken(page, continuationToken);
|
|
6045
|
-
yield yield tslib.__await(page);
|
|
6046
|
-
}
|
|
6047
|
-
while (continuationToken) {
|
|
6048
|
-
result = yield tslib.__await(this._listSupportedCloudServiceSkusNext(locationName, continuationToken, options));
|
|
6049
|
-
continuationToken = result.nextLink;
|
|
6050
|
-
let page = result.value || [];
|
|
6051
|
-
setContinuationToken(page, continuationToken);
|
|
6052
|
-
yield yield tslib.__await(page);
|
|
6053
|
-
}
|
|
6054
|
-
});
|
|
6055
|
-
}
|
|
6056
|
-
listSupportedCloudServiceSkusPagingAll(locationName, options) {
|
|
6057
|
-
return tslib.__asyncGenerator(this, arguments, function* listSupportedCloudServiceSkusPagingAll_1() {
|
|
6058
|
-
var _a, e_2, _b, _c;
|
|
6059
|
-
try {
|
|
6060
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listSupportedCloudServiceSkusPagingPage(locationName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
6061
|
-
_c = _f.value;
|
|
6062
|
-
_d = false;
|
|
6063
|
-
const page = _c;
|
|
6064
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6065
|
-
}
|
|
6066
|
-
}
|
|
6067
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
6068
|
-
finally {
|
|
6069
|
-
try {
|
|
6070
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6071
|
-
}
|
|
6072
|
-
finally { if (e_2) throw e_2.error; }
|
|
6073
|
-
}
|
|
6074
|
-
});
|
|
6075
|
-
}
|
|
6076
6757
|
/**
|
|
6077
6758
|
* Gets the Batch service quotas for the specified subscription at the given location.
|
|
6078
6759
|
* @param locationName The region for which to retrieve Batch service quotas.
|
|
@@ -6089,14 +6770,6 @@ class LocationImpl {
|
|
|
6089
6770
|
_listSupportedVirtualMachineSkus(locationName, options) {
|
|
6090
6771
|
return this.client.sendOperationRequest({ locationName, options }, listSupportedVirtualMachineSkusOperationSpec);
|
|
6091
6772
|
}
|
|
6092
|
-
/**
|
|
6093
|
-
* Gets the list of Batch supported Cloud Service VM sizes available at the given location.
|
|
6094
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
6095
|
-
* @param options The options parameters.
|
|
6096
|
-
*/
|
|
6097
|
-
_listSupportedCloudServiceSkus(locationName, options) {
|
|
6098
|
-
return this.client.sendOperationRequest({ locationName, options }, listSupportedCloudServiceSkusOperationSpec);
|
|
6099
|
-
}
|
|
6100
6773
|
/**
|
|
6101
6774
|
* Checks whether the Batch account name is available in the specified region.
|
|
6102
6775
|
* @param locationName The desired region for the name check.
|
|
@@ -6116,19 +6789,9 @@ class LocationImpl {
|
|
|
6116
6789
|
_listSupportedVirtualMachineSkusNext(locationName, nextLink, options) {
|
|
6117
6790
|
return this.client.sendOperationRequest({ locationName, nextLink, options }, listSupportedVirtualMachineSkusNextOperationSpec);
|
|
6118
6791
|
}
|
|
6119
|
-
/**
|
|
6120
|
-
* ListSupportedCloudServiceSkusNext
|
|
6121
|
-
* @param locationName The region for which to retrieve Batch service supported SKUs.
|
|
6122
|
-
* @param nextLink The nextLink from the previous successful call to the ListSupportedCloudServiceSkus
|
|
6123
|
-
* method.
|
|
6124
|
-
* @param options The options parameters.
|
|
6125
|
-
*/
|
|
6126
|
-
_listSupportedCloudServiceSkusNext(locationName, nextLink, options) {
|
|
6127
|
-
return this.client.sendOperationRequest({ locationName, nextLink, options }, listSupportedCloudServiceSkusNextOperationSpec);
|
|
6128
|
-
}
|
|
6129
6792
|
}
|
|
6130
6793
|
// Operation Specifications
|
|
6131
|
-
const serializer$
|
|
6794
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6132
6795
|
const getQuotasOperationSpec = {
|
|
6133
6796
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas",
|
|
6134
6797
|
httpMethod: "GET",
|
|
@@ -6147,7 +6810,7 @@ const getQuotasOperationSpec = {
|
|
|
6147
6810
|
locationName,
|
|
6148
6811
|
],
|
|
6149
6812
|
headerParameters: [accept],
|
|
6150
|
-
serializer: serializer$
|
|
6813
|
+
serializer: serializer$6,
|
|
6151
6814
|
};
|
|
6152
6815
|
const listSupportedVirtualMachineSkusOperationSpec = {
|
|
6153
6816
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus",
|
|
@@ -6171,31 +6834,7 @@ const listSupportedVirtualMachineSkusOperationSpec = {
|
|
|
6171
6834
|
locationName,
|
|
6172
6835
|
],
|
|
6173
6836
|
headerParameters: [accept],
|
|
6174
|
-
serializer: serializer$
|
|
6175
|
-
};
|
|
6176
|
-
const listSupportedCloudServiceSkusOperationSpec = {
|
|
6177
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus",
|
|
6178
|
-
httpMethod: "GET",
|
|
6179
|
-
responses: {
|
|
6180
|
-
200: {
|
|
6181
|
-
bodyMapper: SupportedSkusResult,
|
|
6182
|
-
},
|
|
6183
|
-
default: {
|
|
6184
|
-
bodyMapper: CloudError,
|
|
6185
|
-
},
|
|
6186
|
-
},
|
|
6187
|
-
queryParameters: [
|
|
6188
|
-
apiVersion,
|
|
6189
|
-
maxresults,
|
|
6190
|
-
filter,
|
|
6191
|
-
],
|
|
6192
|
-
urlParameters: [
|
|
6193
|
-
$host,
|
|
6194
|
-
subscriptionId,
|
|
6195
|
-
locationName,
|
|
6196
|
-
],
|
|
6197
|
-
headerParameters: [accept],
|
|
6198
|
-
serializer: serializer$5,
|
|
6837
|
+
serializer: serializer$6,
|
|
6199
6838
|
};
|
|
6200
6839
|
const checkNameAvailabilityOperationSpec = {
|
|
6201
6840
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability",
|
|
@@ -6217,7 +6856,7 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
6217
6856
|
],
|
|
6218
6857
|
headerParameters: [contentType, accept],
|
|
6219
6858
|
mediaType: "json",
|
|
6220
|
-
serializer: serializer$
|
|
6859
|
+
serializer: serializer$6,
|
|
6221
6860
|
};
|
|
6222
6861
|
const listSupportedVirtualMachineSkusNextOperationSpec = {
|
|
6223
6862
|
path: "{nextLink}",
|
|
@@ -6237,27 +6876,7 @@ const listSupportedVirtualMachineSkusNextOperationSpec = {
|
|
|
6237
6876
|
locationName,
|
|
6238
6877
|
],
|
|
6239
6878
|
headerParameters: [accept],
|
|
6240
|
-
serializer: serializer$
|
|
6241
|
-
};
|
|
6242
|
-
const listSupportedCloudServiceSkusNextOperationSpec = {
|
|
6243
|
-
path: "{nextLink}",
|
|
6244
|
-
httpMethod: "GET",
|
|
6245
|
-
responses: {
|
|
6246
|
-
200: {
|
|
6247
|
-
bodyMapper: SupportedSkusResult,
|
|
6248
|
-
},
|
|
6249
|
-
default: {
|
|
6250
|
-
bodyMapper: CloudError,
|
|
6251
|
-
},
|
|
6252
|
-
},
|
|
6253
|
-
urlParameters: [
|
|
6254
|
-
$host,
|
|
6255
|
-
subscriptionId,
|
|
6256
|
-
nextLink,
|
|
6257
|
-
locationName,
|
|
6258
|
-
],
|
|
6259
|
-
headerParameters: [accept],
|
|
6260
|
-
serializer: serializer$5,
|
|
6879
|
+
serializer: serializer$6,
|
|
6261
6880
|
};
|
|
6262
6881
|
|
|
6263
6882
|
/*
|
|
@@ -6355,7 +6974,7 @@ class OperationsImpl {
|
|
|
6355
6974
|
}
|
|
6356
6975
|
}
|
|
6357
6976
|
// Operation Specifications
|
|
6358
|
-
const serializer$
|
|
6977
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6359
6978
|
const listOperationSpec = {
|
|
6360
6979
|
path: "/providers/Microsoft.Batch/operations",
|
|
6361
6980
|
httpMethod: "GET",
|
|
@@ -6370,7 +6989,7 @@ const listOperationSpec = {
|
|
|
6370
6989
|
queryParameters: [apiVersion],
|
|
6371
6990
|
urlParameters: [$host],
|
|
6372
6991
|
headerParameters: [accept],
|
|
6373
|
-
serializer: serializer$
|
|
6992
|
+
serializer: serializer$5,
|
|
6374
6993
|
};
|
|
6375
6994
|
const listNextOperationSpec = {
|
|
6376
6995
|
path: "{nextLink}",
|
|
@@ -6385,7 +7004,7 @@ const listNextOperationSpec = {
|
|
|
6385
7004
|
},
|
|
6386
7005
|
urlParameters: [$host, nextLink],
|
|
6387
7006
|
headerParameters: [accept],
|
|
6388
|
-
serializer: serializer$
|
|
7007
|
+
serializer: serializer$5,
|
|
6389
7008
|
};
|
|
6390
7009
|
|
|
6391
7010
|
/*
|
|
@@ -6624,7 +7243,7 @@ class CertificateOperationsImpl {
|
|
|
6624
7243
|
}
|
|
6625
7244
|
}
|
|
6626
7245
|
// Operation Specifications
|
|
6627
|
-
const serializer$
|
|
7246
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6628
7247
|
const listByBatchAccountOperationSpec$3 = {
|
|
6629
7248
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates",
|
|
6630
7249
|
httpMethod: "GET",
|
|
@@ -6649,7 +7268,7 @@ const listByBatchAccountOperationSpec$3 = {
|
|
|
6649
7268
|
accountName1,
|
|
6650
7269
|
],
|
|
6651
7270
|
headerParameters: [accept],
|
|
6652
|
-
serializer: serializer$
|
|
7271
|
+
serializer: serializer$4,
|
|
6653
7272
|
};
|
|
6654
7273
|
const createOperationSpec$1 = {
|
|
6655
7274
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -6679,7 +7298,7 @@ const createOperationSpec$1 = {
|
|
|
6679
7298
|
ifNoneMatch,
|
|
6680
7299
|
],
|
|
6681
7300
|
mediaType: "json",
|
|
6682
|
-
serializer: serializer$
|
|
7301
|
+
serializer: serializer$4,
|
|
6683
7302
|
};
|
|
6684
7303
|
const updateOperationSpec$2 = {
|
|
6685
7304
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -6708,7 +7327,7 @@ const updateOperationSpec$2 = {
|
|
|
6708
7327
|
ifMatch,
|
|
6709
7328
|
],
|
|
6710
7329
|
mediaType: "json",
|
|
6711
|
-
serializer: serializer$
|
|
7330
|
+
serializer: serializer$4,
|
|
6712
7331
|
};
|
|
6713
7332
|
const deleteOperationSpec$2 = {
|
|
6714
7333
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -6731,7 +7350,7 @@ const deleteOperationSpec$2 = {
|
|
|
6731
7350
|
certificateName,
|
|
6732
7351
|
],
|
|
6733
7352
|
headerParameters: [accept],
|
|
6734
|
-
serializer: serializer$
|
|
7353
|
+
serializer: serializer$4,
|
|
6735
7354
|
};
|
|
6736
7355
|
const getOperationSpec$3 = {
|
|
6737
7356
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
|
|
@@ -6754,7 +7373,7 @@ const getOperationSpec$3 = {
|
|
|
6754
7373
|
certificateName,
|
|
6755
7374
|
],
|
|
6756
7375
|
headerParameters: [accept],
|
|
6757
|
-
serializer: serializer$
|
|
7376
|
+
serializer: serializer$4,
|
|
6758
7377
|
};
|
|
6759
7378
|
const cancelDeletionOperationSpec = {
|
|
6760
7379
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete",
|
|
@@ -6777,7 +7396,7 @@ const cancelDeletionOperationSpec = {
|
|
|
6777
7396
|
certificateName,
|
|
6778
7397
|
],
|
|
6779
7398
|
headerParameters: [accept],
|
|
6780
|
-
serializer: serializer$
|
|
7399
|
+
serializer: serializer$4,
|
|
6781
7400
|
};
|
|
6782
7401
|
const listByBatchAccountNextOperationSpec$3 = {
|
|
6783
7402
|
path: "{nextLink}",
|
|
@@ -6798,7 +7417,7 @@ const listByBatchAccountNextOperationSpec$3 = {
|
|
|
6798
7417
|
nextLink,
|
|
6799
7418
|
],
|
|
6800
7419
|
headerParameters: [accept],
|
|
6801
|
-
serializer: serializer$
|
|
7420
|
+
serializer: serializer$4,
|
|
6802
7421
|
};
|
|
6803
7422
|
|
|
6804
7423
|
/*
|
|
@@ -6913,7 +7532,7 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6913
7532
|
}
|
|
6914
7533
|
}
|
|
6915
7534
|
// Operation Specifications
|
|
6916
|
-
const serializer$
|
|
7535
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6917
7536
|
const listByBatchAccountOperationSpec$2 = {
|
|
6918
7537
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources",
|
|
6919
7538
|
httpMethod: "GET",
|
|
@@ -6933,7 +7552,7 @@ const listByBatchAccountOperationSpec$2 = {
|
|
|
6933
7552
|
accountName1,
|
|
6934
7553
|
],
|
|
6935
7554
|
headerParameters: [accept],
|
|
6936
|
-
serializer: serializer$
|
|
7555
|
+
serializer: serializer$3,
|
|
6937
7556
|
};
|
|
6938
7557
|
const getOperationSpec$2 = {
|
|
6939
7558
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}",
|
|
@@ -6955,7 +7574,7 @@ const getOperationSpec$2 = {
|
|
|
6955
7574
|
privateLinkResourceName,
|
|
6956
7575
|
],
|
|
6957
7576
|
headerParameters: [accept],
|
|
6958
|
-
serializer: serializer$
|
|
7577
|
+
serializer: serializer$3,
|
|
6959
7578
|
};
|
|
6960
7579
|
const listByBatchAccountNextOperationSpec$2 = {
|
|
6961
7580
|
path: "{nextLink}",
|
|
@@ -6976,7 +7595,7 @@ const listByBatchAccountNextOperationSpec$2 = {
|
|
|
6976
7595
|
nextLink,
|
|
6977
7596
|
],
|
|
6978
7597
|
headerParameters: [accept],
|
|
6979
|
-
serializer: serializer$
|
|
7598
|
+
serializer: serializer$3,
|
|
6980
7599
|
};
|
|
6981
7600
|
|
|
6982
7601
|
/*
|
|
@@ -7231,7 +7850,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
7231
7850
|
}
|
|
7232
7851
|
}
|
|
7233
7852
|
// Operation Specifications
|
|
7234
|
-
const serializer$
|
|
7853
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7235
7854
|
const listByBatchAccountOperationSpec$1 = {
|
|
7236
7855
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections",
|
|
7237
7856
|
httpMethod: "GET",
|
|
@@ -7251,7 +7870,7 @@ const listByBatchAccountOperationSpec$1 = {
|
|
|
7251
7870
|
accountName1,
|
|
7252
7871
|
],
|
|
7253
7872
|
headerParameters: [accept],
|
|
7254
|
-
serializer: serializer$
|
|
7873
|
+
serializer: serializer$2,
|
|
7255
7874
|
};
|
|
7256
7875
|
const getOperationSpec$1 = {
|
|
7257
7876
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -7273,7 +7892,7 @@ const getOperationSpec$1 = {
|
|
|
7273
7892
|
privateEndpointConnectionName,
|
|
7274
7893
|
],
|
|
7275
7894
|
headerParameters: [accept],
|
|
7276
|
-
serializer: serializer$
|
|
7895
|
+
serializer: serializer$2,
|
|
7277
7896
|
};
|
|
7278
7897
|
const updateOperationSpec$1 = {
|
|
7279
7898
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -7310,7 +7929,7 @@ const updateOperationSpec$1 = {
|
|
|
7310
7929
|
ifMatch,
|
|
7311
7930
|
],
|
|
7312
7931
|
mediaType: "json",
|
|
7313
|
-
serializer: serializer$
|
|
7932
|
+
serializer: serializer$2,
|
|
7314
7933
|
};
|
|
7315
7934
|
const deleteOperationSpec$1 = {
|
|
7316
7935
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -7341,7 +7960,7 @@ const deleteOperationSpec$1 = {
|
|
|
7341
7960
|
privateEndpointConnectionName,
|
|
7342
7961
|
],
|
|
7343
7962
|
headerParameters: [accept],
|
|
7344
|
-
serializer: serializer$
|
|
7963
|
+
serializer: serializer$2,
|
|
7345
7964
|
};
|
|
7346
7965
|
const listByBatchAccountNextOperationSpec$1 = {
|
|
7347
7966
|
path: "{nextLink}",
|
|
@@ -7362,7 +7981,7 @@ const listByBatchAccountNextOperationSpec$1 = {
|
|
|
7362
7981
|
nextLink,
|
|
7363
7982
|
],
|
|
7364
7983
|
headerParameters: [accept],
|
|
7365
|
-
serializer: serializer$
|
|
7984
|
+
serializer: serializer$2,
|
|
7366
7985
|
};
|
|
7367
7986
|
|
|
7368
7987
|
/*
|
|
@@ -7582,7 +8201,7 @@ class PoolOperationsImpl {
|
|
|
7582
8201
|
}
|
|
7583
8202
|
}
|
|
7584
8203
|
// Operation Specifications
|
|
7585
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8204
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7586
8205
|
const listByBatchAccountOperationSpec = {
|
|
7587
8206
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools",
|
|
7588
8207
|
httpMethod: "GET",
|
|
@@ -7607,7 +8226,7 @@ const listByBatchAccountOperationSpec = {
|
|
|
7607
8226
|
accountName1,
|
|
7608
8227
|
],
|
|
7609
8228
|
headerParameters: [accept],
|
|
7610
|
-
serializer,
|
|
8229
|
+
serializer: serializer$1,
|
|
7611
8230
|
};
|
|
7612
8231
|
const createOperationSpec = {
|
|
7613
8232
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
@@ -7637,7 +8256,7 @@ const createOperationSpec = {
|
|
|
7637
8256
|
ifNoneMatch,
|
|
7638
8257
|
],
|
|
7639
8258
|
mediaType: "json",
|
|
7640
|
-
serializer,
|
|
8259
|
+
serializer: serializer$1,
|
|
7641
8260
|
};
|
|
7642
8261
|
const updateOperationSpec = {
|
|
7643
8262
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
@@ -7666,7 +8285,7 @@ const updateOperationSpec = {
|
|
|
7666
8285
|
ifMatch,
|
|
7667
8286
|
],
|
|
7668
8287
|
mediaType: "json",
|
|
7669
|
-
serializer,
|
|
8288
|
+
serializer: serializer$1,
|
|
7670
8289
|
};
|
|
7671
8290
|
const deleteOperationSpec = {
|
|
7672
8291
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
@@ -7689,7 +8308,7 @@ const deleteOperationSpec = {
|
|
|
7689
8308
|
poolName,
|
|
7690
8309
|
],
|
|
7691
8310
|
headerParameters: [accept],
|
|
7692
|
-
serializer,
|
|
8311
|
+
serializer: serializer$1,
|
|
7693
8312
|
};
|
|
7694
8313
|
const getOperationSpec = {
|
|
7695
8314
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}",
|
|
@@ -7712,7 +8331,7 @@ const getOperationSpec = {
|
|
|
7712
8331
|
poolName,
|
|
7713
8332
|
],
|
|
7714
8333
|
headerParameters: [accept],
|
|
7715
|
-
serializer,
|
|
8334
|
+
serializer: serializer$1,
|
|
7716
8335
|
};
|
|
7717
8336
|
const disableAutoScaleOperationSpec = {
|
|
7718
8337
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/disableAutoScale",
|
|
@@ -7735,7 +8354,7 @@ const disableAutoScaleOperationSpec = {
|
|
|
7735
8354
|
poolName,
|
|
7736
8355
|
],
|
|
7737
8356
|
headerParameters: [accept],
|
|
7738
|
-
serializer,
|
|
8357
|
+
serializer: serializer$1,
|
|
7739
8358
|
};
|
|
7740
8359
|
const stopResizeOperationSpec = {
|
|
7741
8360
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize",
|
|
@@ -7758,7 +8377,7 @@ const stopResizeOperationSpec = {
|
|
|
7758
8377
|
poolName,
|
|
7759
8378
|
],
|
|
7760
8379
|
headerParameters: [accept],
|
|
7761
|
-
serializer,
|
|
8380
|
+
serializer: serializer$1,
|
|
7762
8381
|
};
|
|
7763
8382
|
const listByBatchAccountNextOperationSpec = {
|
|
7764
8383
|
path: "{nextLink}",
|
|
@@ -7779,6 +8398,285 @@ const listByBatchAccountNextOperationSpec = {
|
|
|
7779
8398
|
nextLink,
|
|
7780
8399
|
],
|
|
7781
8400
|
headerParameters: [accept],
|
|
8401
|
+
serializer: serializer$1,
|
|
8402
|
+
};
|
|
8403
|
+
|
|
8404
|
+
/*
|
|
8405
|
+
* Copyright (c) Microsoft Corporation.
|
|
8406
|
+
* Licensed under the MIT License.
|
|
8407
|
+
*
|
|
8408
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8409
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8410
|
+
*/
|
|
8411
|
+
/// <reference lib="esnext.asynciterable" />
|
|
8412
|
+
/** Class containing NetworkSecurityPerimeterOperations operations. */
|
|
8413
|
+
class NetworkSecurityPerimeterOperationsImpl {
|
|
8414
|
+
/**
|
|
8415
|
+
* Initialize a new instance of the class NetworkSecurityPerimeterOperations class.
|
|
8416
|
+
* @param client Reference to the service client
|
|
8417
|
+
*/
|
|
8418
|
+
constructor(client) {
|
|
8419
|
+
this.client = client;
|
|
8420
|
+
}
|
|
8421
|
+
/**
|
|
8422
|
+
* Lists all of the NSP configurations in the specified account.
|
|
8423
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8424
|
+
* @param accountName The name of the Batch account.
|
|
8425
|
+
* @param options The options parameters.
|
|
8426
|
+
*/
|
|
8427
|
+
listConfigurations(resourceGroupName, accountName, options) {
|
|
8428
|
+
const iter = this.listConfigurationsPagingAll(resourceGroupName, accountName, options);
|
|
8429
|
+
return {
|
|
8430
|
+
next() {
|
|
8431
|
+
return iter.next();
|
|
8432
|
+
},
|
|
8433
|
+
[Symbol.asyncIterator]() {
|
|
8434
|
+
return this;
|
|
8435
|
+
},
|
|
8436
|
+
byPage: (settings) => {
|
|
8437
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8438
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
8439
|
+
}
|
|
8440
|
+
return this.listConfigurationsPagingPage(resourceGroupName, accountName, options, settings);
|
|
8441
|
+
},
|
|
8442
|
+
};
|
|
8443
|
+
}
|
|
8444
|
+
listConfigurationsPagingPage(resourceGroupName, accountName, options, settings) {
|
|
8445
|
+
return tslib.__asyncGenerator(this, arguments, function* listConfigurationsPagingPage_1() {
|
|
8446
|
+
let result;
|
|
8447
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8448
|
+
if (!continuationToken) {
|
|
8449
|
+
result = yield tslib.__await(this._listConfigurations(resourceGroupName, accountName, options));
|
|
8450
|
+
let page = result.value || [];
|
|
8451
|
+
continuationToken = result.nextLink;
|
|
8452
|
+
setContinuationToken(page, continuationToken);
|
|
8453
|
+
yield yield tslib.__await(page);
|
|
8454
|
+
}
|
|
8455
|
+
while (continuationToken) {
|
|
8456
|
+
result = yield tslib.__await(this._listConfigurationsNext(resourceGroupName, accountName, continuationToken, options));
|
|
8457
|
+
continuationToken = result.nextLink;
|
|
8458
|
+
let page = result.value || [];
|
|
8459
|
+
setContinuationToken(page, continuationToken);
|
|
8460
|
+
yield yield tslib.__await(page);
|
|
8461
|
+
}
|
|
8462
|
+
});
|
|
8463
|
+
}
|
|
8464
|
+
listConfigurationsPagingAll(resourceGroupName, accountName, options) {
|
|
8465
|
+
return tslib.__asyncGenerator(this, arguments, function* listConfigurationsPagingAll_1() {
|
|
8466
|
+
var _a, e_1, _b, _c;
|
|
8467
|
+
try {
|
|
8468
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listConfigurationsPagingPage(resourceGroupName, accountName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
8469
|
+
_c = _f.value;
|
|
8470
|
+
_d = false;
|
|
8471
|
+
const page = _c;
|
|
8472
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8473
|
+
}
|
|
8474
|
+
}
|
|
8475
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
8476
|
+
finally {
|
|
8477
|
+
try {
|
|
8478
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8479
|
+
}
|
|
8480
|
+
finally { if (e_1) throw e_1.error; }
|
|
8481
|
+
}
|
|
8482
|
+
});
|
|
8483
|
+
}
|
|
8484
|
+
/**
|
|
8485
|
+
* Lists all of the NSP configurations in the specified account.
|
|
8486
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8487
|
+
* @param accountName The name of the Batch account.
|
|
8488
|
+
* @param options The options parameters.
|
|
8489
|
+
*/
|
|
8490
|
+
_listConfigurations(resourceGroupName, accountName, options) {
|
|
8491
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listConfigurationsOperationSpec);
|
|
8492
|
+
}
|
|
8493
|
+
/**
|
|
8494
|
+
* Gets information about the specified NSP configuration.
|
|
8495
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8496
|
+
* @param accountName The name of the Batch account.
|
|
8497
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
8498
|
+
* configuration
|
|
8499
|
+
* @param options The options parameters.
|
|
8500
|
+
*/
|
|
8501
|
+
getConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
8502
|
+
return this.client.sendOperationRequest({
|
|
8503
|
+
resourceGroupName,
|
|
8504
|
+
accountName,
|
|
8505
|
+
networkSecurityPerimeterConfigurationName,
|
|
8506
|
+
options,
|
|
8507
|
+
}, getConfigurationOperationSpec);
|
|
8508
|
+
}
|
|
8509
|
+
/**
|
|
8510
|
+
* Reconciles the specified NSP configuration.
|
|
8511
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8512
|
+
* @param accountName The name of the Batch account.
|
|
8513
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
8514
|
+
* configuration
|
|
8515
|
+
* @param options The options parameters.
|
|
8516
|
+
*/
|
|
8517
|
+
beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
8518
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8519
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8520
|
+
return this.client.sendOperationRequest(args, spec);
|
|
8521
|
+
});
|
|
8522
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8523
|
+
var _a;
|
|
8524
|
+
let currentRawResponse = undefined;
|
|
8525
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8526
|
+
const callback = (rawResponse, flatResponse) => {
|
|
8527
|
+
currentRawResponse = rawResponse;
|
|
8528
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8529
|
+
};
|
|
8530
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8531
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
8532
|
+
return {
|
|
8533
|
+
flatResponse,
|
|
8534
|
+
rawResponse: {
|
|
8535
|
+
statusCode: currentRawResponse.status,
|
|
8536
|
+
body: currentRawResponse.parsedBody,
|
|
8537
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
8538
|
+
},
|
|
8539
|
+
};
|
|
8540
|
+
});
|
|
8541
|
+
const lro = createLroSpec({
|
|
8542
|
+
sendOperationFn,
|
|
8543
|
+
args: {
|
|
8544
|
+
resourceGroupName,
|
|
8545
|
+
accountName,
|
|
8546
|
+
networkSecurityPerimeterConfigurationName,
|
|
8547
|
+
options,
|
|
8548
|
+
},
|
|
8549
|
+
spec: reconcileConfigurationOperationSpec,
|
|
8550
|
+
});
|
|
8551
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8552
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8553
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8554
|
+
resourceLocationConfig: "location",
|
|
8555
|
+
});
|
|
8556
|
+
yield poller.poll();
|
|
8557
|
+
return poller;
|
|
8558
|
+
});
|
|
8559
|
+
}
|
|
8560
|
+
/**
|
|
8561
|
+
* Reconciles the specified NSP configuration.
|
|
8562
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8563
|
+
* @param accountName The name of the Batch account.
|
|
8564
|
+
* @param networkSecurityPerimeterConfigurationName The name for Network Security Perimeter
|
|
8565
|
+
* configuration
|
|
8566
|
+
* @param options The options parameters.
|
|
8567
|
+
*/
|
|
8568
|
+
beginReconcileConfigurationAndWait(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options) {
|
|
8569
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8570
|
+
const poller = yield this.beginReconcileConfiguration(resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options);
|
|
8571
|
+
return poller.pollUntilDone();
|
|
8572
|
+
});
|
|
8573
|
+
}
|
|
8574
|
+
/**
|
|
8575
|
+
* ListConfigurationsNext
|
|
8576
|
+
* @param resourceGroupName The name of the resource group that contains the Batch account.
|
|
8577
|
+
* @param accountName The name of the Batch account.
|
|
8578
|
+
* @param nextLink The nextLink from the previous successful call to the ListConfigurations method.
|
|
8579
|
+
* @param options The options parameters.
|
|
8580
|
+
*/
|
|
8581
|
+
_listConfigurationsNext(resourceGroupName, accountName, nextLink, options) {
|
|
8582
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listConfigurationsNextOperationSpec);
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
// Operation Specifications
|
|
8586
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8587
|
+
const listConfigurationsOperationSpec = {
|
|
8588
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations",
|
|
8589
|
+
httpMethod: "GET",
|
|
8590
|
+
responses: {
|
|
8591
|
+
200: {
|
|
8592
|
+
bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
|
|
8593
|
+
},
|
|
8594
|
+
default: {
|
|
8595
|
+
bodyMapper: CloudError,
|
|
8596
|
+
},
|
|
8597
|
+
},
|
|
8598
|
+
queryParameters: [apiVersion],
|
|
8599
|
+
urlParameters: [
|
|
8600
|
+
$host,
|
|
8601
|
+
resourceGroupName,
|
|
8602
|
+
subscriptionId,
|
|
8603
|
+
accountName1,
|
|
8604
|
+
],
|
|
8605
|
+
headerParameters: [accept],
|
|
8606
|
+
serializer,
|
|
8607
|
+
};
|
|
8608
|
+
const getConfigurationOperationSpec = {
|
|
8609
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}",
|
|
8610
|
+
httpMethod: "GET",
|
|
8611
|
+
responses: {
|
|
8612
|
+
200: {
|
|
8613
|
+
bodyMapper: NetworkSecurityPerimeterConfiguration,
|
|
8614
|
+
},
|
|
8615
|
+
default: {
|
|
8616
|
+
bodyMapper: CloudError,
|
|
8617
|
+
},
|
|
8618
|
+
},
|
|
8619
|
+
queryParameters: [apiVersion],
|
|
8620
|
+
urlParameters: [
|
|
8621
|
+
$host,
|
|
8622
|
+
resourceGroupName,
|
|
8623
|
+
subscriptionId,
|
|
8624
|
+
accountName1,
|
|
8625
|
+
networkSecurityPerimeterConfigurationName,
|
|
8626
|
+
],
|
|
8627
|
+
headerParameters: [accept],
|
|
8628
|
+
serializer,
|
|
8629
|
+
};
|
|
8630
|
+
const reconcileConfigurationOperationSpec = {
|
|
8631
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile",
|
|
8632
|
+
httpMethod: "POST",
|
|
8633
|
+
responses: {
|
|
8634
|
+
200: {
|
|
8635
|
+
headersMapper: NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
8636
|
+
},
|
|
8637
|
+
201: {
|
|
8638
|
+
headersMapper: NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
8639
|
+
},
|
|
8640
|
+
202: {
|
|
8641
|
+
headersMapper: NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
8642
|
+
},
|
|
8643
|
+
204: {
|
|
8644
|
+
headersMapper: NetworkSecurityPerimeterReconcileConfigurationHeaders,
|
|
8645
|
+
},
|
|
8646
|
+
default: {
|
|
8647
|
+
bodyMapper: ErrorResponse,
|
|
8648
|
+
},
|
|
8649
|
+
},
|
|
8650
|
+
queryParameters: [apiVersion],
|
|
8651
|
+
urlParameters: [
|
|
8652
|
+
$host,
|
|
8653
|
+
resourceGroupName,
|
|
8654
|
+
subscriptionId,
|
|
8655
|
+
accountName1,
|
|
8656
|
+
networkSecurityPerimeterConfigurationName,
|
|
8657
|
+
],
|
|
8658
|
+
headerParameters: [accept],
|
|
8659
|
+
serializer,
|
|
8660
|
+
};
|
|
8661
|
+
const listConfigurationsNextOperationSpec = {
|
|
8662
|
+
path: "{nextLink}",
|
|
8663
|
+
httpMethod: "GET",
|
|
8664
|
+
responses: {
|
|
8665
|
+
200: {
|
|
8666
|
+
bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
|
|
8667
|
+
},
|
|
8668
|
+
default: {
|
|
8669
|
+
bodyMapper: CloudError,
|
|
8670
|
+
},
|
|
8671
|
+
},
|
|
8672
|
+
urlParameters: [
|
|
8673
|
+
$host,
|
|
8674
|
+
resourceGroupName,
|
|
8675
|
+
subscriptionId,
|
|
8676
|
+
accountName1,
|
|
8677
|
+
nextLink,
|
|
8678
|
+
],
|
|
8679
|
+
headerParameters: [accept],
|
|
7782
8680
|
serializer,
|
|
7783
8681
|
};
|
|
7784
8682
|
|
|
@@ -7813,7 +8711,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7813
8711
|
requestContentType: "application/json; charset=utf-8",
|
|
7814
8712
|
credential: credentials,
|
|
7815
8713
|
};
|
|
7816
|
-
const packageDetails = `azsdk-js-arm-batch/
|
|
8714
|
+
const packageDetails = `azsdk-js-arm-batch/10.0.0`;
|
|
7817
8715
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
7818
8716
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
7819
8717
|
: `${packageDetails}`;
|
|
@@ -7846,7 +8744,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7846
8744
|
this.subscriptionId = subscriptionId;
|
|
7847
8745
|
// Assigning values to Constant parameters
|
|
7848
8746
|
this.$host = options.$host || "https://management.azure.com";
|
|
7849
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
8747
|
+
this.apiVersion = options.apiVersion || "2024-07-01";
|
|
7850
8748
|
this.batchAccountOperations = new BatchAccountOperationsImpl(this);
|
|
7851
8749
|
this.applicationPackageOperations = new ApplicationPackageOperationsImpl(this);
|
|
7852
8750
|
this.applicationOperations = new ApplicationOperationsImpl(this);
|
|
@@ -7857,6 +8755,8 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7857
8755
|
this.privateEndpointConnectionOperations =
|
|
7858
8756
|
new PrivateEndpointConnectionOperationsImpl(this);
|
|
7859
8757
|
this.poolOperations = new PoolOperationsImpl(this);
|
|
8758
|
+
this.networkSecurityPerimeterOperations =
|
|
8759
|
+
new NetworkSecurityPerimeterOperationsImpl(this);
|
|
7860
8760
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
7861
8761
|
}
|
|
7862
8762
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|