Share via


TenantResourceHealthEventImpactedResourceCollection Class

Definition

A class representing a collection of TenantResourceHealthEventImpactedResource and their operations. Each TenantResourceHealthEventImpactedResource in the collection will belong to the same instance of TenantResourceHealthEventResource. To get a TenantResourceHealthEventImpactedResourceCollection instance call the GetTenantResourceHealthEventImpactedResources method from an instance of TenantResourceHealthEventResource.

public class TenantResourceHealthEventImpactedResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ResourceHealth.TenantResourceHealthEventImpactedResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.TenantResourceHealthEventImpactedResource>
type TenantResourceHealthEventImpactedResourceCollection = class
    inherit ArmCollection
    interface seq<TenantResourceHealthEventImpactedResource>
    interface IEnumerable
    interface IAsyncEnumerable<TenantResourceHealthEventImpactedResource>
Public Class TenantResourceHealthEventImpactedResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of TenantResourceHealthEventImpactedResource), IEnumerable(Of TenantResourceHealthEventImpactedResource)
Inheritance
TenantResourceHealthEventImpactedResourceCollection
Implements

Constructors

TenantResourceHealthEventImpactedResourceCollection()

Initializes a new instance of the TenantResourceHealthEventImpactedResourceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
Get(String, CancellationToken)

Gets the specific impacted resource in the tenant by an event.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
GetAll(String, CancellationToken)

Lists impacted resources in the tenant by an event.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources
  • Operation Id: ImpactedResources_ListByTenantIdAndEventId
GetAllAsync(String, CancellationToken)

Lists impacted resources in the tenant by an event.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources
  • Operation Id: ImpactedResources_ListByTenantIdAndEventId
GetAsync(String, CancellationToken)

Gets the specific impacted resource in the tenant by an event.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_GetByTenantId
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<TenantResourceHealthEventImpactedResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TenantResourceHealthEventImpactedResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to