NetworkExtensions.GetVirtualNetworkGateways(ResourceGroupResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of VirtualNetworkGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualNetworkGateways() instead.
public static Azure.ResourceManager.Network.VirtualNetworkGatewayCollection GetVirtualNetworkGateways (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualNetworkGateways : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.VirtualNetworkGatewayCollection
<Extension()>
Public Function GetVirtualNetworkGateways (resourceGroupResource As ResourceGroupResource) As VirtualNetworkGatewayCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of VirtualNetworkGatewayResources and their operations over a VirtualNetworkGatewayResource.
Exceptions
resourceGroupResource
is null.
Applies to
Azure SDK for .NET