DataMaskingOperationsExtensions.GetPolicy Method

Definition

Returns an Azure SQL Database data masking policy.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyGetResponse GetPolicy (this Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations operations, string resourceGroupName, string serverName, string databaseName);
static member GetPolicy : Microsoft.Azure.Management.Sql.LegacySdk.IDataMaskingOperations * string * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.DataMaskingPolicyGetResponse
<Extension()>
Public Function GetPolicy (operations As IDataMaskingOperations, resourceGroupName As String, serverName As String, databaseName As String) As 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