az devcenter admin network-connection
Note
This reference is part of the devcenter extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az devcenter admin network-connection command. Learn more about extensions.
Manage network connections.
Commands
Name | Description | Type | Status |
---|---|---|---|
az devcenter admin network-connection create |
Create a network connection. |
Extension | GA |
az devcenter admin network-connection delete |
Delete a network connection. |
Extension | GA |
az devcenter admin network-connection list |
List network connections. |
Extension | GA |
az devcenter admin network-connection list-health-check |
List health check status details. |
Extension | GA |
az devcenter admin network-connection list-outbound-network-dependencies-endpoint |
List the endpoints that agents may call as part of Dev Box service administration. These FQDNs should be allowed for outbound access in order for the Dev Box service to function. |
Extension | GA |
az devcenter admin network-connection run-health-check |
Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details. |
Extension | GA |
az devcenter admin network-connection show |
Get a network connection. |
Extension | GA |
az devcenter admin network-connection show-health-check |
Get health check status details. |
Extension | GA |
az devcenter admin network-connection update |
Update a network connection. |
Extension | GA |
az devcenter admin network-connection wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az devcenter admin network-connection create
Create a network connection.
az devcenter admin network-connection create --domain-join-type {AzureADJoin, HybridAzureADJoin, None}
--name
--resource-group
--subnet-id
[--domain-name]
[--domain-password]
[--domain-username]
[--location]
[--networking-resource-group-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--organization-unit]
[--tags]
Examples
Create hybrid join
az devcenter admin network-connection create --location "eastus" --domain-join-type "HybridAzureADJoin" --domain-name "mydomaincontroller.local" --domain-password "Password value for user" --domain-username "testuser@mydomaincontroller.local" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" --name "uswest3network" --resource-group "rg1"
Create Azure AD join
az devcenter admin network-connection create --location "eastus" --domain-join-type "AzureADJoin" --networking-resource-group-name "NetworkInterfacesRG" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default" --name "uswest3network" --resource-group "rg1"
Required Parameters
AAD Join type.
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The subnet to attach dev boxes to.
Optional Parameters
Active Directory domain name.
The password for the account used to join domain. If value is blank it's asked from the tty.
The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
The geo-location where the resource lives. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
. When not specified, the location of the resource group will be used.
The name for resource group where NICs will be placed.
Do not wait for the long-running operation to finish.
Active Directory domain Organization Unit (OU).
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 devcenter admin network-connection delete
Delete a network connection.
az devcenter admin network-connection delete [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete
az devcenter admin network-connection delete --name "uswest3network" --resource-group "rg1"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the network connection that can be applied to a pool.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 devcenter admin network-connection list
List network connections.
az devcenter admin network-connection list [--max-items]
[--next-token]
[--resource-group]
Examples
List by resource group
az devcenter admin network-connection list --resource-group "rg1"
List by subscription
az devcenter admin network-connection list
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of 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 devcenter admin network-connection list-health-check
List health check status details.
az devcenter admin network-connection list-health-check --name
--resource-group
[--max-items]
[--next-token]
Examples
List health check status details
az devcenter admin network-connection list-health-check --name "uswest3network" --resource-group "rg1"
Required Parameters
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
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 devcenter admin network-connection list-outbound-network-dependencies-endpoint
List the endpoints that agents may call as part of Dev Box service administration. These FQDNs should be allowed for outbound access in order for the Dev Box service to function.
az devcenter admin network-connection list-outbound-network-dependencies-endpoint --name
--resource-group
[--max-items]
[--next-token]
Examples
List outbound network dependencies endpoint
az devcenter admin network-connection list-outbound-network-dependencies-endpoint --name "uswest3network" --resource-group "rg1"
Required Parameters
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
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 devcenter admin network-connection run-health-check
Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.
az devcenter admin network-connection run-health-check [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Run health check
az devcenter admin network-connection run-health-check --name "uswest3network" --resource-group "rg1"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the network connection that can be applied to a pool.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 devcenter admin network-connection show
Get a network connection.
az devcenter admin network-connection show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get
az devcenter admin network-connection show --name "uswest3network" --resource-group "rg1"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 devcenter admin network-connection show-health-check
Get health check status details.
az devcenter admin network-connection show-health-check [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get health check
az devcenter admin network-connection show-health-check--name "uswest3network" --resource-group "rg1"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 devcenter admin network-connection update
Update a network connection.
az devcenter admin network-connection update [--domain-name]
[--domain-password]
[--domain-username]
[--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--organization-unit]
[--resource-group]
[--subnet-id]
[--subscription]
[--tags]
Examples
Update
az devcenter admin network-connection update --domain-password "New Password value for user" --name "networkConnection" --resource-group "rg1"
Optional Parameters
Active Directory domain name.
The password for the account used to join domain If value is blank it's asked from the tty.
The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the Network Connection that can be applied to a Pool.
Do not wait for the long-running operation to finish.
Active Directory domain Organization Unit (OU).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The subnet to attach Virtual Machines to.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 devcenter admin network-connection wait
Place the CLI in a waiting state until a condition is met.
az devcenter admin network-connection wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
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.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of the network connection that can be applied to a pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.