Freigeben über


TenantResourceHealthEventResource.GetTenantResourceHealthEventImpactedResourceAsync Methode

Definition

Ruft die spezifische, von einem Ereignis betroffenen Ressource im Mandanten ab.

  • Request Path/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Vorgangs-IdImpactedResources_GetByTenantId
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))

Parameter

impactedResourceName
String

Name der betroffenen Ressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

impactedResourceName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

impactedResourceName ist NULL.

Gilt für: