Jobs interface

Interface representing a Jobs.

Methods

get(string, string, string, string, JobsGetOptionalParams)

Returns the properties of the specified job name.

listByDevice(string, string, string, JobsListByDeviceOptionalParams)

Retrieves all the jobs in a device.

listByManager(string, string, JobsListByManagerOptionalParams)

Retrieves all the jobs in a manager.

Method Details

get(string, string, string, string, JobsGetOptionalParams)

Returns the properties of the specified job name.

function get(deviceName: string, jobName: string, resourceGroupName: string, managerName: string, options?: JobsGetOptionalParams): Promise<Job>

Parameters

deviceName

string

The device name.

jobName

string

The job name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
JobsGetOptionalParams

The options parameters.

Returns

Promise<Job>

listByDevice(string, string, string, JobsListByDeviceOptionalParams)

Retrieves all the jobs in a device.

function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: JobsListByDeviceOptionalParams): PagedAsyncIterableIterator<Job, Job[], PageSettings>

Parameters

deviceName

string

The device name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
JobsListByDeviceOptionalParams

The options parameters.

Returns

listByManager(string, string, JobsListByManagerOptionalParams)

Retrieves all the jobs in a manager.

function listByManager(resourceGroupName: string, managerName: string, options?: JobsListByManagerOptionalParams): PagedAsyncIterableIterator<Job, Job[], PageSettings>

Parameters

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
JobsListByManagerOptionalParams

The options parameters.

Returns