Share via


az iot hub devicestream

Note

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

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage device streams of an IoT hub.

Commands

Name Description Type Status
az iot hub devicestream show

Get IoT Hub's device streams endpoints.

Extension Preview

az iot hub devicestream show

Preview

Command group 'iot hub devicestream' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get IoT Hub's device streams endpoints.

az iot hub devicestream show --hub-name
                             [--resource-group]

Examples

Get all the device streams from "MyIotHub" IoT Hub.

az iot hub devicestream show -n MyIotHub

Required Parameters

--hub-name -n

IoT Hub name. Required if --login is not provided.

Property Value
Parameter group: IoT Hub Identifier Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False