DataFactoryExtensions.GetDataFactories 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.
Overloads
GetDataFactories(ResourceGroupResource) |
Gets a collection of DataFactoryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataFactories() instead. |
GetDataFactories(SubscriptionResource, CancellationToken) |
Lists factories under the specified subscription.
|
GetDataFactories(ResourceGroupResource)
- Source:
- DataFactoryExtensions.cs
- Source:
- DataFactoryExtensions.cs
Gets a collection of DataFactoryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataFactories() instead.
public static Azure.ResourceManager.DataFactory.DataFactoryCollection GetDataFactories (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataFactories : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DataFactory.DataFactoryCollection
<Extension()>
Public Function GetDataFactories (resourceGroupResource As ResourceGroupResource) As DataFactoryCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of DataFactoryResources and their operations over a DataFactoryResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetDataFactories(SubscriptionResource, CancellationToken)
- Source:
- DataFactoryExtensions.cs
- Source:
- DataFactoryExtensions.cs
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.Pageable<Azure.ResourceManager.DataFactory.DataFactoryResource> GetDataFactories (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDataFactories : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataFactory.DataFactoryResource>
<Extension()>
Public Function GetDataFactories (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataFactoryResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DataFactoryResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET