SearchModelFactory.PurviewSensitivityLabelInfo Method

Definition

Information about the sensitivity label applied to a document.

public static Azure.Search.Documents.KnowledgeBases.Models.PurviewSensitivityLabelInfo PurviewSensitivityLabelInfo(string displayName = default, string sensitivityLabelId = default, string toolTip = default, int? priority = default, string color = default, bool? isEncrypted = default);
static member PurviewSensitivityLabelInfo : string * string * string * Nullable<int> * string * Nullable<bool> -> Azure.Search.Documents.KnowledgeBases.Models.PurviewSensitivityLabelInfo
Public Shared Function PurviewSensitivityLabelInfo (Optional displayName As String = Nothing, Optional sensitivityLabelId As String = Nothing, Optional toolTip As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional color As String = Nothing, Optional isEncrypted As Nullable(Of Boolean) = Nothing) As PurviewSensitivityLabelInfo

Parameters

displayName
String

The display name for the sensitivity label.

sensitivityLabelId
String

The ID of the sensitivity label.

toolTip
String

The tooltip that should be displayed for the label in a UI.

priority
Nullable<Int32>

The priority in which the sensitivity label is applied.

color
String

The color that the UI should display for the label, if configured.

isEncrypted
Nullable<Boolean>

Indicates whether the sensitivity label enforces encryption.

Returns

A new PurviewSensitivityLabelInfo instance for mocking.

Applies to