Class DiskEncryptionConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.DiskEncryptionConfiguration
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.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiskEncryptionConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptiontargets()Get the targets property: The list of disk targets Batch Service will encrypt on the compute node On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.voidvalidate()Validates the instance.withTargets(List<DiskEncryptionTarget> targets) Set the targets property: The list of disk targets Batch Service will encrypt on the compute node On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
-
Constructor Details
-
DiskEncryptionConfiguration
public DiskEncryptionConfiguration()Creates an instance of DiskEncryptionConfiguration class.
-
-
Method Details
-
targets
Get the targets property: The list of disk targets Batch Service will encrypt on the compute node On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.- Returns:
- the targets value.
-
withTargets
Set the targets property: The list of disk targets Batch Service will encrypt on the compute node On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.- Parameters:
targets- the targets value to set.- Returns:
- the DiskEncryptionConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-