Sdílet prostřednictvím


SupportedSecurityOption Class

public final class SupportedSecurityOption
extends ExpandableStringEnum<SupportedSecurityOption>

Refers to the security capability of the disk supported to create a Trusted launch or Confidential VM.

Field Summary

Modifier and Type Field and Description
static final SupportedSecurityOption TRUSTED_LAUNCH_AND_CONFIDENTIAL_VMSUPPORTED

Static value TrustedLaunchAndConfidentialVMSupported for SupportedSecurityOption.

static final SupportedSecurityOption TRUSTED_LAUNCH_SUPPORTED

Static value TrustedLaunchSupported for SupportedSecurityOption.

Constructor Summary

Constructor Description
SupportedSecurityOption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedSecurityOption value.

Method Summary

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

Creates or finds a SupportedSecurityOption from its string representation.

static Collection<SupportedSecurityOption> values()

Gets known SupportedSecurityOption values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TRUSTED_LAUNCH_AND_CONFIDENTIAL_VMSUPPORTED

public static final SupportedSecurityOption TRUSTED_LAUNCH_AND_CONFIDENTIAL_VMSUPPORTED

Static value TrustedLaunchAndConfidentialVMSupported for SupportedSecurityOption.

TRUSTED_LAUNCH_SUPPORTED

public static final SupportedSecurityOption TRUSTED_LAUNCH_SUPPORTED

Static value TrustedLaunchSupported for SupportedSecurityOption.

Constructor Details

SupportedSecurityOption

@Deprecated
public SupportedSecurityOption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedSecurityOption value.

Method Details

fromString

public static SupportedSecurityOption fromString(String name)

Creates or finds a SupportedSecurityOption from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SupportedSecurityOption.

values

public static Collection<SupportedSecurityOption> values()

Gets known SupportedSecurityOption values.

Returns:

known SupportedSecurityOption values.

Applies to