az stack-hci-vm nic
Note
This reference is part of the stack-hci-vm extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az stack-hci-vm nic command. Learn more about extensions.
Command group 'stack-hci-vm' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage vNIC of a virtual machine with stack-hci-vm.
Commands
Name | Description | Type | Status |
---|---|---|---|
az stack-hci-vm nic add |
Add existing vNICs to a VM. |
Extension | Experimental |
az stack-hci-vm nic remove |
Remove vNICs from a VM. |
Extension | Experimental |
az stack-hci-vm nic add
Command group 'stack-hci-vm' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add existing vNICs to a VM.
az stack-hci-vm nic add --nics
--resource-group
--vm-name
Examples
AddVNIC
az stack-hci-vm nic add --resource-group "test-rg" --vm-name "test-vm" --nics "test-vnic"
Required Parameters
Name or IDs of NICs.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
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 stack-hci-vm nic remove
Command group 'stack-hci-vm' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove vNICs from a VM.
az stack-hci-vm nic remove --nics
--resource-group
--vm-name
[--yes]
Examples
RemoveVNIC
az stack-hci-vm nic remove --resource-group "test-rg" --vm-name "test-vm" --nics "test-vnic"
Required Parameters
Name or IDs of NICs.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Optional Parameters
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for