Share via


MockableNetworkArmClient.GetP2SVpnGatewayResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a P2SVpnGatewayResource object.

Applies to