Skip to main content

connected_registries

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

Overview

Nameconnected_registries
TypeResource
Idazure.container_registry.connected_registries

Fields

NameDatatypeDescription
activationtextfield from the properties object
client_token_idstextfield from the properties object
connectedRegistryNametextfield from the properties object
connection_statetextfield from the properties object
last_activity_timetextfield from the properties object
loggingtextfield from the properties object
login_servertextfield from the properties object
modetextfield from the properties object
notifications_listtextfield from the properties object
parenttextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
status_detailstextfield from the properties object
subscriptionIdtextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectedRegistryName, registryName, resourceGroupName, subscriptionIdGets the properties of the connected registry.
listSELECTregistryName, resourceGroupName, subscriptionIdLists all connected registries for the specified container registry.
createINSERTconnectedRegistryName, registryName, resourceGroupName, subscriptionIdCreates a connected registry for a container registry with the specified parameters.
deleteDELETEconnectedRegistryName, registryName, resourceGroupName, subscriptionIdDeletes a connected registry from a container registry.
updateUPDATEconnectedRegistryName, registryName, resourceGroupName, subscriptionIdUpdates a connected registry with the specified parameters.
deactivateEXECconnectedRegistryName, registryName, resourceGroupName, subscriptionIdDeactivates the connected registry instance.

SELECT examples

Lists all connected registries for the specified container registry.

SELECT
activation,
client_token_ids,
connectedRegistryName,
connection_state,
last_activity_time,
logging,
login_server,
mode,
notifications_list,
parent,
provisioning_state,
registryName,
resourceGroupName,
status_details,
subscriptionId,
version
FROM azure.container_registry.vw_connected_registries
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new connected_registries resource.

/*+ create */
INSERT INTO azure.container_registry.connected_registries (
connectedRegistryName,
registryName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ connectedRegistryName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a connected_registries resource.

/*+ update */
UPDATE azure.container_registry.connected_registries
SET
properties = '{{ properties }}'
WHERE
connectedRegistryName = '{{ connectedRegistryName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified connected_registries resource.

/*+ delete */
DELETE FROM azure.container_registry.connected_registries
WHERE connectedRegistryName = '{{ connectedRegistryName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';