DataMaskingOperationsExtensions.GetPolicyAsync 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.
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.