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
Name of the load balancer that owns the frontend IP.
Name of the frontend IP configuration to create.
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.
Set Static to select a private IP, otherwise Dynamic.
| Property | Value |
|---|---|
| Accepted values: | Dynamic, Static |
Static private IP to assign when using Static allocation.
Resource ID of the public IP to associate with this frontend configuration.
Resource ID of the subnet that provides connectivity.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| 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
Name of the load balancer that owns the frontend IP.
Name of the frontend IP configuration to delete.
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.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| 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
Name of the load balancer that owns the frontend IP.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| 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
Name of the load balancer that owns the frontend IP.
Name of the frontend IP configuration to show.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |