Azure Container Registry Connected Registries API
The ConnectedRegistries API from Azure Container Registry — 3 operation(s) for connectedregistries.
The ConnectedRegistries API from Azure Container Registry — 3 operation(s) for connectedregistries.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/azure-container-registry:azure-container-registry-connectedregistries-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ContainerRegistryManagementClient Connected Registries API
version: '2025-11-01'
description: The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ConnectedRegistries
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries
: get:
operationId: ConnectedRegistries_List
tags:
- ConnectedRegistries
description: Lists all connected registries for the specified container registry.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: $filter
in: query
description: An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.
required: false
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistryListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Connected registries list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
: get:
operationId: ConnectedRegistries_Get
tags:
- ConnectedRegistries
description: Gets the properties of the connected registry.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: connectedRegistryName
in: path
description: The name of the connected registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Connected registries get
x-summary-source: derived
put:
operationId: ConnectedRegistries_Create
tags:
- ConnectedRegistries
description: Creates a connected registry for a container registry with the specified parameters.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: connectedRegistryName
in: path
description: The name of the connected registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
responses:
'200':
description: Resource 'ConnectedRegistry' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
'201':
description: Resource 'ConnectedRegistry' create operation succeeded
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/ConnectedRegistry'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
description: The parameters for creating a connectedRegistry.
required: true
summary: Connected registries create
x-summary-source: derived
patch:
operationId: ConnectedRegistries_Update
tags:
- ConnectedRegistries
description: Updates a connected registry with the specified parameters.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: connectedRegistryName
in: path
description: The name of the connected registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
'201':
description: Resource 'ConnectedRegistry' create operation succeeded
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistry'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/ConnectedRegistry'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ConnectedRegistryUpdateParameters'
description: The parameters for updating a connectedRegistry.
required: true
summary: Connected registries update
x-summary-source: derived
delete:
operationId: ConnectedRegistries_Delete
tags:
- ConnectedRegistries
description: Deletes a connected registry from a container registry.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: connectedRegistryName
in: path
description: The name of the connected registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
responses:
'200':
description: Resource deleted successfully.
'202':
description: Resource deletion accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Connected registries delete
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate
: post:
operationId: ConnectedRegistries_Deactivate
tags:
- ConnectedRegistries
description: Deactivates the connected registry instance.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: registryName
in: path
description: The name of the container registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
- name: connectedRegistryName
in: path
description: The name of the connected registry.
required: true
schema:
type: string
maxLength: 50
minLength: 5
pattern: ^[a-zA-Z0-9]*$
responses:
'200':
description: Azure operation completed successfully.
'202':
description: Resource operation accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Connected registries deactivate
x-summary-source: derived
components:
schemas:
ConnectedRegistryProperties:
type: object
description: The properties of a connected registry.
properties:
provisioningState:
$ref: '#/components/schemas/ProvisioningState'
description: Provisioning state of the resource.
readOnly: true
mode:
$ref: '#/components/schemas/ConnectedRegistryMode'
description: The mode of the connected registry resource that indicates the permissions of the registry.
version:
type: string
description: The current version of ACR runtime on the connected registry.
readOnly: true
connectionState:
$ref: '#/components/schemas/ConnectionState'
description: The current connection state of the connected registry.
readOnly: true
lastActivityTime:
type: string
format: date-time
description: The last activity time of the connected registry.
readOnly: true
activation:
$ref: '#/components/schemas/ActivationProperties'
description: The activation properties of the connected registry.
readOnly: true
parent:
$ref: '#/components/schemas/ParentProperties'
description: The parent of the connected registry.
clientTokenIds:
type: array
description: The list of the ACR token resource IDs used to authenticate clients to the connected registry.
items:
type: string
loginServer:
$ref: '#/components/schemas/LoginServerProperties'
description: The login server properties of the connected registry.
logging:
$ref: '#/components/schemas/LoggingProperties'
description: The logging properties of the connected registry.
statusDetails:
type: array
description: The list of current statuses of the connected registry.
items:
$ref: '#/components/schemas/StatusDetailProperties'
readOnly: true
x-ms-identifiers:
- correlationId
notificationsList:
type: array
description: The list of notifications subscription information for the connected registry.
items:
type: string
garbageCollection:
$ref: '#/components/schemas/GarbageCollectionProperties'
description: The garbage collection properties of the connected registry.
required:
- mode
- parent
ConnectedRegistry:
type: object
description: An object that represents a connected registry for a container registry.
properties:
properties:
$ref: '#/components/schemas/ConnectedRegistryProperties'
description: The properties of the connected registry.
x-ms-client-flatten: true
allOf:
- $ref: '#/components/schemas/ProxyResource'
ConnectedRegistryUpdateProperties:
type: object
description: The parameters for updating token properties.
properties:
syncProperties:
$ref: '#/components/schemas/SyncUpdateProperties'
description: The sync properties of the connected registry with its parent.
logging:
$ref: '#/components/schemas/LoggingProperties'
description: The logging properties of the connected registry.
clientTokenIds:
type: array
description: The list of the ACR token resource IDs used to authenticate clients to the connected registry.
items:
type: string
notificationsList:
type: array
description: The list of notifications subscription information for the connected registry.
items:
type: string
garbageCollection:
$ref: '#/components/schemas/GarbageCollectionProperties'
description: The garbage collection properties of the connected registry.
ConnectedRegistryListResult:
type: object
description: The result of a request to list connected registries for a container registry.
properties:
value:
type: array
description: The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.
items:
$ref: '#/components/schemas/ConnectedRegistry'
nextLink:
type: string
description: The URI that can be used to request the next list of connected registries.
LoggingProperties:
type: object
description: The logging properties of the connected registry.
properties:
logLevel:
type: string
description: The verbosity of logs persisted on the connected registry.
default: Information
enum:
- Debug
- Information
- Warning
- Error
- None
x-ms-enum:
name: LogLevel
modelAsString: true
values:
- name: Debug
value: Debug
- name: Information
value: Information
- name: Warning
value: Warning
- name: Error
value: Error
- name: None
value: None
auditLogStatus:
type: string
description: Indicates whether audit logs are enabled on the connected registry.
default: Disabled
enum:
- Enabled
- Disabled
x-ms-enum:
name: AuditLogStatus
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
CertificateType:
type: string
description: The type of certificate location.
enum:
- LocalDirectory
x-ms-enum:
name: CertificateType
modelAsString: true
values:
- name: LocalDirectory
value: LocalDirectory
ParentProperties:
type: object
description: The properties of the connected registry parent.
properties:
id:
type: string
format: arm-id
description: The resource ID of the parent to which the connected registry will be associated.
syncProperties:
$ref: '#/components/schemas/SyncProperties'
description: The sync properties of the connected registry with its parent.
required:
- syncProperties
ConnectedRegistryUpdateParameters:
type: object
description: The parameters for updating a connected registry.
properties:
properties:
$ref: '#/components/schemas/ConnectedRegistryUpdateProperties'
description: The properties of the connected registry update parameters.
x-ms-client-flatten: true
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
format: arm-id
description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
GarbageCollectionProperties:
type: object
description: The garbage collection properties of the connected registry.
properties:
enabled:
type: boolean
description: Indicates whether garbage collection is enabled for the connected registry.
schedule:
type: string
description: The cron expression indicating the schedule that the connected registry will run garbage collection.
ProvisioningState:
type: string
description: The provisioning state of the archive at the time the operation was called.
enum:
- Creating
- Updating
- Deleting
- Succeeded
- Failed
- Canceled
x-ms-enum:
name: ProvisioningState
modelAsString: true
values:
- name: Creating
value: Creating
- name: Updating
value: Updating
- name: Deleting
value: Deleting
- name: Succeeded
value: Succeeded
- name: Failed
value: Failed
- name: Canceled
value: Canceled
SyncUpdateProperties:
type: object
description: The parameters for updating the sync properties of the connected registry with its parent.
properties:
schedule:
type: string
description: The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow:
type: string
format: duration
description: The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
messageTtl:
type: string
format: duration
description: The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
ConnectionState:
type: string
description: The current connection state of the connected registry.
enum:
- Online
- Offline
- Syncing
- Unhealthy
x-ms-enum:
name: ConnectionState
modelAsString: true
values:
- name: Online
value: Online
- name: Offline
value: Offline
- name: Syncing
value: Syncing
- name: Unhealthy
value: Unhealthy
TlsProperties:
type: object
description: The TLS properties of the connected registry login server.
properties:
status:
$ref: '#/components/schemas/TlsStatus'
description: Indicates whether HTTPS is enabled for the login server.
readOnly: true
certificate:
$ref: '#/components/schemas/TlsCertificateProperties'
description: The certificate used to configure HTTPS for the login server.
readOnly: true
TlsStatus:
type: string
description: Indicates whether HTTPS is enabled for the login server.
enum:
- Enabled
- Disabled
x-ms-enum:
name: TlsStatus
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
SyncProperties:
type: object
description: The sync properties of the connected registry with its parent.
properties:
tokenId:
type: string
description: The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule:
type: string
description: The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow:
type: string
format: duration
description: The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
messageTtl:
type: string
format: duration
description: The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
lastSyncTime:
type: string
format: date-time
description: The last time a sync occurred between the connected registry and its parent.
readOnly: true
gatewayEndpoint:
type: string
description: The gateway endpoint used by the connected registry to communicate with its parent.
readOnly: true
required:
- tokenId
- messageTtl
ActivationStatus:
type: string
description: The activation status of the connected registry.
enum:
- Active
- Inactive
x-ms-enum:
name: ActivationStatus
modelAsString: true
values:
- name: Active
value: Active
- name: Inactive
value: Inactive
TlsCertificateProperties:
type: object
description: The TLS certificate properties of the connected registry login server.
properties:
type:
$ref: '#/components/schemas/CertificateType'
description: The type of certificate location.
readOnly: true
location:
type: string
description: Indicates the location of the certificates.
readOnly: true
LoginServerProperties:
type: object
description: The login server properties of the connected registry.
properties:
host:
type: string
description: The host of the connected registry. Can be FQDN or IP.
readOnly: true
tls:
$ref: '#/components/schemas/TlsProperties'
description: The TLS properties of the connected registry login server.
readOnly: true
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
StatusDetailProperties:
type: object
description: The status detail properties of the connected registry.
properties:
type:
type: string
description: The component of the connected registry corresponding to the status.
readOnly: true
code:
type: string
description: The HTTP status code.
readOnly: true
description:
type: string
description: The description of the status.
readOnly: true
timestamp:
type: string
format: date-time
description: The timestamp of the status.
readOnly: true
correlationId:
type: string
description: The correlation ID of the status.
readOnly: true
ActivationProperties:
type: object
description: The activation properties of the connected registry.
properties:
status:
$ref: '#/components/schemas/ActivationStatus'
description: The activation status of the connected registry.
readOnly: true
ConnectedRegistryMode:
type: string
description: The mode of the connected registry resource that indicates the permissions of the registry.
enum:
- ReadWrite
- ReadOnly
- Registry
- Mirror
x-ms-enum:
name: ConnectedRegistryMode
modelAsString: true
values:
- name: ReadWrite
value: ReadWrite
- name: ReadOnly
value: ReadOnly
- name: Registry
value: Registry
- name: Mirror
value: Mirror
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.