Compartilhar via


AlertsManagementExtensions.GetServiceAlert Método

Definição

Obter informações relacionadas a um alerta específico

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • Operação IdAlerts_GetById
public static Azure.Response<Azure.ResourceManager.AlertsManagement.ServiceAlertResource> GetServiceAlert (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Guid alertId, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceAlert : Azure.ResourceManager.Resources.SubscriptionResource * Guid * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.ServiceAlertResource>
<Extension()>
Public Function GetServiceAlert (subscriptionResource As SubscriptionResource, alertId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceAlertResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

alertId
Guid

ID exclusiva de uma instância de alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a