Partager via


SensitivityLabel Constructors

Definition

Overloads

SensitivityLabel()

Initializes a new instance of the SensitivityLabel class.

SensitivityLabel(String, String, Nullable<Rank>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the SensitivityLabel class.

SensitivityLabel()

Initializes a new instance of the SensitivityLabel class.

public SensitivityLabel ();
Public Sub New ()

Applies to

SensitivityLabel(String, String, Nullable<Rank>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the SensitivityLabel class.

public SensitivityLabel (string displayName = default, string description = default, Microsoft.Azure.Management.Security.Models.Rank? rank = default, int? order = default, bool? enabled = default);
new Microsoft.Azure.Management.Security.Models.SensitivityLabel : string * string * Nullable<Microsoft.Azure.Management.Security.Models.Rank> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.Security.Models.SensitivityLabel
Public Sub New (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional rank As Nullable(Of Rank) = Nothing, Optional order As Nullable(Of Integer) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)

Parameters

displayName
String

The name of the sensitivity label.

description
String

The description of the sensitivity label.

rank
Nullable<Rank>

The rank of the sensitivity label. Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical'

order
Nullable<Int32>

The order of the sensitivity label.

enabled
Nullable<Boolean>

Indicates whether the label is enabled or not.

Applies to