你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnergyServicesExtensions 类

定义

用于将扩展方法添加到 Azure.ResourceManager.EnergyServices 的类。

public static class EnergyServicesExtensions
type EnergyServicesExtensions = class
Public Module EnergyServicesExtensions
继承
EnergyServicesExtensions

方法

CheckNameAvailabilityLocation(SubscriptionResource, EnergyServiceNameAvailabilityContent, CancellationToken)

使用请求的资源名称检查资源的名称可用性。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability
  • 操作IdLocations_CheckNameAvailability
CheckNameAvailabilityLocationAsync(SubscriptionResource, EnergyServiceNameAvailabilityContent, CancellationToken)

使用请求的资源名称检查资源的名称可用性。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability
  • 操作IdLocations_CheckNameAvailability
GetEnergyService(ResourceGroupResource, String, CancellationToken)

返回给定名称的 oep 资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}
  • 操作IdEnergyServices_Get
GetEnergyServiceAsync(ResourceGroupResource, String, CancellationToken)

返回给定名称的 oep 资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}
  • 操作IdEnergyServices_Get
GetEnergyServiceResource(ArmClient, ResourceIdentifier)

获取一个对象,该 EnergyServiceResource 对象表示 ,以及可对它执行但不带数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String) 从其组件创建 。EnergyServiceResourceResourceIdentifier

GetEnergyServices(ResourceGroupResource)

获取 ResourceGroupResource 中 EnergyServiceResources 的集合。

GetEnergyServices(SubscriptionResource, CancellationToken)

在给定的 Azure 订阅 ID 下列出 oep 资源的集合。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • 操作IdEnergyServices_ListBySubscription
GetEnergyServicesAsync(SubscriptionResource, CancellationToken)

在给定的 Azure 订阅 ID 下列出 oep 资源的集合。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices
  • 操作IdEnergyServices_ListBySubscription

适用于