JobVersions interface

Interface representing a JobVersions.

Methods

get(string, string, string, string, number, JobVersionsGetOptionalParams)

Gets a job version.

listByJob(string, string, string, string, JobVersionsListByJobOptionalParams)

Gets all versions of a job.

Method Details

get(string, string, string, string, number, JobVersionsGetOptionalParams)

Gets a job version.

function get(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobVersion: number, options?: JobVersionsGetOptionalParams): Promise<JobVersion>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent.

jobName

string

The name of the job.

jobVersion

number

The version of the job to get.

options
JobVersionsGetOptionalParams

The options parameters.

Returns

Promise<JobVersion>

listByJob(string, string, string, string, JobVersionsListByJobOptionalParams)

Gets all versions of a job.

function listByJob(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobVersionsListByJobOptionalParams): PagedAsyncIterableIterator<JobVersion, JobVersion[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent.

jobName

string

The name of the job to get.

options
JobVersionsListByJobOptionalParams

The options parameters.

Returns