Skip to main content

pipelines

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

Overview

Namepipelines
TypeResource
Idazure.data_transfer.pipelines

Fields

NameDatatypeDescription
connectionstextfield from the properties object
display_nametextfield from the properties object
flow_typestextfield from the properties object
locationtextThe geo-location where the resource lives
pipelineNametextfield from the properties object
policiestextfield from the properties object
provisioning_statetextfield from the properties object
remote_cloudtextfield from the properties object
resourceGroupNametextfield from the properties object
subscriberstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTpipelineName, resourceGroupName, subscriptionIdGets pipeline resource.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets pipelines in a resource group.
list_by_subscriptionSELECTsubscriptionIdGets pipelines in a subscription.
create_or_updateINSERTpipelineName, resourceGroupName, subscriptionId, data__locationCreates or updates the pipeline resource.
deleteDELETEpipelineName, resourceGroupName, subscriptionIdDeletes the pipeline resource.
updateUPDATEpipelineName, resourceGroupName, subscriptionIdUpdates the pipeline resource.
approve_connectionEXECpipelineName, resourceGroupName, subscriptionId, data__idApproves the specified connection in a pipeline.
reject_connectionEXECpipelineName, resourceGroupName, subscriptionId, data__idRejects the specified connection in a pipeline.

SELECT examples

Gets pipelines in a subscription.

SELECT
connections,
display_name,
flow_types,
location,
pipelineName,
policies,
provisioning_state,
remote_cloud,
resourceGroupName,
subscribers,
subscriptionId,
tags
FROM azure.data_transfer.vw_pipelines
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_transfer.pipelines (
pipelineName,
resourceGroupName,
subscriptionId,
data__location,
properties,
tags,
location
)
SELECT
'{{ pipelineName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a pipelines resource.

/*+ update */
UPDATE azure.data_transfer.pipelines
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
pipelineName = '{{ pipelineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified pipelines resource.

/*+ delete */
DELETE FROM azure.data_transfer.pipelines
WHERE pipelineName = '{{ pipelineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';