平台运维相关接口/平台联邦
POSTPlatform起始版本 1.0同步需要认证
创建集群组
创建新逻辑集群组多集群联邦管理。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
nameString必填资源名称。
示例: production-clusters
descriptionString必填资源的详细描述。
示例: All production environment clusters
clusterIdsList必填集群ID。
示例: item1,item2
响应状态
请求地址
POST/api/v1/federation/cluster-groups
/api/v1/federation/cluster-groups
请求示例
curl -X POST '{host}/api/v1/federation/cluster-groups' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"key": "value"}'
响应示例
200{
"id": "cg-001-xyz",
"name": "production-clusters",
"description": "All production environment clusters",
"clusterIds": [],
"createdAt": "example"
}变更历史
此 API 暂无变更历史记录。
