ConfidentialVMVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. ConfidentialVMVersion
- com.
- com.
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
Confidential |
V1
V1 indicates the resource does not have an associated Virtual Machine Metadata. |
|
static final
Confidential |
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 Confidential |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Confidential |
fromString(String name)
Creates or finds a Confidential |
|
static
Collection<Confidential |
values()
Gets known Confidential |
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
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:
Returns:
values
public static Collection<ConfidentialVMVersion> values()
Gets known ConfidentialVMVersion values.
Returns: