Κοινή χρήση μέσω


az iot ops asset dataset

Note

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

Manage datasets in an asset.

A dataset will be created once a point is created. See az iot ops asset dataset point add for more details.

Commands

Name Description Type Status
az iot ops asset dataset list

List datasets within an asset.

Extension GA
az iot ops asset dataset point

Manage data-points in an asset dataset.

Extension GA
az iot ops asset dataset point add

Add a data point to an asset dataset.

Extension GA
az iot ops asset dataset point export

Export data-points in an asset dataset.

Extension GA
az iot ops asset dataset point import

Import data-points in an asset dataset.

Extension GA
az iot ops asset dataset point list

List data-points in an asset dataset.

Extension GA
az iot ops asset dataset point remove

Remove a data point in an asset dataset.

Extension GA
az iot ops asset dataset show

Show a dataset within an asset.

Extension GA

az iot ops asset dataset list

List datasets within an asset.

az iot ops asset dataset list --asset
                              --resource-group

Examples

List datasets within an asset.

az iot ops asset dataset list -g myresourcegroup --asset myasset

Required Parameters

--asset -a

Asset name.

--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.

--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 ops asset dataset show

Show a dataset within an asset.

az iot ops asset dataset show --asset
                              --name
                              --resource-group

Examples

Show the details of a dataset in an asset.

az iot ops asset dataset show -g myresourcegroup --asset myasset -n default

Required Parameters

--asset -a

Asset name.

--name -n

Dataset name.

--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.

--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.