Skip to main content

import_pipelines

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

Overview

Nameimport_pipelines
TypeResource
Idazure.container_registry.import_pipelines

Fields

NameDatatypeDescription
identitytextManaged identity for the resource.
importPipelineNametextfield from the properties object
locationtextThe location of the import pipeline.
optionstextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
sourcetextfield from the properties object
subscriptionIdtextfield from the properties object
triggertextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTimportPipelineName, registryName, resourceGroupName, subscriptionIdGets the properties of the import pipeline.
listSELECTregistryName, resourceGroupName, subscriptionIdLists all import pipelines for the specified container registry.
createINSERTimportPipelineName, registryName, resourceGroupName, subscriptionIdCreates an import pipeline for a container registry with the specified parameters.
deleteDELETEimportPipelineName, registryName, resourceGroupName, subscriptionIdDeletes an import pipeline from a container registry.

SELECT examples

Lists all import pipelines for the specified container registry.

SELECT
identity,
importPipelineName,
location,
options,
provisioning_state,
registryName,
resourceGroupName,
source,
subscriptionId,
trigger
FROM azure.container_registry.vw_import_pipelines
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.container_registry.import_pipelines (
importPipelineName,
registryName,
resourceGroupName,
subscriptionId,
location,
identity,
properties
)
SELECT
'{{ importPipelineName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ identity }}',
'{{ properties }}'
;

DELETE example

Deletes the specified import_pipelines resource.

/*+ delete */
DELETE FROM azure.container_registry.import_pipelines
WHERE importPipelineName = '{{ importPipelineName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';