Delen via


SensitivityLabel Class

Definition

The sensitivity label.

public class SensitivityLabel : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.SensitivityLabel>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.SensitivityLabel>
type SensitivityLabel = class
    interface IJsonModel<SensitivityLabel>
    interface IPersistableModel<SensitivityLabel>
Public Class SensitivityLabel
Implements IJsonModel(Of SensitivityLabel), IPersistableModel(Of SensitivityLabel)
Inheritance
SensitivityLabel
Implements

Constructors

SensitivityLabel()

Initializes a new instance of SensitivityLabel.

Properties

Description

The description of the sensitivity label.

DisplayName

The name of the sensitivity label.

IsEnabled

Indicates whether the label is enabled or not.

Order

The order of the sensitivity label.

Rank

The rank of the sensitivity label.

Explicit Interface Implementations

IJsonModel<SensitivityLabel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SensitivityLabel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SensitivityLabel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SensitivityLabel>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SensitivityLabel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to