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

2025/10/27 • 56 updated methods

Operations_List (updated)
Description List the operations for the provider
Reference Link ¶

⚶ Changes

{
  "#id": "Operations_List",
  "Description": {
    "new": "List the operations for the provider",
    "old": "Lists all of the available Azure Container Registry REST API operations."
  },
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "isDataAction",
              "Description": {
                "new": "This property indicates if the operation is an action or a data action\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations",
                "old": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations"
              }
            }
          ]
        }
      }
    },
    "@added_624fcb111d26401ca1bc4b18f8dce8f5": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.ContainerRegistry/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
origin: string ,
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
properties:
{
serviceSpecification:
{
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
internalMetricName: string ,
}
,
]
,
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_CheckNameAvailability (updated)
Description Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_CheckNameAvailability",
  "$parameters": [
    {
      "#name": "registryNameCheckRequest",
      "Description": {
        "new": "The request body",
        "old": "The object containing information for the availability request."
      },
      "$schema": {
        "$properties": {
          "@added_d94b846429e448eea3b5040e31ac64f7": {
            "#name": "resourceGroupName",
            "Description": "The resource group name of the container registry.",
            "Required": false,
            "Type": "string"
          },
          "@added_add44c313e0a42fbbcfb88368a0ab91d": {
            "#name": "autoGeneratedDomainNameLabelScope",
            "Description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".",
            "Enum": [
              [
                "Unsecure",
                ""
              ],
              [
                "TenantReuse",
                ""
              ],
              [
                "SubscriptionReuse",
                ""
              ],
              [
                "ResourceGroupReuse",
                ""
              ],
              [
                "NoReuse",
                ""
              ]
            ],
            "Required": false,
            "Type": "string"
          }
        }
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@added_dfcb91c1048b47fdafd4cda111451b86": {
          "#name": "availableLoginServerName",
          "Description": "The complete login server name with domain name label (DNL) hash, if available",
          "Required": false,
          "Type": "string"
        }
      }
    },
    "@added_60b9fccaba344fe0be99cc1ff0565abe": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
registryNameCheckRequest:
{
name: string ,
type: enum ,
resourceGroupName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}

⚐ Response (200)

{
availableLoginServerName: string ,
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Registries_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "policies": [
                  {
                    "#name": "azureADAuthenticationAsArmPolicy",
                    "Description": {
                      "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                      "old": "The policy for using ARM audience token for a container registry."
                    }
                  }
                ]
              },
              {
                "@added_f1dc4e93cf2c46aeac565b84337dcb71": {
                  "#name": "autoGeneratedDomainNameLabelScope",
                  "Description": "Determines the domain name label reuse scope.",
                  "Enum": [
                    [
                      "Unsecure",
                      ""
                    ],
                    [
                      "TenantReuse",
                      ""
                    ],
                    [
                      "SubscriptionReuse",
                      ""
                    ],
                    [
                      "ResourceGroupReuse",
                      ""
                    ],
                    [
                      "NoReuse",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ],
            "identity": [
              {
                "#name": "userAssignedIdentities",
                "Description": {
                  "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                  "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
                }
              }
            ]
          }
        }
      }
    },
    "@added_264865ef5ab34d87a93c237980a2856f": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ListByResourceGroup (updated)
Description Lists all the container registries under the specified resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "policies": [
                  {
                    "#name": "azureADAuthenticationAsArmPolicy",
                    "Description": {
                      "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                      "old": "The policy for using ARM audience token for a container registry."
                    }
                  }
                ]
              },
              {
                "@added_6ecab64457784930af0b4f491aab3024": {
                  "#name": "autoGeneratedDomainNameLabelScope",
                  "Description": "Determines the domain name label reuse scope.",
                  "Enum": [
                    [
                      "Unsecure",
                      ""
                    ],
                    [
                      "TenantReuse",
                      ""
                    ],
                    [
                      "SubscriptionReuse",
                      ""
                    ],
                    [
                      "ResourceGroupReuse",
                      ""
                    ],
                    [
                      "NoReuse",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ],
            "identity": [
              {
                "#name": "userAssignedIdentities",
                "Description": {
                  "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                  "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
                }
              }
            ]
          }
        }
      }
    },
    "@added_f07b56a8b9ef4973823e71a050cdcf23": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_Get (updated)
Description Gets the properties of the specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "policies": [
              {
                "#name": "azureADAuthenticationAsArmPolicy",
                "Description": {
                  "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                  "old": "The policy for using ARM audience token for a container registry."
                }
              }
            ]
          },
          {
            "@added_db4216ba429c4300994b13808e745e63": {
              "#name": "autoGeneratedDomainNameLabelScope",
              "Description": "Determines the domain name label reuse scope.",
              "Enum": [
                [
                  "Unsecure",
                  ""
                ],
                [
                  "TenantReuse",
                  ""
                ],
                [
                  "SubscriptionReuse",
                  ""
                ],
                [
                  "ResourceGroupReuse",
                  ""
                ],
                [
                  "NoReuse",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          }
        ],
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ]
      }
    },
    "@added_202b90e80dec4ec59971a867f3ee2171": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Registries_Create",
  "$parameters": {
    "registry": {
      "$properties": {
        "properties": [
          {
            "policies": [
              {
                "#name": "azureADAuthenticationAsArmPolicy",
                "Description": {
                  "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                  "old": "The policy for using ARM audience token for a container registry."
                }
              }
            ]
          },
          {
            "@added_16fef74595794142a133b97eb32d42b4": {
              "#name": "autoGeneratedDomainNameLabelScope",
              "Description": "Determines the domain name label reuse scope.",
              "Enum": [
                [
                  "Unsecure",
                  ""
                ],
                [
                  "TenantReuse",
                  ""
                ],
                [
                  "SubscriptionReuse",
                  ""
                ],
                [
                  "ResourceGroupReuse",
                  ""
                ],
                [
                  "NoReuse",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          }
        ],
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "policies": [
                {
                  "#name": "azureADAuthenticationAsArmPolicy",
                  "Description": {
                    "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                    "old": "The policy for using ARM audience token for a container registry."
                  }
                }
              ]
            },
            {
              "@added_bfd5888dc5aa471c9696151aa91f6d9b": {
                "#name": "autoGeneratedDomainNameLabelScope",
                "Description": "Determines the domain name label reuse scope.",
                "Enum": [
                  [
                    "Unsecure",
                    ""
                  ],
                  [
                    "TenantReuse",
                    ""
                  ],
                  [
                    "SubscriptionReuse",
                    ""
                  ],
                  [
                    "ResourceGroupReuse",
                    ""
                  ],
                  [
                    "NoReuse",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_ad924450c45a4931aba144412f697244": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "policies": [
                {
                  "#name": "azureADAuthenticationAsArmPolicy",
                  "Description": {
                    "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                    "old": "The policy for using ARM audience token for a container registry."
                  }
                }
              ]
            },
            {
              "@added_9b59cc4965df497aafae5ef0e56ef46b": {
                "#name": "autoGeneratedDomainNameLabelScope",
                "Description": "Determines the domain name label reuse scope.",
                "Enum": [
                  [
                    "Unsecure",
                    ""
                  ],
                  [
                    "TenantReuse",
                    ""
                  ],
                  [
                    "SubscriptionReuse",
                    ""
                  ],
                  [
                    "ResourceGroupReuse",
                    ""
                  ],
                  [
                    "NoReuse",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "@added_f6df6c9460ed4406b6507500913b7811": {
        "default": {
          "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.).",
          "Type": "object",
          "$properties": [
            {
              "#name": "error",
              "Description": "The error object.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "code",
                  "Description": "The error code.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "message",
                  "Description": "The error message.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "target",
                  "Description": "The error target.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "details",
                  "Description": "The error details.",
                  "Required": false,
                  "Type": "array",
                  "$items": {
                    "Type": "string"
                  }
                },
                {
                  "#name": "additionalInfo",
                  "Description": "The error additional info.",
                  "Required": false,
                  "Type": "array",
                  "$items": {
                    "Description": "The resource management error additional info.",
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "type",
                        "Description": "The additional info type.",
                        "Required": false,
                        "Type": "string"
                      },
                      {
                        "#name": "info",
                        "Description": "The additional info.",
                        "Required": false,
                        "Type": "object"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
registry:
{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Registries_Update",
  "$parameters": {
    "registryUpdateParameters": {
      "$properties": {
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ],
        "properties": [
          {
            "policies": [
              {
                "#name": "azureADAuthenticationAsArmPolicy",
                "Description": {
                  "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                  "old": "The policy for using ARM audience token for a container registry."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "policies": [
                {
                  "#name": "azureADAuthenticationAsArmPolicy",
                  "Description": {
                    "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                    "old": "The policy for using ARM audience token for a container registry."
                  }
                }
              ]
            },
            {
              "@added_8d81b2b2efb643e8b59b96128c57e79e": {
                "#name": "autoGeneratedDomainNameLabelScope",
                "Description": "Determines the domain name label reuse scope.",
                "Enum": [
                  [
                    "Unsecure",
                    ""
                  ],
                  [
                    "TenantReuse",
                    ""
                  ],
                  [
                    "SubscriptionReuse",
                    ""
                  ],
                  [
                    "ResourceGroupReuse",
                    ""
                  ],
                  [
                    "NoReuse",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_92af438b8c4c49ada567393268c1d327": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "policies": [
                {
                  "#name": "azureADAuthenticationAsArmPolicy",
                  "Description": {
                    "new": "The policy for using Azure Resource Manager audience token for a container registry.",
                    "old": "The policy for using ARM audience token for a container registry."
                  }
                }
              ]
            },
            {
              "@added_2c0cd0c08ccd46e4a5ca4ac68cd21390": {
                "#name": "autoGeneratedDomainNameLabelScope",
                "Description": "Determines the domain name label reuse scope.",
                "Enum": [
                  [
                    "Unsecure",
                    ""
                  ],
                  [
                    "TenantReuse",
                    ""
                  ],
                  [
                    "SubscriptionReuse",
                    ""
                  ],
                  [
                    "ResourceGroupReuse",
                    ""
                  ],
                  [
                    "NoReuse",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "@added_1d4049a8be3a4f7ea97fba2cd75e7fe8": {
        "default": {
          "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.).",
          "Type": "object",
          "$properties": [
            {
              "#name": "error",
              "Description": "The error object.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "code",
                  "Description": "The error code.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "message",
                  "Description": "The error message.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "target",
                  "Description": "The error target.",
                  "Required": false,
                  "Type": "string"
                },
                {
                  "#name": "details",
                  "Description": "The error details.",
                  "Required": false,
                  "Type": "array",
                  "$items": {
                    "Type": "string"
                  }
                },
                {
                  "#name": "additionalInfo",
                  "Description": "The error additional info.",
                  "Required": false,
                  "Type": "array",
                  "$items": {
                    "Description": "The resource management error additional info.",
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "type",
                        "Description": "The additional info type.",
                        "Required": false,
                        "Type": "string"
                      },
                      {
                        "#name": "info",
                        "Description": "The additional info.",
                        "Required": false,
                        "Type": "object"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
registryUpdateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
anonymousPullEnabled: boolean ,
roleAssignmentMode: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
networkRuleBypassAllowedForTasks: boolean ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
autoGeneratedDomainNameLabelScope: enum ,
roleAssignmentMode: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_Delete (updated)
Description Deletes a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_Delete",
  "$responses": {
    "202": [
      {
        "@added_cd6f9687d77a4a81990294960cd2fe27": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_72713b49fa32459e8b52413e384008b3": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CacheRules_List",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules.",
            "old": "The list of cache rules."
          },
          "$items": {
            "$properties": {
              "properties": [
                {
                  "#name": "targetRepository",
                  "Description": {
                    "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
                    "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
                  }
                }
              ]
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The URI that can be used to request the next list of cache rules.",
            "old": "If provided, client must use NextLink URI to request next list of cache rules."
          }
        }
      ]
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Get (updated)
Description Gets the properties of the specified cache rule resource.
Reference Link ¶

⚶ Changes

{
  "#id": "CacheRules_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "targetRepository",
            "Description": {
              "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
              "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CacheRules_Create",
  "$parameters": {
    "cacheRuleCreateParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "targetRepository",
            "Description": {
              "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
              "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "targetRepository",
              "Description": {
                "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
                "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_891956c8d09c460c89b086ac6bd9dee0": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "targetRepository",
              "Description": {
                "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
                "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
cacheRuleCreateParameters:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CacheRules_Update",
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "targetRepository",
              "Description": {
                "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
                "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_231eedf9ff70440f8f24098cae2dba06": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "targetRepository",
              "Description": {
                "new": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}",
                "old": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}"
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
cacheRuleUpdateParameters:
{
properties:
{
credentialSetResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Delete (updated)
Description Deletes a cache rule resource from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "CacheRules_Delete",
  "$responses": {
    "202": [
      {
        "@added_e7478221c19d49d0872ade0a1e620efb": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ 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": {
            "properties": [
              {
                "statusDetails": {
                  "$properties": [
                    {
                      "#name": "code",
                      "Description": {
                        "new": "The HTTP status code.",
                        "old": "The code of the status."
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ 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 ,
}
,
]
,
}
,
}
ConnectedRegistries_Get (updated)
Description Gets the properties of the connected registry.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "statusDetails": {
              "$properties": [
                {
                  "#name": "code",
                  "Description": {
                    "new": "The HTTP status code.",
                    "old": "The code of the status."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ 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": {
        "properties": [
          {
            "statusDetails": {
              "$properties": [
                {
                  "#name": "code",
                  "Description": {
                    "new": "The HTTP status code.",
                    "old": "The code of the status."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "statusDetails": {
                "$properties": [
                  {
                    "#name": "code",
                    "Description": {
                      "new": "The HTTP status code.",
                      "old": "The code of the status."
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_7b001b76a246499ba4717d486a1753fa": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "statusDetails": {
                "$properties": [
                  {
                    "#name": "code",
                    "Description": {
                      "new": "The HTTP status code.",
                      "old": "The code of the status."
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ 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 ,
retry-after: integer ,
}
,
$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",
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "statusDetails": {
                "$properties": [
                  {
                    "#name": "code",
                    "Description": {
                      "new": "The HTTP status code.",
                      "old": "The code of the status."
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_90dbcf7940de4f6f8bb466caaa92b573": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "statusDetails": {
                "$properties": [
                  {
                    "#name": "code",
                    "Description": {
                      "new": "The HTTP status code.",
                      "old": "The code of the status."
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ 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 ,
retry-after: integer ,
}
,
$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_Delete (updated)
Description Deletes a connected registry from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Delete",
  "$responses": {
    "202": [
      {
        "@added_d7a190d7d0d0436fa92b03f927361518": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Deactivate (updated)
Description Deactivates the connected registry instance.
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedRegistries_Deactivate",
  "$responses": {
    "202": [
      {
        "@added_e0e6edad7cee4d17b47fea5e299ed798": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CredentialSets_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "authCredentials",
                "Description": {
                  "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
                  "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
                }
              }
            ],
            "identity": [
              {
                "#name": "userAssignedIdentities",
                "Description": {
                  "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                  "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Get (updated)
Description Gets the properties of the specified credential set resource.
Reference Link ¶

⚶ Changes

{
  "#id": "CredentialSets_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "authCredentials",
            "Description": {
              "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
              "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
            }
          }
        ],
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CredentialSets_Create",
  "$parameters": {
    "credentialSetCreateParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "authCredentials",
            "Description": {
              "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
              "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
            }
          }
        ],
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "authCredentials",
              "Description": {
                "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
                "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_b0c8358e3a6b4314a4d3abc7d37d7468": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "authCredentials",
              "Description": {
                "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
                "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
credentialSetCreateParameters:
{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "CredentialSets_Update",
  "$parameters": {
    "credentialSetUpdateParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "authCredentials",
            "Description": {
              "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
              "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
            }
          }
        ],
        "identity": [
          {
            "#name": "userAssignedIdentities",
            "Description": {
              "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
              "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "authCredentials",
              "Description": {
                "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
                "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_2f49288a91a74866b3f9dff7815d28b9": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "authCredentials",
              "Description": {
                "new": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.",
                "old": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential."
              }
            }
          ],
          "identity": [
            {
              "#name": "userAssignedIdentities",
              "Description": {
                "new": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
                "old": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n    providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
credentialSetUpdateParameters:
{
properties:
{
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Delete (updated)
Description Deletes a credential set from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "CredentialSets_Delete",
  "$responses": {
    "202": [
      {
        "@added_d797c7f625ea4d8b9d59f5c28beab2d2": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_GenerateCredentials (updated)
Description Generate keys for a token of a specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_GenerateCredentials",
  "$responses": {
    "202": [
      {
        "@added_626afe56ee6e4fc5890391ef808f0d85": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
generateCredentialsParameters:
{
tokenId: string ,
expiry: string ,
name: enum ,
}
,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ImportImage (updated)
Description Copies an image to this container registry from the specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_ImportImage",
  "$parameters": {
    "parameters": {
      "$properties": {
        "source": [
          {
            "#name": "sourceImage",
            "Description": {
              "new": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').",
              "old": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "202": [
      {
        "@added_bbafc6fe160944c5b2f12a6f541647da": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_cd3f6662557a4c2ca14fedfa29402d24": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
parameters:
{
source:
{
resourceId: string ,
registryUri: string ,
credentials:
{
username: string ,
password: string ,
}
,
sourceImage: string ,
}
,
targetTags:
[
string ,
]
,
untaggedTargetRepositories:
[
string ,
]
,
mode: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Registries_ListCredentials",
  "$responses": {
    "@added_aee0e0b94651422cbd7d87757c55c217": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
name: enum ,
value: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ListUsages (updated)
Description Gets the quota usages for the specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_ListUsages",
  "$responses": {
    "@added_66e27b4394414d1cb35e5b9d6fc7ad56": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
limit: integer ,
currentValue: integer ,
unit: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_List (updated)
Description List all private endpoint connections in a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_List",
  "$responses": {
    "@added_d75dc60f200f4815ad5caebb880b8ef9": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (updated)
Description Get the specified private endpoint connection associated with the container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_Get",
  "$responses": {
    "@added_4aa612b91e1341f39c87e5628fae2534": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (updated)
Description Update the state of specified private endpoint connection associated with the container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_CreateOrUpdate",
  "$responses": {
    "201": [
      {
        "@added_12ee597d89c84d2ead7db6f67205992c": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_6bb9702766824a68b014b3d1a009d937": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
privateEndpointConnectionName: string ,
privateEndpointConnection:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (updated)
Description Deletes the specified private endpoint connection associated with the container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_Delete",
  "$responses": {
    "202": [
      {
        "@added_4c13537a65fc48cd9c73e784e3ed13f0": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_7a6747fc8a6a40f497ace74792f831a7": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ListPrivateLinkResources (updated)
Description Lists the private link resources for a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_ListPrivateLinkResources",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "Description": {
            "new": "A private link resource.",
            "old": "A resource that supports private link capabilities."
          },
          "$properties": [
            {
              "#name": "properties",
              "Description": {
                "new": "Resource properties.",
                "old": "A resource that supports private link capabilities."
              },
              "$properties": [
                {
                  "#name": "requiredZoneNames",
                  "Description": {
                    "new": "The private link resource private link DNS zone name.",
                    "old": "The private link resource Private link DNS zone name."
                  }
                }
              ]
            },
            {
              "@removed_4e604c70c8b74981b0f2aaf584a8c96e": {
                "#name": "type",
                "Description": "The resource type is private link resource.",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@removed_787af044c7af465e88c1ccd80cfd3c74": {
                "#name": "id",
                "Description": "The resource ID.",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@removed_3b3fb95e27434977a0ca1a10213f1324": {
                "#name": "name",
                "Description": "The name of the resource.",
                "Required": false,
                "Type": "string"
              }
            }
          ]
        }
      }
    },
    "@added_ebf6b219808e4519a03366ac732d3647": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_GetPrivateLinkResource (updated)
Description Gets a private link resource by a specified group name for a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_GetPrivateLinkResource",
  "$parameters": [
    {
      "#name": "groupName",
      "Description": {
        "new": "The name of the private link associated with the Azure resource.",
        "old": "The name of the private link resource."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "A private link resource.",
        "old": "A resource that supports private link capabilities."
      },
      "$properties": [
        {
          "#name": "properties",
          "Description": {
            "new": "Resource properties.",
            "old": "A resource that supports private link capabilities."
          },
          "$properties": [
            {
              "#name": "requiredZoneNames",
              "Description": {
                "new": "The private link resource private link DNS zone name.",
                "old": "The private link resource Private link DNS zone name."
              }
            }
          ]
        },
        {
          "@removed_5cc0300400cc4e45b872b946d4fe3a8a": {
            "#name": "type",
            "Description": "The resource type is private link resource.",
            "Required": false,
            "Type": "string"
          }
        },
        {
          "@removed_4f7da6288b5248e883cbaf1c5efee5df": {
            "#name": "id",
            "Description": "The resource ID.",
            "Required": false,
            "Type": "string"
          }
        },
        {
          "@removed_a1352f0d6f3d4e20a6444f593438aa19": {
            "#name": "name",
            "Description": "The name of the resource.",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_RegenerateCredential (updated)
Description Regenerates one of the login credentials for the specified container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Registries_RegenerateCredential",
  "$responses": {
    "@added_14ab28a1523546febb81e56ee42f8f91": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
regenerateCredentialParameters:
{
name: enum ,
}
,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
name: enum ,
value: string ,
}
,
]
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Replications_List",
  "$responses": {
    "@added_367f60a2b9424a3caf5a11daffe84d94": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Replications_Get (updated)
Description Gets the properties of the specified replication.
Reference Link ¶

⚶ Changes

{
  "#id": "Replications_Get",
  "$responses": {
    "@added_bb8b309777c649a49f8178b0ba3376e0": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Replications_Create",
  "$responses": {
    "201": [
      {
        "@added_7821b6ebbd454b1a961c4c29a01917ab": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_8b4cd8366851466aa77ad1384c88adfb": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
replication:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Replications_Update",
  "$responses": {
    "201": [
      {
        "@added_b25deed0c1a54ae099dc67b4b0e0765d": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_57a0ecbfe1e34d89a1e75bead36209c1": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
replicationUpdateParameters:
{
tags: object ,
properties:
{
regionEndpointEnabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Replications_Delete (updated)
Description Deletes a replication from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Replications_Delete",
  "$responses": {
    "202": [
      {
        "@added_162f0cb1e2bf47cf9056a9b7ff38e9c7": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_3de5ccfb65cd48289672f9803b588fb0": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "ScopeMaps_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "actions",
                "Description": {
                  "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
                  "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Get (updated)
Description Gets the properties of the specified scope map.
Reference Link ¶

⚶ Changes

{
  "#id": "ScopeMaps_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "actions",
            "Description": {
              "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
              "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "ScopeMaps_Create",
  "$parameters": {
    "scopeMapCreateParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "actions",
            "Description": {
              "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
              "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "actions",
              "Description": {
                "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
                "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_569732dad8f94ee58b17c08f66e76a8a": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "actions",
              "Description": {
                "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
                "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
scopeMapCreateParameters:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "ScopeMaps_Update",
  "$parameters": {
    "scopeMapUpdateParameters": {
      "$properties": {
        "properties": [
          {
            "#name": "actions",
            "Description": {
              "new": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete",
              "old": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete"
            }
          }
        ]
      }
    }
  },
  "$responses": [
    {
      "200": {
        "$properties": {
          "properties": [
            {
              "#name": "actions",
              "Description": {
                "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
                "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
              }
            }
          ]
        }
      }
    },
    {
      "#status": "201",
      "$headers": {
        "@added_e1db59ebaafd4ff8ad1d7fd2ddf14b0a": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      },
      "$schema": {
        "$properties": {
          "properties": [
            {
              "#name": "actions",
              "Description": {
                "new": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
                "old": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write"
              }
            }
          ]
        }
      }
    }
  ]
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
scopeMapUpdateParameters:
{
properties:
{
description: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Delete (updated)
Description Deletes a scope map from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "ScopeMaps_Delete",
  "$responses": {
    "202": [
      {
        "@added_303e336e5df8486e88a09bea167c11e1": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Tokens_Create",
  "$responses": {
    "201": [
      {
        "@added_c52405f6f7fd4399abf26f3622f903f0": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
tokenCreateParameters:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Tokens_Update",
  "$responses": {
    "201": [
      {
        "@added_114a31a776534de0a0e747b16f541d20": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
tokenUpdateParameters:
{
properties:
{
scopeMapId: string ,
status: enum ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_Delete (updated)
Description Deletes a token from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Tokens_Delete",
  "$responses": {
    "202": [
      {
        "@added_91e0e76f22184c9998e5dfe9567205c5": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Webhooks_List",
  "$responses": {
    "@added_a75d67839d4c4f4c85f36647540dc9e3": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_Get (updated)
Description Gets the properties of the specified webhook.
Reference Link ¶

⚶ Changes

{
  "#id": "Webhooks_Get",
  "$responses": {
    "@added_086114f1b3004c2b84961ca5867ced2c": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Webhooks_Create",
  "$responses": {
    "201": [
      {
        "@added_486f696cb3b340bfac82f9aa4cda6d1c": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_deac8bbd2b98466d902d77536d53ec90": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
webhookCreateParameters:
{
tags: object ,
location: string ,
properties:
{
serviceUri: string ,
customHeaders: object ,
status: enum ,
scope: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Webhooks_Update",
  "$responses": {
    "201": [
      {
        "@added_fd68bb6f06eb4de8bb41a27bd973e2d3": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_5aa02567b9c8472086b99caa9bdc1459": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
webhookUpdateParameters:
{
tags: object ,
properties:
{
serviceUri: string ,
customHeaders: object ,
status: enum ,
scope: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_Delete (updated)
Description Deletes a webhook from a container registry.
Reference Link ¶

⚶ Changes

{
  "#id": "Webhooks_Delete",
  "$responses": {
    "202": [
      {
        "@added_bd54fcb56ceb4ae7b58beb2a4233c7ee": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "@added_eaf9296ef6924f17a8b76d8c1e559d92": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_GetCallbackConfig (updated)
Description Gets the configuration of service URI and custom headers for the webhook.
Reference Link ¶

⚶ Changes

{
  "#id": "Webhooks_GetCallbackConfig",
  "$responses": {
    "@added_4babe449588442e0946a69d2eb818d26": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
serviceUri: string ,
customHeaders: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_ListEvents (updated)
Description Lists recent events for the specified webhook.
Reference Link ¶

⚶ Changes

{
  "#id": "Webhooks_ListEvents",
  "$responses": {
    "@added_6908fd2e2448465fb498a2f47b968d67": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
value:
[
{
eventRequestMessage:
{
content:
{
id: string ,
timestamp: string ,
action: string ,
target:
{
mediaType: string ,
size: integer ,
digest: string ,
length: integer ,
repository: string ,
url: string ,
tag: string ,
name: string ,
version: string ,
}
,
request:
{
id: string ,
addr: string ,
host: string ,
method: string ,
useragent: string ,
}
,
actor:
{
name: string ,
}
,
source:
{
addr: string ,
instanceID: string ,
}
,
}
,
headers: object ,
method: string ,
requestUri: string ,
version: string ,
}
,
eventResponseMessage:
{
content: string ,
headers: object ,
reasonPhrase: string ,
statusCode: string ,
version: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_Ping (updated)
Description Triggers a ping event to be sent to the webhook.
Reference Link ¶

⚶ Changes

{
  "#id": "Webhooks_Ping",
  "$responses": {
    "@added_e6933c93112e48308b0b46f527d0709d": {
      "default": {
        "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.).",
        "Type": "object",
        "$properties": [
          {
            "#name": "error",
            "Description": "The error object.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "code",
                "Description": "The error code.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "message",
                "Description": "The error message.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "target",
                "Description": "The error target.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "details",
                "Description": "The error details.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "additionalInfo",
                "Description": "The error additional info.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Description": "The resource management error additional info.",
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "type",
                      "Description": "The additional info type.",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "info",
                      "Description": "The additional info.",
                      "Required": false,
                      "Type": "object"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
id: string ,
}

⚐ Response (default)

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