SecurityEncryptionTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. batch. 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 and required when using Confidential VMs.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Security |
DISK_WITH_VMGUEST_STATE
Encryption |
|
static final
Security |
NON_PERSISTED_TPM
Encryption |
|
static final
Security |
VMGUEST_STATE_ONLY
Encryption |
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
EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob. It is not supported in data disks.
NON_PERSISTED_TPM
public static final SecurityEncryptionTypes NON_PERSISTED_TPM
EncryptionType of the managed disk is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob.
VMGUEST_STATE_ONLY
public static final SecurityEncryptionTypes VMGUEST_STATE_ONLY
EncryptionType of the managed disk is set to VMGuestStateOnly for encryption of just the VMGuestState blob.
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<SecurityEncryptionTypes> values()
Gets known SecurityEncryptionTypes values.
Returns: