DataMaskingPolicyResource.CreateOrUpdateDataMaskingRule 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 a database data masking rule.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}
- Operation Id: DataMaskingRules_CreateOrUpdate
- Default Api Version: 2014-04-01
public virtual Azure.Response<Azure.ResourceManager.Sql.Models.DataMaskingRule> CreateOrUpdateDataMaskingRule (string dataMaskingRuleName, Azure.ResourceManager.Sql.Models.DataMaskingRule dataMaskingRule, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateDataMaskingRule : string * Azure.ResourceManager.Sql.Models.DataMaskingRule * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.Models.DataMaskingRule>
override this.CreateOrUpdateDataMaskingRule : string * Azure.ResourceManager.Sql.Models.DataMaskingRule * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.Models.DataMaskingRule>
Public Overridable Function CreateOrUpdateDataMaskingRule (dataMaskingRuleName As String, dataMaskingRule As DataMaskingRule, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataMaskingRule)
Parameters
- dataMaskingRuleName
- String
The name of the data masking rule.
- dataMaskingRule
- DataMaskingRule
The required parameters for creating or updating a data masking rule.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
dataMaskingRuleName
is an empty string, and was expected to be non-empty.
dataMaskingRuleName
or dataMaskingRule
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET