Share via


DataMaskingOperationsExtensions.GetPolicyAsync Method

Definition

Returns an Azure SQL Database data masking policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyGetResponse> GetPolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations operations, string resourceGroupName, string serverName, string databaseName);
static member GetPolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyGetResponse>
<Extension()>
Public Function GetPolicyAsync (operations As IDataMaskingOperations, resourceGroupName As String, serverName As String, databaseName As String) As Task(Of DataMaskingPolicyGetResponse)

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 policy applies.

Returns

Represents the response to a data masking policy get request.

Applies to