Compartilhar via


TenantResourceHealthEventResource.GetTenantResourceHealthEventImpactedResourceAsync Método

Definição

Obtém o recurso afetado específico no locatário por um evento.

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

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 era esperado que não estivesse vazio.

impactedResourceName é nulo.

Aplica-se a