Registries - Get Private Link Resource
Gets a private link resource by a specified group name for a container registry.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}?api-version=2023-01-01-preview
Name | In | Required | Type | Description |
---|---|---|---|---|
group
|
path | True |
string |
The name of the private link resource. |
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. |
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; the private link resource was retrieved and returned successfully. |
|
Other Status Codes |
Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned. |
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry?api-version=2023-01-01-preview
Sample response
{
"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"
]
}
}
Name | Description |
---|---|
Error |
An error response from the Azure Container Registry service. |
Error |
An error response from the Azure Container Registry service. |
Inner |
inner error. |
Private |
A resource that supports private link capabilities. |
An error response from the Azure Container Registry service.
Name | Type | Description |
---|---|---|
error |
Azure container registry build API error body. |
An error response from the Azure Container Registry service.
Name | Type | Description |
---|---|---|
code |
string |
error code. |
details |
an array of additional nested error response info objects, as described by this contract. |
|
message |
string |
error message. |
target |
string |
target of the particular error. |
inner error.
Name | Type | Description |
---|---|---|
code |
string |
error code. |
message |
string |
error message. |
target |
string |
target of the particular error. |
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. |