azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Load Balancer Inbound NAT Rule CLI

Open mahipdeora opened this issue 2 years ago • 6 comments

Related command

az network lb inbound-nat-rule update

Resource Provider

Microsoft.Network/loadBalancers

Description of Feature or Work Requested

  1. Currently, portal allows users to update the backend pool used by the inbound NAT rule v2. However, CLI currently lacks this feature. The feature request is to add a parameter (e.g. --backend-pool) that allows a user to update/change the backend pool used by their NAT rules

  2. The current documentation for az network lb inbound-nat-rule update has a few bugs. The doc lists all the parameters as optional, but this is false. The resource group, LB name, and rule name are all required.

image

Minimum API Version Required

N/A

Swagger PR link / SDK link

N/A

Request Example

No response

Target Date

2023-01-02

Additional context

No response

mahipdeora avatar Nov 23 '22 18:11 mahipdeora

@necusjz for awareness

yonzhan avatar Nov 23 '22 22:11 yonzhan

As bandwidth limited, we have to plan this feature to the sprint after the next sprint (will be released around Feb 2023).

For your second question, --resource-group, --lb-name and --name are optional when --ids is provided.

necusjz avatar Nov 30 '22 03:11 necusjz

Hi @necusjz, Feb 2023 sounds good to me. On the second point, I would like to have parity with our other CLI docs where we state that --rg, --lb-name, and -name are required. Maybe we can state either the ID or the other 3 items is required?

mahipdeora avatar Nov 30 '22 18:11 mahipdeora

@mahipdeora Unfortunately, it's by design, we can see similar case in az network lb outbound-rule update.

https://learn.microsoft.com/en-us/cli/azure/network/lb/outbound-rule?view=azure-cli-latest#az-network-lb-outbound-rule-update

necusjz avatar Dec 01 '22 04:12 necusjz

hi @necusjz, happy new year. Just wanted to ping you on this CLI. Are we still on track for a feb 2023 release?

mahipdeora avatar Jan 17 '23 18:01 mahipdeora

hi @necusjz, happy new year. Just wanted to ping you on this CLI. Are we still on track for a feb 2023 release?

@mahipdeora Yes, it is. In more detail, it has been resolved by https://github.com/Azure/azure-cli/pull/25170 with a new parameter --backend-address-pool.

necusjz avatar Jan 18 '23 01:01 necusjz

Thank you for your help on this. Do you know when this will roll out and will the docs be updated by your team?

mahipdeora avatar Jan 30 '23 18:01 mahipdeora

Thank you for your help on this. Do you know when this will roll out and will the docs be updated by your team?

Around 02/07/2023.

necusjz avatar Jan 31 '23 02:01 necusjz