DataMaskingOperationsExtensions.CreateOrUpdateRuleAsync 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 Server Firewall rule.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateRuleAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations operations, string resourceGroupName, string serverName, string databaseName, string dataMaskingRule, Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingRuleCreateOrUpdateParameters parameters);
static member CreateOrUpdateRuleAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations * string * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingRuleCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateOrUpdateRuleAsync (operations As IDataMaskingOperations, resourceGroupName As String, serverName As String, databaseName As String, dataMaskingRule As String, parameters As DataMaskingRuleCreateOrUpdateParameters) 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.
- dataMaskingRule
- String
Required. The name of the Azure SQL Database data masking rule.
- parameters
- DataMaskingRuleCreateOrUpdateParameters
Required. The required parameters for createing or updating a data masking rule.
Returns
A standard service response including an HTTP status code and request ID.