RegistryNameCheckRequest

A request to check whether a container registry name is available.

AzureContainer ImagesContainersDockerRegistry

Properties

Name Type Description
name string The name of the container registry.
type string The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.
View JSON Schema on GitHub

JSON Schema

azure-container-registry-registry-name-check-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-registry/refs/heads/main/json-schema/azure-container-registry-registry-name-check-request-schema.json",
  "title": "RegistryNameCheckRequest",
  "description": "A request to check whether a container registry name is available.",
  "type": "object",
  "properties": {
    "name": {
      "description": "The name of the container registry.",
      "maxLength": 50,
      "minLength": 5,
      "pattern": "^[a-zA-Z0-9]*$",
      "type": "string"
    },
    "type": {
      "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.",
      "enum": [
        "Microsoft.ContainerRegistry/registries"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": false,
        "name": "ContainerRegistryResourceType"
      }
    }
  },
  "required": [
    "name",
    "type"
  ]
}