ConfidentialVMEncryptionType Class

public final class ConfidentialVMEncryptionType
extends ExpandableStringEnum<ConfidentialVMEncryptionType>

confidential VM encryption types.

Field Summary

Modifier and Type Field and Description
static final ConfidentialVMEncryptionType DATA_DISK_ENCRYPTED_WITH_CMK

Confidential VM Encryption Type which should be used for encrypting the data disks with customer managed keys.

static final ConfidentialVMEncryptionType ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

Static value EncryptedVMGuestStateOnlyWithPmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType ENCRYPTED_WITH_CMK

Static value EncryptedWithCmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType ENCRYPTED_WITH_PMK

Static value EncryptedWithPmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType NON_PERSISTED_TPM

Static value NonPersistedTPM for ConfidentialVMEncryptionType.

Constructor Summary

Constructor Description
ConfidentialVMEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMEncryptionType value.

Method Summary

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

Creates or finds a ConfidentialVMEncryptionType from its string representation.

static Collection<ConfidentialVMEncryptionType> values()

Gets known ConfidentialVMEncryptionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DATA_DISK_ENCRYPTED_WITH_CMK

public static final ConfidentialVMEncryptionType DATA_DISK_ENCRYPTED_WITH_CMK

Confidential VM Encryption Type which should be used for encrypting the data disks with customer managed keys. This Encryption type should only be used for data disks, and should not be used for OS disk encryption. When this encryption type is used for data disk encryption.Subscriptions need to be enrolled for Confidential VM with data encryption through following AFEC - Microsoft.Compute/ConfidentialVMDataDiskEncryptionPreview.

ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

public static final ConfidentialVMEncryptionType ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

Static value EncryptedVMGuestStateOnlyWithPmk for ConfidentialVMEncryptionType.

ENCRYPTED_WITH_CMK

public static final ConfidentialVMEncryptionType ENCRYPTED_WITH_CMK

Static value EncryptedWithCmk for ConfidentialVMEncryptionType.

ENCRYPTED_WITH_PMK

public static final ConfidentialVMEncryptionType ENCRYPTED_WITH_PMK

Static value EncryptedWithPmk for ConfidentialVMEncryptionType.

NON_PERSISTED_TPM

public static final ConfidentialVMEncryptionType NON_PERSISTED_TPM

Static value NonPersistedTPM for ConfidentialVMEncryptionType.

Constructor Details

ConfidentialVMEncryptionType

@Deprecated
public ConfidentialVMEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMEncryptionType value.

Method Details

fromString

public static ConfidentialVMEncryptionType fromString(String name)

Creates or finds a ConfidentialVMEncryptionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConfidentialVMEncryptionType.

values

public static Collection<ConfidentialVMEncryptionType> values()

Gets known ConfidentialVMEncryptionType values.

Returns:

known ConfidentialVMEncryptionType values.

Applies to