EnergyServices interface

Interface représentant un EnergyServices.

Méthodes

beginCreate(string, string, EnergyServicesCreateOptionalParams)

Méthode qui est appelée si elle est abonnée au déclencheur ResourceCreationBegin.

beginCreateAndWait(string, string, EnergyServicesCreateOptionalParams)

Méthode qui est appelée si elle est abonnée au déclencheur ResourceCreationBegin.

beginDelete(string, string, EnergyServicesDeleteOptionalParams)

Supprime la ressource oep

beginDeleteAndWait(string, string, EnergyServicesDeleteOptionalParams)

Supprime la ressource oep

get(string, string, EnergyServicesGetOptionalParams)

Renvoie la ressource oep pour un nom donné.

listByResourceGroup(string, EnergyServicesListByResourceGroupOptionalParams)

Renvoie la liste des ressources oep.

listBySubscription(EnergyServicesListBySubscriptionOptionalParams)

Répertorie une collection de ressources oep sous l’ID d’abonnement Azure donné.

update(string, string, EnergyServicesUpdateOptionalParams)

Détails de la méthode

beginCreate(string, string, EnergyServicesCreateOptionalParams)

Méthode qui est appelée si elle est abonnée au déclencheur ResourceCreationBegin.

function beginCreate(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<EnergyService>, EnergyService>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesCreateOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<EnergyService>, EnergyService>>

beginCreateAndWait(string, string, EnergyServicesCreateOptionalParams)

Méthode qui est appelée si elle est abonnée au déclencheur ResourceCreationBegin.

function beginCreateAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<EnergyService>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesCreateOptionalParams

Paramètres d’options.

Retours

Promise<EnergyService>

beginDelete(string, string, EnergyServicesDeleteOptionalParams)

Supprime la ressource oep

function beginDelete(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, EnergyServicesDeleteOptionalParams)

Supprime la ressource oep

function beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, EnergyServicesGetOptionalParams)

Renvoie la ressource oep pour un nom donné.

function get(resourceGroupName: string, resourceName: string, options?: EnergyServicesGetOptionalParams): Promise<EnergyService>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesGetOptionalParams

Paramètres d’options.

Retours

Promise<EnergyService>

listByResourceGroup(string, EnergyServicesListByResourceGroupOptionalParams)

Renvoie la liste des ressources oep.

function listByResourceGroup(resourceGroupName: string, options?: EnergyServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<EnergyService, EnergyService[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

options
EnergyServicesListByResourceGroupOptionalParams

Paramètres d’options.

Retours

listBySubscription(EnergyServicesListBySubscriptionOptionalParams)

Répertorie une collection de ressources oep sous l’ID d’abonnement Azure donné.

function listBySubscription(options?: EnergyServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<EnergyService, EnergyService[], PageSettings>

Paramètres

options
EnergyServicesListBySubscriptionOptionalParams

Paramètres d’options.

Retours

update(string, string, EnergyServicesUpdateOptionalParams)

function update(resourceGroupName: string, resourceName: string, options?: EnergyServicesUpdateOptionalParams): Promise<EnergyService>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName

string

Nom de la ressource.

options
EnergyServicesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<EnergyService>