Share via


HealthModelEntityCollection.GetAllAsync Method

Definition

List Entity resources by HealthModel

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities
  • Operation Id: Entity_ListByHealthModel
  • Default Api Version: 2025-05-01-preview
  • Resource: HealthModelEntityResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CloudHealth.HealthModelEntityResource> GetAllAsync(DateTimeOffset? timestamp = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<DateTimeOffset> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CloudHealth.HealthModelEntityResource>
override this.GetAllAsync : Nullable<DateTimeOffset> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CloudHealth.HealthModelEntityResource>
Public Overridable Function GetAllAsync (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HealthModelEntityResource)

Parameters

timestamp
Nullable<DateTimeOffset>

Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of HealthModelEntityResource that may take multiple service requests to iterate over.

Applies to