Delen via


MockableNetworkArmClient.GetVirtualNetworkPeeringResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualNetworkPeeringResource object.

Applies to