Jobs interface
Interface representing a Jobs.
Methods
get(string, string, string, string, Jobs |
Returns the properties of the specified job name. |
list |
Retrieves all the jobs in a device. |
list |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript