DataFlowsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataFactoryManagementClient's

<xref:data_flows> attribute.

Inheritance
builtins.object
DataFlowsOperations

Constructor

DataFlowsOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a data flow.

delete

Deletes a data flow.

get

Gets a data flow.

list_by_factory

Lists data flows.

create_or_update

Creates or updates a data flow.

create_or_update(resource_group_name: str, factory_name: str, data_flow_name: str, data_flow: _models.DataFlowResource, if_match: str | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.DataFlowResource

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

data_flow_name
Required
str

The data flow name. Required.

data_flow
Required

Data flow resource definition. Is either a DataFlowResource type or a IO[bytes] type. Required.

if_match
Required
str

ETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. Default value is None.

Returns

Type Description

DataFlowResource or the result of cls(response)

Exceptions

Type Description

delete

Deletes a data flow.

delete(resource_group_name: str, factory_name: str, data_flow_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

data_flow_name
Required
str

The data flow name. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Gets a data flow.

get(resource_group_name: str, factory_name: str, data_flow_name: str, if_none_match: str | None = None, **kwargs: Any) -> DataFlowResource

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

data_flow_name
Required
str

The data flow name. Required.

if_none_match
Required
str

ETag of the data flow entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. Default value is None.

Returns

Type Description

DataFlowResource or the result of cls(response)

Exceptions

Type Description

list_by_factory

Lists data flows.

list_by_factory(resource_group_name: str, factory_name: str, **kwargs: Any) -> Iterable[DataFlowResource]

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

Returns

Type Description

An iterator like instance of either DataFlowResource or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.datafactory.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\datafactory\\models\\__init__.py'>