Partilhar via


EnergyServicesExtensions.GetEnergyServices Método

Definição

Sobrecargas

GetEnergyServices(ResourceGroupResource)

Obtém uma coleção de EnergyServiceResources no ResourceGroupResource.

GetEnergyServices(SubscriptionResource, CancellationToken)

Lista uma coleção de recursos oep na ID de assinatura do Azure fornecida.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • IdEnergyServices_ListBySubscription de operação

GetEnergyServices(ResourceGroupResource)

Obtém uma coleção de EnergyServiceResources no ResourceGroupResource.

public static Azure.ResourceManager.EnergyServices.EnergyServiceCollection GetEnergyServices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetEnergyServices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.EnergyServices.EnergyServiceCollection
<Extension()>
Public Function GetEnergyServices (resourceGroupResource As ResourceGroupResource) As EnergyServiceCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

Retornos

Um objeto que representa a coleção de EnergyServiceResources e suas operações em um EnergyServiceResource.

Aplica-se a

GetEnergyServices(SubscriptionResource, CancellationToken)

Lista uma coleção de recursos oep na ID de assinatura do Azure fornecida.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • IdEnergyServices_ListBySubscription de operação
public static Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource> GetEnergyServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetEnergyServices : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EnergyServices.EnergyServiceResource>
<Extension()>
Public Function GetEnergyServices (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EnergyServiceResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de EnergyServiceResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a