EnergyServices interface
Interface representing a EnergyServices.
Methods
begin |
Method that gets called if subscribed for ResourceCreationBegin trigger. |
begin |
Method that gets called if subscribed for ResourceCreationBegin trigger. |
begin |
Deletes oep resource |
begin |
Deletes oep resource |
get(string, string, Energy |
Returns oep resource for a given name. |
list |
Returns list of oep resources.. |
list |
Lists a collection of oep resources under the given Azure Subscription ID. |
update(string, string, Energy |
Method Details
beginCreate(string, string, EnergyServicesCreateOptionalParams)
Method that gets called if subscribed for ResourceCreationBegin trigger.
function beginCreate(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<EnergyService>, EnergyService>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<EnergyService>, EnergyService>>
beginCreateAndWait(string, string, EnergyServicesCreateOptionalParams)
Method that gets called if subscribed for ResourceCreationBegin trigger.
function beginCreateAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<EnergyService>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
The options parameters.
Returns
Promise<EnergyService>
beginDelete(string, string, EnergyServicesDeleteOptionalParams)
Deletes oep resource
function beginDelete(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, EnergyServicesDeleteOptionalParams)
Deletes oep resource
function beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
The options parameters.
Returns
Promise<void>
get(string, string, EnergyServicesGetOptionalParams)
Returns oep resource for a given name.
function get(resourceGroupName: string, resourceName: string, options?: EnergyServicesGetOptionalParams): Promise<EnergyService>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
- options
- EnergyServicesGetOptionalParams
The options parameters.
Returns
Promise<EnergyService>
listByResourceGroup(string, EnergyServicesListByResourceGroupOptionalParams)
Returns list of oep resources..
function listByResourceGroup(resourceGroupName: string, options?: EnergyServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<EnergyService, EnergyService[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(EnergyServicesListBySubscriptionOptionalParams)
Lists a collection of oep resources under the given Azure Subscription ID.
function listBySubscription(options?: EnergyServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<EnergyService, EnergyService[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, EnergyServicesUpdateOptionalParams)
function update(resourceGroupName: string, resourceName: string, options?: EnergyServicesUpdateOptionalParams): Promise<EnergyService>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The resource name.
The options parameters.
Returns
Promise<EnergyService>
Azure SDK for JavaScript