{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-regenerate-endpoint-keys-request-schema.json",
  "title": "RegenerateEndpointKeysRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-onlineendpoints-api-openapi.yml#/components/schemas/RegenerateEndpointKeysRequest",
  "type": "object",
  "properties": {
    "keyType": {
      "$ref": "#/$defs/KeyType",
      "description": "[Required] Specification for which type of key to generate. Primary or Secondary."
    },
    "keyValue": {
      "type": [
        "string",
        "null"
      ],
      "description": "The value the key is set to."
    }
  },
  "required": [
    "keyType"
  ],
  "$defs": {
    "KeyType": {
      "type": "string",
      "enum": [
        "Primary",
        "Secondary"
      ],
      "x-ms-enum": {
        "name": "KeyType",
        "modelAsString": true,
        "values": [
          {
            "name": "Primary",
            "value": "Primary"
          },
          {
            "name": "Secondary",
            "value": "Secondary"
          }
        ]
      }
    }
  }
}