az iot product test run

Note

This reference is part of the azure-iot extension for the Azure CLI (version 2.37.0 or higher). The extension will automatically install the first time you run an az iot product test run command. Learn more about extensions.

This command group is implicitly deprecated because command group 'iot product' is deprecated and will be removed in a future release.

Manage product testing certification test runs.

Commands

Name Description Type Status
az iot product test run show

Show the status of a testing run.

Extension Deprecated
az iot product test run submit

Submit a completed test run to the partner/product service.

Extension Deprecated

az iot product test run show

Deprecated

This command is implicitly deprecated because command group 'iot product' is deprecated and will be removed in a future release.

Show the status of a testing run.

az iot product test run show --test-id
                             [--base-url]
                             [--interval]
                             [--run-id]
                             [--wait {false, true}]

Examples

Latest product test run

az iot product test run show --test-id {test_id}

Testing status by --run-id

az iot product test run show --test-id {test_id} --run-id {run_id}

Required Parameters

--test-id -t

The generated Id for the device certification test.

Optional Parameters

--base-url

Override certification service URL to allow testing in non-production environements.

--interval --poll-interval

Used in conjunction with --wait. Specifies how frequently (in seconds) polling occurs.

default value: 3
--run-id -r

The generated Id of a test run.

--wait -w

Wait until test run status is "started" or "running".

accepted values: false, true
default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az iot product test run submit

Deprecated

This command is implicitly deprecated because command group 'iot product' is deprecated and will be removed in a future release.

Submit a completed test run to the partner/product service.

az iot product test run submit --run-id
                               --test-id
                               [--base-url]

Examples

Basic usage

az iot product test run submit --test-id {test_id} --run-id {run_id}

Required Parameters

--run-id -r

The generated Id of a test run.

--test-id -t

The generated Id for the device certification test.

Optional Parameters

--base-url

Override certification service URL to allow testing in non-production environements.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.