Freigeben über


DataFactoryExtensions.GetDataFactoriesAsync Method

Definition

Lists factories under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories
  • Operation Id: Factories_List
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
public static Azure.AsyncPageable<Azure.ResourceManager.DataFactory.DataFactoryResource> GetDataFactoriesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDataFactoriesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataFactory.DataFactoryResource>
<Extension()>
Public Function GetDataFactoriesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataFactoryResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to