CmdID / az / az networkcloud / az networkcloud virtualmachine
az networkcloud virtualmachine assign-relay
Assigns a relay to the specified Microsoft.HybridCompute machine associated with the provided virtual machine. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--machine-idThe resourceId of the Microsoft.HybridCompute machine resource to assign relay usage.--relay-typeThe indicator of which relay type the machine should be assigned to use.--virtual-machine-name, --name, -nThe name of the virtual machine.