Microsoft.ContainerRegistry (stable:2025-04-01)

2025/05/06 • 4 updated methods

ConnectedRegistries_Get (updated)
Description Gets the properties of the connected registry.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Get",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Create (updated)
Description Creates a connected registry for a container registry with the specified parameters.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Create",
  "$parameters": {
    "connectedRegistryCreateParameters": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
connectedRegistryCreateParameters:
{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Update (updated)
Description Updates a connected registry with the specified parameters.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Update",
  "$parameters": {
    "connectedRegistryUpdateParameters": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
connectedRegistryUpdateParameters:
{
properties:
{
syncProperties:
{
schedule: string ,
syncWindow: string ,
messageTtl: string ,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
clientTokenIds:
[
string ,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_List (updated)
Description Lists all connected registries for the specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "properties",
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
mode: enum ,
version: string ,
connectionState: enum ,
lastActivityTime: string ,
activation:
{
status: enum ,
}
,
parent:
{
id: string ,
syncProperties:
{
tokenId: string ,
schedule: string ,
syncWindow: string ,
messageTtl: string ,
lastSyncTime: string ,
gatewayEndpoint: string ,
}
,
}
,
clientTokenIds:
[
string ,
]
,
loginServer:
{
host: string ,
tls:
{
status: enum ,
certificate:
{
type: enum ,
location: string ,
}
,
}
,
}
,
logging:
{
logLevel: enum ,
auditLogStatus: enum ,
}
,
statusDetails:
[
{
type: string ,
code: string ,
description: string ,
timestamp: string ,
correlationId: string ,
}
,
]
,
notificationsList:
[
string ,
]
,
garbageCollection:
{
enabled: boolean ,
schedule: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}