az network cross-region-lb frontend-ip

Manage frontend IP addresses of a cross-region load balancer.

Commands

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 frontend-ip create

Create a frontend IP address.

az network cross-region-lb frontend-ip create --lb-name
                                              --name
                                              --resource-group
                                              [--public-ip-address]
                                              [--public-ip-prefix]
                                              [--zone {1, 2, 3}]

Examples

Create a frontend ip address for a public load balancer.

az network cross-region-lb frontend-ip create -g MyResourceGroup -n MyFrontendIp --lb-name MyLb --public-ip-address MyFrontendIp

Required Parameters

--lb-name

The load balancer name.

--name -n

The name of the frontend IP configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--public-ip-address

Name or ID of the existing public IP to associate with the configuration.

--public-ip-prefix

Name or ID of a public IP prefix.

--zone -z

Availability zone into which to provision the resource.

accepted values: 1, 2, 3

az network cross-region-lb frontend-ip delete

Delete a frontend IP address.

az network cross-region-lb frontend-ip delete --lb-name
                                              --name
                                              --resource-group

Examples

Delete a frontend IP address.

az network cross-region-lb frontend-ip delete -g MyResourceGroup --lb-name MyLb -n MyFrontendIp

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the frontend IP configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network cross-region-lb frontend-ip list

List frontend IP addresses.

az network cross-region-lb frontend-ip list --lb-name
                                            --resource-group

Examples

List frontend IP addresses.

az network cross-region-lb frontend-ip list -g MyResourceGroup --lb-name MyLb

Required Parameters

--lb-name

The name of the load balancer.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network cross-region-lb frontend-ip show

Get the details of a frontend IP address.

az network cross-region-lb frontend-ip show --lb-name
                                            --name
                                            --resource-group

Examples

Get the details of a frontend IP address.

az network cross-region-lb frontend-ip show -g MyResourceGroup --lb-name MyLb -n MyFrontendIp

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the frontend IP configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network cross-region-lb frontend-ip update

Update a frontend IP address.

az network cross-region-lb frontend-ip update [--add]
                                              [--force-string]
                                              [--ids]
                                              [--lb-name]
                                              [--name]
                                              [--public-ip-address]
                                              [--public-ip-prefix]
                                              [--remove]
                                              [--resource-group]
                                              [--set]

Examples

Update the frontend IP address of a public load balancer.

az network cross-region-lb frontend-ip update -g MyResourceGroup --lb-name MyLb -n MyFrontendIp --public-ip-address MyNewPublicIp

Optional Parameters

--add

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>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--ids

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.

--lb-name

The load balancer name.

--name -n

The name of the frontend IP configuration.

--public-ip-address

Name or ID of the existing public IP to associate with the configuration.

--public-ip-prefix

Name or ID of a public IP prefix.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.