az dt network private-endpoint connection
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.59.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 --conn-name
--dt-name --dtn
[--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.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Digital Twins instance name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Digital Twins instance resource group. You can configure the default group using az configure --defaults group={name}
.
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
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 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 --dtn
[--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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
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 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 --conn-name
--dt-name --dtn
--status {Approved, Disconnected, Pending, Rejected}
[--actions-required --ar]
[--desc --description]
[--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.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Digital Twins instance name.
The status of a private endpoint connection.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Accepted values: | Approved, Disconnected, Pending, Rejected |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
A message indicating if changes on the service provider require any updates on the consumer.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Description for the private endpoint connection.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Space separated list of group ids that the private endpoint should connect to.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
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.
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 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 --conn-name
--dt-name --dtn
[--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.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Digital Twins instance name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
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 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 --conn-name
--dt-name --dtn
[--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.
Property | Value |
---|---|
Parameter group: | Private Endpoint Arguments |
Digital Twins instance name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Digital Twins instance resource group. You can configure the default group using az configure --defaults group={name}
.
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
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 |