Class DiskEncryptionSetType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DiskEncryptionSetType>
com.azure.resourcemanager.compute.models.DiskEncryptionSetType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DiskEncryptionSetType
extends com.azure.core.util.ExpandableStringEnum<DiskEncryptionSetType>
The type of key used to encrypt the data of the disk.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DiskEncryptionSetTypeConfidential VM supported disk and VM guest state would be encrypted with customer managed key.static final DiskEncryptionSetTypeResource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer.static final DiskEncryptionSetTypeResource using diskEncryptionSet would be encrypted at rest with two layers of encryption. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskEncryptionSetTypefromString(String name) Creates or finds a DiskEncryptionSetType from its string representation.static Collection<DiskEncryptionSetType> values()Gets known DiskEncryptionSetType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY
Resource using diskEncryptionSet would be encrypted at rest with Customer managed key that can be changed and revoked by a customer. -
ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS
Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other key is Platform managed. -
CONFIDENTIAL_VM_ENCRYPTED_WITH_CUSTOMER_KEY
Confidential VM supported disk and VM guest state would be encrypted with customer managed key.
-
-
Constructor Details
-
DiskEncryptionSetType
Deprecated.Use thefromString(String)factory method.Creates a new instance of DiskEncryptionSetType value.
-
-
Method Details
-
fromString
Creates or finds a DiskEncryptionSetType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DiskEncryptionSetType.
-
values
Gets known DiskEncryptionSetType values.- Returns:
- known DiskEncryptionSetType values.
-
fromString(String)factory method.