Share via


MockableNetworkArmClient.GetVpnConnectionResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VpnConnectionResource object.

Applies to