BlobAuditingOperationsExtensions.GetServerPolicyAsync Method

Definition

Returns an Azure SQL Database server blob auditing policy.

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

Parameters

operations
IBlobAuditingOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations.

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.

Returns

Represents the response to a get request for Azure SQL server or database blob auditing policy.

Applies to