CmdID

CmdID / az / az dnc / az dnc delegated-subnet-service

az dnc delegated-subnet-service create

Create delegated subnet resource. Azure CLI extensions reference

1 example 5 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a subnet delegated to DNC

az dnc delegated-subnet-service create --location "West US" --id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller" --subnet-details-id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" --resource-group "TestRG" --resource-name "delegated1" --allocation-block-prefix-size 27Identify
--locationLocation.
--idcontroller arm resource id
--subnet-details-idsubnet arm resource id
--resource-groupName of resource group.
--resource-nameThe name of the resource.

Options

5 in the Azure CLI extensions reference
--allocation-block-prefix-size, -a
--idcontroller arm resource id
--resource-name, --name, -nThe name of the resource.
--subnet-details-idsubnet arm resource id
--tagsThe resource tags.