Share via


NetworkExtensions.GetExpressRouteProviderPorts(SubscriptionResource) Method

Definition

Gets a collection of ExpressRouteProviderPortResources in the SubscriptionResource. MockingTo mock this method, please mock GetExpressRouteProviderPorts() instead.

public static Azure.ResourceManager.Network.ExpressRouteProviderPortCollection GetExpressRouteProviderPorts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetExpressRouteProviderPorts : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.Network.ExpressRouteProviderPortCollection
<Extension()>
Public Function GetExpressRouteProviderPorts (subscriptionResource As SubscriptionResource) As ExpressRouteProviderPortCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ExpressRouteProviderPortResources and their operations over a ExpressRouteProviderPortResource.

Exceptions

subscriptionResource is null.

Applies to