LinkedServicesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:linked_services> attribute.
- Inheritance
-
builtins.objectLinkedServicesOperations
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.
create_or_update(resource_group_name: str, factory_name: str, linked_service_name: str, linked_service: _models.LinkedServiceResource, if_match: str | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.LinkedServiceResource
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name. Required. |
factory_name
Required
|
The factory name. Required. |
linked_service_name
Required
|
The linked service name. Required. |
linked_service
Required
|
Linked service resource definition. Is either a LinkedServiceResource type or a IO[bytes] type. Required. |
if_match
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. |
Returns
Type | Description |
---|---|
LinkedServiceResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
delete
Deletes a linked service.
delete(resource_group_name: str, factory_name: str, linked_service_name: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name. Required. |
factory_name
Required
|
The factory name. Required. |
linked_service_name
Required
|
The linked service name. Required. |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets a linked service.
get(resource_group_name: str, factory_name: str, linked_service_name: str, if_none_match: str | None = None, **kwargs: Any) -> LinkedServiceResource | None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name. Required. |
factory_name
Required
|
The factory name. Required. |
linked_service_name
Required
|
The linked service name. Required. |
if_none_match
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. |
Returns
Type | Description |
---|---|
LinkedServiceResource or None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_factory
Lists linked services.
list_by_factory(resource_group_name: str, factory_name: str, **kwargs: Any) -> Iterable[LinkedServiceResource]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name. Required. |
factory_name
Required
|
The factory name. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either LinkedServiceResource 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'>
Azure SDK for Python