共用方式為


NetworkExtensions.GetExpressRoutePortsLocations(SubscriptionResource) Method

Definition

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ExpressRoutePortsLocationResources and their operations over a ExpressRoutePortsLocationResource.

Exceptions

subscriptionResource is null.

Applies to