DataMaskingPolicyResource.GetDataMaskingRules(CancellationToken) Method

Definition

Gets a list of database data masking rules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules
  • Operation Id: DataMaskingRules_List
  • Default Api Version: 2014-04-01
public virtual Azure.Pageable<Azure.ResourceManager.Sql.Models.DataMaskingRule> GetDataMaskingRules (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataMaskingRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DataMaskingRule>
override this.GetDataMaskingRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.DataMaskingRule>
Public Overridable Function GetDataMaskingRules (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataMaskingRule)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DataMaskingRule that may take multiple service requests to iterate over.

Applies to