DiskSecurityTypes Class

public final class DiskSecurityTypes
extends ExpandableStringEnum<DiskSecurityTypes>

Specifies the SecurityType of the VM. Applicable for OS disks only.

Field Summary

Modifier and Type Field and Description
static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_CUSTOMER_KEY

Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key.

static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key.

static final DiskSecurityTypes CONFIDENTIAL_VM_NON_PERSISTED_TPM

Indicates Confidential VM disk with a ephemeral vTPM.

static final DiskSecurityTypes CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

Indicates Confidential VM disk with only VM guest state encrypted.

static final DiskSecurityTypes TRUSTED_LAUNCH

Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM).

Constructor Summary

Constructor Description
DiskSecurityTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskSecurityTypes value.

Method Summary

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

Creates or finds a DiskSecurityTypes from its string representation.

static Collection<DiskSecurityTypes> values()

Gets known DiskSecurityTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_CUSTOMER_KEY

public static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_CUSTOMER_KEY

Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a customer managed key.

CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

public static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

Indicates Confidential VM disk with both OS disk and VM guest state encrypted with a platform managed key.

CONFIDENTIAL_VM_NON_PERSISTED_TPM

public static final DiskSecurityTypes CONFIDENTIAL_VM_NON_PERSISTED_TPM

Indicates Confidential VM disk with a ephemeral vTPM. vTPM state is not persisted across VM reboots.

CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

public static final DiskSecurityTypes CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

Indicates Confidential VM disk with only VM guest state encrypted.

TRUSTED_LAUNCH

public static final DiskSecurityTypes TRUSTED_LAUNCH

Trusted Launch provides security features such as secure boot and virtual Trusted Platform Module (vTPM).

Constructor Details

DiskSecurityTypes

@Deprecated
public DiskSecurityTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskSecurityTypes value.

Method Details

fromString

public static DiskSecurityTypes fromString(String name)

Creates or finds a DiskSecurityTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DiskSecurityTypes.

values

public static Collection<DiskSecurityTypes> values()

Gets known DiskSecurityTypes values.

Returns:

known DiskSecurityTypes values.

Applies to