Share via


NetworkCloudExtensions.GetNetworkCloudL3NetworksAsync Method

Definition

Get a list of layer 3 (L3) networks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l3Networks
  • Operation Id: L3Networks_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource> GetNetworkCloudL3NetworksAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudL3NetworksAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>
<Extension()>
Public Function GetNetworkCloudL3NetworksAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkCloudL3NetworkResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetworkCloudL3NetworkResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to