Partilhar via


PostgreSqlServerSecurityAlertPolicyCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdServerSecurityAlertPolicies_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (securityAlertPolicyName As PostgreSqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

securityAlertPolicyName
PostgreSqlSecurityAlertPolicyName

O nome da política de alerta de segurança.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a