Partager via


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

Static value ConfidentialVM_DiskEncryptedWithCustomerKey for DiskSecurityTypes.

static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

Static value ConfidentialVM_DiskEncryptedWithPlatformKey for DiskSecurityTypes.

static final DiskSecurityTypes CONFIDENTIAL_VM_NON_PERSISTED_TPM

Static value ConfidentialVM_NonPersistedTPM for DiskSecurityTypes.

static final DiskSecurityTypes CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

Static value ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey for DiskSecurityTypes.

static final DiskSecurityTypes TRUSTED_LAUNCH

Static value TrustedLaunch for DiskSecurityTypes.

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

Static value ConfidentialVM_DiskEncryptedWithCustomerKey for DiskSecurityTypes.

CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

public static final DiskSecurityTypes CONFIDENTIAL_VM_DISK_ENCRYPTED_WITH_PLATFORM_KEY

Static value ConfidentialVM_DiskEncryptedWithPlatformKey for DiskSecurityTypes.

CONFIDENTIAL_VM_NON_PERSISTED_TPM

public static final DiskSecurityTypes CONFIDENTIAL_VM_NON_PERSISTED_TPM

Static value ConfidentialVM_NonPersistedTPM for DiskSecurityTypes.

CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

public static final DiskSecurityTypes CONFIDENTIAL_VM_VMGUEST_STATE_ONLY_ENCRYPTED_WITH_PLATFORM_KEY

Static value ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey for DiskSecurityTypes.

TRUSTED_LAUNCH

public static final DiskSecurityTypes TRUSTED_LAUNCH

Static value TrustedLaunch for DiskSecurityTypes.

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 values()

Gets known DiskSecurityTypes values.

Returns:

known DiskSecurityTypes values.

Applies to