Share via


ResourceHealthEventImpactedResourceCollection Class

Definition

A class representing a collection of ResourceHealthEventImpactedResource and their operations. Each ResourceHealthEventImpactedResource in the collection will belong to the same instance of ResourceHealthEventResource. To get a ResourceHealthEventImpactedResourceCollection instance call the GetResourceHealthEventImpactedResources method from an instance of ResourceHealthEventResource.

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

Constructors

ResourceHealthEventImpactedResourceCollection()

Initializes a new instance of the ResourceHealthEventImpactedResourceCollection 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: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

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

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

Lists impacted resources in the subscription by an event.

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

Lists impacted resources in the subscription by an event.

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

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

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}
  • Operation Id: ImpactedResources_Get
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<ResourceHealthEventImpactedResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceHealthEventImpactedResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to