SecurityEncryptionTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. SecurityEncryptionTypes
- com.
- com.
public final class SecurityEncryptionTypes
extends ExpandableStringEnum<SecurityEncryptionTypes>
Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Security |
DISK_WITH_VMGUEST_STATE
Static value Disk |
static final
Security |
NON_PERSISTED_TPM
Static value Non |
static final
Security |
VMGUEST_STATE_ONLY
Static value VMGuest |
Constructor Summary
Constructor | Description |
---|---|
SecurityEncryptionTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Security |
fromString(String name)
Creates or finds a Security |
static
Collection<Security |
values()
Gets known Security |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISK_WITH_VMGUEST_STATE
public static final SecurityEncryptionTypes DISK_WITH_VMGUEST_STATE
Static value DiskWithVMGuestState for SecurityEncryptionTypes.
NON_PERSISTED_TPM
public static final SecurityEncryptionTypes NON_PERSISTED_TPM
Static value NonPersistedTPM for SecurityEncryptionTypes.
VMGUEST_STATE_ONLY
public static final SecurityEncryptionTypes VMGUEST_STATE_ONLY
Static value VMGuestStateOnly for SecurityEncryptionTypes.
Constructor Details
SecurityEncryptionTypes
@Deprecated
public SecurityEncryptionTypes()
Deprecated
Creates a new instance of SecurityEncryptionTypes value.
Method Details
fromString
public static SecurityEncryptionTypes fromString(String name)
Creates or finds a SecurityEncryptionTypes from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SecurityEncryptionTypes values.
Returns:
Applies to
Azure SDK for Java