Condividi tramite


NetworkExtensions.GetExpressRouteCrossConnectionPeeringResource Method

Definition

Gets an object representing an ExpressRouteCrossConnectionPeeringResource 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 an ExpressRouteCrossConnectionPeeringResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetExpressRouteCrossConnectionPeeringResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ExpressRouteCrossConnectionPeeringResource object.

Exceptions

client is null.

Applies to