DiskEncryptionSetType Class

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 DiskEncryptionSetType CONFIDENTIAL_VM_ENCRYPTED_WITH_CUSTOMER_KEY

Confidential VM supported disk and VM guest state would be encrypted with customer managed key.

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.

static final DiskEncryptionSetType ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS

Resource using diskEncryptionSet would be encrypted at rest with two layers of encryption.

Constructor Summary

Constructor Description
DiskEncryptionSetType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskEncryptionSetType value.

Method Summary

Modifier and Type Method and Description
static DiskEncryptionSetType fromString(String name)

Creates or finds a DiskEncryptionSetType from its string representation.

static Collection<DiskEncryptionSetType> values()

Gets known DiskEncryptionSetType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding DiskEncryptionSetType.

values

public static Collection<DiskEncryptionSetType> values()

Gets known DiskEncryptionSetType values.

Returns:

known DiskEncryptionSetType values.

Applies to