DatasetsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataFactoryManagementClient's

<xref:datasets> attribute.

Inheritance
builtins.object
DatasetsOperations

Constructor

DatasetsOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a dataset.

delete

Deletes a dataset.

get

Gets a dataset.

list_by_factory

Lists datasets.

create_or_update

Creates or updates a dataset.

async create_or_update(resource_group_name: str, factory_name: str, dataset_name: str, dataset: azure.mgmt.datafactory.models._models_py3.DatasetResource, if_match: Optional[str] = None, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.DatasetResource

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

dataset_name
str
Required

The dataset name.

dataset
DatasetResource
Required

Dataset resource definition.

if_match
str
Required

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

cls
callable

A custom type or function that will be passed the direct response

Returns

DatasetResource, or the result of cls(response)

Return type

Exceptions

delete

Deletes a dataset.

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

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

dataset_name
str
Required

The dataset name.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Gets a dataset.

async get(resource_group_name: str, factory_name: str, dataset_name: str, if_none_match: Optional[str] = None, **kwargs: Any) -> Optional[azure.mgmt.datafactory.models._models_py3.DatasetResource]

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

dataset_name
str
Required

The dataset name.

if_none_match
str
Required

ETag of the dataset 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.

cls
callable

A custom type or function that will be passed the direct response

Returns

DatasetResource, or the result of cls(response)

Return type

Exceptions

list_by_factory

Lists datasets.

list_by_factory(resource_group_name: str, factory_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.datafactory.models._models_py3.DatasetListResponse]

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

cls
callable

A custom type or function that will be passed the direct response

Returns

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

Return type

Exceptions

Attributes

models

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