Share via


MockableEnergyServicesSubscriptionResource.GetEnergyServices Method

Definition

Lists a collection of oep resources under the given Azure Subscription ID.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • Operation Id: EnergyServices_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource> GetEnergyServices (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnergyServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
override this.GetEnergyServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
Public Overridable Function GetEnergyServices (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