IDataMaskingOperations.CreateOrUpdatePolicyAsync 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.
Creates or updates an Azure SQL Database data masking policy
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdatePolicyAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdatePolicyAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CreateOrUpdatePolicyAsync (resourceGroupName As String, serverName As String, databaseName As String, parameters As DataMaskingPolicyCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the server belongs.
- serverName
- String
The name of the Azure SQL Database Server on which the database is hosted.
- databaseName
- String
The name of the Azure SQL Database for which the data masking rule applies.
- parameters
- DataMaskingPolicyCreateOrUpdateParameters
The required parameters for createing or updating a firewall rule.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.