LinkedServicesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

LogAnalyticsManagementClient's

<xref:linked_services> attribute.

Constructor

LinkedServicesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a linked service.

begin_delete

Deletes a linked service instance.

get

Gets a linked service instance.

list_by_workspace

Gets the linked services instances in a workspace.

begin_create_or_update

Create or update a linked service.

begin_create_or_update(resource_group_name: str, workspace_name: str, linked_service_name: str, parameters: _models.LinkedService, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.LinkedService]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

linked_service_name
Required
str

Name of the linked service. Required.

parameters
Required
LinkedService or <xref:JSON> or IO[bytes]

The parameters required to create or update a linked service. Is one of the following types: LinkedService, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns LinkedService. The LinkedService is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes a linked service instance.

begin_delete(resource_group_name: str, workspace_name: str, linked_service_name: str, **kwargs: Any) -> LROPoller[LinkedService]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

linked_service_name
Required
str

Name of the linked service. Required.

Returns

Type Description

An instance of LROPoller that returns LinkedService. The LinkedService is compatible with MutableMapping

Exceptions

Type Description

get

Gets a linked service instance.

get(resource_group_name: str, workspace_name: str, linked_service_name: str, **kwargs: Any) -> LinkedService

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

linked_service_name
Required
str

Name of the linked service. Required.

Returns

Type Description

LinkedService. The LinkedService is compatible with MutableMapping

Exceptions

Type Description

list_by_workspace

Gets the linked services instances in a workspace.

list_by_workspace(resource_group_name: str, workspace_name: str, **kwargs: Any) -> ItemPaged[LinkedService]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

Returns

Type Description

An iterator like instance of LinkedService

Exceptions

Type Description