NetworkExtensions.GetLocalNetworkGateways(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 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
Azure SDK for .NET