SecurityProfile Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.SecurityProfile

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.

SecurityTypes securityType()

Get possible values include: 'trustedLaunch'.

UefiSettings uefiSettings()

Get specifies the security settings like secure boot and vTPM used while creating the virtual machine.

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.

SecurityProfile withSecurityType(SecurityTypes securityType)

Set possible values include: 'trustedLaunch'.

SecurityProfile 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.

Returns:

the encryptionAtHost value

securityType

public SecurityTypes securityType()

Get possible values include: 'trustedLaunch'.

Returns:

the securityType value

uefiSettings

public UefiSettings uefiSettings()

Get specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Returns:

the uefiSettings value

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.

Parameters:

encryptionAtHost - the encryptionAtHost value to set

Returns:

the SecurityProfile object itself.

withSecurityType

public SecurityProfile withSecurityType(SecurityTypes securityType)

Set possible values include: 'trustedLaunch'.

Parameters:

securityType - the securityType value to set

Returns:

the SecurityProfile object itself.

withUefiSettings

public SecurityProfile withUefiSettings(UefiSettings uefiSettings)

Set specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Parameters:

uefiSettings - the uefiSettings value to set

Returns:

the SecurityProfile object itself.

Applies to