Share via


DataFactoryCollection Class

Definition

A class representing a collection of DataFactoryResource and their operations. Each DataFactoryResource in the collection will belong to the same instance of ResourceGroupResource. To get a DataFactoryCollection instance call the GetDataFactories method from an instance of ResourceGroupResource.

public class DataFactoryCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DataFactory.DataFactoryResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataFactory.DataFactoryResource>
type DataFactoryCollection = class
    inherit ArmCollection
    interface seq<DataFactoryResource>
    interface IEnumerable
    interface IAsyncEnumerable<DataFactoryResource>
Public Class DataFactoryCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DataFactoryResource), IEnumerable(Of DataFactoryResource)
Inheritance
DataFactoryCollection
Implements

Constructors

DataFactoryCollection()

Initializes a new instance of the DataFactoryCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DataFactoryData, String, CancellationToken)

Creates or updates a factory.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
CreateOrUpdateAsync(WaitUntil, String, DataFactoryData, String, CancellationToken)

Creates or updates a factory.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
Get(String, String, CancellationToken)

Gets a factory.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
GetAll(CancellationToken)

Lists factories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories
  • Operation Id: Factories_ListByResourceGroup
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
GetAllAsync(CancellationToken)

Lists factories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories
  • Operation Id: Factories_ListByResourceGroup
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
GetAsync(String, String, CancellationToken)

Gets a factory.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}
  • Operation Id: Factories_Get
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DataFactoryResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataFactoryResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to