CmdID / az / az devcenter / az devcenter admin / az devcenter admin network-connection
az devcenter admin network-connection create
Create a network connection. Azure CLI extensions reference
2 examples 9 options Its page in the Azure CLI extensions reference
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"Identify--locationLocation.--domain-join-typeAAD Join type.--domain-nameActive Directory domain name.--domain-passwordThe password for the account used to join domain.--domain-usernameThe username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.--subnet-idThe subnet to attach dev boxes to.--nameName of the network connection that can be applied to a pool.--resource-groupName of resource group.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"Identify--locationLocation.--domain-join-typeAAD Join type.--networking-resource-group-nameThe name for resource group where NICs will be placed.--subnet-idThe subnet to attach dev boxes to.--nameName of the network connection that can be applied to a pool.--resource-groupName of resource group.Options
--domain-join-typeAAD Join type.--domain-nameActive Directory domain name.--domain-passwordThe password for the account used to join domain.--domain-usernameThe username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.--network-connection-name, --name, -nName of the network connection that can be applied to a pool.--networking-resource-group-name, -rThe name for resource group where NICs will be placed.--organization-unitActive Directory domain Organization Unit (OU).--subnet-idThe subnet to attach dev boxes to.--tagsResource tags.