Class SecurityProfile
java.lang.Object
com.microsoft.azure.management.compute.SecurityProfile
Specifies the Security profile settings for the virtual machine or virtual
machine scale set.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get specifies the SecurityType of the virtual machine.Get specifies the security settings like secure boot and vTPM used while creating the virtual machine.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.withSecurityType
(SecurityTypes securityType) Set specifies the SecurityType of the virtual machine.withUefiSettings
(UefiSettings uefiSettings) Set specifies the security settings like secure boot and vTPM used while creating the virtual machine.
-
Constructor Details
-
SecurityProfile
public SecurityProfile()
-
-
Method Details
-
uefiSettings
Get specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Returns:
- the uefiSettings value
-
withUefiSettings
Set specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Parameters:
uefiSettings
- the uefiSettings value to set- Returns:
- the SecurityProfile object itself.
-
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. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource.- Returns:
- the encryptionAtHost value
-
withEncryptionAtHost
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. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource.- Parameters:
encryptionAtHost
- the encryptionAtHost value to set- Returns:
- the SecurityProfile object itself.
-
securityType
Get specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch. Possible values include: 'TrustedLaunch'.- Returns:
- the securityType value
-
withSecurityType
Set specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch. Possible values include: 'TrustedLaunch'.- Parameters:
securityType
- the securityType value to set- Returns:
- the SecurityProfile object itself.
-