Registries - List Private Link Resources
Lists the private link resources for a container registry.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources?api-version=2023-01-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
registry
|
path | True |
string |
The name of the container registry. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string uuid |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; the private link resources were retrieved and returned successfully. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
RegistryListPrivateLinkResources
Sample Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources?api-version=2023-01-01-preview
Sample Response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry",
"name": "registry",
"type": "Microsoft.ContainerRegistry/registries/privateLinkResources",
"properties": {
"groupId": "registry",
"requiredMembers": [
"registry",
"registry_data_myregion"
],
"requiredZoneNames": [
"privatelink.azurecr.io"
]
}
}
]
}
Definitions
Name | Description |
---|---|
Private |
A resource that supports private link capabilities. |
Private |
The result of a request to list private link resources for a container registry. |
PrivateLinkResource
A resource that supports private link capabilities.
Name | Type | Description |
---|---|---|
id |
string |
The resource ID. |
name |
string |
The name of the resource. |
properties.groupId |
string |
The private link resource group id. |
properties.requiredMembers |
string[] |
The private link resource required member names. |
properties.requiredZoneNames |
string[] |
The private link resource Private link DNS zone name. |
type |
string |
The resource type is private link resource. |
PrivateLinkResourceListResult
The result of a request to list private link resources for a container registry.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URI that can be used to request the next list of private link resources. |
value |
The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources. |