ServiceFabricSchedules interface

Interface representing a ServiceFabricSchedules.

Methods

beginExecute(string, string, string, string, string, ServiceFabricSchedulesExecuteOptionalParams)

Execute a schedule. This operation can take a while to complete.

beginExecuteAndWait(string, string, string, string, string, ServiceFabricSchedulesExecuteOptionalParams)

Execute a schedule. This operation can take a while to complete.

createOrUpdate(string, string, string, string, string, Schedule, ServiceFabricSchedulesCreateOrUpdateOptionalParams)

Create or replace an existing schedule.

delete(string, string, string, string, string, ServiceFabricSchedulesDeleteOptionalParams)

Delete schedule.

get(string, string, string, string, string, ServiceFabricSchedulesGetOptionalParams)

Get schedule.

list(string, string, string, string, ServiceFabricSchedulesListOptionalParams)

List schedules in a given service fabric.

update(string, string, string, string, string, ScheduleFragment, ServiceFabricSchedulesUpdateOptionalParams)

Allows modifying tags of schedules. All other properties will be ignored.

Method Details

beginExecute(string, string, string, string, string, ServiceFabricSchedulesExecuteOptionalParams)

Execute a schedule. This operation can take a while to complete.

function beginExecute(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: ServiceFabricSchedulesExecuteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

options
ServiceFabricSchedulesExecuteOptionalParams

The options parameters.

Returns

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

beginExecuteAndWait(string, string, string, string, string, ServiceFabricSchedulesExecuteOptionalParams)

Execute a schedule. This operation can take a while to complete.

function beginExecuteAndWait(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: ServiceFabricSchedulesExecuteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

options
ServiceFabricSchedulesExecuteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, string, Schedule, ServiceFabricSchedulesCreateOrUpdateOptionalParams)

Create or replace an existing schedule.

function createOrUpdate(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: Schedule, options?: ServiceFabricSchedulesCreateOrUpdateOptionalParams): Promise<Schedule>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

schedule
Schedule

A schedule.

options
ServiceFabricSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Schedule>

delete(string, string, string, string, string, ServiceFabricSchedulesDeleteOptionalParams)

Delete schedule.

function delete(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: ServiceFabricSchedulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

options
ServiceFabricSchedulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, ServiceFabricSchedulesGetOptionalParams)

Get schedule.

function get(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, options?: ServiceFabricSchedulesGetOptionalParams): Promise<Schedule>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

options
ServiceFabricSchedulesGetOptionalParams

The options parameters.

Returns

Promise<Schedule>

list(string, string, string, string, ServiceFabricSchedulesListOptionalParams)

List schedules in a given service fabric.

function list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, options?: ServiceFabricSchedulesListOptionalParams): PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

options
ServiceFabricSchedulesListOptionalParams

The options parameters.

Returns

update(string, string, string, string, string, ScheduleFragment, ServiceFabricSchedulesUpdateOptionalParams)

Allows modifying tags of schedules. All other properties will be ignored.

function update(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, name: string, schedule: ScheduleFragment, options?: ServiceFabricSchedulesUpdateOptionalParams): Promise<Schedule>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

userName

string

The name of the user profile.

serviceFabricName

string

The name of the service fabric.

name

string

The name of the schedule.

schedule
ScheduleFragment

A schedule.

options
ServiceFabricSchedulesUpdateOptionalParams

The options parameters.

Returns

Promise<Schedule>