az dt network private-endpoint connection
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 network private-endpoint connection command. Learn more about extensions.
Manage Digital Twins instance private-endpoint connections.
Commands
Name | Description | Type | Status |
---|---|---|---|
az dt network private-endpoint connection delete |
Delete a private-endpoint connection associated with the Digital Twins instance. |
Extension | GA |
az dt network private-endpoint connection list |
List private-endpoint connections associated with the Digital Twins instance. |
Extension | GA |
az dt network private-endpoint connection set |
Set the state of a private-endpoint connection associated with the Digital Twins instance. |
Extension | GA |
az dt network private-endpoint connection show |
Show a private-endpoint connection associated with the Digital Twins instance. |
Extension | GA |
az dt network private-endpoint connection wait |
Wait until an operation on a private-endpoint connection is complete. |
Extension | GA |
az dt network private-endpoint connection delete
Delete a private-endpoint connection associated with the Digital Twins instance.
az dt network private-endpoint connection delete --cn
--dt-name
[--no-wait]
[--resource-group]
[--yes]
Examples
Delete the private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f with confirmation. Block until finished.
az dt network private-endpoint connection delete -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f
Delete the private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f no confirmation. Return immediately.
az dt network private-endpoint connection delete -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f -y --no-wait
Required Parameters
Private endpoint connection name.
Digital Twins instance 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 network private-endpoint connection list
List private-endpoint connections associated with the Digital Twins instance.
az dt network private-endpoint connection list --dt-name
[--resource-group]
Examples
List all private-endpoint connections associated with the instance.
az dt network private-endpoint connection 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 network private-endpoint connection set
Set the state of a private-endpoint connection associated with the Digital Twins instance.
az dt network private-endpoint connection set --cn
--dt-name
--status {Approved, Disconnected, Pending, Rejected}
[--actions-required]
[--desc]
[--group-ids]
[--no-wait]
[--resource-group]
Examples
Approve a pending private-endpoint connection associated with the instance and add a description.
az dt network private-endpoint connection set -n {instance_name} --cn {connection_name} --status Approved --desc "A description."
Reject a private-endpoint connection associated with the instance and add a description.
az dt network private-endpoint connection set -n {instance_name} --cn {connection_name} --status Rejected --desc "Does not comply."
Required Parameters
Private endpoint connection name.
Digital Twins instance name.
The status of a private endpoint connection.
Optional Parameters
A message indicating if changes on the service provider require any updates on the consumer.
Description for the private endpoint connection.
Space separated list of group ids that the private endpoint should connect to.
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}
.
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 network private-endpoint connection show
Show a private-endpoint connection associated with the Digital Twins instance.
az dt network private-endpoint connection show --cn
--dt-name
[--resource-group]
Examples
Show details of the private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f.
az dt network private-endpoint connection show -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f
Required Parameters
Private endpoint connection name.
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 network private-endpoint connection wait
Wait until an operation on a private-endpoint connection is complete.
az dt network private-endpoint connection wait --cn
--dt-name
[--custom]
[--deleted]
[--interval]
[--resource-group]
[--timeout]
[--updated]
Examples
Wait until the existing private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f state is updated.
az dt network private-endpoint connection wait -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f --updated
Wait until the existing private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f is deleted.
az dt network private-endpoint connection wait -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f --deleted
Wait until the existing private-endpoint connection named ba8408b6-1372-41b2-aef8-af43afc4729f has no actions required in the privateLinkServiceConnectionState property.
az dt network private-endpoint connection wait -n {instance_name} --cn ba8408b6-1372-41b2-aef8-af43afc4729f --custom "properties.privateLinkServiceConnectionState.actionsRequired=='None'"
Required Parameters
Private endpoint connection name.
Digital Twins instance name.
Optional Parameters
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
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.
Wait until updated with provisioningState at 'Succeeded'.
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.