Sdílet prostřednictvím


PeeringExtensions.GetPeerAsnResource(ArmClient, 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. MockingTo mock this method, please mock GetPeerAsnResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Peering.PeerAsnResource GetPeerAsnResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetPeerAsnResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Peering.PeerAsnResource
<Extension()>
Public Function GetPeerAsnResource (client As ArmClient, id As ResourceIdentifier) As PeerAsnResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PeerAsnResource object.

Exceptions

client is null.

Applies to