Compartilhar via


ServerSecurityAlertPoliciesOperationsExtensions.ListByServerAsync Método

Definição

Obtenha as políticas de detecção de ameaças do servidor.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.ServerSecurityAlertPolicy>> ListByServerAsync (this Microsoft.Azure.Management.MySQL.IServerSecurityAlertPoliciesOperations operations, string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.MySQL.IServerSecurityAlertPoliciesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.ServerSecurityAlertPolicy>>
<Extension()>
Public Function ListByServerAsync (operations As IServerSecurityAlertPoliciesOperations, resourceGroupName As String, serverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ServerSecurityAlertPolicy))

Parâmetros

operations
IServerSecurityAlertPoliciesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

serverName
String

O nome do servidor.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a