共用方式為


JobScheduleOperations interface

Interface representing a JobScheduleOperations.

Methods

create(string, string, string, JobScheduleCreateParameters, JobScheduleCreateOptionalParams)

Create a job schedule.

delete(string, string, string, JobScheduleDeleteOptionalParams)

Delete the job schedule identified by job schedule name.

get(string, string, string, JobScheduleGetOptionalParams)

Retrieve the job schedule identified by job schedule name.

listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams)

Retrieve a list of job schedules.

Method Details

create(string, string, string, JobScheduleCreateParameters, JobScheduleCreateOptionalParams)

Create a job schedule.

function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, options?: JobScheduleCreateOptionalParams): Promise<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
JobScheduleCreateOptionalParams

The options parameters.

Returns

Promise<JobSchedule>

delete(string, string, string, JobScheduleDeleteOptionalParams)

Delete the job schedule identified by job schedule name.

function delete(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: JobScheduleDeleteOptionalParams): Promise<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
JobScheduleDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, JobScheduleGetOptionalParams)

Retrieve the job schedule identified by job schedule name.

function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: JobScheduleGetOptionalParams): Promise<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
JobScheduleGetOptionalParams

The options parameters.

Returns

Promise<JobSchedule>

listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams)

Retrieve a list of job schedules.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: JobScheduleListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<JobSchedule, JobSchedule[], PageSettings>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
JobScheduleListByAutomationAccountOptionalParams

The options parameters.

Returns