Share via


az iot du account 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 iot du account private-endpoint-connection command. Learn more about extensions.

Device Update account private endpoint connection management.

Commands

Name Description Type Status
az iot du account private-endpoint-connection delete

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

Extension GA
az iot du account private-endpoint-connection list

List private endpoint connections associated with a Device Update account.

Extension GA
az iot du account private-endpoint-connection set

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

Extension GA
az iot du account private-endpoint-connection show

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

Extension GA

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
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

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}.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

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}.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

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}.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.