update the UCS api yaml

This commit is contained in:
2026-05-30 14:07:27 +08:00
parent f7ed9e6b41
commit 3899c94e91

View File

@ -490,9 +490,7 @@ paths:
tags: tags:
- UCS Cluster - UCS Cluster
summary: Updating a Cluster summary: Updating a Cluster
description: This API is used to update a cluster. Currently, only the description: This API is used to update a cluster. Currently, only the country/city of attached clusters can be updated.
country/city of attached clusters and on-premises clusters can be
updated.
operationId: UpdateCluster operationId: UpdateCluster
parameters: parameters:
- name: clusterid - name: clusterid
@ -2162,7 +2160,7 @@ components:
properties: properties:
uid: uid:
type: string type: string
description: 集群ID信息仅在注册CCE导入集群时使用其他类型集群无需填写。 description: Cluster ID. This parameter is used only when a CCE cluster is imported for registration. For other types of clusters, you do not need to set this parameter.
name: name:
type: string type: string
description: CCE cluster name or a custom cluster name (for other types of description: CCE cluster name or a custom cluster name (for other types of
@ -2687,9 +2685,10 @@ components:
type: object type: object
description: Cluster annotation description: Cluster annotation
properties: {} properties: {}
description: Object Meta Data description: Basic information about a cluster. Metadata is a collection of attributes.
UpdateClusterSpec: UpdateClusterSpec:
type: object type: object
description: Detailed description of a cluster. UCS creates or updates objects by defining or updating spec.
properties: properties:
country: country:
type: string type: string
@ -3084,13 +3083,13 @@ components:
x-api-type: open-api x-api-type: open-api
federationUID: federationUID:
type: string type: string
description: 联邦uid description: Federation uid
resourceID: resourceID:
type: string type: string
description: 资源id description: Resource id
resourceName: resourceName:
type: string type: string
description: 资源名字 description: Resource Name
extendparam: extendparam:
type: object type: object
description: Extended parameter description: Extended parameter
@ -3098,7 +3097,7 @@ components:
type: string type: string
subJobs: subJobs:
type: array type: array
description: Job description: Sub Jobs
items: items:
$ref: "#/components/schemas/Job" $ref: "#/components/schemas/Job"
JobStatus: JobStatus:
@ -3112,10 +3111,10 @@ components:
description: Job reason description: Job reason
completionTime: completionTime:
type: string type: string
description: Job完成时间 description: Job Completion Time
startTime: startTime:
type: string type: string
description: Job开始时间 description: Job Start Time
UpdateAssociatedZonesRequest: UpdateAssociatedZonesRequest:
type: object type: object
properties: properties: