Share via


EnergyServiceCollection.GetAll(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.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EnergyServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to