DataMaskingRulesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Sql pool data masking rule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.DataMaskingRule> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.IDataMaskingRulesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName, Microsoft.Azure.Management.Synapse.Models.DataMaskingRule parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.IDataMaskingRulesOperations * string * string * string * string * Microsoft.Azure.Management.Synapse.Models.DataMaskingRule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.DataMaskingRule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDataMaskingRulesOperations, resourceGroupName As String, workspaceName As String, sqlPoolName As String, dataMaskingRuleName As String, parameters As DataMaskingRule, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataMaskingRule)

Parameters

operations
IDataMaskingRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

sqlPoolName
String

SQL pool name

dataMaskingRuleName
String

The name of the data masking rule.

parameters
DataMaskingRule

The required parameters for creating or updating a data masking rule.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to