Skip to content

[Documentation] Updating WAF policy using name as a parameter (instead of resource ID) fails #27869

Description

@ZarrVenkat

Describe the bug

In the documentation link: Documentation states otherwise https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/http-listener?view=azure-cli-latest#az_network_application_gateway_http_listener_update

For HTTP listener update, in the optional parameters it says
"--waf-policy
Name or ID of a web application firewall policy resource."

But when we try with Name it fails, we need to update the documentation and remove the "Name" part.

Related command

az network application-gateway http-listener show -g MyResourceGroup --gateway-name MyAppGateway -n MyHttpListener

Errors

NA

Issue script & Debug output

NA

Expected behavior

NA Documentation bug

Environment Summary

NA

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions