[QUERY] How to add or remove IP address target from Application Gateway backend pool using the SDK #47631
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Network
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.ResourceManager.Network 1.9.0
Query/Question
How to add or remove IP address target from Application Gateway backend pool using the SDK? Using Az CLI, it's possible to do the same like so:
az network application-gateway address-pool update --gateway-name <GWNAME> -g <RESOURCE_GROUP> --name <BACKENDPOOLNAME> --add backendAddresses ipAddress=<IP_ADDRESS>
. However, it's not clear how to do the same with the SDK.I have created a service principal with Network Contributor role assigned to the Application Gateway resource in question. Next I create a ClientCertificateCredential object and do the following:
What should be the next step?
Environment
No response
The text was updated successfully, but these errors were encountered: