@azure-rest/batch 1.0.0-beta.3 → 1.0.0-beta.4
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/dist/browser/batchClient.js +1 -1
- package/dist/browser/batchClient.js.map +1 -1
- package/dist/browser/clientDefinitions.d.ts +3 -43
- package/dist/browser/clientDefinitions.js.map +1 -1
- package/dist/browser/isUnexpected.d.ts +1 -6
- package/dist/browser/isUnexpected.js +0 -7
- package/dist/browser/isUnexpected.js.map +1 -1
- package/dist/browser/models.d.ts +105 -152
- package/dist/browser/models.js.map +1 -1
- package/dist/browser/outputModels.d.ts +165 -216
- package/dist/browser/outputModels.js.map +1 -1
- package/dist/browser/parameters.d.ts +1 -171
- package/dist/browser/parameters.js.map +1 -1
- package/dist/browser/responses.d.ts +1 -112
- package/dist/browser/responses.js.map +1 -1
- package/dist/commonjs/batchClient.js +1 -1
- package/dist/commonjs/batchClient.js.map +1 -1
- package/dist/commonjs/clientDefinitions.d.ts +3 -43
- package/dist/commonjs/clientDefinitions.js.map +1 -1
- package/dist/commonjs/isUnexpected.d.ts +1 -6
- package/dist/commonjs/isUnexpected.js +0 -7
- package/dist/commonjs/isUnexpected.js.map +1 -1
- package/dist/commonjs/models.d.ts +105 -152
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +165 -216
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +1 -171
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/commonjs/responses.d.ts +1 -112
- package/dist/commonjs/responses.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/batchClient.js +1 -1
- package/dist/esm/batchClient.js.map +1 -1
- package/dist/esm/clientDefinitions.d.ts +3 -43
- package/dist/esm/clientDefinitions.js.map +1 -1
- package/dist/esm/isUnexpected.d.ts +1 -6
- package/dist/esm/isUnexpected.js +0 -7
- package/dist/esm/isUnexpected.js.map +1 -1
- package/dist/esm/models.d.ts +105 -152
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/outputModels.d.ts +165 -216
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/parameters.d.ts +1 -171
- package/dist/esm/parameters.js.map +1 -1
- package/dist/esm/responses.d.ts +1 -112
- package/dist/esm/responses.js.map +1 -1
- package/dist/react-native/batchClient.js +1 -1
- package/dist/react-native/batchClient.js.map +1 -1
- package/dist/react-native/clientDefinitions.d.ts +3 -43
- package/dist/react-native/clientDefinitions.js.map +1 -1
- package/dist/react-native/isUnexpected.d.ts +1 -6
- package/dist/react-native/isUnexpected.js +0 -7
- package/dist/react-native/isUnexpected.js.map +1 -1
- package/dist/react-native/models.d.ts +105 -152
- package/dist/react-native/models.js.map +1 -1
- package/dist/react-native/outputModels.d.ts +165 -216
- package/dist/react-native/outputModels.js.map +1 -1
- package/dist/react-native/parameters.d.ts +1 -171
- package/dist/react-native/parameters.js.map +1 -1
- package/dist/react-native/responses.d.ts +1 -112
- package/dist/react-native/responses.js.map +1 -1
- package/package.json +48 -39
|
@@ -10,8 +10,6 @@ export interface BatchPoolCreateOptions {
|
|
|
10
10
|
virtualMachineConfiguration?: VirtualMachineConfiguration;
|
|
11
11
|
/** The timeout for allocation of Compute Nodes to the Pool. This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). */
|
|
12
12
|
resizeTimeout?: string;
|
|
13
|
-
/** The user-specified tags associated with the pool. The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'. */
|
|
14
|
-
resourceTags?: Record<string, string>;
|
|
15
13
|
/** The desired number of dedicated Compute Nodes in the Pool. This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both. */
|
|
16
14
|
targetDedicatedNodes?: number;
|
|
17
15
|
/** The desired number of Spot/Low-priority Compute Nodes in the Pool. This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both. */
|
|
@@ -28,13 +26,6 @@ export interface BatchPoolCreateOptions {
|
|
|
28
26
|
networkConfiguration?: NetworkConfiguration;
|
|
29
27
|
/** A Task specified to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted. */
|
|
30
28
|
startTask?: BatchStartTask;
|
|
31
|
-
/**
|
|
32
|
-
* For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location.
|
|
33
|
-
* For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location.
|
|
34
|
-
* For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.
|
|
35
|
-
* Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
36
|
-
*/
|
|
37
|
-
certificateReferences?: Array<BatchCertificateReference>;
|
|
38
29
|
/** The list of Packages to be installed on each Compute Node in the Pool. When creating a pool, the package's application ID must be fully qualified (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}). Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool. */
|
|
39
30
|
applicationPackageReferences?: Array<BatchApplicationPackageReference>;
|
|
40
31
|
/** The number of task slots that can be used to run concurrent tasks on a single compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256. */
|
|
@@ -47,12 +38,6 @@ export interface BatchPoolCreateOptions {
|
|
|
47
38
|
metadata?: Array<BatchMetadataItem>;
|
|
48
39
|
/** Mount storage using specified file system for the entire lifetime of the pool. Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system. */
|
|
49
40
|
mountConfiguration?: Array<MountConfiguration>;
|
|
50
|
-
/**
|
|
51
|
-
* The desired node communication mode for the pool. If omitted, the default value is Default.
|
|
52
|
-
*
|
|
53
|
-
* Possible values: "default", "classic", "simplified"
|
|
54
|
-
*/
|
|
55
|
-
targetNodeCommunicationMode?: BatchNodeCommunicationMode;
|
|
56
41
|
/** The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. */
|
|
57
42
|
upgradePolicy?: UpgradePolicy;
|
|
58
43
|
}
|
|
@@ -138,6 +123,8 @@ export interface DataDisk {
|
|
|
138
123
|
caching?: CachingType;
|
|
139
124
|
/** The initial disk size in gigabytes. */
|
|
140
125
|
diskSizeGB: number;
|
|
126
|
+
/** The managed disk parameters. */
|
|
127
|
+
managedDisk?: ManagedDisk;
|
|
141
128
|
/**
|
|
142
129
|
* The storage Account type to be used for the data disk. If omitted, the default is "standard_lrs".
|
|
143
130
|
*
|
|
@@ -145,6 +132,33 @@ export interface DataDisk {
|
|
|
145
132
|
*/
|
|
146
133
|
storageAccountType?: StorageAccountType;
|
|
147
134
|
}
|
|
135
|
+
/** The managed disk parameters. */
|
|
136
|
+
export interface ManagedDisk {
|
|
137
|
+
/** Specifies the customer managed disk encryption set resource id for the managed disk. It can be set only in UserSubscription mode. */
|
|
138
|
+
diskEncryptionSet?: DiskEncryptionSetParameters;
|
|
139
|
+
/**
|
|
140
|
+
* The storage account type for managed disk.
|
|
141
|
+
*
|
|
142
|
+
* Possible values: "standard_lrs", "premium_lrs", "standardssd_lrs"
|
|
143
|
+
*/
|
|
144
|
+
storageAccountType?: StorageAccountType;
|
|
145
|
+
/** Specifies the security profile settings for the managed disk. */
|
|
146
|
+
securityProfile?: BatchVmDiskSecurityProfile;
|
|
147
|
+
}
|
|
148
|
+
/** The ARM resource id of the disk encryption set. */
|
|
149
|
+
export interface DiskEncryptionSetParameters {
|
|
150
|
+
/** The ARM resource id of the disk encryption set. The resource must be in the same subscription as the Batch account. */
|
|
151
|
+
id?: string;
|
|
152
|
+
}
|
|
153
|
+
/** Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and required when using Confidential VMs. */
|
|
154
|
+
export interface BatchVmDiskSecurityProfile {
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. **Note**: It can be set for only Confidential VMs and is required when using Confidential VMs.
|
|
157
|
+
*
|
|
158
|
+
* Possible values: "DiskWithVMGuestState", "NonPersistedTPM", "VMGuestStateOnly"
|
|
159
|
+
*/
|
|
160
|
+
securityEncryptionType?: SecurityEncryptionTypes;
|
|
161
|
+
}
|
|
148
162
|
/** The configuration for container-enabled Pools. */
|
|
149
163
|
export interface BatchContainerConfiguration {
|
|
150
164
|
/**
|
|
@@ -183,9 +197,25 @@ export interface BatchNodeIdentityReference {
|
|
|
183
197
|
* Azure Compute Gallery Image.
|
|
184
198
|
*/
|
|
185
199
|
export interface DiskEncryptionConfiguration {
|
|
200
|
+
/** The Customer Managed Key reference to encrypt the OS Disk. Customer Managed Key will encrypt OS Disk by EncryptionAtRest, and by default we will encrypt the data disk as well. It can be used only when the pool is configured with an identity and OsDisk is set as one of the targets of DiskEncryption. */
|
|
201
|
+
customerManagedKey?: DiskCustomerManagedKey;
|
|
186
202
|
/** The list of disk targets Batch Service will encrypt on the compute node. The list of disk targets Batch Service will encrypt on the compute node. */
|
|
187
203
|
targets?: DiskEncryptionTarget[];
|
|
188
204
|
}
|
|
205
|
+
/** The Customer Managed Key reference to encrypt the Disk. */
|
|
206
|
+
export interface DiskCustomerManagedKey {
|
|
207
|
+
/** The reference of one of the pool identities to encrypt Disk. This identity will be used to access the KeyVault. */
|
|
208
|
+
identityReference?: BatchPoolIdentityReference;
|
|
209
|
+
/** Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value. */
|
|
210
|
+
keyUrl?: string;
|
|
211
|
+
/** Set this flag to true to enable auto-updating of the Disk Encryption to the latest key version. Default is false. */
|
|
212
|
+
rotationToLatestKeyVersionEnabled?: boolean;
|
|
213
|
+
}
|
|
214
|
+
/** The reference of one of the pool identities to encrypt Disk. This identity will be used to access the key vault. */
|
|
215
|
+
export interface BatchPoolIdentityReference {
|
|
216
|
+
/** The ARM resource id of the user assigned identity. This reference must be included in the pool identities. */
|
|
217
|
+
resourceId?: string;
|
|
218
|
+
}
|
|
189
219
|
/**
|
|
190
220
|
* For regional placement, nodes in the pool will be allocated in the same region.
|
|
191
221
|
* For zonal placement, nodes in the pool will be spread across different zones
|
|
@@ -249,30 +279,12 @@ export interface BatchDiffDiskSettings {
|
|
|
249
279
|
*/
|
|
250
280
|
placement?: DiffDiskPlacement;
|
|
251
281
|
}
|
|
252
|
-
/** The managed disk parameters. */
|
|
253
|
-
export interface ManagedDisk {
|
|
254
|
-
/**
|
|
255
|
-
* The storage account type for managed disk.
|
|
256
|
-
*
|
|
257
|
-
* Possible values: "standard_lrs", "premium_lrs", "standardssd_lrs"
|
|
258
|
-
*/
|
|
259
|
-
storageAccountType?: StorageAccountType;
|
|
260
|
-
/** Specifies the security profile settings for the managed disk. */
|
|
261
|
-
securityProfile?: BatchVmDiskSecurityProfile;
|
|
262
|
-
}
|
|
263
|
-
/** Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and required when using Confidential VMs. */
|
|
264
|
-
export interface BatchVmDiskSecurityProfile {
|
|
265
|
-
/**
|
|
266
|
-
* Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. **Note**: It can be set for only Confidential VMs and is required when using Confidential VMs.
|
|
267
|
-
*
|
|
268
|
-
* Possible values: "NonPersistedTPM", "VMGuestStateOnly"
|
|
269
|
-
*/
|
|
270
|
-
securityEncryptionType?: SecurityEncryptionTypes;
|
|
271
|
-
}
|
|
272
282
|
/** Specifies the security profile settings for the virtual machine or virtual machine scale set. */
|
|
273
283
|
export interface SecurityProfile {
|
|
274
284
|
/** This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. For more information on encryption at host requirements, please refer to https://learn.microsoft.com/azure/virtual-machines/disk-encryption#supported-vm-sizes. */
|
|
275
285
|
encryptionAtHost?: boolean;
|
|
286
|
+
/** Specifies ProxyAgent settings while creating the virtual machine. */
|
|
287
|
+
proxyAgentSettings?: ProxyAgentSettings;
|
|
276
288
|
/**
|
|
277
289
|
* Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
|
|
278
290
|
*
|
|
@@ -282,6 +294,26 @@ export interface SecurityProfile {
|
|
|
282
294
|
/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Specifies the security settings like secure boot and vTPM used while creating the virtual machine. */
|
|
283
295
|
uefiSettings?: BatchUefiSettings;
|
|
284
296
|
}
|
|
297
|
+
/** Specifies ProxyAgent settings while creating the virtual machine. */
|
|
298
|
+
export interface ProxyAgentSettings {
|
|
299
|
+
/** Specifies whether Metadata Security Protocol feature should be enabled on the virtual machine or virtual machine scale set. Default is False. */
|
|
300
|
+
enabled?: boolean;
|
|
301
|
+
/** Settings for the IMDS endpoint. */
|
|
302
|
+
imds?: HostEndpointSettings;
|
|
303
|
+
/** Settings for the WireServer endpoint. */
|
|
304
|
+
wireServer?: HostEndpointSettings;
|
|
305
|
+
}
|
|
306
|
+
/** Specifies particular host endpoint settings. */
|
|
307
|
+
export interface HostEndpointSettings {
|
|
308
|
+
/** Specifies the reference to the InVMAccessControlProfileVersion resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. */
|
|
309
|
+
inVMAccessControlProfileReferenceId?: string;
|
|
310
|
+
/**
|
|
311
|
+
* Specifies the access control policy execution mode.
|
|
312
|
+
*
|
|
313
|
+
* Possible values: "Audit", "Enforce"
|
|
314
|
+
*/
|
|
315
|
+
mode?: HostEndpointSettingsModeTypes;
|
|
316
|
+
}
|
|
285
317
|
/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. */
|
|
286
318
|
export interface BatchUefiSettings {
|
|
287
319
|
/** Specifies whether secure boot should be enabled on the virtual machine. */
|
|
@@ -364,8 +396,19 @@ export interface BatchPublicIpAddressConfiguration {
|
|
|
364
396
|
* Possible values: "batchmanaged", "usermanaged", "nopublicipaddresses"
|
|
365
397
|
*/
|
|
366
398
|
provision?: IpAddressProvisioningType;
|
|
399
|
+
/** The IP families used to specify IP versions available to the pool. IP families are used to determine single-stack or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6. */
|
|
400
|
+
ipFamilies?: IPFamily[];
|
|
367
401
|
/** The list of public IPs which the Batch service will use when provisioning Compute Nodes. The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/Low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. */
|
|
368
402
|
ipAddressIds?: string[];
|
|
403
|
+
/** A list of IP tags associated with the public IP addresses of the Pool. IP tags are used to categorize and filter public IP addresses for billing and management purposes. */
|
|
404
|
+
ipTags?: Array<IPTag>;
|
|
405
|
+
}
|
|
406
|
+
/** Contains the IP tag associated with the public IP address. */
|
|
407
|
+
export interface IPTag {
|
|
408
|
+
/** The IP Tag type. Example: FirstPartyUsage. */
|
|
409
|
+
ipTagType?: string;
|
|
410
|
+
/** The value of the IP tag associated with the public IP. Example: SQL. */
|
|
411
|
+
tag?: string;
|
|
369
412
|
}
|
|
370
413
|
/**
|
|
371
414
|
* Batch will retry Tasks when a recovery operation is triggered on a Node.
|
|
@@ -460,7 +503,7 @@ export interface UserIdentity {
|
|
|
460
503
|
/** Specifies the options for the auto user that runs an Azure Batch Task. */
|
|
461
504
|
export interface AutoUserSpecification {
|
|
462
505
|
/**
|
|
463
|
-
* The scope for the auto user. The default value is pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks
|
|
506
|
+
* The scope for the auto user. The default value is pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks.
|
|
464
507
|
*
|
|
465
508
|
* Possible values: "task", "pool"
|
|
466
509
|
*/
|
|
@@ -472,23 +515,6 @@ export interface AutoUserSpecification {
|
|
|
472
515
|
*/
|
|
473
516
|
elevationLevel?: ElevationLevel;
|
|
474
517
|
}
|
|
475
|
-
/** A reference to a Certificate to be installed on Compute Nodes in a Pool. Warning: This object is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. */
|
|
476
|
-
export interface BatchCertificateReference {
|
|
477
|
-
/** The thumbprint of the Certificate. */
|
|
478
|
-
thumbprint: string;
|
|
479
|
-
/** The algorithm with which the thumbprint is associated. This must be sha1. */
|
|
480
|
-
thumbprintAlgorithm: string;
|
|
481
|
-
/**
|
|
482
|
-
* The location of the Certificate store on the Compute Node into which to install the Certificate. The default value is currentuser. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.
|
|
483
|
-
*
|
|
484
|
-
* Possible values: "currentuser", "localmachine"
|
|
485
|
-
*/
|
|
486
|
-
storeLocation?: BatchCertificateStoreLocation;
|
|
487
|
-
/** The name of the Certificate store on the Compute Node into which to install the Certificate. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My. */
|
|
488
|
-
storeName?: string;
|
|
489
|
-
/** Which user Accounts on the Compute Node should have access to the private data of the Certificate. You can specify more than one visibility in this collection. The default is all Accounts. */
|
|
490
|
-
visibility?: BatchCertificateVisibility[];
|
|
491
|
-
}
|
|
492
518
|
/** A reference to an Package to be deployed to Compute Nodes. */
|
|
493
519
|
export interface BatchApplicationPackageReference {
|
|
494
520
|
/** The ID of the application to deploy. When creating a pool, the package's application ID must be fully qualified (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}). */
|
|
@@ -498,6 +524,12 @@ export interface BatchApplicationPackageReference {
|
|
|
498
524
|
}
|
|
499
525
|
/** Specifies how Tasks should be distributed across Compute Nodes. */
|
|
500
526
|
export interface BatchTaskSchedulingPolicy {
|
|
527
|
+
/**
|
|
528
|
+
* The order for scheduling tasks from different jobs with the same priority. If not specified, the default is none.
|
|
529
|
+
*
|
|
530
|
+
* Possible values: "none", "creationtime"
|
|
531
|
+
*/
|
|
532
|
+
jobDefaultOrder?: BatchJobDefaultOrder;
|
|
501
533
|
/**
|
|
502
534
|
* How Tasks are distributed across Compute Nodes in a Pool. If not specified, the default is spread.
|
|
503
535
|
*
|
|
@@ -674,35 +706,18 @@ export interface BatchPoolUpdateOptions {
|
|
|
674
706
|
enableInterNodeCommunication?: boolean;
|
|
675
707
|
/** A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted. If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is left unchanged. */
|
|
676
708
|
startTask?: BatchStartTask;
|
|
677
|
-
/**
|
|
678
|
-
* If this element is present, it replaces any existing Certificate references configured on the Pool.
|
|
679
|
-
* If omitted, any existing Certificate references are left unchanged.
|
|
680
|
-
* For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location.
|
|
681
|
-
* For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location.
|
|
682
|
-
* For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.
|
|
683
|
-
* Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
684
|
-
*/
|
|
685
|
-
certificateReferences?: Array<BatchCertificateReference>;
|
|
686
709
|
/** A list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. If this element is present, it replaces any existing Package references. If you specify an empty collection, then all Package references are removed from the Pool. If omitted, any existing Package references are left unchanged. */
|
|
687
710
|
applicationPackageReferences?: Array<BatchApplicationPackageReference>;
|
|
688
711
|
/** A list of name-value pairs associated with the Pool as metadata. If this element is present, it replaces any existing metadata configured on the Pool. If you specify an empty collection, any metadata is removed from the Pool. If omitted, any existing metadata is left unchanged. */
|
|
689
712
|
metadata?: Array<BatchMetadataItem>;
|
|
690
713
|
/** The virtual machine configuration for the Pool. This property must be specified.<br /><br />This field can be updated only when the pool is empty. */
|
|
691
714
|
virtualMachineConfiguration?: VirtualMachineConfiguration;
|
|
692
|
-
/**
|
|
693
|
-
* The desired node communication mode for the pool. If this element is present, it replaces the existing targetNodeCommunicationMode configured on the Pool. If omitted, any existing metadata is left unchanged.
|
|
694
|
-
*
|
|
695
|
-
* Possible values: "default", "classic", "simplified"
|
|
696
|
-
*/
|
|
697
|
-
targetNodeCommunicationMode?: BatchNodeCommunicationMode;
|
|
698
715
|
/** The number of task slots that can be used to run concurrent tasks on a single compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.<br /><br />This field can be updated only when the pool is empty. */
|
|
699
716
|
taskSlotsPerNode?: number;
|
|
700
717
|
/** How Tasks are distributed across Compute Nodes in a Pool. If not specified, the default is spread.<br /><br />This field can be updated only when the pool is empty. */
|
|
701
718
|
taskSchedulingPolicy?: BatchTaskSchedulingPolicy;
|
|
702
719
|
/** The network configuration for the Pool. This field can be updated only when the pool is empty. */
|
|
703
720
|
networkConfiguration?: NetworkConfiguration;
|
|
704
|
-
/** The user-specified tags associated with the pool. The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.<br /><br />This field can be updated only when the pool is empty. */
|
|
705
|
-
resourceTags?: Record<string, string>;
|
|
706
721
|
/** The list of user Accounts to be created on each Compute Node in the Pool. This field can be updated only when the pool is empty. */
|
|
707
722
|
userAccounts?: Array<UserAccount>;
|
|
708
723
|
/** Mount storage using specified file system for the entire lifetime of the pool. Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system.<br /><br />This field can be updated only when the pool is empty. */
|
|
@@ -741,25 +756,10 @@ export interface BatchPoolResizeOptions {
|
|
|
741
756
|
export interface BatchPoolReplaceOptions {
|
|
742
757
|
/** A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted. If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is removed from the Pool. */
|
|
743
758
|
startTask?: BatchStartTask;
|
|
744
|
-
/**
|
|
745
|
-
* This list replaces any existing Certificate references configured on the Pool.
|
|
746
|
-
* If you specify an empty collection, any existing Certificate references are removed from the Pool.
|
|
747
|
-
* For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location.
|
|
748
|
-
* For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location.
|
|
749
|
-
* For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.
|
|
750
|
-
* Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
751
|
-
*/
|
|
752
|
-
certificateReferences: Array<BatchCertificateReference>;
|
|
753
759
|
/** The list of Application Packages to be installed on each Compute Node in the Pool. The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool. */
|
|
754
760
|
applicationPackageReferences: Array<BatchApplicationPackageReference>;
|
|
755
761
|
/** A list of name-value pairs associated with the Pool as metadata. This list replaces any existing metadata configured on the Pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the Pool. */
|
|
756
762
|
metadata: Array<BatchMetadataItem>;
|
|
757
|
-
/**
|
|
758
|
-
* The desired node communication mode for the pool. This setting replaces any existing targetNodeCommunication setting on the Pool. If omitted, the existing setting is default.
|
|
759
|
-
*
|
|
760
|
-
* Possible values: "default", "classic", "simplified"
|
|
761
|
-
*/
|
|
762
|
-
targetNodeCommunicationMode?: BatchNodeCommunicationMode;
|
|
763
763
|
}
|
|
764
764
|
/** Parameters for removing nodes from an Azure Batch Pool. */
|
|
765
765
|
export interface BatchNodeRemoveOptions {
|
|
@@ -778,9 +778,9 @@ export interface BatchNodeRemoveOptions {
|
|
|
778
778
|
export interface BatchJob {
|
|
779
779
|
/** The priority of the Job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. */
|
|
780
780
|
priority?: number;
|
|
781
|
-
/** Whether Tasks in this job can be preempted by other high priority jobs. If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
781
|
+
/** Whether Tasks in this job can be preempted by other high priority jobs. (This property is not available by default. Please contact support for more information) If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
782
782
|
allowTaskPreemption?: boolean;
|
|
783
|
-
/** The maximum number of tasks that can be executed in parallel for the job. The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
783
|
+
/** The maximum number of tasks that can be executed in parallel for the job. (This property is not available by default. Please contact support for more information) The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
784
784
|
maxParallelTasks?: number;
|
|
785
785
|
/** The execution constraints for the Job. */
|
|
786
786
|
constraints?: BatchJobConstraints;
|
|
@@ -1052,8 +1052,6 @@ export interface BatchPoolSpecification {
|
|
|
1052
1052
|
taskSchedulingPolicy?: BatchTaskSchedulingPolicy;
|
|
1053
1053
|
/** The timeout for allocation of Compute Nodes to the Pool. This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). */
|
|
1054
1054
|
resizeTimeout?: string;
|
|
1055
|
-
/** The user-specified tags associated with the pool.The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'. */
|
|
1056
|
-
resourceTags?: string;
|
|
1057
1055
|
/** The desired number of dedicated Compute Nodes in the Pool. This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both. */
|
|
1058
1056
|
targetDedicatedNodes?: number;
|
|
1059
1057
|
/** The desired number of Spot/Low-priority Compute Nodes in the Pool. This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both. */
|
|
@@ -1070,12 +1068,6 @@ export interface BatchPoolSpecification {
|
|
|
1070
1068
|
networkConfiguration?: NetworkConfiguration;
|
|
1071
1069
|
/** A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted. */
|
|
1072
1070
|
startTask?: BatchStartTask;
|
|
1073
|
-
/**
|
|
1074
|
-
* For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory.
|
|
1075
|
-
* Warning: This property is deprecated and will be removed after February, 2024.
|
|
1076
|
-
* Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
|
|
1077
|
-
*/
|
|
1078
|
-
certificateReferences?: Array<BatchCertificateReference>;
|
|
1079
1071
|
/** The list of Packages to be installed on each Compute Node in the Pool. When creating a pool, the package's application ID must be fully qualified (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}). Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool. */
|
|
1080
1072
|
applicationPackageReferences?: Array<BatchApplicationPackageReference>;
|
|
1081
1073
|
/** The list of user Accounts to be created on each Compute Node in the Pool. */
|
|
@@ -1084,16 +1076,10 @@ export interface BatchPoolSpecification {
|
|
|
1084
1076
|
metadata?: Array<BatchMetadataItem>;
|
|
1085
1077
|
/** A list of file systems to mount on each node in the pool. This supports Azure Files, NFS, CIFS/SMB, and Blobfuse. */
|
|
1086
1078
|
mountConfiguration?: Array<MountConfiguration>;
|
|
1087
|
-
/**
|
|
1088
|
-
* The desired node communication mode for the pool. If omitted, the default value is Default.
|
|
1089
|
-
*
|
|
1090
|
-
* Possible values: "default", "classic", "simplified"
|
|
1091
|
-
*/
|
|
1092
|
-
targetNodeCommunicationMode?: BatchNodeCommunicationMode;
|
|
1093
1079
|
/** The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. */
|
|
1094
1080
|
upgradePolicy?: UpgradePolicy;
|
|
1095
1081
|
}
|
|
1096
|
-
/** The network configuration for the Job. */
|
|
1082
|
+
/** (This property is not available by default. Please contact support for more information) The network configuration for the Job. */
|
|
1097
1083
|
export interface BatchJobNetworkConfiguration {
|
|
1098
1084
|
/** The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. */
|
|
1099
1085
|
subnetId: string;
|
|
@@ -1163,9 +1149,9 @@ export interface BatchJobStatistics {
|
|
|
1163
1149
|
export interface BatchJobUpdateOptions {
|
|
1164
1150
|
/** The priority of the Job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, the priority of the Job is left unchanged. */
|
|
1165
1151
|
priority?: number;
|
|
1166
|
-
/** Whether Tasks in this job can be preempted by other high priority jobs. If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1152
|
+
/** Whether Tasks in this job can be preempted by other high priority jobs. (This property is not available by default. Please contact support for more information) If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1167
1153
|
allowTaskPreemption?: boolean;
|
|
1168
|
-
/** The maximum number of tasks that can be executed in parallel for the job. The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1154
|
+
/** The maximum number of tasks that can be executed in parallel for the job. (This property is not available by default. Please contact support for more information) The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1169
1155
|
maxParallelTasks?: number;
|
|
1170
1156
|
/** The execution constraints for the Job. If omitted, the existing execution constraints are left unchanged. */
|
|
1171
1157
|
constraints?: BatchJobConstraints;
|
|
@@ -1179,7 +1165,7 @@ export interface BatchJobUpdateOptions {
|
|
|
1179
1165
|
onAllTasksComplete?: BatchAllTasksCompleteMode;
|
|
1180
1166
|
/** A list of name-value pairs associated with the Job as metadata. If omitted, the existing Job metadata is left unchanged. */
|
|
1181
1167
|
metadata?: Array<BatchMetadataItem>;
|
|
1182
|
-
/** The network configuration for the Job. */
|
|
1168
|
+
/** (This property is not available by default. Please contact support for more information) The network configuration for the Job. */
|
|
1183
1169
|
networkConfiguration?: BatchJobNetworkConfiguration;
|
|
1184
1170
|
}
|
|
1185
1171
|
/** Parameters for disabling an Azure Batch Job. */
|
|
@@ -1206,9 +1192,9 @@ export interface BatchJobCreateOptions {
|
|
|
1206
1192
|
usesTaskDependencies?: boolean;
|
|
1207
1193
|
/** The priority of the Job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. */
|
|
1208
1194
|
priority?: number;
|
|
1209
|
-
/** Whether Tasks in this job can be preempted by other high priority jobs. If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1195
|
+
/** Whether Tasks in this job can be preempted by other high priority jobs. (This property is not available by default. Please contact support for more information) If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1210
1196
|
allowTaskPreemption?: boolean;
|
|
1211
|
-
/** The maximum number of tasks that can be executed in parallel for the job. The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1197
|
+
/** The maximum number of tasks that can be executed in parallel for the job. (This property is not available by default. Please contact support for more information) The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1212
1198
|
maxParallelTasks?: number;
|
|
1213
1199
|
/** The execution constraints for the Job. */
|
|
1214
1200
|
constraints?: BatchJobConstraints;
|
|
@@ -1234,7 +1220,7 @@ export interface BatchJobCreateOptions {
|
|
|
1234
1220
|
* Possible values: "noaction", "performexitoptionsjobaction"
|
|
1235
1221
|
*/
|
|
1236
1222
|
onTaskFailure?: BatchTaskFailureMode;
|
|
1237
|
-
/** The network configuration for the Job. */
|
|
1223
|
+
/** (This property is not available by default. Please contact support for more information) The network configuration for the Job. */
|
|
1238
1224
|
networkConfiguration?: BatchJobNetworkConfiguration;
|
|
1239
1225
|
/** A list of name-value pairs associated with the Job as metadata. The Batch service does not assign any meaning to metadata; it is solely for the use of user code. */
|
|
1240
1226
|
metadata?: Array<BatchMetadataItem>;
|
|
@@ -1263,35 +1249,6 @@ export interface BatchTaskFailureInfo {
|
|
|
1263
1249
|
/** A list of additional details related to the error. */
|
|
1264
1250
|
details?: Array<NameValuePair>;
|
|
1265
1251
|
}
|
|
1266
|
-
/**
|
|
1267
|
-
* A Certificate that can be installed on Compute Nodes and can be used to
|
|
1268
|
-
* authenticate operations on the machine.
|
|
1269
|
-
*/
|
|
1270
|
-
export interface BatchCertificate {
|
|
1271
|
-
/** The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed). */
|
|
1272
|
-
thumbprint: string;
|
|
1273
|
-
/** The algorithm used to derive the thumbprint. This must be sha1. */
|
|
1274
|
-
thumbprintAlgorithm: string;
|
|
1275
|
-
/** The base64-encoded contents of the Certificate. The maximum size is 10KB. */
|
|
1276
|
-
data: string;
|
|
1277
|
-
/**
|
|
1278
|
-
* The format of the Certificate data.
|
|
1279
|
-
*
|
|
1280
|
-
* Possible values: "pfx", "cer"
|
|
1281
|
-
*/
|
|
1282
|
-
certificateFormat?: BatchCertificateFormat;
|
|
1283
|
-
/** The password to access the Certificate's private key. This must be omitted if the Certificate format is cer. */
|
|
1284
|
-
password?: string;
|
|
1285
|
-
}
|
|
1286
|
-
/** An error encountered by the Batch service when deleting a Certificate. */
|
|
1287
|
-
export interface BatchCertificateDeleteError {
|
|
1288
|
-
/** An identifier for the Certificate deletion error. Codes are invariant and are intended to be consumed programmatically. */
|
|
1289
|
-
code?: string;
|
|
1290
|
-
/** A message describing the Certificate deletion error, intended to be suitable for display in a user interface. */
|
|
1291
|
-
message?: string;
|
|
1292
|
-
/** A list of additional error details related to the Certificate deletion error. This list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred. */
|
|
1293
|
-
values?: Array<NameValuePair>;
|
|
1294
|
-
}
|
|
1295
1252
|
/**
|
|
1296
1253
|
* A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a
|
|
1297
1254
|
* specification used to create each Job.
|
|
@@ -1322,9 +1279,9 @@ export interface BatchJobScheduleConfiguration {
|
|
|
1322
1279
|
export interface BatchJobSpecification {
|
|
1323
1280
|
/** The priority of Jobs created under this schedule. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. This priority is used as the default for all Jobs under the Job Schedule. You can update a Job's priority after it has been created using by using the update Job API. */
|
|
1324
1281
|
priority?: number;
|
|
1325
|
-
/** Whether Tasks in this job can be preempted by other high priority jobs. If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1282
|
+
/** Whether Tasks in this job can be preempted by other high priority jobs. (This property is not available by default. Please contact support for more information) If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API. */
|
|
1326
1283
|
allowTaskPreemption?: boolean;
|
|
1327
|
-
/** The maximum number of tasks that can be executed in parallel for the job. The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1284
|
+
/** The maximum number of tasks that can be executed in parallel for the job. (This property is not available by default. Please contact support for more information) The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */
|
|
1328
1285
|
maxParallelTasks?: number;
|
|
1329
1286
|
/** The display name for Jobs created under this schedule. The name need not be unique and can contain any Unicode characters up to a maximum length of 1024. */
|
|
1330
1287
|
displayName?: string;
|
|
@@ -1342,7 +1299,7 @@ export interface BatchJobSpecification {
|
|
|
1342
1299
|
* Possible values: "noaction", "performexitoptionsjobaction"
|
|
1343
1300
|
*/
|
|
1344
1301
|
onTaskFailure?: BatchTaskFailureMode;
|
|
1345
|
-
/** The network configuration for the Job. */
|
|
1302
|
+
/** (This property is not available by default. Please contact support for more information) The network configuration for the Job. */
|
|
1346
1303
|
networkConfiguration?: BatchJobNetworkConfiguration;
|
|
1347
1304
|
/** The execution constraints for Jobs created under this schedule. */
|
|
1348
1305
|
constraints?: BatchJobConstraints;
|
|
@@ -1719,6 +1676,8 @@ export interface UploadBatchServiceLogsOptions {
|
|
|
1719
1676
|
export type CachingType = string;
|
|
1720
1677
|
/** Alias for StorageAccountType */
|
|
1721
1678
|
export type StorageAccountType = string;
|
|
1679
|
+
/** Alias for SecurityEncryptionTypes */
|
|
1680
|
+
export type SecurityEncryptionTypes = string;
|
|
1722
1681
|
/** Alias for ContainerType */
|
|
1723
1682
|
export type ContainerType = string;
|
|
1724
1683
|
/** Alias for DiskEncryptionTarget */
|
|
@@ -1727,8 +1686,8 @@ export type DiskEncryptionTarget = string;
|
|
|
1727
1686
|
export type BatchNodePlacementPolicyType = string;
|
|
1728
1687
|
/** Alias for DiffDiskPlacement */
|
|
1729
1688
|
export type DiffDiskPlacement = string;
|
|
1730
|
-
/** Alias for
|
|
1731
|
-
export type
|
|
1689
|
+
/** Alias for HostEndpointSettingsModeTypes */
|
|
1690
|
+
export type HostEndpointSettingsModeTypes = string;
|
|
1732
1691
|
/** Alias for SecurityTypes */
|
|
1733
1692
|
export type SecurityTypes = string;
|
|
1734
1693
|
/** Alias for DynamicVNetAssignmentScope */
|
|
@@ -1739,6 +1698,8 @@ export type InboundEndpointProtocol = string;
|
|
|
1739
1698
|
export type NetworkSecurityGroupRuleAccess = string;
|
|
1740
1699
|
/** Alias for IpAddressProvisioningType */
|
|
1741
1700
|
export type IpAddressProvisioningType = string;
|
|
1701
|
+
/** Alias for IPFamily */
|
|
1702
|
+
export type IPFamily = string;
|
|
1742
1703
|
/** Alias for ContainerWorkingDirectory */
|
|
1743
1704
|
export type ContainerWorkingDirectory = string;
|
|
1744
1705
|
/** Alias for ContainerHostDataPath */
|
|
@@ -1747,16 +1708,12 @@ export type ContainerHostDataPath = string;
|
|
|
1747
1708
|
export type AutoUserScope = string;
|
|
1748
1709
|
/** Alias for ElevationLevel */
|
|
1749
1710
|
export type ElevationLevel = string;
|
|
1750
|
-
/** Alias for
|
|
1751
|
-
export type
|
|
1752
|
-
/** Alias for BatchCertificateVisibility */
|
|
1753
|
-
export type BatchCertificateVisibility = string;
|
|
1711
|
+
/** Alias for BatchJobDefaultOrder */
|
|
1712
|
+
export type BatchJobDefaultOrder = string;
|
|
1754
1713
|
/** Alias for BatchNodeFillType */
|
|
1755
1714
|
export type BatchNodeFillType = string;
|
|
1756
1715
|
/** Alias for LoginMode */
|
|
1757
1716
|
export type LoginMode = string;
|
|
1758
|
-
/** Alias for BatchNodeCommunicationMode */
|
|
1759
|
-
export type BatchNodeCommunicationMode = string;
|
|
1760
1717
|
/** Alias for UpgradeMode */
|
|
1761
1718
|
export type UpgradeMode = string;
|
|
1762
1719
|
/** Alias for BatchNodeDeallocationOption */
|
|
@@ -1779,10 +1736,6 @@ export type BatchErrorSourceCategory = string;
|
|
|
1779
1736
|
export type DisableBatchJobOption = string;
|
|
1780
1737
|
/** Alias for BatchTaskExecutionResult */
|
|
1781
1738
|
export type BatchTaskExecutionResult = string;
|
|
1782
|
-
/** Alias for BatchCertificateState */
|
|
1783
|
-
export type BatchCertificateState = string;
|
|
1784
|
-
/** Alias for BatchCertificateFormat */
|
|
1785
|
-
export type BatchCertificateFormat = string;
|
|
1786
1739
|
/** Alias for BatchJobScheduleState */
|
|
1787
1740
|
export type BatchJobScheduleState = string;
|
|
1788
1741
|
/** Alias for BatchJobActionKind */
|