LinkedServicesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataFactoryManagementClient's

<xref:linked_services> attribute.

Inheritance
builtins.object
LinkedServicesOperations

Constructor

LinkedServicesOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a linked service.

delete

Deletes a linked service.

get

Gets a linked service.

list_by_factory

Lists linked services.

create_or_update

Creates or updates a linked service.

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

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

linked_service_name
str
Required

The linked service name.

linked_service
LinkedServiceResource
Required

Linked service resource definition.

if_match
str
Required

ETag of the linkedService 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

LinkedServiceResource, or the result of cls(response)

Return type

Exceptions

delete

Deletes a linked service.

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

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

linked_service_name
str
Required

The linked service 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 linked service.

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

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

linked_service_name
str
Required

The linked service name.

if_none_match
str
Required

ETag of the linked service 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

LinkedServiceResource, or the result of cls(response)

Return type

Exceptions

list_by_factory

Lists linked services.

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

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 LinkedServiceListResponse 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'>