Azure Container Registry Registries API

The Registries API from Azure Container Registry — 7 operation(s) for registries.

Operations 10

GET /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries Azure Container Registry Registries_ List #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries Azure Container Registry Registries_ List by Resource Group #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName} Azure Container Registry Registries_ Delete #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName} Azure Container Registry Registries_ Get #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName} Azure Container Registry Registries_ Update #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName} Azure Container Registry Registries_ Create #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage Azure Container Registry Registries_ Import Image #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials Azure Container Registry Registries_ List Credentials #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages Azure Container Registry Registries_ List Usages #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential Azure Container Registry Registries_ Regenerate Credential #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-container-registry-registries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-container-registry-registries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerRegistryManagementClient Operation Registries API
  version: '2.0'
  x-apisguru-categories:
  - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
  - format: swagger
    url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
  x-preferred: false
  x-providerName: azure.com
  x-serviceName: containerregistry
  x-tags:
  - Azure
  - Microsoft
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Registries
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries:
    get:
      description: Lists all the container registries under the specified subscription.
      operationId: Registries_List
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListResult'
      tags:
      - Registries
      x-ms-examples:
        RegistryList:
          parameters:
            api-version: 2019-12-01-preview
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                value:
                - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                  location: westus
                  name: myRegistry
                  properties:
                    adminUserEnabled: true
                    creationDate: '2017-03-01T23:14:37.0707808Z'
                    loginServer: myregistry.azurecr.io
                    provisioningState: Succeeded
                    status:
                      displayStatus: Ready
                      message: The registry is ready.
                      timestamp: '2017-03-01T23:15:37.0707808Z'
                  sku:
                    name: Standard
                    tier: Standard
                  tags:
                    key: value
                  type: Microsoft.ContainerRegistry/registries
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure Container Registry Registries_ List
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries:
    get:
      description: Lists all the container registries under the specified resource group.
      operationId: Registries_ListByResourceGroup
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListResult'
      tags:
      - Registries
      x-ms-examples:
        RegistryListByResourceGroup:
          parameters:
            api-version: 2019-12-01-preview
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                value:
                - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                  location: westus
                  name: myRegistry
                  properties:
                    adminUserEnabled: true
                    creationDate: '2017-03-01T23:14:37.0707808Z'
                    loginServer: myregistry.azurecr.io
                    provisioningState: Succeeded
                    status:
                      displayStatus: Ready
                      message: The registry is ready.
                      timestamp: '2017-03-01T23:15:37.0707808Z'
                  sku:
                    name: Standard
                    tier: Standard
                  tags:
                    key: value
                  type: Microsoft.ContainerRegistry/registries
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure Container Registry Registries_ List by Resource Group
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
  : delete:
      description: Deletes a container registry.
      operationId: Registries_Delete
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
        '202':
          description: The request was successful; the operation will complete asynchronously.
        '204':
          description: The container registry does not exist in the subscription.
      tags:
      - Registries
      x-ms-examples:
        RegistryDelete:
          parameters:
            api-version: 2019-12-01-preview
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200': {}
            '202': {}
            '204': {}
      x-ms-long-running-operation: true
      summary: Azure Container Registry Registries_ Delete
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      description: Gets the properties of the specified container registry.
      operationId: Registries_Get
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registry'
      tags:
      - Registries
      x-ms-examples:
        RegistryGet:
          parameters:
            api-version: 2019-12-01-preview
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                location: westus
                name: myRegistry
                properties:
                  adminUserEnabled: true
                  creationDate: '2017-03-01T23:14:37.0707808Z'
                  loginServer: myregistry.azurecr.io
                  provisioningState: Succeeded
                  status:
                    displayStatus: Ready
                    message: The registry is ready.
                    timestamp: '2017-03-01T23:15:37.0707808Z'
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  key: value
                type: Microsoft.ContainerRegistry/registries
      summary: Azure Container Registry Registries_ Get
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      description: Updates a container registry with the specified parameters.
      operationId: Registries_Update
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registry'
        '201':
          description: The request was successful; the operation will complete asynchronously.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registry'
      tags:
      - Registries
      x-ms-examples:
        RegistryUpdate:
          parameters:
            api-version: 2019-12-01-preview
            registryName: myRegistry
            registryUpdateParameters:
              properties:
                adminUserEnabled: true
              sku:
                name: Standard
              tags:
                key: value
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                location: westus
                name: myRegistry
                properties:
                  adminUserEnabled: true
                  creationDate: '2017-03-01T23:14:37.0707808Z'
                  loginServer: myregistry.azurecr.io
                  provisioningState: Succeeded
                  status:
                    displayStatus: Ready
                    message: The registry is ready.
                    timestamp: '2017-03-01T23:15:37.0707808Z'
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  key: value
                type: Microsoft.ContainerRegistry/registries
            '201':
              body:
                id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                location: westus
                name: myRegistry
                properties:
                  adminUserEnabled: true
                  creationDate: '2017-03-01T23:14:37.0707808Z'
                  loginServer: myregistry.azurecr.io
                  provisioningState: Updating
                  status:
                    displayStatus: Provisioning
                    message: The registry is provisioning.
                    timestamp: '2017-03-01T23:15:37.0707808Z'
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  key: value
                type: Microsoft.ContainerRegistry/registries
      x-ms-long-running-operation: true
      summary: Azure Container Registry Registries_ Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegistryUpdateParameters'
        description: The parameters for updating a container registry.
        required: true
    put:
      description: Creates a container registry with the specified parameters.
      operationId: Registries_Create
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registry'
        '201':
          description: The request was successful; the operation will complete asynchronously.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registry'
      tags:
      - Registries
      x-ms-examples:
        RegistryCreate:
          parameters:
            api-version: 2019-12-01-preview
            registry:
              location: westus
              properties:
                adminUserEnabled: true
              sku:
                name: Standard
              tags:
                key: value
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                location: westus
                name: myRegistry
                properties:
                  adminUserEnabled: true
                  creationDate: '2017-03-01T23:14:37.0707808Z'
                  loginServer: myregistry.azurecr.io
                  provisioningState: Succeeded
                  status:
                    displayStatus: Ready
                    message: The registry is ready.
                    timestamp: '2017-03-01T23:15:37.0707808Z'
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  key: value
                type: Microsoft.ContainerRegistry/registries
            '201':
              body:
                id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry
                location: westus
                name: myRegistry
                properties:
                  adminUserEnabled: true
                  creationDate: '2017-03-01T23:14:37.0707808Z'
                  loginServer: myregistry.azurecr.io
                  provisioningState: Creating
                  status:
                    displayStatus: Provisioning
                    message: The registry is provisioning.
                    timestamp: '2017-03-01T23:15:37.0707808Z'
                sku:
                  name: Standard
                  tier: Standard
                tags:
                  key: value
                type: Microsoft.ContainerRegistry/registries
      x-ms-long-running-operation: true
      summary: Azure Container Registry Registries_ Create
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Registry'
        description: The parameters for creating a container registry.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage
  : post:
      description: Copies an image to this container registry from the specified container registry.
      operationId: Registries_ImportImage
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the operation has completed successfully.
        '202':
          description: The request was successful; the operation will complete asynchronously.
      tags:
      - Registries
      x-ms-examples:
        ImportImageByManifestDigest:
          parameters:
            api-version: 2019-12-01-preview
            parameters:
              mode: Force
              source:
                resourceId: /subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry
                sourceImage: sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000
              targetTags:
              - targetRepository:targetTag
              untaggedTargetRepositories:
              - targetRepository1
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200': {}
            '202': {}
        ImportImageByTag:
          parameters:
            api-version: 2019-12-01-preview
            parameters:
              mode: Force
              source:
                resourceId: /subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry
                sourceImage: sourceRepository:sourceTag
              targetTags:
              - targetRepository:targetTag
              untaggedTargetRepositories:
              - targetRepository1
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200': {}
            '202': {}
        ImportImageFromPublicRegistry:
          parameters:
            api-version: 2019-12-01-preview
            parameters:
              mode: Force
              source:
                registryUri: registry.hub.docker.com
                sourceImage: library/hello-world
              targetTags:
              - targetRepository:targetTag
              untaggedTargetRepositories:
              - targetRepository1
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200': {}
            '202': {}
      x-ms-long-running-operation: true
      summary: Azure Container Registry Registries_ Import Image
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportImageParameters'
        description: The parameters specifying the image to copy and the source container registry.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials
  : post:
      description: Lists the login credentials for the specified container registry.
      operationId: Registries_ListCredentials
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the list of credentials retrieved and returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListCredentialsResult'
      tags:
      - Registries
      x-ms-examples:
        RegistryListCredentials:
          parameters:
            api-version: 2019-12-01-preview
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                passwords:
                - name: password
                  value: '00000000000000000000000000000000'
                - name: password2
                  value: '00000000000000000000000000000000'
                username: myRegistry
      summary: Azure Container Registry Registries_ List Credentials
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages
  : get:
      description: Gets the quota usages for the specified container registry.
      operationId: Registries_ListUsages
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the registry usages retrieved and returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryUsageListResult'
      tags:
      - Registries
      x-ms-examples:
        RegistryListUsages:
          parameters:
            api-version: 2019-12-01-preview
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                value:
                - currentValue: 12345678
                  limit: 107374182400
                  name: Size
                  unit: Bytes
                - currentValue: 2
                  limit: 10
                  name: Webhooks
                  unit: Count
      summary: Azure Container Registry Registries_ List Usages
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential
  : post:
      description: Regenerates one of the login credentials for the specified container registry.
      operationId: Registries_RegenerateCredential
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - $ref: '#/components/parameters/RegistryNameParameter'
      responses:
        '200':
          description: The request was successful; the specified credential regenerated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListCredentialsResult'
      tags:
      - Registries
      x-ms-examples:
        RegistryRegenerateCredential:
          parameters:
            api-version: 2019-12-01-preview
            regenerateCredentialParameters:
              name: password
            registryName: myRegistry
            resourceGroupName: myResourceGroup
            subscriptionId: 00000000-0000-0000-0000-000000000000
          responses:
            '200':
              body:
                passwords:
                - name: password
                  value: '00000000000000000000000000000000'
                - name: password2
                  value: '00000000000000000000000000000000'
                username: myRegistry
      summary: Azure Container Registry Registries_ Regenerate Credential
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegenerateCredentialParameters'
        description: Specifies name of the password which should be regenerated -- password or password2.
        required: true
components:
  schemas:
    TrustPolicy:
      description: The content trust policy for a container registry.
      properties:
        status:
          default: disabled
          description: The value that indicates whether the policy is enabled or not.
          enum:
          - enabled
          - disabled
          type: string
          x-ms-enum:
            modelAsString: true
            name: PolicyStatus
        type:
          default: Notary
          description: The type of trust policy.
          enum:
          - Notary
          type: string
          x-ms-enum:
            modelAsString: true
            name: TrustPolicyType
      type: object
    RegistryProperties:
      description: The properties of a container registry.
      properties:
        adminUserEnabled:
          default: false
          description: The value that indicates whether the admin user is enabled.
          type: boolean
        creationDate:
          description: The creation date of the container registry in ISO8601 format.
          format: date-time
          readOnly: true
          type: string
        encryption:
          $ref: '#/components/schemas/EncryptionProperty'
          description: The encryption settings of container registry.
        loginServer:
          description: The URL that can be used to log into the container registry.
          readOnly: true
          type: string
        networkRuleSet:
          $ref: '#/components/schemas/NetworkRuleSet'
          description: The network rule set for a container registry.
        policies:
          $ref: '#/components/schemas/Policies'
          description: The policies for a container registry.
        provisioningState:
          description: The provisioning state of the container registry at the time the operation was called.
          enum:
          - Creating
          - Updating
          - Deleting
          - Succeeded
          - Failed
          - Canceled
          readOnly: true
          type: string
          x-ms-enum:
            modelAsString: true
            name: ProvisioningState
        status:
          $ref: '#/components/schemas/Status'
          description: The status of the container registry at the time the operation was called.
          readOnly: true
        storageAccount:
          $ref: '#/components/schemas/StorageAccountProperties'
          description: The properties of the storage account for the container registry. Only applicable to Classic SKU.
      type: object
    KeyVaultProperties:
      properties:
        identity:
          description: The client id of the identity which will be used to access key vault.
          type: string
        keyIdentifier:
          description: Key vault uri to access the encryption key.
          type: string
      type: object
    RegistryPropertiesUpdateParameters:
      description: The parameters for updating the properties of a container registry.
      properties:
        adminUserEnabled:
          description: The value that indicates whether the admin user is enabled.
          type: boolean
        encryption:
          $ref: '#/components/schemas/EncryptionProperty'
          description: The encryption settings of container registry.
        networkRuleSet:
          $ref: '#/components/schemas/NetworkRuleSet'
          description: The network rule set for a container registry.
        policies:
          $ref: '#/components/schemas/Policies'
          description: The policies for a container registry.
      type: object
    Policies:
      description: The policies for a container registry.
      properties:
        quarantinePolicy:
          $ref: '#/components/schemas/QuarantinePolicy'
          description: The quarantine policy for a container registry.
        retentionPolicy:
          $ref: '#/components/schemas/RetentionPolicy'
          description: The retention policy for a container registry.
        trustPolicy:
          $ref: '#/components/schemas/TrustPolicy'
          description: The content trust policy for a container registry.
      type: object
    VirtualNetworkRule:
      description: Virtual network rule.
      properties:
        action:
          default: Allow
          description: The action of virtual network rule.
          enum:
          - Allow
          type: string
          x-ms-enum:
            modelAsString: true
            name: Action
        id:
          description: 'Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.'
          type: string
          x-ms-client-name: VirtualNetworkResourceId
      required:
      - id
      type: object
    UserIdentityProperties:
      properties:
        clientId:
          description: The client id of user assigned identity.
          type: string
        principalId:
          description: The principal id of user assigned identity.
          type: string
      type: object
    RegistryListCredentialsResult:
      description: The response from the ListCredentials operation.
      properties:
        passwords:
          description: The list of passwords for a container registry.
          items:
            $ref: '#/components/schemas/RegistryPassword'
          type: array
        username:
          description: The username for a container registry.
          type: string
      type: object
    RegistryUsageListResult:
      description: The result of a request to get container registry quota usages.
      properties:
        value:
          description: The list of container registry quota usages.
          items:
            $ref: '#/components/schemas/RegistryUsage'
          type: array
      type: object
    Registry:
      allOf:
      - $ref: '#/components/schemas/Resource'
      description: An object that represents a container registry.
      properties:
        identity:
          $ref: '#/components/schemas/IdentityProperties'
          description: The identity of the container registry.
        properties:
          $ref: '#/components/schemas/RegistryProperties'
          description: The properties of the container registry.
          x-ms-client-flatten: true
        sku:
          $ref: '#/components/schemas/Sku'
          description: The SKU of the container registry.
      required:
      - sku
      type: object
    ImportSourceCredentials:
      properties:
        password:
          description: The password used to authenticate with the source registry.
          type: string
        username:
          description: The username to authenticate with the source registry.
          type: string
      required:
      - password
      type: object
    RegistryListResult:
      description: The result of a request to list container registries.
      properties:
        nextLink:
          description: The URI that can be used to request the next list of container registries.
          type: string
        value:
          description: The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.
          items:
            $ref: '#/components/schemas/Registry'
          type: array
      type: object
    NetworkRuleSet:
      description: The network rule set for a container registry.
      properties:
        defaultAction:
          default: Allow
          description: The default action of allow or deny when no other rules match.
          enum:
          - Allow
          - Deny
          type: string
          x-ms-enum:
            modelAsString: true
            name: DefaultAction
        ipRules:
          description: The IP ACL rules.
          items:
            $ref: '#/components/schemas/IPRule'
          type: array
        virtualNetworkRules:
          description: The virtual network rules.
          items:
            $ref: '#/components/schemas/VirtualNetworkRule'
          type: array
      required:
      - defaultAction
      type: object
    IdentityProperties:
      description: Managed identity for the resource.
      properties:
        principalId:
          description: The principal ID of resource identity.
          type: string
        tenantId:
          description: The tenant ID of resource.
          type: string
        type:
          description: The identity type.
          enum:
          - SystemAssigned
          - UserAssigned
          - SystemAssigned, UserAssigned
          - None
    

# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/azure-container-registry/refs/heads/main/openapi/azure-container-registry-registries-api-openapi.yml