Sdílet prostřednictvím


ArmSqlModelFactory.DataMaskingPolicyData Method

Definition

Initializes a new instance of DataMaskingPolicyData.

public static Azure.ResourceManager.Sql.DataMaskingPolicyData DataMaskingPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string kind = default, Azure.ResourceManager.Sql.Models.DataMaskingState? dataMaskingState = default, string exemptPrincipals = default, string applicationPrincipals = default, string maskingLevel = default);
static member DataMaskingPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ResourceManager.Sql.Models.DataMaskingState> * string * string * string -> Azure.ResourceManager.Sql.DataMaskingPolicyData
Public Shared Function DataMaskingPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional kind As String = Nothing, Optional dataMaskingState As Nullable(Of DataMaskingState) = Nothing, Optional exemptPrincipals As String = Nothing, Optional applicationPrincipals As String = Nothing, Optional maskingLevel As String = Nothing) As DataMaskingPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The location of the data masking policy.

kind
String

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

dataMaskingState
Nullable<DataMaskingState>

The state of the data masking policy.

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.

Returns

A new DataMaskingPolicyData instance for mocking.

Applies to