Compartilhar via


SubscriptionSecurityAlertResource.GetAsync(CancellationToken) Método

Definição

Obter um alerta associado a uma assinatura

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • IdAlerts_GetSubscriptionLevel de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionSecurityAlertResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a