Azure / azure-cli

Azure Command-Line Interface
MIT License
3.94k stars 2.92k forks source link

Remove public preview warning from --probe-threshold + add additional warning message for --number-of-probes or --threshold property #29254

Closed thisisanniefang closed 1 month ago

thisisanniefang commented 2 months ago

Describe the bug

Preview warning needs to be removed when --probe-threshold is specified, this property is GA

Additionally, we'd like to add a warning message when --number-of-probes or --threshold property is used. This property is no longer respected per our known issues documented: https://learn.microsoft.com/en-us/azure/load-balancer/whats-new#known-issues

Related command

az network lb probe create az network lb probe update

Errors

image

Issue script & Debug output

N/A

Expected behavior

User should not see public preview warning message when specifying --probe-threshold property

User should see a new warning message when attempting to specify --number-of-probes or --threshold property

Environment Summary

N/A

Additional context

No response

yonzhan commented 2 months ago

Thank you for opening this issue, we will look into it.

necusjz commented 2 months ago

@thisisanniefang "Additionally, we'd like to add a warning message when --number-of-probes or --threshold property is used.", could you specify the warning message for us?

BTW, i will work on that along with https://github.com/Azure/azure-cli/issues/29103