Del via


az stack-hci-vm network lb frontend-ip

Note

This reference is part of the stack-hci-vm extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az stack-hci-vm network lb frontend-ip command. Learn more about extensions.

Manage frontend IP configurations on a load balancer.

Commands

Name Description Type Status
az stack-hci-vm network lb frontend-ip add

Add a frontend IP configuration to an existing load balancer.

Extension GA
az stack-hci-vm network lb frontend-ip delete

Remove a frontend IP configuration from a load balancer.

Extension GA
az stack-hci-vm network lb frontend-ip list

List frontend IP configurations on a load balancer.

Extension GA
az stack-hci-vm network lb frontend-ip show

Show the details of a frontend IP configuration.

Extension GA

az stack-hci-vm network lb frontend-ip add

Add a frontend IP configuration to an existing load balancer.

az stack-hci-vm network lb frontend-ip add --lb-name
                                           --name
                                           --resource-group
                                           [--allocation-method {Dynamic, Static}]
                                           [--private-ip]
                                           [--public-ip-id]
                                           [--subnet-id]

Examples

Add Dynamic Frontend

az stack-hci-vm network lb frontend-ip add --resource-group "test-rg" --lb-name "test-lb" --name "fe-dyn" --allocation-method Dynamic --subnet-id /subscriptions/xxxx/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet/subnets/subnet1

Add Static Frontend

az stack-hci-vm network lb frontend-ip add --resource-group "test-rg" --lb-name "test-lb" --name "fe-static" --allocation-method Static --private-ip 10.0.0.5 --subnet-id /subscriptions/xxxx/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet/subnets/subnet1

Required Parameters

--lb-name

Name of the load balancer that owns the frontend IP.

--name -n

Name of the frontend IP configuration to create.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--allocation-method

Set Static to select a private IP, otherwise Dynamic.

Property Value
Accepted values: Dynamic, Static
--private-ip

Static private IP to assign when using Static allocation.

--public-ip-id

Resource ID of the public IP to associate with this frontend configuration.

--subnet-id

Resource ID of the subnet that provides connectivity.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az stack-hci-vm network lb frontend-ip delete

Remove a frontend IP configuration from a load balancer.

az stack-hci-vm network lb frontend-ip delete --lb-name
                                              --name
                                              --resource-group
                                              [--yes]

Examples

Delete Frontend

az stack-hci-vm network lb frontend-ip delete --resource-group "test-rg" --lb-name "test-lb" --name "fe-static" --yes

Required Parameters

--lb-name

Name of the load balancer that owns the frontend IP.

--name -n

Name of the frontend IP configuration to delete.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az stack-hci-vm network lb frontend-ip list

List frontend IP configurations on a load balancer.

az stack-hci-vm network lb frontend-ip list --lb-name
                                            --resource-group

Examples

List Frontends

az stack-hci-vm network lb frontend-ip list --lb-name "test-lb" --resource-group "test-rg" -o table

Required Parameters

--lb-name

Name of the load balancer that owns the frontend IP.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az stack-hci-vm network lb frontend-ip show

Show the details of a frontend IP configuration.

az stack-hci-vm network lb frontend-ip show --lb-name
                                            --name
                                            --resource-group

Examples

Show Frontend

az stack-hci-vm network lb frontend-ip show --resource-group "test-rg" --lb-name "test-lb" --name "fe-dyn"

Required Parameters

--lb-name

Name of the load balancer that owns the frontend IP.

--name -n

Name of the frontend IP configuration to show.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False