DiskEncryptionSetType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiskEncryptionSetType
- com.
- com.
public final class DiskEncryptionSetType
extends ExpandableStringEnum<DiskEncryptionSetType>
The type of key used to encrypt the data of the disk.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Disk |
CONFIDENTIAL_VM_ENCRYPTED_WITH_CUSTOMER_KEY
Confidential VM supported disk and VM guest state would be encrypted with customer managed key. |
|
static final
Disk |
ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY
Resource using disk |
|
static final
Disk |
ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS
Resource using disk |
Constructor Summary
| Constructor | Description |
|---|---|
| DiskEncryptionSetType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Disk |
fromString(String name)
Creates or finds a Disk |
|
static
Collection<Disk |
values()
Gets known Disk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONFIDENTIAL_VM_ENCRYPTED_WITH_CUSTOMER_KEY
public static final DiskEncryptionSetType CONFIDENTIAL_VM_ENCRYPTED_WITH_CUSTOMER_KEY
Confidential VM supported disk and VM guest state would be encrypted with customer managed key.
ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY
public static final DiskEncryptionSetType 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
public static final DiskEncryptionSetType 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.
Constructor Details
DiskEncryptionSetType
@Deprecated
public DiskEncryptionSetType()
Deprecated
Creates a new instance of DiskEncryptionSetType value.
Method Details
fromString
public static DiskEncryptionSetType fromString(String name)
Creates or finds a DiskEncryptionSetType from its string representation.
Parameters:
Returns:
values
public static Collection<DiskEncryptionSetType> values()
Gets known DiskEncryptionSetType values.
Returns: