Partager via


GlobalSchedules interface

Interface représentant un GlobalSchedules.

Méthodes

beginExecute(string, string, GlobalSchedulesExecuteOptionalParams)

Exécutez une planification. Cette opération peut prendre un certain temps.

beginExecuteAndWait(string, string, GlobalSchedulesExecuteOptionalParams)

Exécutez une planification. Cette opération peut prendre un certain temps.

beginRetarget(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Met à jour l’ID de ressource cible d’une planification. Cette opération peut prendre un certain temps.

beginRetargetAndWait(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Met à jour l’ID de ressource cible d’une planification. Cette opération peut prendre un certain temps.

createOrUpdate(string, string, Schedule, GlobalSchedulesCreateOrUpdateOptionalParams)

Créez ou remplacez une planification existante.

delete(string, string, GlobalSchedulesDeleteOptionalParams)

Supprimer la planification.

get(string, string, GlobalSchedulesGetOptionalParams)

Obtenez la planification.

listByResourceGroup(string, GlobalSchedulesListByResourceGroupOptionalParams)

Répertorier les planifications dans un groupe de ressources.

listBySubscription(GlobalSchedulesListBySubscriptionOptionalParams)

Répertorier les planifications dans un abonnement.

update(string, string, ScheduleFragment, GlobalSchedulesUpdateOptionalParams)

Permet de modifier les balises des planifications. Toutes les autres propriétés seront ignorées.

Détails de la méthode

beginExecute(string, string, GlobalSchedulesExecuteOptionalParams)

Exécutez une planification. Cette opération peut prendre un certain temps.

function beginExecute(resourceGroupName: string, name: string, options?: GlobalSchedulesExecuteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

options
GlobalSchedulesExecuteOptionalParams

Paramètres d’options.

Retours

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

beginExecuteAndWait(string, string, GlobalSchedulesExecuteOptionalParams)

Exécutez une planification. Cette opération peut prendre un certain temps.

function beginExecuteAndWait(resourceGroupName: string, name: string, options?: GlobalSchedulesExecuteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

options
GlobalSchedulesExecuteOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginRetarget(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Met à jour l’ID de ressource cible d’une planification. Cette opération peut prendre un certain temps.

function beginRetarget(resourceGroupName: string, name: string, retargetScheduleProperties: RetargetScheduleProperties, options?: GlobalSchedulesRetargetOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

retargetScheduleProperties
RetargetScheduleProperties

Propriétés de reciblage d’une planification de machine virtuelle.

options
GlobalSchedulesRetargetOptionalParams

Paramètres d’options.

Retours

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

beginRetargetAndWait(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Met à jour l’ID de ressource cible d’une planification. Cette opération peut prendre un certain temps.

function beginRetargetAndWait(resourceGroupName: string, name: string, retargetScheduleProperties: RetargetScheduleProperties, options?: GlobalSchedulesRetargetOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

retargetScheduleProperties
RetargetScheduleProperties

Propriétés de reciblage d’une planification de machine virtuelle.

options
GlobalSchedulesRetargetOptionalParams

Paramètres d’options.

Retours

Promise<void>

createOrUpdate(string, string, Schedule, GlobalSchedulesCreateOrUpdateOptionalParams)

Créez ou remplacez une planification existante.

function createOrUpdate(resourceGroupName: string, name: string, schedule: Schedule, options?: GlobalSchedulesCreateOrUpdateOptionalParams): Promise<Schedule>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

schedule
Schedule

Une planification.

options
GlobalSchedulesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Schedule>

delete(string, string, GlobalSchedulesDeleteOptionalParams)

Supprimer la planification.

function delete(resourceGroupName: string, name: string, options?: GlobalSchedulesDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

options
GlobalSchedulesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, GlobalSchedulesGetOptionalParams)

Obtenez la planification.

function get(resourceGroupName: string, name: string, options?: GlobalSchedulesGetOptionalParams): Promise<Schedule>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

options
GlobalSchedulesGetOptionalParams

Paramètres d’options.

Retours

Promise<Schedule>

listByResourceGroup(string, GlobalSchedulesListByResourceGroupOptionalParams)

Répertorier les planifications dans un groupe de ressources.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

options
GlobalSchedulesListByResourceGroupOptionalParams

Paramètres d’options.

Retours

listBySubscription(GlobalSchedulesListBySubscriptionOptionalParams)

Répertorier les planifications dans un abonnement.

function listBySubscription(options?: GlobalSchedulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

Paramètres

options
GlobalSchedulesListBySubscriptionOptionalParams

Paramètres d’options.

Retours

update(string, string, ScheduleFragment, GlobalSchedulesUpdateOptionalParams)

Permet de modifier les balises des planifications. Toutes les autres propriétés seront ignorées.

function update(resourceGroupName: string, name: string, schedule: ScheduleFragment, options?: GlobalSchedulesUpdateOptionalParams): Promise<Schedule>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

name

string

Nom de la planification.

schedule
ScheduleFragment

Une planification.

options
GlobalSchedulesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Schedule>