Share via


MockableNetworkArmClient.GetExpressRoutePortResource Method

Definition

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

public virtual Azure.ResourceManager.Network.ExpressRoutePortResource GetExpressRoutePortResource (Azure.Core.ResourceIdentifier id);
abstract member GetExpressRoutePortResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.ExpressRoutePortResource
override this.GetExpressRoutePortResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.ExpressRoutePortResource
Public Overridable Function GetExpressRoutePortResource (id As ResourceIdentifier) As ExpressRoutePortResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ExpressRoutePortResource object.

Applies to