EnergyServiceCollection.GetAllAsync(CancellationToken) Method

Definition

Returns list of oep resources..

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • Operation Id: EnergyServices_ListByResourceGroup
public virtual Azure.AsyncPageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EnergyServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to