Share via


ManagedNetworkFabricExtensions.GetNetworkFabricsAsync Method

Definition

List all the Network Fabric resources in the given subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to