Share via


MockableNetworkArmClient.GetVirtualNetworkGatewayResource Method

Definition

Gets an object representing a VirtualNetworkGatewayResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualNetworkGatewayResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.VirtualNetworkGatewayResource GetVirtualNetworkGatewayResource (Azure.Core.ResourceIdentifier id);
abstract member GetVirtualNetworkGatewayResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VirtualNetworkGatewayResource
override this.GetVirtualNetworkGatewayResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VirtualNetworkGatewayResource
Public Overridable Function GetVirtualNetworkGatewayResource (id As ResourceIdentifier) As VirtualNetworkGatewayResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualNetworkGatewayResource object.

Applies to