Skip to main content

container_registries

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

Overview

Namecontainer_registries
TypeResource
Idazure.spring_apps.container_registries

Fields

NameDatatypeDescription
containerRegistryNametextfield from the properties object
credentialstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcontainerRegistryName, resourceGroupName, serviceName, subscriptionIdGet the container registries resource.
listSELECTresourceGroupName, serviceName, subscriptionIdList container registries resource.
create_or_updateINSERTcontainerRegistryName, resourceGroupName, serviceName, subscriptionIdCreate or update container registry resource.
deleteDELETEcontainerRegistryName, resourceGroupName, serviceName, subscriptionIdDelete a container registry resource.
validateEXECcontainerRegistryName, resourceGroupName, serviceName, subscriptionId, data__credentialsCheck if the container registry properties are valid.

SELECT examples

List container registries resource.

SELECT
containerRegistryName,
credentials,
provisioning_state,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.spring_apps.vw_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.

/*+ create */
INSERT INTO azure.spring_apps.container_registries (
containerRegistryName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ containerRegistryName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';