DiskEncryptionConfiguration Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. 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 Azure Compute Gallery Image.
Constructor Summary
Constructor | Description | |
---|---|---|
DiskEncryptionConfiguration() |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Disk |
targets()
Get if omitted, no disks on the compute nodes in the pool will be encrypted. |
Disk |
withTargets(List<DiskEncryptionTarget> targets)
Set if omitted, no disks on the compute nodes in the pool will be encrypted. |
Methods inherited from java.lang.Object
Constructor Details
DiskEncryptionConfiguration
public DiskEncryptionConfiguration()
Method Details
targets
public List
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:
withTargets
public DiskEncryptionConfiguration withTargets(List
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for