{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-integration-services/json-schema/microsoft-azure-integration-services-regenerate-access-key-parameters-schema.json",
  "title": "RegenerateAccessKeyParameters",
  "description": "Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-integration-services-namespaces-authorizationrule-api-openapi.yml#/components/schemas/RegenerateAccessKeyParameters",
  "type": "object",
  "properties": {
    "keyType": {
      "$ref": "#/$defs/KeyType",
      "description": "The access key to regenerate."
    },
    "key": {
      "type": "string",
      "description": "Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType"
    }
  },
  "required": [
    "keyType"
  ],
  "$defs": {
    "KeyType": {
      "type": "string",
      "description": "The access key to regenerate.",
      "enum": [
        "PrimaryKey",
        "SecondaryKey"
      ],
      "x-ms-enum": {
        "name": "KeyType",
        "modelAsString": false
      }
    }
  }
}