Share via


NetworkExtensions.GetVirtualNetworkGatewayConnections Method

Definition

Gets a collection of VirtualNetworkGatewayConnectionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualNetworkGatewayConnections() instead.

public static Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionCollection GetVirtualNetworkGatewayConnections (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualNetworkGatewayConnections : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionCollection
<Extension()>
Public Function GetVirtualNetworkGatewayConnections (resourceGroupResource As ResourceGroupResource) As VirtualNetworkGatewayConnectionCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VirtualNetworkGatewayConnectionResources and their operations over a VirtualNetworkGatewayConnectionResource.

Exceptions

resourceGroupResource is null.

Applies to