Share via


DataMaskingPoliciesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Sql pool data masking policy

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

Parameters

operations
IDataMaskingPoliciesOperations

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

parameters
DataMaskingPolicy

Parameters for creating or updating a data masking policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to