JobScheduleOperations class

Class representing a JobScheduleOperations.

Constructors

JobScheduleOperations(AutomationClientContext)

Create a JobScheduleOperations.

Methods

create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase)

Create a job schedule.

create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase, ServiceCallback<JobSchedule>)
create(string, string, string, JobScheduleCreateParameters, ServiceCallback<JobSchedule>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the job schedule identified by job schedule name.

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

Retrieve the job schedule identified by job schedule name.

get(string, string, string, RequestOptionsBase, ServiceCallback<JobSchedule>)
get(string, string, string, ServiceCallback<JobSchedule>)
listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams)

Retrieve a list of job schedules.

listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams, ServiceCallback<JobScheduleListResult>)
listByAutomationAccount(string, string, ServiceCallback<JobScheduleListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of job schedules.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<JobScheduleListResult>)
listByAutomationAccountNext(string, ServiceCallback<JobScheduleListResult>)

Constructor Details

JobScheduleOperations(AutomationClientContext)

Create a JobScheduleOperations.

new JobScheduleOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase)

Create a job schedule.

function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, options?: RequestOptionsBase): Promise<JobScheduleCreateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

parameters
JobScheduleCreateParameters

The parameters supplied to the create job schedule operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.JobScheduleCreateResponse>

create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase, ServiceCallback<JobSchedule>)

function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<JobSchedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

parameters
JobScheduleCreateParameters

The parameters supplied to the create job schedule operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<JobSchedule>

The callback

create(string, string, string, JobScheduleCreateParameters, ServiceCallback<JobSchedule>)

function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, callback: ServiceCallback<JobSchedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

parameters
JobScheduleCreateParameters

The parameters supplied to the create job schedule operation.

callback

ServiceCallback<JobSchedule>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the job schedule identified by job schedule name.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job 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, jobScheduleId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the job schedule identified by job schedule name.

function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: RequestOptionsBase): Promise<JobScheduleGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.JobScheduleGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: RequestOptionsBase, callback: ServiceCallback<JobSchedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<JobSchedule>

The callback

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

function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, callback: ServiceCallback<JobSchedule>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

jobScheduleId

string

The job schedule name.

callback

ServiceCallback<JobSchedule>

The callback

listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams)

Retrieve a list of job schedules.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: JobScheduleListByAutomationAccountOptionalParams): Promise<JobScheduleListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
JobScheduleListByAutomationAccountOptionalParams

The optional parameters

Returns

Promise<Models.JobScheduleListByAutomationAccountResponse>

listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams, ServiceCallback<JobScheduleListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: JobScheduleListByAutomationAccountOptionalParams, callback: ServiceCallback<JobScheduleListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
JobScheduleListByAutomationAccountOptionalParams

The optional parameters

callback

ServiceCallback<JobScheduleListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<JobScheduleListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<JobScheduleListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of job schedules.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.JobScheduleListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<JobScheduleListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<JobScheduleListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<JobScheduleListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<JobScheduleListResult>

The callback