Skip to main content

registries_private_link_resources

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

Overview

Nameregistries_private_link_resources
TypeResource
Idazure.container_registry.registries_private_link_resources

Fields

The following fields are returned by SELECT queries:

The request was successful; the private link resource was retrieved and returned successfully.

NameDatatypeDescription
idstringThe resource ID.
namestringThe name of the resource.
propertiesobjectA resource that supports private link capabilities.
typestringThe resource type is private link resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, registryName, groupNameGets a private link resource by a specified group name for a container registry.
listselectsubscriptionId, resourceGroupName, registryNameLists the private link resources for a container registry.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
groupNamestringThe name of the private link resource.
registryNamestringThe name of the container registry.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets a private link resource by a specified group name for a container registry.

SELECT
id,
name,
properties,
type
FROM azure.container_registry.registries_private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
AND groupName = '{{ groupName }}' -- required
;