Package com.azure.compute.batch.models
Class DiskEncryptionTarget
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DiskEncryptionTarget>
com.azure.compute.batch.models.DiskEncryptionTarget
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DiskEncryptionTarget
extends com.azure.core.util.ExpandableStringEnum<DiskEncryptionTarget>
DiskEncryptionTarget enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DiskEncryptionTarget
The OS Disk on the compute node is encrypted.static final DiskEncryptionTarget
The temporary disk on the compute node is encrypted. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskEncryptionTarget
fromString
(String name) Creates or finds a DiskEncryptionTarget from its string representation.static Collection
<DiskEncryptionTarget> values()
Gets known DiskEncryptionTarget values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
OS_DISK
The OS Disk on the compute node is encrypted. -
TEMPORARY_DISK
The temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
-
-
Constructor Details
-
DiskEncryptionTarget
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DiskEncryptionTarget value.
-
-
Method Details
-
fromString
Creates or finds a DiskEncryptionTarget from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DiskEncryptionTarget.
-
values
Gets known DiskEncryptionTarget values.- Returns:
- known DiskEncryptionTarget values.
-
fromString(String)
factory method.