az iot ops asset endpoint
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 endpoint command. Learn more about extensions.
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage asset endpoint profiles.
Commands
Name | Description | Type | Status |
---|---|---|---|
az iot ops asset endpoint create |
Create asset endpoint profiles. |
Extension | Preview |
az iot ops asset endpoint create opcua |
Create an asset endpoint profile with an OPCUA connector. |
Extension | Preview |
az iot ops asset endpoint delete |
Delete an asset endpoint profile. |
Extension | Preview |
az iot ops asset endpoint query |
Query the Resource Graph for asset endpoint profiles. |
Extension | Preview |
az iot ops asset endpoint show |
Show an asset endpoint profile. |
Extension | Preview |
az iot ops asset endpoint update |
Update an asset endpoint profile. |
Extension | Preview |
az iot ops asset endpoint delete
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete an asset endpoint profile.
az iot ops asset endpoint delete --name
--resource-group
Examples
Delete an asset endpoint profile.
az iot ops asset endpoint delete --name myprofile -g myresourcegroup
Required Parameters
Asset Endpoint Profile name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 ops asset endpoint query
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Query the Resource Graph for asset endpoint profiles.
az iot ops asset endpoint query [--am {Anonymous, Certificate, UsernamePassword}]
[--cq]
[--endpoint-profile-type]
[--ig]
[--instance]
[--location]
[--name]
[--resource-group]
[--ta]
Examples
Query for asset endpoint profiles that have anonymous authentication.
az iot ops asset endpoint query --authentication-mode Anonymous
Query for asset endpoint profiles that have the given target address and instance name.
az iot ops asset endpoint query --target-address opc.tcp://opcplc-000000:50000 --instance myinstance
Optional Parameters
Authentication Mode.
Custom query to use. All other query arguments will be ignored.
Connector type for the endpoint profile.
Instance resource group. If not provided, asset endpoint profile resource group will be used.
Instance name to associate the created asset with.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Asset Endpoint Profile name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Target Address. Must be a valid local address that follows the opc.tcp protocol.
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 ops asset endpoint show
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show an asset endpoint profile.
az iot ops asset endpoint show --name
--resource-group
Examples
Show the details of an asset endpoint profile.
az iot ops asset endpoint show --name myprofile -g myresourcegroup
Required Parameters
Asset Endpoint Profile name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 ops asset endpoint update
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update an asset endpoint profile.
To update owned certificates, please use the command group az iot ops asset endpoint certificate
.
az iot ops asset endpoint update --name
--resource-group
[--am {Anonymous, Certificate, UsernamePassword}]
[--cert-ref]
[--password-ref]
[--ta]
[--tags]
[--ur]
Examples
Update an asset endpoint profile's authentication mode to use anonymous user authentication.
az iot ops asset endpoint update --name myprofile -g myresourcegroup --authentication-mode Anonymous
Update an asset endpoint profile's username and password reference with prefilled values. This will transform the authentication mode to username-password if it is not so already.
az iot ops asset endpoint update --name myAssetEndpoint -g myRG --username-ref "aio-opc-ua-broker-user-authentication/opc-plc-username" --password-ref "aio-opc-ua-broker-user-authentication/opc-plc-password"
Required Parameters
Asset Endpoint Profile name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Authentication Mode.
Reference for the certificate used in authentication. This method of user authentication is not supported yet.
Reference for the password used in authentication.
Target Address. Must be a valid local address that follows the opc.tcp protocol.
Asset Endpoint Profile resource tags. Property bag in key-value pairs with the following format: a=b c=d.
Reference for the username used in authentication.
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.