Skip to main content

linked_services

Creates, updates, deletes, gets or lists a linked_services resource.

Overview

Namelinked_services
TypeResource
Idazure.data_factory.linked_services

Fields

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
etagstringEtag identifies change in the resource.
propertiesobjectProperties of linked service.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, factoryName, linkedServiceNameapi-version, If-None-MatchGets a linked service.
list_by_factoryselectsubscriptionId, resourceGroupName, factoryNameapi-versionLists linked services.
create_or_updateinsertsubscriptionId, resourceGroupName, factoryName, linkedServiceName, data__propertiesapi-version, If-MatchCreates or updates a linked service.
deletedeletesubscriptionId, resourceGroupName, factoryName, linkedServiceNameapi-versionDeletes a linked service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
factoryNamestringThe factory name.
linkedServiceNamestringThe linked service name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription identifier.
If-MatchstringETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
If-None-MatchstringETag 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.
api-versionstringThe API version.

SELECT examples

Gets a linked service.

SELECT
id,
name,
etag,
properties,
type
FROM azure.data_factory.linked_services
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND factoryName = '{{ factoryName }}' -- required
AND linkedServiceName = '{{ linkedServiceName }}' -- required
AND api-version = '{{ api-version }}'
AND If-None-Match = '{{ If-None-Match }}'
;

INSERT examples

Creates or updates a linked service.

INSERT INTO azure.data_factory.linked_services (
data__properties,
subscriptionId,
resourceGroupName,
factoryName,
linkedServiceName,
api-version,
If-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ factoryName }}',
'{{ linkedServiceName }}',
'{{ api-version }}',
'{{ If-Match }}'
RETURNING
id,
name,
etag,
properties,
type
;

DELETE examples

Deletes a linked service.

DELETE FROM azure.data_factory.linked_services
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND factoryName = '{{ factoryName }}' --required
AND linkedServiceName = '{{ linkedServiceName }}' --required
AND api-version = '{{ api-version }}'
;