SecurityEncryptionTypes Class

public final class SecurityEncryptionTypes
extends ExpandableStringEnum<SecurityEncryptionTypes>

Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs.

Field Summary

Modifier and Type Field and Description
static final SecurityEncryptionTypes DISK_WITH_VMGUEST_STATE

Static value DiskWithVMGuestState for SecurityEncryptionTypes.

static final SecurityEncryptionTypes NON_PERSISTED_TPM

Static value NonPersistedTPM for SecurityEncryptionTypes.

static final SecurityEncryptionTypes VMGUEST_STATE_ONLY

Static value VMGuestStateOnly for SecurityEncryptionTypes.

Constructor Summary

Constructor Description
SecurityEncryptionTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityEncryptionTypes value.

Method Summary

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

Creates or finds a SecurityEncryptionTypes from its string representation.

static Collection<SecurityEncryptionTypes> values()

Gets known SecurityEncryptionTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISK_WITH_VMGUEST_STATE

public static final SecurityEncryptionTypes DISK_WITH_VMGUEST_STATE

Static value DiskWithVMGuestState for SecurityEncryptionTypes.

NON_PERSISTED_TPM

public static final SecurityEncryptionTypes NON_PERSISTED_TPM

Static value NonPersistedTPM for SecurityEncryptionTypes.

VMGUEST_STATE_ONLY

public static final SecurityEncryptionTypes VMGUEST_STATE_ONLY

Static value VMGuestStateOnly for SecurityEncryptionTypes.

Constructor Details

SecurityEncryptionTypes

@Deprecated
public SecurityEncryptionTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityEncryptionTypes value.

Method Details

fromString

public static SecurityEncryptionTypes fromString(String name)

Creates or finds a SecurityEncryptionTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityEncryptionTypes.

values

public static Collection values()

Gets known SecurityEncryptionTypes values.

Returns:

known SecurityEncryptionTypes values.

Applies to