Skip to main content

pipelines

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

Overview

Namepipelines
TypeResource
Idazure.data_transfer.pipelines

Fields

The following fields are returned by SELECT queries:

Retrieved the pipelines resource.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectProperties of pipeline
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, pipelineNameGets pipeline resource.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGets pipelines in a resource group.
list_by_subscriptionselectsubscriptionIdGets pipelines in a subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, pipelineName, data__locationCreates or updates the pipeline resource.
updateupdatesubscriptionId, resourceGroupName, pipelineNameUpdates the pipeline resource.
deletedeletesubscriptionId, resourceGroupName, pipelineNameDeletes the pipeline resource.
approve_connectionexecsubscriptionId, resourceGroupName, pipelineName, idApproves the specified connection in a pipeline.
reject_connectionexecsubscriptionId, resourceGroupName, pipelineName, idRejects the specified connection in a pipeline.

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
pipelineNamestringThe name for the pipeline that is to be requested.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets pipeline resource.

SELECT
location,
properties,
tags
FROM azure.data_transfer.pipelines
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND pipelineName = '{{ pipelineName }}' -- required
;

INSERT examples

Creates or updates the pipeline resource.

INSERT INTO azure.data_transfer.pipelines (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
pipelineName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ pipelineName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Updates the pipeline resource.

UPDATE azure.data_transfer.pipelines
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND pipelineName = '{{ pipelineName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Deletes the pipeline resource.

DELETE FROM azure.data_transfer.pipelines
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND pipelineName = '{{ pipelineName }}' --required
;

Lifecycle Methods

Approves the specified connection in a pipeline.

EXEC azure.data_transfer.pipelines.approve_connection 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@pipelineName='{{ pipelineName }}' --required
@@json=
'{
"id": "{{ id }}",
"statusReason": "{{ statusReason }}"
}'
;