Share via


MockablePeeringArmClient.GetPeeringResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Peering.PeeringResource GetPeeringResource (Azure.Core.ResourceIdentifier id);
abstract member GetPeeringResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Peering.PeeringResource
override this.GetPeeringResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Peering.PeeringResource
Public Overridable Function GetPeeringResource (id As ResourceIdentifier) As PeeringResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PeeringResource object.

Applies to