connected_registries
Creates, updates, deletes, gets or lists a connected_registries
resource.
Overview
Name | connected_registries |
Type | Resource |
Id | azure.container_registry.connected_registries |
Fields
- vw_connected_registries
- connected_registries
Name | Datatype | Description |
---|---|---|
activation | text | field from the properties object |
client_token_ids | text | field from the properties object |
connectedRegistryName | text | field from the properties object |
connection_state | text | field from the properties object |
last_activity_time | text | field from the properties object |
logging | text | field from the properties object |
login_server | text | field from the properties object |
mode | text | field from the properties object |
notifications_list | text | field from the properties object |
parent | 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 |
status_details | text | field from the properties object |
subscriptionId | text | field from the properties object |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of a connected registry. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | connectedRegistryName, registryName, resourceGroupName, subscriptionId | Gets the properties of the connected registry. |
list | SELECT | registryName, resourceGroupName, subscriptionId | Lists all connected registries for the specified container registry. |
create | INSERT | connectedRegistryName, registryName, resourceGroupName, subscriptionId | Creates a connected registry for a container registry with the specified parameters. |
delete | DELETE | connectedRegistryName, registryName, resourceGroupName, subscriptionId | Deletes a connected registry from a container registry. |
update | UPDATE | connectedRegistryName, registryName, resourceGroupName, subscriptionId | Updates a connected registry with the specified parameters. |
deactivate | EXEC | connectedRegistryName, registryName, resourceGroupName, subscriptionId | Deactivates the connected registry instance. |
SELECT
examples
Lists all connected registries for the specified container registry.
- vw_connected_registries
- connected_registries
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 }}';
SELECT
properties
FROM azure.container_registry.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_registry.connected_registries (
connectedRegistryName,
registryName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ connectedRegistryName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: mode
value: string
- name: version
value: string
- name: connectionState
value: string
- name: lastActivityTime
value: string
- name: activation
value:
- name: status
value: string
- name: parent
value:
- name: id
value: string
- name: syncProperties
value:
- name: tokenId
value: string
- name: schedule
value: string
- name: syncWindow
value: string
- name: messageTtl
value: string
- name: lastSyncTime
value: string
- name: gatewayEndpoint
value: string
- name: clientTokenIds
value:
- string
- name: loginServer
value:
- name: host
value: string
- name: tls
value:
- name: status
value: string
- name: certificate
value:
- name: type
value: string
- name: location
value: string
- name: logging
value:
- name: logLevel
value: string
- name: auditLogStatus
value: string
- name: statusDetails
value:
- - name: type
value: string
- name: code
value: string
- name: description
value: string
- name: timestamp
value: string
- name: correlationId
value: string
- name: notificationsList
value:
- string
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 }}';