DiskEncryptionConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. batch. DiskEncryptionConfiguration
- com.
public class 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 Shared Image Gallery Image.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Disk |
targets()
Get on Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified. |
Disk |
withTargets(List<DiskEncryptionTarget> targets)
Set on Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified. |
Method Details
targets
public List
Get on Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
Returns:
withTargets
public DiskEncryptionConfiguration withTargets(List
Set on Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
Parameters:
Returns:
Applies to
Azure SDK for Java