DiskEncryptionConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.DiskEncryptionConfiguration

public final 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.

Constructor Summary

Constructor Description
DiskEncryptionConfiguration()

Method Summary

Modifier and Type Method and Description
List<DiskEncryptionTarget> 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.

void validate()

Validates the instance.

DiskEncryptionConfiguration 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.

Methods inherited from java.lang.Object

Constructor Details

DiskEncryptionConfiguration

public DiskEncryptionConfiguration()

Method Details

targets

public List 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.

validate

public void validate()

Validates the instance.

withTargets

public DiskEncryptionConfiguration withTargets(List 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.

Parameters:

targets - the targets value to set.

Returns:

the DiskEncryptionConfiguration object itself.

Applies to