SecurityAlertPolicyOperationsExtensions.GetServerSecurityAlertPolicyAsync Method

Definition

Returns an Azure SQL Database security alert policy.

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

Parameters

operations
ISecurityAlertPolicyOperations

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

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 server security alert policy request.

Applies to