az iot ops ns asset opcua dataset point
Note
This reference is part of the azure-iot-ops extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az iot ops ns asset opcua dataset point command. Learn more about extensions.
Command group 'iot ops ns' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage data points for OPC UA asset datasets in Device Registry namespaces.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az iot ops ns asset opcua dataset point add |
Add a data point to an OPC UA asset dataset in a Device Registry namespace. |
Extension | Preview |
| az iot ops ns asset opcua dataset point list |
List data points for an OPC UA asset dataset in a Device Registry namespace. |
Extension | Preview |
| az iot ops ns asset opcua dataset point remove |
Remove a data point from an OPC UA asset dataset in a Device Registry namespace. |
Extension | Preview |
az iot ops ns asset opcua dataset point add
Command group 'iot ops ns' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add a data point to an OPC UA asset dataset in a Device Registry namespace.
az iot ops ns asset opcua dataset point add --asset
--data-source --ds
--dataset
--instance
--name
--resource-group
[--qs --queue-size]
[--replace {false, true}]
[--sampling-int --si]
Examples
Add a basic OPC UA data point
az iot ops ns asset opcua dataset point add --asset myopcuaasset --instance myInstance -g myInstanceResourceGroup --dataset temperatureData --name temp1 --data-source "ns=2;s=Temp1"
Add an OPC UA data point with queue size and sampling interval
az iot ops ns asset opcua dataset point add --asset myopcuaasset --instance myInstance -g myInstanceResourceGroup --dataset pressureData --name pressure1 --data-source "ns=2;s=Pressure1" --queue-size 5 --sampling-int 1000
Add an OPC UA data point and replace existing one with same name
az iot ops ns asset opcua dataset point add --asset myopcuaasset --instance myInstance -g myInstanceResourceGroup --dataset temperatureData --name temp1 --data-source "ns=3;s=NewTemp1" --replace
Required Parameters
Asset name.
Data source for the data point.
Dataset name.
The name of the Azure IoT Operations instance.
Data point name.
The resource group of the Azure IoT Operations instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Queue size. Minimum: 0.
| Property | Value |
|---|---|
| Parameter group: | Default Dataset Arguments |
Replace the data point if another point with the same name is already present.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Sampling interval in milliseconds. Minimum: -1.
| Property | Value |
|---|---|
| Parameter group: | Default Dataset Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az iot ops ns asset opcua dataset point list
Command group 'iot ops ns' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List data points for an OPC UA asset dataset in a Device Registry namespace.
az iot ops ns asset opcua dataset point list --asset
--dataset
--instance
--resource-group
Examples
List all data points for a dataset
az iot ops ns asset opcua dataset point list --asset myopcuaasset --instance myInstance -g myInstanceResourceGroup --dataset temperatureData
Required Parameters
Asset name.
Dataset name.
The name of the Azure IoT Operations instance.
The resource group of the Azure IoT Operations instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az iot ops ns asset opcua dataset point remove
Command group 'iot ops ns' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove a data point from an OPC UA asset dataset in a Device Registry namespace.
az iot ops ns asset opcua dataset point remove --asset
--dataset
--instance
--name
--resource-group
Examples
Remove a data point from a dataset
az iot ops ns asset opcua dataset point remove --asset myopcuaasset --instance myInstance -g myInstanceResourceGroup --dataset temperatureData --name temp1
Required Parameters
Asset name.
Dataset name.
The name of the Azure IoT Operations instance.
Data point name.
The resource group of the Azure IoT Operations instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |