ConfidentialVMVersion Class

public final class ConfidentialVMVersion
extends ExpandableStringEnum<ConfidentialVMVersion>

Indicates the version of Confidential VM for the resource.

Field Summary

Modifier and Type Field and Description
static final ConfidentialVMVersion V1

V1 indicates the resource does not have an associated Virtual Machine Metadata.

static final ConfidentialVMVersion V2

V2 indicates the resource has an associated Virtual Machine Metadata.

Constructor Summary

Constructor Description
ConfidentialVMVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMVersion value.

Method Summary

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

Creates or finds a ConfidentialVMVersion from its string representation.

static Collection<ConfidentialVMVersion> values()

Gets known ConfidentialVMVersion values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

V1

public static final ConfidentialVMVersion V1

V1 indicates the resource does not have an associated Virtual Machine Metadata.

V2

public static final ConfidentialVMVersion V2

V2 indicates the resource has an associated Virtual Machine Metadata.

Constructor Details

ConfidentialVMVersion

@Deprecated
public ConfidentialVMVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMVersion value.

Method Details

fromString

public static ConfidentialVMVersion fromString(String name)

Creates or finds a ConfidentialVMVersion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConfidentialVMVersion.

values

public static Collection<ConfidentialVMVersion> values()

Gets known ConfidentialVMVersion values.

Returns:

known ConfidentialVMVersion values.

Applies to