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

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
descriptiontextfield from the properties object
annotationstextfield from the properties object
connect_viatextfield from the properties object
etagtextEtag identifies change in the resource.
factoryNametextfield from the properties object
linkedServiceNametextfield from the properties object
parameterstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfactoryName, linkedServiceName, resourceGroupName, subscriptionIdGets a linked service.
list_by_factorySELECTfactoryName, resourceGroupName, subscriptionIdLists linked services.
create_or_updateINSERTfactoryName, linkedServiceName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a linked service.
deleteDELETEfactoryName, linkedServiceName, resourceGroupName, subscriptionIdDeletes a linked service.

SELECT examples

Lists linked services.

SELECT
id,
name,
description,
annotations,
connect_via,
etag,
factoryName,
linkedServiceName,
parameters,
resourceGroupName,
subscriptionId,
type,
version
FROM azure.data_factory.vw_linked_services
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new linked_services resource.

/*+ create */
INSERT INTO azure.data_factory.linked_services (
factoryName,
linkedServiceName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ factoryName }}',
'{{ linkedServiceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified linked_services resource.

/*+ delete */
DELETE FROM azure.data_factory.linked_services
WHERE factoryName = '{{ factoryName }}'
AND linkedServiceName = '{{ linkedServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';