az network cross-region-lb
Manage and configure cross-region load balancers.
To learn more about Azure Load Balancer visit https://docs.microsoft.com/azure/load-balancer/load-balancer-get-started-internet-arm-cli.
Commands
| az network cross-region-lb address-pool |
Manage address pools of a cross-region load balancer. |
| az network cross-region-lb address-pool address |
Manage backend addresses of the cross-region load balance backend address pool. |
| az network cross-region-lb address-pool address add |
Add one backend address into the load balance backend address pool. |
| az network cross-region-lb address-pool address list |
List all backend addresses of the load balance backend address pool. |
| az network cross-region-lb address-pool address remove |
Remove one backend address from the load balance backend address pool. |
| az network cross-region-lb address-pool create |
Create an address pool. |
| az network cross-region-lb address-pool delete |
Delete an address pool. |
| az network cross-region-lb address-pool list |
Gets all the load balancer backed address pools. |
| az network cross-region-lb address-pool show |
Gets load balancer backend address pool. |
| az network cross-region-lb create |
Create a cross-region load balancer. |
| az network cross-region-lb delete |
Deletes the specified load balancer. |
| az network cross-region-lb frontend-ip |
Manage frontend IP addresses of a cross-region load balancer. |
| az network cross-region-lb frontend-ip create |
Create a frontend IP address. |
| az network cross-region-lb frontend-ip delete |
Delete a frontend IP address. |
| az network cross-region-lb frontend-ip list |
List frontend IP addresses. |
| az network cross-region-lb frontend-ip show |
Get the details of a frontend IP address. |
| az network cross-region-lb frontend-ip update |
Update a frontend IP address. |
| az network cross-region-lb list |
List load balancers. |
| az network cross-region-lb probe |
Evaluate probe information and define routing rules. |
| az network cross-region-lb probe create |
Create a probe. |
| az network cross-region-lb probe delete |
Delete a probe. |
| az network cross-region-lb probe list |
List probes. |
| az network cross-region-lb probe show |
Get the details of a probe. |
| az network cross-region-lb probe update |
Update a probe. |
| az network cross-region-lb rule |
Manage cross-region load balancing rules. |
| az network cross-region-lb rule create |
Create a load balancing rule. |
| az network cross-region-lb rule delete |
Delete a load balancing rule. |
| az network cross-region-lb rule list |
List load balancing rules. |
| az network cross-region-lb rule show |
Get the details of a load balancing rule. |
| az network cross-region-lb rule update |
Update a load balancing rule. |
| az network cross-region-lb show |
Gets the specified load balancer. |
| az network cross-region-lb update |
Update a cross-region load balancer. |
| az network cross-region-lb wait |
Place the CLI in a waiting state until a condition of the cross-region load balancer is met. |
az network cross-region-lb create
Create a cross-region load balancer.
az network cross-region-lb create --name
--resource-group
[--address-allocation {Dynamic, Static}]
[--backend-pool-name]
[--frontend-ip-name]
[--frontend-ip-zone {1, 2, 3}]
[--location]
[--no-wait]
[--public-ip-address]
[--public-ip-dns-name]
[--public-ip-zone {1, 2, 3}]
[--tags]
[--validate]
Examples
Create a basic load balancer.
az network cross-region-lb create -g MyResourceGroup -n MyLb
Required Parameters
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
IP allocation method.
The name of the backend address pool.
The name of the frontend IP configuration.
Used to create internal facing Load balancer.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Do not wait for the long-running operation to finish.
Name or ID of the public IP address, or "" for none. Uses existing resource if available or will create a new resource with defaults if omitted.
Globally unique DNS name for a new public IP.
Used to created a new public ip for the load balancer, a.k.a public facing Load balancer.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Generate and validate the ARM template without creating any resources.
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 network cross-region-lb delete
Deletes the specified load balancer.
az network cross-region-lb delete [--ids]
[--name]
[--resource-group]
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The load balancer name.
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 network cross-region-lb list
List load balancers.
az network cross-region-lb list [--resource-group]
Examples
List load balancers.
az network cross-region-lb list -g MyResourceGroup
Optional Parameters
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 network cross-region-lb show
Gets the specified load balancer.
az network cross-region-lb show [--expand]
[--ids]
[--name]
[--resource-group]
Optional Parameters
Expands referenced resources.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The load balancer name.
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 network cross-region-lb update
Update a cross-region load balancer.
This command can only be used to update the tags for a load balancer. Name and resource group are immutable and cannot be updated.
az network cross-region-lb update [--add]
[--force-string]
[--ids]
[--name]
[--remove]
[--resource-group]
[--set]
Examples
Update the tags of a load balancer.
az network cross-region-lb update -g MyResourceGroup -n MyLb --set tags.CostCenter=MyBusinessGroup
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The load balancer name.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
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 network cross-region-lb wait
Place the CLI in a waiting state until a condition of the cross-region load balancer is met.
az network cross-region-lb wait [--created]
[--custom]
[--deleted]
[--exists]
[--expand]
[--ids]
[--interval]
[--name]
[--resource-group]
[--timeout]
[--updated]
Examples
Wait for load balancer to return as created.
az network cross-region-lb wait -g MyResourceGroup -n MyLB --created
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Expands referenced resources.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
The load balancer name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ