@azure/arm-batch 9.0.1-alpha.20231211.1 → 9.1.0
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 +18 -11
- package/dist/index.js +139 -4
- 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 +1 -1
- package/dist-esm/samples-dev/batchAccountListSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/batchAccountSynchronizeAutoStorageKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchAccountUpdateSample.js +1 -1
- package/dist-esm/samples-dev/certificateCancelDeletionSample.js +1 -1
- package/dist-esm/samples-dev/certificateCreateSample.js +3 -3
- package/dist-esm/samples-dev/certificateDeleteSample.js +1 -1
- package/dist-esm/samples-dev/certificateGetSample.js +2 -2
- package/dist-esm/samples-dev/certificateListByBatchAccountSample.js +2 -2
- package/dist-esm/samples-dev/certificateUpdateSample.js +1 -1
- package/dist-esm/samples-dev/locationCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/locationGetQuotasSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedCloudServiceSkusSample.js +1 -1
- package/dist-esm/samples-dev/locationListSupportedVirtualMachineSkusSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/poolCreateSample.js +169 -10
- package/dist-esm/samples-dev/poolCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/poolDeleteSample.js +1 -1
- package/dist-esm/samples-dev/poolDisableAutoScaleSample.js +1 -1
- package/dist-esm/samples-dev/poolGetSample.js +60 -3
- package/dist-esm/samples-dev/poolGetSample.js.map +1 -1
- 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.js +2 -2
- package/dist-esm/src/models/index.d.ts +45 -5
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +132 -1
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/package.json +8 -6
- package/review/arm-batch.api.md +34 -1
- package/src/batchManagementClient.ts +2 -2
- package/src/models/index.ts +50 -5
- package/src/models/mappers.ts +137 -1
- package/src/models/parameters.ts +1 -1
- package/types/arm-batch.d.ts +49 -5
package/src/models/mappers.ts
CHANGED
|
@@ -1347,6 +1347,20 @@ export const VirtualMachineConfiguration: coreClient.CompositeMapper = {
|
|
|
1347
1347
|
name: "Composite",
|
|
1348
1348
|
className: "OSDisk"
|
|
1349
1349
|
}
|
|
1350
|
+
},
|
|
1351
|
+
securityProfile: {
|
|
1352
|
+
serializedName: "securityProfile",
|
|
1353
|
+
type: {
|
|
1354
|
+
name: "Composite",
|
|
1355
|
+
className: "SecurityProfile"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
serviceArtifactReference: {
|
|
1359
|
+
serializedName: "serviceArtifactReference",
|
|
1360
|
+
type: {
|
|
1361
|
+
name: "Composite",
|
|
1362
|
+
className: "ServiceArtifactReference"
|
|
1363
|
+
}
|
|
1350
1364
|
}
|
|
1351
1365
|
}
|
|
1352
1366
|
}
|
|
@@ -1376,6 +1390,7 @@ export const ImageReference: coreClient.CompositeMapper = {
|
|
|
1376
1390
|
}
|
|
1377
1391
|
},
|
|
1378
1392
|
version: {
|
|
1393
|
+
defaultValue: "latest",
|
|
1379
1394
|
serializedName: "version",
|
|
1380
1395
|
type: {
|
|
1381
1396
|
name: "String"
|
|
@@ -1436,7 +1451,7 @@ export const DataDisk: coreClient.CompositeMapper = {
|
|
|
1436
1451
|
serializedName: "storageAccountType",
|
|
1437
1452
|
type: {
|
|
1438
1453
|
name: "Enum",
|
|
1439
|
-
allowedValues: ["Standard_LRS", "Premium_LRS"]
|
|
1454
|
+
allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"]
|
|
1440
1455
|
}
|
|
1441
1456
|
}
|
|
1442
1457
|
}
|
|
@@ -1637,6 +1652,32 @@ export const OSDisk: coreClient.CompositeMapper = {
|
|
|
1637
1652
|
name: "Composite",
|
|
1638
1653
|
className: "DiffDiskSettings"
|
|
1639
1654
|
}
|
|
1655
|
+
},
|
|
1656
|
+
caching: {
|
|
1657
|
+
serializedName: "caching",
|
|
1658
|
+
type: {
|
|
1659
|
+
name: "Enum",
|
|
1660
|
+
allowedValues: ["None", "ReadOnly", "ReadWrite"]
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
managedDisk: {
|
|
1664
|
+
serializedName: "managedDisk",
|
|
1665
|
+
type: {
|
|
1666
|
+
name: "Composite",
|
|
1667
|
+
className: "ManagedDisk"
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
diskSizeGB: {
|
|
1671
|
+
serializedName: "diskSizeGB",
|
|
1672
|
+
type: {
|
|
1673
|
+
name: "Number"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
writeAcceleratorEnabled: {
|
|
1677
|
+
serializedName: "writeAcceleratorEnabled",
|
|
1678
|
+
type: {
|
|
1679
|
+
name: "Boolean"
|
|
1680
|
+
}
|
|
1640
1681
|
}
|
|
1641
1682
|
}
|
|
1642
1683
|
}
|
|
@@ -1659,6 +1700,89 @@ export const DiffDiskSettings: coreClient.CompositeMapper = {
|
|
|
1659
1700
|
}
|
|
1660
1701
|
};
|
|
1661
1702
|
|
|
1703
|
+
export const ManagedDisk: coreClient.CompositeMapper = {
|
|
1704
|
+
type: {
|
|
1705
|
+
name: "Composite",
|
|
1706
|
+
className: "ManagedDisk",
|
|
1707
|
+
modelProperties: {
|
|
1708
|
+
storageAccountType: {
|
|
1709
|
+
serializedName: "storageAccountType",
|
|
1710
|
+
type: {
|
|
1711
|
+
name: "Enum",
|
|
1712
|
+
allowedValues: ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS"]
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
export const SecurityProfile: coreClient.CompositeMapper = {
|
|
1720
|
+
type: {
|
|
1721
|
+
name: "Composite",
|
|
1722
|
+
className: "SecurityProfile",
|
|
1723
|
+
modelProperties: {
|
|
1724
|
+
securityType: {
|
|
1725
|
+
defaultValue: "trustedLaunch",
|
|
1726
|
+
isConstant: true,
|
|
1727
|
+
serializedName: "securityType",
|
|
1728
|
+
type: {
|
|
1729
|
+
name: "String"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
encryptionAtHost: {
|
|
1733
|
+
serializedName: "encryptionAtHost",
|
|
1734
|
+
type: {
|
|
1735
|
+
name: "Boolean"
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
uefiSettings: {
|
|
1739
|
+
serializedName: "uefiSettings",
|
|
1740
|
+
type: {
|
|
1741
|
+
name: "Composite",
|
|
1742
|
+
className: "UefiSettings"
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
};
|
|
1748
|
+
|
|
1749
|
+
export const UefiSettings: coreClient.CompositeMapper = {
|
|
1750
|
+
type: {
|
|
1751
|
+
name: "Composite",
|
|
1752
|
+
className: "UefiSettings",
|
|
1753
|
+
modelProperties: {
|
|
1754
|
+
secureBootEnabled: {
|
|
1755
|
+
serializedName: "secureBootEnabled",
|
|
1756
|
+
type: {
|
|
1757
|
+
name: "Boolean"
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
vTpmEnabled: {
|
|
1761
|
+
serializedName: "vTpmEnabled",
|
|
1762
|
+
type: {
|
|
1763
|
+
name: "Boolean"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
export const ServiceArtifactReference: coreClient.CompositeMapper = {
|
|
1771
|
+
type: {
|
|
1772
|
+
name: "Composite",
|
|
1773
|
+
className: "ServiceArtifactReference",
|
|
1774
|
+
modelProperties: {
|
|
1775
|
+
id: {
|
|
1776
|
+
serializedName: "id",
|
|
1777
|
+
required: true,
|
|
1778
|
+
type: {
|
|
1779
|
+
name: "String"
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1662
1786
|
export const ScaleSettings: coreClient.CompositeMapper = {
|
|
1663
1787
|
type: {
|
|
1664
1788
|
name: "Composite",
|
|
@@ -1688,6 +1812,7 @@ export const FixedScaleSettings: coreClient.CompositeMapper = {
|
|
|
1688
1812
|
className: "FixedScaleSettings",
|
|
1689
1813
|
modelProperties: {
|
|
1690
1814
|
resizeTimeout: {
|
|
1815
|
+
defaultValue: "PT15M",
|
|
1691
1816
|
serializedName: "resizeTimeout",
|
|
1692
1817
|
type: {
|
|
1693
1818
|
name: "TimeSpan"
|
|
@@ -1819,6 +1944,7 @@ export const NetworkConfiguration: coreClient.CompositeMapper = {
|
|
|
1819
1944
|
}
|
|
1820
1945
|
},
|
|
1821
1946
|
dynamicVnetAssignmentScope: {
|
|
1947
|
+
defaultValue: "none",
|
|
1822
1948
|
serializedName: "dynamicVnetAssignmentScope",
|
|
1823
1949
|
type: {
|
|
1824
1950
|
name: "Enum",
|
|
@@ -2003,6 +2129,7 @@ export const TaskSchedulingPolicy: coreClient.CompositeMapper = {
|
|
|
2003
2129
|
className: "TaskSchedulingPolicy",
|
|
2004
2130
|
modelProperties: {
|
|
2005
2131
|
nodeFillType: {
|
|
2132
|
+
defaultValue: "Spread",
|
|
2006
2133
|
serializedName: "nodeFillType",
|
|
2007
2134
|
required: true,
|
|
2008
2135
|
type: {
|
|
@@ -2167,6 +2294,7 @@ export const StartTask: coreClient.CompositeMapper = {
|
|
|
2167
2294
|
}
|
|
2168
2295
|
},
|
|
2169
2296
|
maxTaskRetryCount: {
|
|
2297
|
+
defaultValue: 0,
|
|
2170
2298
|
serializedName: "maxTaskRetryCount",
|
|
2171
2299
|
type: {
|
|
2172
2300
|
name: "Number"
|
|
@@ -3273,6 +3401,7 @@ export const Pool: coreClient.CompositeMapper = {
|
|
|
3273
3401
|
}
|
|
3274
3402
|
},
|
|
3275
3403
|
taskSlotsPerNode: {
|
|
3404
|
+
defaultValue: 1,
|
|
3276
3405
|
serializedName: "properties.taskSlotsPerNode",
|
|
3277
3406
|
type: {
|
|
3278
3407
|
name: "Number"
|
|
@@ -3385,6 +3514,13 @@ export const Pool: coreClient.CompositeMapper = {
|
|
|
3385
3514
|
name: "Enum",
|
|
3386
3515
|
allowedValues: ["Default", "Classic", "Simplified"]
|
|
3387
3516
|
}
|
|
3517
|
+
},
|
|
3518
|
+
resourceTags: {
|
|
3519
|
+
serializedName: "properties.resourceTags",
|
|
3520
|
+
type: {
|
|
3521
|
+
name: "Dictionary",
|
|
3522
|
+
value: { type: { name: "String" } }
|
|
3523
|
+
}
|
|
3388
3524
|
}
|
|
3389
3525
|
}
|
|
3390
3526
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -95,7 +95,7 @@ export const accountName: OperationURLParameter = {
|
|
|
95
95
|
export const apiVersion: OperationQueryParameter = {
|
|
96
96
|
parameterPath: "apiVersion",
|
|
97
97
|
mapper: {
|
|
98
|
-
defaultValue: "2023-
|
|
98
|
+
defaultValue: "2023-11-01",
|
|
99
99
|
isConstant: true,
|
|
100
100
|
serializedName: "api-version",
|
|
101
101
|
type: {
|
package/types/arm-batch.d.ts
CHANGED
|
@@ -453,7 +453,7 @@ export declare interface BatchAccountCreateParameters {
|
|
|
453
453
|
identity?: BatchAccountIdentity;
|
|
454
454
|
/** The properties related to the auto-storage account. */
|
|
455
455
|
autoStorage?: AutoStorageBaseProperties;
|
|
456
|
-
/** The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or
|
|
456
|
+
/** The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Microsoft Entra ID. If the mode is UserSubscription, clients must use Microsoft Entra ID. The default is BatchService. */
|
|
457
457
|
poolAllocationMode?: PoolAllocationMode;
|
|
458
458
|
/** A reference to the Azure key vault associated with the Batch account. */
|
|
459
459
|
keyVaultReference?: KeyVaultReference;
|
|
@@ -1326,7 +1326,7 @@ export declare interface DiffDiskSettings {
|
|
|
1326
1326
|
placement?: "CacheDisk";
|
|
1327
1327
|
}
|
|
1328
1328
|
|
|
1329
|
-
/** The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or
|
|
1329
|
+
/** The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Azure Compute Gallery Image. */
|
|
1330
1330
|
export declare interface DiskEncryptionConfiguration {
|
|
1331
1331
|
/** On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified. */
|
|
1332
1332
|
targets?: DiskEncryptionTarget[];
|
|
@@ -1427,7 +1427,7 @@ export declare interface ImageReference {
|
|
|
1427
1427
|
sku?: string;
|
|
1428
1428
|
/** A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'. */
|
|
1429
1429
|
version?: string;
|
|
1430
|
-
/** This property is mutually exclusive with other properties. The
|
|
1430
|
+
/** This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. */
|
|
1431
1431
|
id?: string;
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
@@ -1636,6 +1636,11 @@ export declare type LocationListSupportedVirtualMachineSkusResponse = SupportedS
|
|
|
1636
1636
|
/** Defines values for LoginMode. */
|
|
1637
1637
|
export declare type LoginMode = "Batch" | "Interactive";
|
|
1638
1638
|
|
|
1639
|
+
export declare interface ManagedDisk {
|
|
1640
|
+
/** The storage account type for use in creating data disks or OS disk. */
|
|
1641
|
+
storageAccountType?: StorageAccountType;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1639
1644
|
/** The Batch service does not assign any meaning to this metadata; it is solely for the use of user code. */
|
|
1640
1645
|
export declare interface MetadataItem {
|
|
1641
1646
|
/** The name of the metadata item. */
|
|
@@ -1779,6 +1784,13 @@ export declare type OperationsListResponse = OperationListResult;
|
|
|
1779
1784
|
export declare interface OSDisk {
|
|
1780
1785
|
/** Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. */
|
|
1781
1786
|
ephemeralOSDiskSettings?: DiffDiskSettings;
|
|
1787
|
+
/** The type of caching to enable for the disk. */
|
|
1788
|
+
caching?: CachingType;
|
|
1789
|
+
managedDisk?: ManagedDisk;
|
|
1790
|
+
/** The initial disk size in GB when creating new OS disk. */
|
|
1791
|
+
diskSizeGB?: number;
|
|
1792
|
+
/** Specifies whether writeAccelerator should be enabled or disabled on the disk. */
|
|
1793
|
+
writeAcceleratorEnabled?: boolean;
|
|
1782
1794
|
}
|
|
1783
1795
|
|
|
1784
1796
|
/** A collection of related endpoints from the same service for which the Batch service requires outbound access. */
|
|
@@ -1904,6 +1916,10 @@ export declare interface Pool extends ProxyResource {
|
|
|
1904
1916
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1905
1917
|
*/
|
|
1906
1918
|
readonly currentNodeCommunicationMode?: NodeCommunicationMode;
|
|
1919
|
+
/** 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'. */
|
|
1920
|
+
resourceTags?: {
|
|
1921
|
+
[propertyName: string]: string;
|
|
1922
|
+
};
|
|
1907
1923
|
}
|
|
1908
1924
|
|
|
1909
1925
|
/** Defines values for PoolAllocationMode. */
|
|
@@ -2475,6 +2491,22 @@ export declare interface ScaleSettings {
|
|
|
2475
2491
|
autoScale?: AutoScaleSettings;
|
|
2476
2492
|
}
|
|
2477
2493
|
|
|
2494
|
+
/** Specifies the security profile settings for the virtual machine or virtual machine scale set. */
|
|
2495
|
+
export declare interface SecurityProfile {
|
|
2496
|
+
/** Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. */
|
|
2497
|
+
securityType?: "trustedLaunch";
|
|
2498
|
+
/** 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. */
|
|
2499
|
+
encryptionAtHost?: boolean;
|
|
2500
|
+
/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. */
|
|
2501
|
+
uefiSettings?: UefiSettings;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
/** Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. */
|
|
2505
|
+
export declare interface ServiceArtifactReference {
|
|
2506
|
+
/** The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} */
|
|
2507
|
+
id: string;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2478
2510
|
/** A SKU capability, such as the number of cores. */
|
|
2479
2511
|
export declare interface SkuCapability {
|
|
2480
2512
|
/**
|
|
@@ -2499,7 +2531,7 @@ export declare interface StartTask {
|
|
|
2499
2531
|
environmentSettings?: EnvironmentSetting[];
|
|
2500
2532
|
/** If omitted, the task runs as a non-administrative user unique to the task. */
|
|
2501
2533
|
userIdentity?: UserIdentity;
|
|
2502
|
-
/** The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. */
|
|
2534
|
+
/** The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0 */
|
|
2503
2535
|
maxTaskRetryCount?: number;
|
|
2504
2536
|
/** If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true. */
|
|
2505
2537
|
waitForSuccess?: boolean;
|
|
@@ -2508,7 +2540,7 @@ export declare interface StartTask {
|
|
|
2508
2540
|
}
|
|
2509
2541
|
|
|
2510
2542
|
/** Defines values for StorageAccountType. */
|
|
2511
|
-
export declare type StorageAccountType = "Standard_LRS" | "Premium_LRS";
|
|
2543
|
+
export declare type StorageAccountType = "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS";
|
|
2512
2544
|
|
|
2513
2545
|
/** Describes a Batch supported SKU. */
|
|
2514
2546
|
export declare interface SupportedSku {
|
|
@@ -2558,6 +2590,14 @@ export declare interface TaskSchedulingPolicy {
|
|
|
2558
2590
|
nodeFillType: ComputeNodeFillType;
|
|
2559
2591
|
}
|
|
2560
2592
|
|
|
2593
|
+
/** Specifies the security settings like secure boot and vTPM used while creating the virtual machine. */
|
|
2594
|
+
export declare interface UefiSettings {
|
|
2595
|
+
/** Specifies whether secure boot should be enabled on the virtual machine. */
|
|
2596
|
+
secureBootEnabled?: boolean;
|
|
2597
|
+
/** Specifies whether vTPM should be enabled on the virtual machine. */
|
|
2598
|
+
vTpmEnabled?: boolean;
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2561
2601
|
/** Properties used to create a user on an Azure Batch node. */
|
|
2562
2602
|
export declare interface UserAccount {
|
|
2563
2603
|
/** The name of the user account. Names can contain any Unicode characters up to a maximum length of 20. */
|
|
@@ -2622,6 +2662,10 @@ export declare interface VirtualMachineConfiguration {
|
|
|
2622
2662
|
extensions?: VMExtension[];
|
|
2623
2663
|
/** Contains configuration for ephemeral OSDisk settings. */
|
|
2624
2664
|
osDisk?: OSDisk;
|
|
2665
|
+
/** Specifies the security profile settings for the virtual machine or virtual machine scale set. */
|
|
2666
|
+
securityProfile?: SecurityProfile;
|
|
2667
|
+
/** The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} */
|
|
2668
|
+
serviceArtifactReference?: ServiceArtifactReference;
|
|
2625
2669
|
}
|
|
2626
2670
|
|
|
2627
2671
|
/** A VM Family and its associated core quota for the Batch account. */
|