Share via


MockableNetworkArmClient.GetVpnGatewayResource(ResourceIdentifier) Method

Definition

Gets an object representing a VpnGatewayResource 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 VpnGatewayResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VpnGatewayResource object.

Applies to