Class DiskEncryptionConfiguration
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.DiskEncryptionConfiguration
-
public class DiskEncryptionConfiguration extends Object
The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Shared Image Gallery Image.
-
-
Constructor Summary
Constructors Constructor Description DiskEncryptionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DiskEncryptionTarget>
targets()
Get if omitted, no disks on the compute nodes in the pool will be encrypted.DiskEncryptionConfiguration
withTargets(List<DiskEncryptionTarget> targets)
Set if omitted, no disks on the compute nodes in the pool will be encrypted.
-
-
-
Method Detail
-
targets
public List<DiskEncryptionTarget> targets()
Get if omitted, no disks on the compute nodes in the pool will be encrypted. On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.- Returns:
- the targets value
-
withTargets
public DiskEncryptionConfiguration withTargets(List<DiskEncryptionTarget> targets)
Set if omitted, no disks on the compute nodes in the pool will be encrypted. 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.
-
-