SecurityProfile Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SecurityProfile() |
Initializes a new instance of the SecurityProfile class. |
SecurityProfile(Nullable<SecurityTypes>, Nullable<Boolean>, UefiSettings) |
Initializes a new instance of the SecurityProfile class. |
SecurityProfile()
- Source:
- SecurityProfile.cs
Initializes a new instance of the SecurityProfile class.
public SecurityProfile ();
Public Sub New ()
Applies to
SecurityProfile(Nullable<SecurityTypes>, Nullable<Boolean>, UefiSettings)
- Source:
- SecurityProfile.cs
Initializes a new instance of the SecurityProfile class.
public SecurityProfile (Microsoft.Azure.Batch.Protocol.Models.SecurityTypes? securityType = default, bool? encryptionAtHost = default, Microsoft.Azure.Batch.Protocol.Models.UefiSettings uefiSettings = default);
new Microsoft.Azure.Batch.Protocol.Models.SecurityProfile : Nullable<Microsoft.Azure.Batch.Protocol.Models.SecurityTypes> * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.UefiSettings -> Microsoft.Azure.Batch.Protocol.Models.SecurityProfile
Public Sub New (Optional securityType As Nullable(Of SecurityTypes) = Nothing, Optional encryptionAtHost As Nullable(Of Boolean) = Nothing, Optional uefiSettings As UefiSettings = Nothing)
Parameters
- securityType
- Nullable<SecurityTypes>
Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
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://learn.microsoft.com/azure/virtual-machines/disk-encryption#supported-vm-sizes.
- uefiSettings
- UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.