import_pipelines
Creates, updates, deletes, gets or lists a import_pipelines
resource.
Overview
Name | import_pipelines |
Type | Resource |
Id | azure.container_registry.import_pipelines |
Fields
- vw_import_pipelines
- import_pipelines
Name | Datatype | Description |
---|---|---|
identity | text | Managed identity for the resource. |
importPipelineName | text | field from the properties object |
location | text | The location of the import pipeline. |
options | text | field from the properties object |
provisioning_state | text | field from the properties object |
registryName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
source | text | field from the properties object |
subscriptionId | text | field from the properties object |
trigger | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
identity | object | Managed identity for the resource. |
location | string | The location of the import pipeline. |
properties | object | The properties of an import pipeline. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | importPipelineName, registryName, resourceGroupName, subscriptionId | Gets the properties of the import pipeline. |
list | SELECT | registryName, resourceGroupName, subscriptionId | Lists all import pipelines for the specified container registry. |
create | INSERT | importPipelineName, registryName, resourceGroupName, subscriptionId | Creates an import pipeline for a container registry with the specified parameters. |
delete | DELETE | importPipelineName, registryName, resourceGroupName, subscriptionId | Deletes an import pipeline from a container registry. |
SELECT
examples
Lists all import pipelines for the specified container registry.
- vw_import_pipelines
- import_pipelines
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 }}';
SELECT
identity,
location,
properties
FROM azure.container_registry.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_registry.import_pipelines (
importPipelineName,
registryName,
resourceGroupName,
subscriptionId,
location,
identity,
properties
)
SELECT
'{{ importPipelineName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ identity }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: location
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
- name: userAssignedIdentities
value: object
- name: properties
value:
- name: source
value:
- name: type
value: string
- name: uri
value: string
- name: keyVaultUri
value: string
- name: trigger
value:
- name: sourceTrigger
value:
- name: status
value: string
- name: options
value:
- string
- name: provisioningState
value: string
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 }}';