ArmSqlModelFactory.DataMaskingPolicyData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Sql.DataMaskingPolicyData DataMaskingPolicyData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Sql.Models.DataMaskingState? dataMaskingState, string exemptPrincipals, string applicationPrincipals, string maskingLevel, Azure.Core.AzureLocation? location, string kind);
static member DataMaskingPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.DataMaskingState> * string * string * string * Nullable<Azure.Core.AzureLocation> * string -> Azure.ResourceManager.Sql.DataMaskingPolicyData
Public Shared Function DataMaskingPolicyData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, dataMaskingState As Nullable(Of DataMaskingState), exemptPrincipals As String, applicationPrincipals As String, maskingLevel As String, location As Nullable(Of AzureLocation), kind As String) As DataMaskingPolicyData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- location
- Nullable<AzureLocation>
The location of the data masking policy.
- kind
- String
The kind of Data Masking Policy. Metadata, used for Azure portal.
Returns
A new DataMaskingPolicyData instance for mocking.