az dt endpoint
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.46.0 or higher). The extension will automatically install the first time you run an az dt endpoint command. Learn more about extensions.
Manage and configure Digital Twins instance endpoints.
Commands
Name | Description | Type | Status |
---|---|---|---|
az dt endpoint create |
Add egress endpoints to a Digital Twins instance. |
Extension | GA |
az dt endpoint create eventgrid |
Adds an EventGrid Topic endpoint to a Digital Twins instance. Requires pre-created resource. |
Extension | GA |
az dt endpoint create eventhub |
Adds an EventHub endpoint to a Digital Twins instance. |
Extension | GA |
az dt endpoint create servicebus |
Adds a ServiceBus Topic endpoint to a Digital Twins instance. |
Extension | GA |
az dt endpoint delete |
Remove an endpoint from a Digital Twins instance. |
Extension | GA |
az dt endpoint list |
List all egress endpoints configured on a Digital Twins instance. |
Extension | GA |
az dt endpoint show |
Show details of an endpoint configured on a Digital Twins instance. |
Extension | GA |
az dt endpoint wait |
Wait until an endpoint operation is done. |
Extension | GA |
az dt endpoint delete
Remove an endpoint from a Digital Twins instance.
az dt endpoint delete --dt-name
--en
[--no-wait]
[--resource-group]
[--yes]
Examples
Remove an endpoint from an instance and block until the operation is complete.
az dt endpoint delete -n {instance_name} --endpoint-name {endpoint_name}
Remove an endpoint from an instance without confirmation or blocking.
az dt endpoint delete -n {instance_name} --endpoint-name {endpoint_name} -y --no-wait
Required Parameters
Digital Twins instance name.
Endpoint name.
Optional Parameters
Do not wait for the long-running operation to finish.
Digital Twins instance resource group. You can configure the default group using az configure --defaults group={name}
.
Do not prompt for confirmation.
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 dt endpoint list
List all egress endpoints configured on a Digital Twins instance.
az dt endpoint list --dt-name
[--resource-group]
Examples
List all egress endpoints configured on an instance.
az dt endpoint list -n {instance_name}
Required Parameters
Digital Twins instance name.
Optional Parameters
Digital Twins instance 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 dt endpoint show
Show details of an endpoint configured on a Digital Twins instance.
az dt endpoint show --dt-name
--en
[--resource-group]
Examples
Show a desired endpoint by name on an instance.
az dt endpoint show -n {instance_name} --endpoint-name {endpoint_name}
Required Parameters
Digital Twins instance name.
Endpoint name.
Optional Parameters
Digital Twins instance 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 dt endpoint wait
Wait until an endpoint operation is done.
az dt endpoint wait --dt-name
--en
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--resource-group]
[--timeout]
Examples
Wait until an endpoint for an instance is created.
az dt endpoint wait -n {instance_name} --endpoint-name {endpoint_name} --created
Wait until an existing endpoint is deleted from an instance.
az dt endpoint wait -n {instance_name} --endpoint-name {endpoint_name} --deleted
Wait until an existing endpoint's primaryConnectionString is null.
az dt endpoint wait -n {instance_name} --endpoint-name {endpoint_name} --custom "properties.primaryConnectionString==null"
Required Parameters
Digital Twins instance name.
Endpoint name.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Digital Twins instance resource group. You can configure the default group using az configure --defaults group={name}
.
Maximum wait in seconds.
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.