Share via


MockableNetworkArmClient.GetVirtualRouterPeeringResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualRouterPeeringResource object.

Applies to