Sdílet prostřednictvím


PeeringExtensions.GetPeeringServicePrefixResource Method

Definition

Gets an object representing a PeeringServicePrefixResource 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 PeeringServicePrefixResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPeeringServicePrefixResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PeeringServicePrefixResource object.

Exceptions

client is null.

Applies to