Share via


NetworkExtensions.GetLocalNetworkGateways(ResourceGroupResource) Method

Definition

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of LocalNetworkGatewayResources and their operations over a LocalNetworkGatewayResource.

Exceptions

resourceGroupResource is null.

Applies to