Megosztás a következőn keresztül:


NetworkExtensions.GetVirtualNetworkGateways(ResourceGroupResource) Method

Definition

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