BatchVmDiskSecurityProfile Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchVmDiskSecurityProfile
- com.
Implements
public final class BatchVmDiskSecurityProfile
implements JsonSerializable<BatchVmDiskSecurityProfile>
Specifies the security profile settings for the managed disk. **Note**: It can only be set for Confidential VMs and required when using Confidential VMs.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchVmDiskSecurityProfile() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Security |
getSecurityEncryptionType()
Get the security |
|
Batch |
setSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)
Set the security |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchVmDiskSecurityProfile
public BatchVmDiskSecurityProfile()
Creates an instance of BatchVmDiskSecurityProfile class.
Method Details
fromJson
public static BatchVmDiskSecurityProfile fromJson(JsonReader jsonReader)
Reads an instance of BatchVmDiskSecurityProfile from the JsonReader.
Parameters:
Returns:
Throws:
getSecurityEncryptionType
public SecurityEncryptionTypes getSecurityEncryptionType()
Get the securityEncryptionType property: Specifies the EncryptionType of the managed disk. It is set to 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 is required when using Confidential VMs.
Returns:
setSecurityEncryptionType
public BatchVmDiskSecurityProfile setSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)
Set the securityEncryptionType property: Specifies the EncryptionType of the managed disk. It is set to 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 is required when using Confidential VMs.
Parameters:
Returns: