az iot hub job

Manage jobs in an IoT hub.

Commands

az iot hub job cancel Cancel a job in an IoT hub.
az iot hub job list List the jobs in an IoT hub.
az iot hub job show Get the details of a job in an IoT hub.

az iot hub job cancel

Cancel a job in an IoT hub.

az iot hub job cancel [--hub-name]
[--ids]
[--job-id]
[--resource-group]
[--subscription]

Optional Parameters

--hub-name

IoT Hub name.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--job-id

Job Id.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az iot hub job list

List the jobs in an IoT hub.

az iot hub job list [--hub-name]
[--ids]
[--resource-group]
[--subscription]

Optional Parameters

--hub-name

IoT Hub name.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az iot hub job show

Get the details of a job in an IoT hub.

az iot hub job show [--hub-name]
[--ids]
[--job-id]
[--resource-group]
[--subscription]

Optional Parameters

--hub-name

IoT Hub name.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--job-id

Job Id.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.