Skip to main content

import_pipelines

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

Overview

Nameimport_pipelines
TypeResource
Idazure.container_registry.import_pipelines

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
idstringThe resource ID.
namestringThe name of the resource.
identityobjectThe identity of the import pipeline.
locationstringThe location of the import pipeline.
propertiesobjectThe properties of the import pipeline.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, registryName, importPipelineNameGets the properties of the import pipeline.
listselectsubscriptionId, resourceGroupName, registryNameLists all import pipelines for the specified container registry.
createinsertsubscriptionId, resourceGroupName, registryName, importPipelineNameCreates an import pipeline for a container registry with the specified parameters.
deletedeletesubscriptionId, resourceGroupName, registryName, importPipelineNameDeletes an import pipeline from a container registry.

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
importPipelineNamestringThe name of the import pipeline.
registryNamestringThe name of the container registry.
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 the properties of the import pipeline.

SELECT
id,
name,
identity,
location,
properties,
systemData,
type
FROM azure.container_registry.import_pipelines
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
AND importPipelineName = '{{ importPipelineName }}' -- required
;

INSERT examples

Creates an import pipeline for a container registry with the specified parameters.

INSERT INTO azure.container_registry.import_pipelines (
data__location,
data__identity,
data__properties,
subscriptionId,
resourceGroupName,
registryName,
importPipelineName
)
SELECT
'{{ location }}',
'{{ identity }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ registryName }}',
'{{ importPipelineName }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
type
;

DELETE examples

Deletes an import pipeline from a container registry.

DELETE FROM azure.container_registry.import_pipelines
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND registryName = '{{ registryName }}' --required
AND importPipelineName = '{{ importPipelineName }}' --required
;