question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az command for adding a new Private Link configuration and associate it with an existing Frontend IP

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command — az network application-gateway private-link add --frontend-ip --name --subnet --gateway-name --resource-group —

Describe the bug — For using existing subnet, If I put name of a existing subnet into ‘–subnet’ argument, it won’t start the operation, and return ‘subnet duplicates’ error msg, however, it will work, if I put subnet resource ID.

To Reproduce — create a App GW with 2 subnets, one for app GW, and one for Private Link, then run command —

Expected behavior — Users would think subnet name and subnet resource ID, both should work, and expecting better explanation with error msg—

Environment summary — Cloud shell / az CLI —

Additional context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
elshat128commented, May 13, 2022

@necusjz that’s right, I understand the design. because there is user posted questions about this on the internet, maybe return error msg can be more clear, let user know, in order to use existing subnet, please enter subnet resources ID. thanks.

0reactions
necusjzcommented, May 13, 2022

@elshat128, so true, but such design also avoids the problem of subnet reuse.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Azure Application Gateway Private Link (preview)
Go to the Azure portal · Search for and select Application Gateways. · Select the name of the application gateway you want to...
Read more >
azure-docs/create-private-link-service-powershell.md at main
Create a front-end IP with New-AzLoadBalancerFrontendIpConfig for the frontend IP pool. This IP receives the incoming traffic on the load balancer.
Read more >
azurerm_application_gateway | Resources | hashicorp/azurerm
private_link_configuration_name - (Optional) The name of the private link configuration to use for this frontend IP configuration.
Read more >
Network Load Balancers - AWS Documentation - Amazon.com
Load balancer state · Load balancer attributes · IP address type · Availability Zones · Cross-zone load balancing · Deletion protection · Connection...
Read more >
Fully private AKS clusters — without any public ips — finally!
Using private link we are projecting the private IP address of the AKS master, ... az extension add --name azure-firewallaz network public-ip create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found