Udostępnij za pośrednictwem


EnergyServicesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.EnergyServices.

public static class EnergyServicesExtensions
type EnergyServicesExtensions = class
Public Module EnergyServicesExtensions
Inheritance
EnergyServicesExtensions

Methods

CheckNameAvailabilityLocation(SubscriptionResource, EnergyServiceNameAvailabilityContent, CancellationToken)

Checks the name availability of the resource with requested resource name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability
  • Operation Id: Locations_CheckNameAvailability
CheckNameAvailabilityLocationAsync(SubscriptionResource, EnergyServiceNameAvailabilityContent, CancellationToken)

Checks the name availability of the resource with requested resource name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability
  • Operation Id: Locations_CheckNameAvailability
GetEnergyService(ResourceGroupResource, String, CancellationToken)

Returns oep resource for a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}
  • Operation Id: EnergyServices_Get
GetEnergyServiceAsync(ResourceGroupResource, String, CancellationToken)

Returns oep resource for a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}
  • Operation Id: EnergyServices_Get
GetEnergyServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing an EnergyServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an EnergyServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEnergyServiceResource(ResourceIdentifier) instead.

GetEnergyServices(ResourceGroupResource)

Gets a collection of EnergyServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEnergyServices() instead.

GetEnergyServices(SubscriptionResource, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • Operation Id: EnergyServices_ListBySubscription
GetEnergyServicesAsync(SubscriptionResource, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • Operation Id: EnergyServices_ListBySubscription

Applies to