VMDiskSecurityProfile Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. VMDiskSecurityProfile
- com.
public class VMDiskSecurityProfile
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 | |
---|---|---|
VMDiskSecurityProfile() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Security |
securityEncryptionType()
Get possible values include: 'Non |
VMDisk |
withSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)
Set possible values include: 'Non |
Methods inherited from java.lang.Object
Constructor Details
VMDiskSecurityProfile
public VMDiskSecurityProfile()
Method Details
securityEncryptionType
public SecurityEncryptionTypes securityEncryptionType()
Get possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.
Returns:
withSecurityEncryptionType
public VMDiskSecurityProfile withSecurityEncryptionType(SecurityEncryptionTypes securityEncryptionType)
Set possible values include: 'NonPersistedTPM', 'VMGuestStateOnly'.
Parameters:
Returns:
Applies to
Azure SDK for Java