private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.container_registry.private_endpoint_connections |
Fields
- vw_private_endpoint_connections
- private_endpoint_connections
Name | Datatype | Description |
---|---|---|
privateEndpointConnectionName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_service_connection_state | 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 |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of a private endpoint connection. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | privateEndpointConnectionName, registryName, resourceGroupName, subscriptionId | Get the specified private endpoint connection associated with the container registry. |
list | SELECT | registryName, resourceGroupName, subscriptionId | List all private endpoint connections in a container registry. |
create_or_update | INSERT | privateEndpointConnectionName, registryName, resourceGroupName, subscriptionId | Update the state of specified private endpoint connection associated with the container registry. |
delete | DELETE | privateEndpointConnectionName, registryName, resourceGroupName, subscriptionId | Deletes the specified private endpoint connection associated with the container registry. |
SELECT
examples
List all private endpoint connections in a container registry.
- vw_private_endpoint_connections
- private_endpoint_connections
SELECT
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
registryName,
resourceGroupName,
subscriptionId
FROM azure.container_registry.vw_private_endpoint_connections
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.container_registry.private_endpoint_connections
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_endpoint_connections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_registry.private_endpoint_connections (
privateEndpointConnectionName,
registryName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: string
DELETE
example
Deletes the specified private_endpoint_connections
resource.
/*+ delete */
DELETE FROM azure.container_registry.private_endpoint_connections
WHERE privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';