{
  "swagger": "2.0",
  "info": {
    "title": "core/core.proto",
    "version": "version not set"
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {},
  "definitions": {
    "BackupMethod": {
      "type": "string",
      "enum": [
        "METHOD_UNSPECIFIED",
        "METHOD_FULL",
        "METHOD_INCREMENTAL"
      ],
      "default": "METHOD_UNSPECIFIED"
    },
    "CalcClusterFeeRespComponentCost": {
      "type": "object",
      "properties": {
        "component_type": {
          "$ref": "#/definitions/coreComponentType"
        },
        "compute": {
          "type": "number",
          "format": "double"
        },
        "storage": {
          "type": "number",
          "format": "double"
        },
        "raw_compute": {
          "type": "number",
          "format": "double"
        },
        "raw_storage": {
          "type": "number",
          "format": "double"
        }
      }
    },
    "ReplaceProfileByYamlReqNode": {
      "type": "object",
      "properties": {
        "cloud_provider": {
          "type": "string"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "deploy_type": {
          "$ref": "#/definitions/coreDeployType"
        },
        "component_type": {
          "$ref": "#/definitions/coreComponentType"
        },
        "opened_tenant_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "name": {
          "type": "string"
        },
        "compute_instance_type": {
          "type": "string"
        },
        "cpu": {
          "type": "integer",
          "format": "int32"
        },
        "memory_gi": {
          "type": "integer",
          "format": "int32"
        },
        "default_node_num": {
          "type": "integer",
          "format": "int32"
        },
        "disk_instance_type": {
          "type": "string"
        },
        "disk_iops": {
          "type": "integer",
          "format": "int32"
        },
        "disk_throughput": {
          "type": "integer",
          "format": "int32"
        },
        "min_storage_gi": {
          "type": "integer",
          "format": "int32"
        },
        "max_storage_gi": {
          "type": "integer",
          "format": "int32"
        },
        "is_public": {
          "type": "boolean"
        },
        "annotation": {
          "type": "string"
        },
        "pd_node": {
          "$ref": "#/definitions/ReplaceProfileByYamlReqPDNode"
        }
      }
    },
    "ReplaceProfileByYamlReqPDNode": {
      "type": "object",
      "properties": {
        "node_name": {
          "type": "string"
        },
        "node_num": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ReplaceProfileByYamlReqResourceDetail": {
      "type": "object",
      "properties": {
        "compute_instance_type": {
          "type": "string"
        },
        "disk_instance_type": {
          "type": "string"
        },
        "deploy_type": {
          "$ref": "#/definitions/coreDeployType"
        }
      }
    },
    "ReplaceProfileByYamlReqSKU": {
      "type": "object",
      "properties": {
        "cloud_provider": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "resource_type": {
          "$ref": "#/definitions/coreSKUType"
        },
        "price": {
          "type": "string"
        },
        "extra": {
          "type": "string"
        },
        "resource_detail": {
          "$ref": "#/definitions/ReplaceProfileByYamlReqResourceDetail"
        }
      }
    },
    "baseBaseReq": {
      "type": "object",
      "properties": {
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "baseBaseResp": {
      "type": "object",
      "properties": {
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "err_code": {
          "type": "string",
          "format": "int64"
        },
        "err_msg": {
          "type": "string"
        }
      }
    },
    "basePager": {
      "type": "object",
      "properties": {
        "page": {
          "type": "string",
          "format": "int64"
        },
        "page_size": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "baseSort": {
      "type": "string",
      "enum": [
        "SORT_ASC",
        "SORT_DESC"
      ],
      "default": "SORT_ASC"
    },
    "baseSorter": {
      "type": "object",
      "properties": {
        "order_by": {
          "type": "string"
        },
        "sort": {
          "$ref": "#/definitions/baseSort"
        }
      }
    },
    "coreBackup": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "tenant_id": {
          "type": "string",
          "format": "uint64"
        },
        "project_id": {
          "type": "string",
          "format": "uint64"
        },
        "cluster_id": {
          "type": "string",
          "format": "uint64"
        },
        "type": {
          "$ref": "#/definitions/coreBackupType"
        },
        "status": {
          "$ref": "#/definitions/coreBackupStatus"
        },
        "method": {
          "$ref": "#/definitions/BackupMethod"
        },
        "name": {
          "type": "string"
        },
        "components": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterComponent"
          }
        },
        "description": {
          "type": "string"
        },
        "size_bytes": {
          "type": "string",
          "format": "int64"
        },
        "created_at": {
          "type": "string",
          "format": "int64"
        },
        "expiration_time": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "coreBackupFilter": {
      "type": "object",
      "properties": {
        "statuses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreBackupStatus"
          }
        },
        "exclude_statuses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreBackupStatus"
          }
        },
        "tenant_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "cluster_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          },
          "title": "repeated uint64 project_ids = 6;"
        }
      }
    },
    "coreBackupStatus": {
      "type": "string",
      "enum": [
        "BACKUP_STATUS_UNSPECIFIED",
        "BACKUP_STATUS_PENDING",
        "BACKUP_STATUS_RUNNING",
        "BACKUP_STATUS_FAILED",
        "BACKUP_STATUS_SUCCESS"
      ],
      "default": "BACKUP_STATUS_UNSPECIFIED"
    },
    "coreBackupType": {
      "type": "string",
      "enum": [
        "TYPE_UNSPECIFIED",
        "TYPE_AUTO",
        "TYPE_MANUAL"
      ],
      "default": "TYPE_UNSPECIFIED"
    },
    "coreBatchGetClusterSnapshotResp": {
      "type": "object",
      "properties": {
        "snapshots": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/coreClusterSnapshot"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCalcClusterFeeResp": {
      "type": "object",
      "properties": {
        "costs": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CalcClusterFeeRespComponentCost"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCloudProvider": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "status": {
          "$ref": "#/definitions/coreCloudProviderStatus"
        },
        "name2region": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/coreRegion"
          }
        }
      }
    },
    "coreCloudProviderStatus": {
      "type": "string",
      "enum": [
        "STATUS_UNSPECIFIED",
        "STATUS_ACTIVE",
        "STATUS_INACTIVE"
      ],
      "default": "STATUS_UNSPECIFIED"
    },
    "coreCluster": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "tenant_id": {
          "type": "string",
          "format": "uint64"
        },
        "project_id": {
          "type": "string",
          "format": "uint64"
        },
        "cloud_provider_name": {
          "type": "string"
        },
        "infra_provider_name": {
          "type": "string"
        },
        "region_name": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "components": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterComponent"
          }
        },
        "status": {
          "$ref": "#/definitions/coreClusterStatus"
        },
        "user_status": {
          "$ref": "#/definitions/coreUserClusterStatus"
        },
        "user_sub_status": {
          "$ref": "#/definitions/coreUserClusterSubStatus"
        },
        "is_dev_tier": {
          "type": "boolean"
        },
        "import_id": {
          "type": "string",
          "format": "uint64"
        },
        "connections": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterConnection"
          }
        },
        "read_only": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string",
          "format": "int64"
        },
        "created_by": {
          "type": "string",
          "format": "uint64"
        }
      }
    },
    "coreClusterComponent": {
      "type": "object",
      "properties": {
        "component_type": {
          "$ref": "#/definitions/coreComponentType"
        },
        "node_profile_id": {
          "type": "string",
          "format": "uint64"
        },
        "node_profile_name": {
          "type": "string"
        },
        "replicas": {
          "type": "integer",
          "format": "int32"
        },
        "compute_instance_type": {
          "type": "string"
        },
        "cpu_num": {
          "type": "integer",
          "format": "int32"
        },
        "memory_gi": {
          "type": "string",
          "format": "int64"
        },
        "storage_instance_type": {
          "type": "string"
        },
        "storage_size_gi": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "coreClusterConnection": {
      "type": "object",
      "properties": {
        "cluster_id": {
          "type": "string",
          "format": "uint64"
        },
        "type": {
          "$ref": "#/definitions/coreClusterConnectionType"
        },
        "create_success": {
          "type": "boolean"
        },
        "host": {
          "type": "string"
        },
        "port": {
          "type": "integer",
          "format": "int32"
        }
      },
      "title": "aka ClusterEndpoint"
    },
    "coreClusterConnectionType": {
      "type": "string",
      "enum": [
        "CLUSTER_CONNECTION_TYPE_UNSPECIFIED",
        "CLUSTER_CONNECTION_TYPE_PRIVATE",
        "CLUSTER_CONNECTION_TYPE_PUBLIC"
      ],
      "default": "CLUSTER_CONNECTION_TYPE_UNSPECIFIED"
    },
    "coreClusterFilter": {
      "type": "object",
      "properties": {
        "cloud_provider_names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "statuses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterStatus"
          },
          "title": "repeated string region_names = 2;"
        },
        "exclude_statuses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterStatus"
          }
        },
        "tenant_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "project_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "cluster_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "deleted": {
          "type": "boolean"
        },
        "creator_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "cluster_names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "is_dev_tier": {
          "type": "boolean",
          "title": "repeated DeployType deploy_types = 11;"
        }
      }
    },
    "coreClusterSnapshot": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "tenant_id": {
          "type": "string",
          "format": "uint64"
        },
        "project_id": {
          "type": "string",
          "format": "uint64"
        },
        "cloud_provider_name": {
          "type": "string"
        },
        "infra_provider_name": {
          "type": "string"
        },
        "components": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreClusterComponent"
          },
          "title": "string region_name = 6;\n string name = 7;\n string version = 8;"
        }
      }
    },
    "coreClusterStatus": {
      "type": "string",
      "enum": [
        "CLUSTER_STATUS_UNSPECIFIED",
        "CLUSTER_STATUS_INITIALIZING",
        "CLUSTER_STATUS_PREPARING",
        "CLUSTER_STATUS_LAUNCHING",
        "CLUSTER_STATUS_NORMAL",
        "CLUSTER_STATUS_SCALING",
        "CLUSTER_STATUS_RECOVERING",
        "CLUSTER_STATUS_DELETED",
        "CLUSTER_STATUS_DELETECOMPLETE",
        "CLUSTER_STATUS_CLEARED"
      ],
      "default": "CLUSTER_STATUS_UNSPECIFIED"
    },
    "coreComponentType": {
      "type": "string",
      "enum": [
        "COMPONENT_TYPE_UNSPECIFIED",
        "COMPONENT_TYPE_TIDB",
        "COMPONENT_TYPE_TIKV",
        "COMPONENT_TYPE_TIFLASH",
        "COMPONENT_TYPE_PD",
        "COMPONENT_TYPE_TICDC"
      ],
      "default": "COMPONENT_TYPE_UNSPECIFIED"
    },
    "coreCountClustersResp": {
      "type": "object",
      "properties": {
        "count": {
          "type": "string",
          "format": "int64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCreateClusterConnResp": {
      "type": "object",
      "properties": {
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCreateClusterResp": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCreateClusterSnapshotResp": {
      "type": "object",
      "properties": {
        "snapshot_id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCreateNetworkPeerResp": {
      "type": "object",
      "properties": {
        "peering_id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreCreateReplicationResp": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreDeleteNetworkPeerResp": {
      "type": "object",
      "properties": {
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreDeployType": {
      "type": "string",
      "enum": [
        "DEPLOY_TYPE_UNSPECIFIED",
        "DEPLOY_TYPE_DEDICATED",
        "DEPLOY_TYPE_SHARED",
        "DEPLOY_TYPE_HYBRID"
      ],
      "default": "DEPLOY_TYPE_UNSPECIFIED"
    },
    "coreListBackupsOfClusterResp": {
      "type": "object",
      "properties": {
        "backups": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreBackup"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListBackupsResp": {
      "type": "object",
      "properties": {
        "backups": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreBackup"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListCloudProvidersResp": {
      "type": "object",
      "properties": {
        "name2cloud_provider": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/coreCloudProvider"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListClustersResp": {
      "type": "object",
      "properties": {
        "clusters": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/coreCluster"
          }
        },
        "ordered_cluster_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListNetworkPeerResp": {
      "type": "object",
      "properties": {
        "peering_list": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreNetworkPeer"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListNodeProfiles4TenantResp": {
      "type": "object",
      "properties": {
        "profiles": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreNodeProfile4Tenant"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreListRegionCIDROfProjectResp": {
      "type": "object",
      "properties": {
        "project_cidr": {
          "type": "string"
        },
        "region_cidrs": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreRegionCIDR"
          }
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreMeasureResp": {
      "type": "object",
      "properties": {
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreNetworkPeer": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "tenant_id": {
          "type": "string",
          "format": "uint64"
        },
        "project_id": {
          "type": "string",
          "format": "uint64"
        },
        "cloud_provider": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "vpc_cidr": {
          "type": "string"
        },
        "network": {
          "type": "string"
        },
        "peer_region": {
          "type": "string"
        },
        "peer_vpc_cidr": {
          "type": "string"
        },
        "peer_network": {
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/coreNetworkPeerType"
        },
        "status": {
          "$ref": "#/definitions/coreNetworkPeerStatus"
        },
        "aws": {
          "$ref": "#/definitions/coreNetworkPeerInfo4Aws"
        },
        "gcp": {
          "$ref": "#/definitions/coreNetworkPeerInfo4Gcp"
        }
      }
    },
    "coreNetworkPeerFilter": {
      "type": "object",
      "properties": {
        "cloud_provider": {
          "type": "string"
        },
        "region_names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "statuses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreNetworkPeerStatus"
          }
        },
        "types": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/coreNetworkPeerType"
          },
          "title": "repeated ClusterStatus exclude_statuses = 4;"
        },
        "project_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          },
          "title": "repeated uint64 tenant_ids = 6;"
        },
        "peering_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        }
      }
    },
    "coreNetworkPeerInfo4Aws": {
      "type": "object",
      "properties": {
        "peer_account_id": {
          "type": "string"
        },
        "vpc_peering_id": {
          "type": "string",
          "title": "status info, exist when status is \"active\""
        },
        "private_host_zone": {
          "type": "string"
        }
      }
    },
    "coreNetworkPeerInfo4Gcp": {
      "type": "object",
      "properties": {
        "peer_project_id": {
          "type": "string"
        }
      }
    },
    "coreNetworkPeerStatus": {
      "type": "string",
      "enum": [
        "STATUS_UNSPECIFIED",
        "STATUS_PENDING",
        "STATUS_FAILED",
        "STATUS_ACTIVE"
      ],
      "default": "STATUS_UNSPECIFIED"
    },
    "coreNetworkPeerType": {
      "type": "string",
      "enum": [
        "TYPE_UNSPECIFIED",
        "TYPE_CUSTOMER",
        "TYPE_DBAAS"
      ],
      "default": "TYPE_UNSPECIFIED"
    },
    "coreNodeProfile4Tenant": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uint64"
        },
        "name": {
          "type": "string"
        },
        "component_type": {
          "$ref": "#/definitions/coreComponentType"
        },
        "deploy_type": {
          "$ref": "#/definitions/coreDeployType"
        },
        "cloud_provider": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "cpu_num": {
          "type": "integer",
          "format": "int32"
        },
        "default_node_num": {
          "type": "integer",
          "format": "int32"
        },
        "min_storage_size_gi": {
          "type": "integer",
          "format": "int32"
        },
        "max_storage_size_gi": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "coreRegion": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "cloud_provider_name": {
          "type": "string"
        },
        "status": {
          "$ref": "#/definitions/coreRegionStatus"
        },
        "opened_tenant_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uint64"
          }
        }
      }
    },
    "coreRegionCIDR": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "format": "uint64"
        },
        "region": {
          "type": "string"
        },
        "region_display_name": {
          "type": "string"
        },
        "cidr": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        }
      }
    },
    "coreRegionStatus": {
      "type": "string",
      "enum": [
        "STATUS_UNSPECIFIED",
        "STATUS_ACTIVE",
        "STATUS_INACTIVE"
      ],
      "default": "STATUS_UNSPECIFIED"
    },
    "coreReplaceProfileByYamlResp": {
      "type": "object",
      "properties": {
        "version_id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreReplicationType": {
      "type": "string",
      "enum": [
        "TYPE_UNSPECIFIED",
        "TYPE_CDC"
      ],
      "default": "TYPE_UNSPECIFIED"
    },
    "coreRestoreClusterResp": {
      "type": "object",
      "properties": {
        "restore_id": {
          "type": "string",
          "format": "uint64"
        },
        "cluster_id": {
          "type": "string",
          "format": "uint64"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreSKUType": {
      "type": "string",
      "enum": [
        "SKU_TYPE_UNSPECIFIED",
        "SKU_TYPE_NODE",
        "SKU_TYPE_DISK_IOPS",
        "SKU_TYPE_DISK_THROUGHPUT",
        "SKU_TYPE_DISK_STORAGE",
        "SKU_TYPE_NETWORK_TRAFFIC",
        "SKU_TYPE_BACKUP_STORAGE",
        "SKU_TYPE_TICDC_TCU"
      ],
      "default": "SKU_TYPE_UNSPECIFIED"
    },
    "coreScaleClusterResp": {
      "type": "object",
      "properties": {
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreSyncInfraProfileResp": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "string"
        },
        "base_resp": {
          "$ref": "#/definitions/baseBaseResp"
        }
      }
    },
    "coreUserClusterStatus": {
      "type": "string",
      "enum": [
        "USER_CLUSTER_STATUS_NORMAL",
        "USER_CLUSTER_STATUS_CREATING",
        "USER_CLUSTER_STATUS_SCALING",
        "USER_CLUSTER_STATUS_UPGRADING",
        "USER_CLUSTER_STATUS_UNAVAILABLE",
        "USER_CLUSTER_STATUS_RECOVERING",
        "USER_CLUSTER_STATUS_IMPORTING"
      ],
      "default": "USER_CLUSTER_STATUS_NORMAL",
      "title": "UserClusterStatus is the status for user, have some difference from ClusterStatus.\nMUST keep the same order with service.proto:Cluster.Status"
    },
    "coreUserClusterSubStatus": {
      "type": "string",
      "enum": [
        "USER_CLUSTER_SUB_STATUS_HEALTHY",
        "USER_CLUSTER_SUB_STATUS_UNHEALTHY"
      ],
      "default": "USER_CLUSTER_SUB_STATUS_HEALTHY",
      "title": "MUST keep the same order with service.proto:Cluster.SecondaryStatus"
    },
    "protobufAny": {
      "type": "object",
      "properties": {
        "type_url": {
          "type": "string"
        },
        "value": {
          "type": "string",
          "format": "byte"
        }
      }
    },
    "runtimeError": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        },
        "code": {
          "type": "integer",
          "format": "int32"
        },
        "message": {
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/protobufAny"
          }
        }
      }
    }
  }
}
