共用方式為


DataMaskingPolicyData Class

Definition

A class representing the DataMaskingPolicy data model. Represents a database data masking policy.

public class DataMaskingPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.DataMaskingPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.DataMaskingPolicyData>
type DataMaskingPolicyData = class
    inherit ResourceData
    interface IJsonModel<DataMaskingPolicyData>
    interface IPersistableModel<DataMaskingPolicyData>
Public Class DataMaskingPolicyData
Inherits ResourceData
Implements IJsonModel(Of DataMaskingPolicyData), IPersistableModel(Of DataMaskingPolicyData)
Inheritance
DataMaskingPolicyData
Implements

Constructors

DataMaskingPolicyData()

Initializes a new instance of DataMaskingPolicyData.

Properties

ApplicationPrincipals

The list of the application principals. This is a legacy parameter and is no longer used.

DataMaskingState

The state of the data masking policy.

ExemptPrincipals

The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

The kind of data masking policy. Metadata, used for Azure portal.

Location

The location of the data masking policy.

MaskingLevel

The masking level. This is a legacy parameter and is no longer used.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<DataMaskingPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMaskingPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMaskingPolicyData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMaskingPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMaskingPolicyData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to