az vmware workload-network vm-group
Note
This reference is part of the vmware extension for the Azure CLI (version 2.11.0 or higher). The extension will automatically install the first time you run an az vmware workload-network vm-group command. Learn more about extensions.
Commands to manage a VM Group workload network.
Commands
az vmware workload-network vm-group create |
Create a VM Group by ID in a private cloud workload network. |
az vmware workload-network vm-group delete |
Delete a VM Group by ID in a private cloud workload network. |
az vmware workload-network vm-group list |
List of VM Groups in a private cloud workload network. |
az vmware workload-network vm-group show |
Get a VM Group by ID in a private cloud workload network. |
az vmware workload-network vm-group update |
Update a VM Group by ID in a private cloud workload network. |
az vmware workload-network vm-group create
Create a VM Group by ID in a private cloud workload network.
az vmware workload-network vm-group create --private-cloud
--resource-group
--vm-group
[--display-name]
[--members]
[--revision]
Examples
Create a VM Group by ID in a workload network.
az vmware workload-network vm-group create --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1 --display-name vmGroup1 --members 564d43da-fefc-2a3b-1d92-42855622fa50 --revision 1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
NSX VM Group identifier. Generally the same as the VM Group's display name.
Optional Parameters
Display name of the VM group.
Virtual machine members of this group.
NSX revision number.
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 vmware workload-network vm-group delete
Delete a VM Group by ID in a private cloud workload network.
az vmware workload-network vm-group delete --private-cloud
--resource-group
--vm-group
[--yes]
Examples
Delete a VM Group by ID in a private cloud workload network.
az vmware workload-network vm-group delete --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
NSX VM Group identifier. Generally the same as the VM Group's display name.
Optional Parameters
Delete without confirmation.
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 vmware workload-network vm-group list
List of VM Groups in a private cloud workload network.
az vmware workload-network vm-group list --private-cloud
--resource-group
Examples
List of VM Groups in a workload network.
az vmware workload-network vm-group list --resource-group group1 --private-cloud cloud1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 vmware workload-network vm-group show
Get a VM Group by ID in a private cloud workload network.
az vmware workload-network vm-group show --private-cloud
--resource-group
--vm-group
Examples
Get a VM Group by ID in a workload network.
az vmware workload-network vm-group show --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
NSX VM Group identifier. Generally the same as the VM Group's display name.
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 vmware workload-network vm-group update
Update a VM Group by ID in a private cloud workload network.
az vmware workload-network vm-group update --private-cloud
--resource-group
--vm-group
[--display-name]
[--members]
[--revision]
Examples
Update a VM Group by ID in a workload network.
az vmware workload-network vm-group update --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1 --display-name vmGroup1 --members 564d43da-fefc-2a3b-1d92-42855622fa50 --revision 1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
NSX VM Group identifier. Generally the same as the VM Group's display name.
Optional Parameters
Display name of the VM group.
Virtual machine members of this group.
NSX revision number.
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
Submit and view feedback for