Sdílet prostřednictvím


GlobalSchedules interface

Rozhraní představující globalSchedules.

Metody

beginExecute(string, string, GlobalSchedulesExecuteOptionalParams)

Spusťte plán. Dokončení této operace může chvíli trvat.

beginExecuteAndWait(string, string, GlobalSchedulesExecuteOptionalParams)

Spusťte plán. Dokončení této operace může chvíli trvat.

beginRetarget(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Aktualizuje ID cílového prostředku plánu. Dokončení této operace může chvíli trvat.

beginRetargetAndWait(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Aktualizuje ID cílového prostředku plánu. Dokončení této operace může chvíli trvat.

createOrUpdate(string, string, Schedule, GlobalSchedulesCreateOrUpdateOptionalParams)

Vytvořte nebo nahraďte existující plán.

delete(string, string, GlobalSchedulesDeleteOptionalParams)

Odstranit plán.

get(string, string, GlobalSchedulesGetOptionalParams)

Získejte plán.

listByResourceGroup(string, GlobalSchedulesListByResourceGroupOptionalParams)

Vypisujte plány ve skupině prostředků.

listBySubscription(GlobalSchedulesListBySubscriptionOptionalParams)

Vypisujte plány v předplatném.

update(string, string, ScheduleFragment, GlobalSchedulesUpdateOptionalParams)

Umožňuje úpravu značek plánů. Všechny ostatní vlastnosti budou ignorovány.

Podrobnosti metody

beginExecute(string, string, GlobalSchedulesExecuteOptionalParams)

Spusťte plán. Dokončení této operace může chvíli trvat.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

options
GlobalSchedulesExecuteOptionalParams

Parametry možností.

Návraty

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

beginExecuteAndWait(string, string, GlobalSchedulesExecuteOptionalParams)

Spusťte plán. Dokončení této operace může chvíli trvat.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

options
GlobalSchedulesExecuteOptionalParams

Parametry možností.

Návraty

Promise<void>

beginRetarget(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Aktualizuje ID cílového prostředku plánu. Dokončení této operace může chvíli trvat.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

retargetScheduleProperties
RetargetScheduleProperties

Vlastnosti pro změna cílení plánu virtuálního počítače

options
GlobalSchedulesRetargetOptionalParams

Parametry možností.

Návraty

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

beginRetargetAndWait(string, string, RetargetScheduleProperties, GlobalSchedulesRetargetOptionalParams)

Aktualizuje ID cílového prostředku plánu. Dokončení této operace může chvíli trvat.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

retargetScheduleProperties
RetargetScheduleProperties

Vlastnosti pro změna cílení plánu virtuálního počítače

options
GlobalSchedulesRetargetOptionalParams

Parametry možností.

Návraty

Promise<void>

createOrUpdate(string, string, Schedule, GlobalSchedulesCreateOrUpdateOptionalParams)

Vytvořte nebo nahraďte existující plán.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

schedule
Schedule

Plán.

options
GlobalSchedulesCreateOrUpdateOptionalParams

Parametry možností.

Návraty

Promise<Schedule>

delete(string, string, GlobalSchedulesDeleteOptionalParams)

Odstranit plán.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

options
GlobalSchedulesDeleteOptionalParams

Parametry možností.

Návraty

Promise<void>

get(string, string, GlobalSchedulesGetOptionalParams)

Získejte plán.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

options
GlobalSchedulesGetOptionalParams

Parametry možností.

Návraty

Promise<Schedule>

listByResourceGroup(string, GlobalSchedulesListByResourceGroupOptionalParams)

Vypisujte plány ve skupině prostředků.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

options
GlobalSchedulesListByResourceGroupOptionalParams

Parametry možností.

Návraty

listBySubscription(GlobalSchedulesListBySubscriptionOptionalParams)

Vypisujte plány v předplatném.

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

Parametry

options
GlobalSchedulesListBySubscriptionOptionalParams

Parametry možností.

Návraty

update(string, string, ScheduleFragment, GlobalSchedulesUpdateOptionalParams)

Umožňuje úpravu značek plánů. Všechny ostatní vlastnosti budou ignorovány.

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

Parametry

resourceGroupName

string

Název skupiny prostředků.

name

string

Název plánu.

schedule
ScheduleFragment

Plán.

options
GlobalSchedulesUpdateOptionalParams

Parametry možností.

Návraty

Promise<Schedule>