ScheduleOperations class

Class representing a ScheduleOperations.

Constructors

ScheduleOperations(AutomationClientContext)

Create a ScheduleOperations.

Methods

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase)

Create a schedule.

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, ServiceCallback<Schedule>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the schedule identified by schedule name.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Retrieve the schedule identified by schedule name.

get(string, string, string, RequestOptionsBase, ServiceCallback<Schedule>)
get(string, string, string, ServiceCallback<Schedule>)
listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of schedules.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of schedules.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)
update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase)

Update the schedule identified by schedule name.

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
update(string, string, string, ScheduleUpdateParameters, ServiceCallback<Schedule>)

Constructor Details

ScheduleOperations(AutomationClientContext)

Create a ScheduleOperations.

new ScheduleOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase)

Create a schedule.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleCreateOrUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleCreateOrUpdateParameters

The parameters supplied to the create or update schedule operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ScheduleCreateOrUpdateResponse>

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleCreateOrUpdateParameters

The parameters supplied to the create or update schedule operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Schedule>

The callback

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, ServiceCallback<Schedule>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleCreateOrUpdateParameters

The parameters supplied to the create or update schedule operation.

callback

ServiceCallback<Schedule>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the schedule identified by schedule name.

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the schedule identified by schedule name.

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<ScheduleGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ScheduleGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Schedule>)

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Schedule>

The callback

get(string, string, string, ServiceCallback<Schedule>)

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

callback

ServiceCallback<Schedule>

The callback

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of schedules.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ScheduleListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ScheduleListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ScheduleListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<ScheduleListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of schedules.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ScheduleListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ScheduleListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ScheduleListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ScheduleListResult>

The callback

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase)

Update the schedule identified by schedule name.

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleUpdateParameters

The parameters supplied to the update schedule operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ScheduleUpdateResponse>

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleUpdateParameters

The parameters supplied to the update schedule operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Schedule>

The callback

update(string, string, string, ScheduleUpdateParameters, ServiceCallback<Schedule>)

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, callback: ServiceCallback<Schedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

scheduleName

string

The schedule name.

parameters
ScheduleUpdateParameters

The parameters supplied to the update schedule operation.

callback

ServiceCallback<Schedule>

The callback