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.

How to fetch VirtualNetworkGateway related to specific VirtualNetwork

See original GitHub issue

Query/Question Hi, How can I to fetch VirtualNetworkGateway related to specific VirtualNetwork? I can use Azure.networks() for fetching the VirtualNetworks and Azure.virtualNetworkGateways() for fetching VirtualNetworkGateways.

But how I can fetch VirtualNetworkGateway that created from specific VirtualNetwork?

Thanks,

Shai Untitled

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
xseeseeseecommented, Mar 24, 2020

@shaikezam Yes, you can use networkId(). It helps parse network ID from subnet ID internally. Please ignore previous sample I provided. I was checking the request/response for this part but I didn’t notice it’s already got derived inside the SDK.

0reactions
xseeseeseecommented, Mar 26, 2020

@shaikezam If it works for you please feel free to close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Virtual Network Gateway Connections - Get - REST API (Azure ...
Learn more about Network Gateway service - Gets the specified virtual network gateway connection by resource group.
Read more >
Azure vNet-to-vNet Connections
In the Settings section of your virtual network page, select Subnets to expand the Subnets page. On the Subnets page, select Gateway subnet...
Read more >
Connecting Two Virtual Networks Using a Network Gateway ...
Vnet to Vnet connection using gatewaysPlease like the video, subscribe to see more, and leave a comment if there's anything I can cover ......
Read more >
Introduction To Azure Virtual Network(vnet) - Simplilearn
This article will help you understand the concept of how to secure your application using Azure VNet. As well as Advantages and components ......
Read more >
Finding and Removing Unused Azure Virtual Network Gateways
1. Log in to the Azure portal menu and select or search for “All resources” · 2. Select a virtual network gateway. ·...
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