az iot du account private-endpoint-connection

Note

This reference is part of the azure-iot extension for the Azure CLI (version 2.32.0 or higher). The extension will automatically install the first time you run an az iot du account private-endpoint-connection command. Learn more about extensions.

Device Update account private endpoint connection management.

Commands

az iot du account private-endpoint-connection delete

Delete a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection list

List private endpoint connections associated with a Device Update account.

az iot du account private-endpoint-connection set

Set the state of a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection show

Show a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection delete

Delete a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection delete --account
                                                     --cn
                                                     [--resource-group]
                                                     [--yes {false, true}]

Examples

Delete a private endpoint connection associated with a target account.

az iot du account private-endpoint-connection delete -n {account_name} --cn {connection_name}

Required Parameters

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account=<name>.

--cn --conn-name

Private endpoint connection name.

Optional Parameters

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group=<name>.

--yes -y

Skip user prompts. Indicates acceptance of action. Used primarily for automation scenarios. Default: false.

accepted values: false, true

az iot du account private-endpoint-connection list

List private endpoint connections associated with a Device Update account.

az iot du account private-endpoint-connection list --account
                                                   [--resource-group]

Examples

List all private endpoint connections for a target account.

az iot du account private-endpoint-connection list -n {account_name}

Required Parameters

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account=<name>.

Optional Parameters

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group=<name>.

az iot du account private-endpoint-connection set

Set the state of a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection set --account
                                                  --cn
                                                  --status {Approved, Pending, Rejected}
                                                  [--desc]
                                                  [--resource-group]

Examples

Approve a private endpoint connection request on the target account.

az iot du account private-endpoint-connection set -n {account_name} --cn {connection_name} --status Approved --desc "For reasons."

Required Parameters

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account=<name>.

--cn --conn-name

Private endpoint connection name.

--status

The status of the private endpoint connection.

accepted values: Approved, Pending, Rejected

Optional Parameters

--desc

The reason for approval/rejection of the connection.

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group=<name>.

az iot du account private-endpoint-connection show

Show a private endpoint connection associated with a Device Update account.

az iot du account private-endpoint-connection show --account
                                                   --cn
                                                   [--resource-group]

Examples

Show a private endpoint connection associated with a target account.

az iot du account private-endpoint-connection show -n {account_name} --cn {connection_name}

Required Parameters

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account=<name>.

--cn --conn-name

Private endpoint connection name.

Optional Parameters

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group=<name>.