다음을 통해 공유


ResourceHealthMetadataEntityCollection Class

Definition

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

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

Constructors

ResourceHealthMetadataEntityCollection()

Initializes a new instance of the ResourceHealthMetadataEntityCollection 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/metadata/{name}
  • Operation Id: Metadata_GetEntity
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
Get(String, CancellationToken)

Gets the list of metadata entities.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
GetAll(CancellationToken)

Gets the list of metadata entities.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata
  • Operation Id: Metadata_List
GetAllAsync(CancellationToken)

Gets the list of metadata entities.

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

Gets the list of metadata entities.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
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<ResourceHealthMetadataEntityResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceHealthMetadataEntityResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to