az vmware workload-network port-mirroring
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 port-mirroring command. Learn more about extensions.
Commands to manage a Port Mirroring workload network.
Commands
| az vmware workload-network port-mirroring create |
Create a port mirroring profile by ID in a private cloud workload network. |
| az vmware workload-network port-mirroring delete |
Delete a port mirroring profile by ID in a private cloud workload network. |
| az vmware workload-network port-mirroring list |
List of port mirroring profiles in a private cloud workload network. |
| az vmware workload-network port-mirroring show |
Get a port mirroring profile by ID in a private cloud workload network. |
| az vmware workload-network port-mirroring update |
Update a port mirroring profile by ID in a private cloud workload network. |
az vmware workload-network port-mirroring create
Create a port mirroring profile by ID in a private cloud workload network.
az vmware workload-network port-mirroring create --port-mirroring
--private-cloud
--resource-group
[--destination]
[--direction]
[--display-name]
[--revision]
[--source]
Examples
Create a port mirroring profile by ID in a workload network.
az vmware workload-network port-mirroring create --resource-group group1 --private-cloud cloud1 --port-mirroring portMirroring1 --display-name portMirroring1 --direction BIDIRECTIONAL --source vmGroup1 --destination vmGroup2 --revision 1
Required Parameters
NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Destination VM Group.
Direction of port mirroring profile.
Display name of the port mirroring profile.
NSX revision number.
Source VM Group.
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 port-mirroring delete
Delete a port mirroring profile by ID in a private cloud workload network.
az vmware workload-network port-mirroring delete --port-mirroring
--private-cloud
--resource-group
[--yes]
Examples
Delete a port mirroring profile by ID in a workload network.
az vmware workload-network port-mirroring delete --resource-group group1 --private-cloud cloud1 --port-mirroring portMirroring1
Required Parameters
NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<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 port-mirroring list
List of port mirroring profiles in a private cloud workload network.
az vmware workload-network port-mirroring list --private-cloud
--resource-group
Examples
List of port mirroring profiles in a workload network.
az vmware workload-network port-mirroring 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 port-mirroring show
Get a port mirroring profile by ID in a private cloud workload network.
az vmware workload-network port-mirroring show --port-mirroring
--private-cloud
--resource-group
Examples
Get a port mirroring profile by ID in a workload network.
az vmware workload-network port-mirroring show --resource-group group1 --private-cloud cloud1 --port-mirroring portMirroring1
Required Parameters
NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.
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 port-mirroring update
Update a port mirroring profile by ID in a private cloud workload network.
az vmware workload-network port-mirroring update --port-mirroring
--private-cloud
--resource-group
[--destination]
[--direction]
[--display-name]
[--revision]
[--source]
Examples
Update a port mirroring profile by ID in a workload network.
az vmware workload-network port-mirroring update --resource-group group1 --private-cloud cloud1 --port-mirroring portMirroring1 --display-name portMirroring1 --direction BIDIRECTIONAL --source vmGroup1 --destination vmGroup2 --revision 1
Required Parameters
NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Destination VM Group.
Direction of port mirroring profile.
Display name of the port mirroring profile.
NSX revision number.
Source VM Group.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ