Share via


MockablePeeringArmClient.GetPeerAsnResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PeerAsnResource object.

Applies to