文档

SyncUsers - 同步本地集群用户到线上混合云集群

调用SyncUsers在混合云代理模式下,同步本地集群用户到线上混合云集群中。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
RegionIdstring

地域 ID。

您可以调用 ListRegions 查询可以使用 E-HPC 的地域列表。

cn-hangzhou
ClusterIdstring

集群 ID。

您可以调用 ListClusters 查询可以使用 E-HPC 的集群列表。

ehpc-hz-gh5WKb****

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

04F0F334-1335-436C-A1D7-6C044FE7****

示例

正常返回示例

JSON格式

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}

错误码

HTTP status code错误码错误信息描述
400InvalidParamsThe parameters are invalid.无效的参数
403InvalidClusterStatusThe operation failed due to invalid cluster status.集群状态不允许执行本次操作。
403ExecFailFailed to execute the command: %s.命令执行失败:%s
404ManagerNotFoundThe manager nodes do not exist or their status is abnormal.管理节点不存在或状态异常。
404ClusterNotFoundThe specified cluster does not exist.指定的集群不存在,请您检查该参数是否正确。
406AgentError.Account.UserSynFailuresynchronize users failed: %s同步用户失败:%s
407NotAuthorizedYou are not authorized by RAM for this request.此请求未获得RAM授权
500UnknownErrorAn unknown error occurred.未知错误
503ServiceUnavailableThe request has failed due to a temporary failure of the server请求失败,服务暂时不可用

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2021-12-23新增 OpenAPI看变更集
  • 本页导读 (1)
文档反馈