ISecurityAlertPolicyOperations.GetServerSecurityAlertPolicyAsync Method

Definition

Returns an Azure SQL Database security alert policy.

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

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server on which the database is hosted.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a get server security alert policy request.

Applies to