IDataMaskingOperations.GetRuleAsync Method (String, String, String, String, CancellationToken)

 

Applies To: Azure SQL Database

Returns an Azure SQL Database data masking rule.

Namespace:   Microsoft.Azure.Management.Sql
Assembly:  Microsoft.Azure.Management.Sql (in Microsoft.Azure.Management.Sql.dll)

Syntax

Task<DataMaskingRuleGetResponse> GetRuleAsync(
    string resourceGroupName,
    string serverName,
    string databaseName,
    string dataMaskingRule,
    CancellationToken cancellationToken
)
Task<DataMaskingRuleGetResponse^>^ GetRuleAsync(
    String^ resourceGroupName,
    String^ serverName,
    String^ databaseName,
    String^ dataMaskingRule,
    CancellationToken cancellationToken
)
abstract GetRuleAsync : 
        resourceGroupName:string *
        serverName:string *
        databaseName:string *
        dataMaskingRule:string *
        cancellationToken:CancellationToken -> Task<DataMaskingRuleGetResponse>
Function GetRuleAsync (
    resourceGroupName As String,
    serverName As String,
    databaseName As String,
    dataMaskingRule As String,
    cancellationToken As CancellationToken
) As Task(Of DataMaskingRuleGetResponse)

Parameters

  • resourceGroupName
    Type: System.String

    The name of the Resource Group to which the server belongs.

  • serverName
    Type: System.String

    The name of the Azure SQL Database Server on which the database is hosted.

  • databaseName
    Type: System.String

    The name of the Azure SQL Database for which the data masking rule applies.

  • dataMaskingRule
    Type: System.String

    The name of the Azure SQL Database data masking rule.

Return Value

Type: System.Threading.Tasks.Task<DataMaskingRuleGetResponse>

Represents the response to a data masking rule get request.

See Also

IDataMaskingOperations Interface
Microsoft.Azure.Management.Sql Namespace

Return to top