共用方式為


DataMaskingPolicy Constructors

Definition

Overloads

DataMaskingPolicy()

Initializes a new instance of the DataMaskingPolicy class.

DataMaskingPolicy(DataMaskingState, String, String, String, String, String, String, String, String)

Initializes a new instance of the DataMaskingPolicy class.

DataMaskingPolicy()

Initializes a new instance of the DataMaskingPolicy class.

public DataMaskingPolicy ();
Public Sub New ()

Applies to

DataMaskingPolicy(DataMaskingState, String, String, String, String, String, String, String, String)

Initializes a new instance of the DataMaskingPolicy class.

public DataMaskingPolicy (Microsoft.Azure.Management.Sql.Models.DataMaskingState dataMaskingState, string id = default, string name = default, string type = default, string exemptPrincipals = default, string applicationPrincipals = default, string maskingLevel = default, string location = default, string kind = default);
new Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy : Microsoft.Azure.Management.Sql.Models.DataMaskingState * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy
Public Sub New (dataMaskingState As DataMaskingState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional exemptPrincipals As String = Nothing, Optional applicationPrincipals As String = Nothing, Optional maskingLevel As String = Nothing, Optional location As String = Nothing, Optional kind As String = Nothing)

Parameters

dataMaskingState
DataMaskingState

The state of the data masking policy. Possible values include: 'Disabled', 'Enabled'

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

exemptPrincipals
String

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.

applicationPrincipals
String

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

maskingLevel
String

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

location
String

The location of the data masking policy.

kind
String

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

Applies to