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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the private link resource.
identityobjectThe identity of the import pipeline.
locationstringThe location of the import pipeline.
optionsarrayThe list of all options configured for the pipeline.
provisioningStatestringThe provisioning state of the pipeline at the time the operation was called. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". (Creating, Updating, Deleting, Succeeded, Failed, Canceled)
sourceobjectThe source properties of the import pipeline. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
triggerobjectThe properties that describe the trigger of the import pipeline.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, registry_name, import_pipeline_name, subscription_idGets the properties of the import pipeline.
listselectresource_group_name, registry_name, subscription_idLists all import pipelines for the specified container registry.
createinsertresource_group_name, registry_name, import_pipeline_name, subscription_idCreates an import pipeline for a container registry with the specified parameters.
deletedeleteresource_group_name, registry_name, import_pipeline_name, subscription_idDeletes 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
import_pipeline_namestringThe name of the import pipeline. Required.
registry_namestringThe name of the container registry. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the properties of the import pipeline.

SELECT
id,
name,
identity,
location,
options,
provisioningState,
source,
systemData,
trigger,
type
FROM azure.container_registry.import_pipelines
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND registry_name = '{{ registry_name }}' -- required
AND import_pipeline_name = '{{ import_pipeline_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

INSERT INTO azure.container_registry.import_pipelines (
properties,
location,
identity,
resource_group_name,
registry_name,
import_pipeline_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ registry_name }}',
'{{ import_pipeline_name }}',
'{{ subscription_id }}'
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 resource_group_name = '{{ resource_group_name }}' --required
AND registry_name = '{{ registry_name }}' --required
AND import_pipeline_name = '{{ import_pipeline_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;