Partilhar via


ResourceHealthEventResource.GetResourceHealthEventImpactedResourceAsync Método

Definição

Obtém o recurso afetado específico na assinatura por um evento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operação IdImpactedResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResource>> GetResourceHealthEventImpactedResourceAsync (string impactedResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceHealthEventImpactedResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResource>>
override this.GetResourceHealthEventImpactedResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResource>>
Public Overridable Function GetResourceHealthEventImpactedResourceAsync (impactedResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceHealthEventImpactedResource))

Parâmetros

impactedResourceName
String

Nome do Recurso Afetado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

impactedResourceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

impactedResourceName é nulo.

Aplica-se a