Udostępnij za pośrednictwem


SecurityProfile Constructors

Definition

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.

encryptionAtHost
Nullable<Boolean>

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.

Applies to