HealthModelEntityCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.