Share via


TenantResourceHealthEventCollection Class

Definition

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

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

Constructors

TenantResourceHealthEventCollection()

Initializes a new instance of the TenantResourceHealthEventCollection 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, String, String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Service health event in the tenant by event tracking id

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

Lists current service health events in the tenant.

  • Request Path: /providers/Microsoft.ResourceHealth/events
  • Operation Id: Events_ListByTenantId
GetAllAsync(String, String, CancellationToken)

Lists current service health events in the tenant.

  • Request Path: /providers/Microsoft.ResourceHealth/events
  • Operation Id: Events_ListByTenantId
GetAsync(String, String, String, CancellationToken)

Service health event in the tenant by event tracking id

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • Operation Id: Event_GetByTenantIdAndTrackingId
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<TenantResourceHealthEventResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TenantResourceHealthEventResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to