DataMaskingPolicyResource.GetDataMaskingRulesAsync(CancellationToken) 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.
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.AsyncPageable<Azure.ResourceManager.Sql.Models.DataMaskingRule> GetDataMaskingRulesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataMaskingRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.DataMaskingRule>
override this.GetDataMaskingRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.DataMaskingRule>
Public Overridable Function GetDataMaskingRulesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataMaskingRule)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of DataMaskingRule that may take multiple service requests to iterate over.