你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkCloudExtensions.GetNetworkCloudL3NetworksAsync 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.
Get a list of layer 3 (L3) networks in the provided subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l3Networks
- Operation Id: L3Networks_ListBySubscription
- Default Api Version: 2024-07-01
- Resource: NetworkCloudL3NetworkResource
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.