az vmware workload-network segment
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 segment command. Learn more about extensions.
Commands to manage a Segment workload network.
Commands
| az vmware workload-network segment create |
Create a segment by ID in a private cloud workload network. |
| az vmware workload-network segment delete |
Delete a segment by ID in a private cloud workload network. |
| az vmware workload-network segment list |
List of segments in a private cloud workload network. |
| az vmware workload-network segment show |
Get a segment by ID in a private cloud workload network. |
| az vmware workload-network segment update |
Update a segment by ID in a private cloud workload network. |
az vmware workload-network segment create
Create a segment by ID in a private cloud workload network.
az vmware workload-network segment create --private-cloud
--resource-group
--segment
[--connected-gateway]
[--dhcp-ranges]
[--display-name]
[--gateway-address]
[--port-name]
[--revision]
Examples
Create a segment by ID in a workload network.
az vmware workload-network segment create --resource-group group1 --private-cloud cloud1 --segment segment1 --display-name segment1 --connected-gateway /infra/tier-1s/gateway --revision 1 --dhcp-ranges 40.20.0.0 40.20.0.1 --gateway-address 40.20.20.20/16 --port-name port1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
NSX Segment identifier. Generally the same as the Segment's display name.
Optional Parameters
Gateway which to connect segment to.
DHCP Range assigned for subnet.
Display name of the segment.
Gateway address.
Name of port or VIF attached to segment.
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 segment delete
Delete a segment by ID in a private cloud workload network.
az vmware workload-network segment delete --private-cloud
--resource-group
--segment
[--yes]
Examples
Delete a segment by ID in a workload network.
az vmware workload-network segment delete --resource-group group1 --private-cloud cloud1 --segment segment1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
NSX Segment identifier. Generally the same as the Segment'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 segment list
List of segments in a private cloud workload network.
az vmware workload-network segment list --private-cloud
--resource-group
Examples
List of segments in a workload network.
az vmware workload-network segment 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 segment show
Get a segment by ID in a private cloud workload network.
az vmware workload-network segment show --private-cloud
--resource-group
--segment
Examples
Get a segment by ID in a workload network.
az vmware workload-network segment show --resource-group group1 --private-cloud cloud1 --segment segment1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
NSX Segment identifier. Generally the same as the Segment'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 segment update
Update a segment by ID in a private cloud workload network.
az vmware workload-network segment update --private-cloud
--resource-group
--segment
[--connected-gateway]
[--dhcp-ranges]
[--display-name]
[--gateway-address]
[--port-name]
[--revision]
Examples
Update a segment by ID in a workload network.
az vmware workload-network segment update --resource-group group1 --private-cloud cloud1 --segment segment1 --display-name segment1 --connected-gateway /infra/tier-1s/gateway --revision 1 --dhcp-ranges 40.20.0.0 40.20.0.1 --gateway-address 40.20.20.20/16 --port-name port1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
NSX Segment identifier. Generally the same as the Segment's display name.
Optional Parameters
Gateway which to connect segment to.
DHCP Range assigned for subnet.
Display name of the segment.
Gateway address.
Name of port or VIF attached to segment.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ