{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-update-vc-request-schema.json",
  "title": "UpdateVcRequest",
  "description": "Request object for updateVc method.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudera-de-api-openapi.yml#/components/schemas/UpdateVcRequest",
  "type": "object",
  "required": [
    "clusterId",
    "vcId"
  ],
  "properties": {
    "clusterId": {
      "type": "string",
      "description": "Cluster ID of the CDE service where Virtual Cluster was enabled."
    },
    "vcId": {
      "type": "string",
      "description": "Virtual Cluster ID"
    },
    "aclUsers": {
      "description": "Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster.",
      "type": "string"
    },
    "fullAccessUsers": {
      "description": "Users with full access.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "fullAccessGroups": {
      "description": "Groups with full access.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "viewOnlyUsers": {
      "description": "Users with view only access.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "viewOnlyGroups": {
      "description": "Groups with view only access.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sparkConfigs": {
      "type": "object",
      "description": "Spark configs that will be applied to all the spark jobs inside a virtual cluster.",
      "additionalProperties": {
        "type": "string",
        "description": "Spark configs that will be applied to all the spark jobs inside a virtual cluster."
      }
    },
    "discardSparkConfigs": {
      "description": "Discard the Spark configs inside a VC.",
      "type": "boolean",
      "default": false
    },
    "enableComputeOverride": {
      "type": "boolean",
      "description": "Whether to enable job-level override for how drivers and executors run in the Virtual Cluster.",
      "x-form-factors": "public"
    }
  }
}