DataMaskingOperationsExtensions.CreateOrUpdatePolicyAsync Method

Definition

Creates or updates an Azure SQL Database data masking policy

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdatePolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyCreateOrUpdateParameters parameters);
static member CreateOrUpdatePolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateOrUpdatePolicyAsync (operations As IDataMaskingOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As DataMaskingPolicyCreateOrUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IDataMaskingOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database for which the data masking rule applies.

parameters
DataMaskingPolicyCreateOrUpdateParameters

Required. The required parameters for createing or updating a firewall rule.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to