SecurityProfile Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. SecurityProfile
- com.
public class SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
Constructor Summary
Constructor | Description | |
---|---|---|
SecurityProfile() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
encryptionAtHost()
Get this property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. |
Security |
securityType()
Get possible values include: 'trusted |
Uefi |
uefiSettings()
Get specifies the security settings like secure boot and vTPM used while creating the virtual machine. |
Security |
withEncryptionAtHost(Boolean encryptionAtHost)
Set this property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. |
Security |
withSecurityType(SecurityTypes securityType)
Set possible values include: 'trusted |
Security |
withUefiSettings(UefiSettings uefiSettings)
Set specifies the security settings like secure boot and vTPM used while creating the virtual machine. |
Methods inherited from java.lang.Object
Constructor Details
SecurityProfile
public SecurityProfile()
Method Details
encryptionAtHost
public Boolean encryptionAtHost()
Get this property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. For more information on encryption at host requirements, please refer to https://video2.skills-academy.com/azure/virtual-machines/disk-encryption\#supported-vm-sizes.
Returns:
securityType
public SecurityTypes securityType()
Get possible values include: 'trustedLaunch', 'confidentialVM'.
Returns:
uefiSettings
public UefiSettings uefiSettings()
Get specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Returns:
withEncryptionAtHost
public SecurityProfile withEncryptionAtHost(Boolean encryptionAtHost)
Set this property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. For more information on encryption at host requirements, please refer to https://video2.skills-academy.com/azure/virtual-machines/disk-encryption\#supported-vm-sizes.
Parameters:
Returns:
withSecurityType
public SecurityProfile withSecurityType(SecurityTypes securityType)
Set possible values include: 'trustedLaunch', 'confidentialVM'.
Parameters:
Returns:
withUefiSettings
public SecurityProfile withUefiSettings(UefiSettings uefiSettings)
Set specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java