NetworkExtensions.GetExpressRouteProviderPorts(SubscriptionResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET