az iot product test task
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 task 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 tasks.
Commands
Name | Description | Type | Status |
---|---|---|---|
az iot product test task create |
Queue a new testing task. Only one testing task can be running at a time. |
Extension | Deprecated |
az iot product test task delete |
Cancel a running task matching the specified --task-id. |
Extension | Deprecated |
az iot product test task show |
Show the status of a testing task. Use --running for current running task or --task-id. |
Extension | Deprecated |
az iot product test task create
This command is implicitly deprecated because command group 'iot product' is deprecated and will be removed in a future release.
Queue a new testing task. Only one testing task can be running at a time.
az iot product test task create --test-id
[--base-url]
[--interval]
[--type {GenerateTestCases, QueueTestRun}]
[--wait {false, true}]
Examples
Basic usage
az iot product test task create --test-id {test_id}
Wait for completion and return test case
az iot product test task create --test-id {test_id} --wait
Wait for completion with custom polling interval to completion and return test case
az iot product test task create --test-id {test_id} --wait --poll-interval 5
Required Parameters
The generated Id for the device certification test.
Optional Parameters
Override certification service URL to allow testing in non-production environements.
Used in conjunction with --wait. Sepcifies how frequently (in seconds) polling occurs.
The type of task for the device test.
Wait for task completion and return test case data when available.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az iot product test task delete
This command is implicitly deprecated because command group 'iot product' is deprecated and will be removed in a future release.
Cancel a running task matching the specified --task-id.
az iot product test task delete --task-id
--test-id
[--base-url]
Examples
Basic usage
az iot product test task delete --test-id {test_id} --task-id {task_id}
Required Parameters
The generated Id of the testing task.
The generated Id for the device certification test.
Optional Parameters
Override certification service URL to allow testing in non-production environements.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az iot product test task show
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 task. Use --running for current running task or --task-id.
az iot product test task show --test-id
[--base-url]
[--running {false, true}]
[--task-id]
Examples
Task status by --task-id
az iot product test task show --test-id {test_id} --task-id {task_id}
Currently running task of product test
az iot product test task show --test-id {test_id} --running
Required Parameters
The generated Id for the device certification test.
Optional Parameters
Override certification service URL to allow testing in non-production environements.
Get the running tasks of a device test.
The generated Id of the testing task.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for