container_registries
Creates, updates, deletes, gets or lists a container_registries
resource.
Overview
Name | container_registries |
Type | Resource |
Id | azure.spring_apps.container_registries |
Fields
- vw_container_registries
- container_registries
Name | Datatype | Description |
---|---|---|
containerRegistryName | text | field from the properties object |
credentials | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Container registry resource payload. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | containerRegistryName, resourceGroupName, serviceName, subscriptionId | Get the container registries resource. |
list | SELECT | resourceGroupName, serviceName, subscriptionId | List container registries resource. |
create_or_update | INSERT | containerRegistryName, resourceGroupName, serviceName, subscriptionId | Create or update container registry resource. |
delete | DELETE | containerRegistryName, resourceGroupName, serviceName, subscriptionId | Delete a container registry resource. |
validate | EXEC | containerRegistryName, resourceGroupName, serviceName, subscriptionId, data__credentials | Check if the container registry properties are valid. |
SELECT
examples
List container registries resource.
- vw_container_registries
- container_registries
SELECT
containerRegistryName,
credentials,
provisioning_state,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.spring_apps.vw_container_registries
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.spring_apps.container_registries
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new container_registries
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.container_registries (
containerRegistryName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ containerRegistryName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: credentials
value:
- name: type
value: string
- name: provisioningState
value: string
DELETE
example
Deletes the specified container_registries
resource.
/*+ delete */
DELETE FROM azure.spring_apps.container_registries
WHERE containerRegistryName = '{{ containerRegistryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';