{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-event-hubs/json-schema/microsoft-azure-event-hubs-regenerate-access-key-parameters-schema.json",
  "title": "RegenerateAccessKeyParameters",
  "description": "Parameters supplied to the Regenerate Authorization Rule operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-event-hubs-authorization-rules-api-openapi.yml#/components/schemas/RegenerateAccessKeyParameters",
  "type": "object",
  "required": [
    "keyType"
  ],
  "properties": {
    "keyType": {
      "type": "string",
      "description": "The access key to regenerate.",
      "enum": [
        "PrimaryKey",
        "SecondaryKey"
      ]
    },
    "key": {
      "type": "string",
      "description": "Optional. If the key value is provided, this is set to key type, or autogenerated key value set for keyType."
    }
  }
}