RecoverCluster_弹性高性能计算_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

仅当集群状态为 exception(异常)时,才能调用该接口重置并修复集群。您可以通过调用 ListClusters 获取集群 ID 及集群状态。 建议您操作前导出所有作业数据。重置并修复集群会有以下影响:

  • 集群所有节点执行更换系统盘的操作,按创建集群时的配置重新配置系统盘。
  • 集群所有节点的系统盘和数据盘的数据将会丢失,包括用户信息、作业信息、调度器队列信息、自动伸缩队列配置信息,但文件存储 NAS 上的数据仍然保留。
  • 集群自建队列被清除,节点实例继续保留,并全部迁移到集群默认队列中。

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ehpc:RecoverCluster
Write
全部资源
*

请求参数

字段名称字段详情
ClusterIdstring

指定重置并修复的集群 ID。并且,集群状态必须为 exception(异常)时才能修复。展开详情

示例值:ehpc-hz-FYUr32****参考取值来源:
    CreateCluster
OsTagstring

操作系统镜像标签。展开详情

示例值:CentOS_7.2_64
AccountTypestring

账户服务类型。取值范围:展开详情

示例值:nis
SchedulerTypestring

调度服务器类型。取值范围:展开详情

示例值:pbs
ImageOwnerAliasstring

镜像类型。取值范围:展开详情

示例值:system参考取值来源:
    ListCommunityImages
ImageIdstring

镜像 ID。展开详情

示例值:m-bp18133n0335yq****参考取值来源:
    ListImages
ClientVersionstring

集群所使用的客户端版本号,默认为最新版本。展开详情

示例值:1.0.76参考取值来源:
    ListCurrentClientVersion

返回参数

字段名称字段详情
TaskIdstring

任务 ID。

示例值:18FB21E3-F423-4B84-BB63-D8887A29****
RequestIdstring

请求 ID。

示例值:18FB21E3-F423-4B84-BB63-D8887A29****

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidParams
The specified parameter %s is invalid.诊断
400
InDebt
Your account has overdue payments.诊断
400
OrderError.InsufficientBalance
The account balance is insufficient. Please add funds first and try again.诊断
400
OrderError.InstHasUnpaidOrder
Your account has an unpaid order.诊断
400
OrderError.Arrearage
Your account balance is less than CNY 100. Please add funds to your account and try again.诊断
400
OrderError.NoCard
No credit card is bound to your account.诊断
400
OrderError.InvalidPayMethod
No valid default payment method is specified for your account.诊断
400
OrderError.NoRealNameAuthentication
You have not completed the real name authentication.诊断
400
OrderError.NoRealNameRegistration
Real name registration is required for instances launched in mainland China.诊断
400
OrderError.UserProfileIncomplete
You have not completed your user profile.诊断
400
InvalidVpc
The specified VPC is invalid.诊断
400
InvalidVolume
The specified volume is invalid.诊断
400
InvalidSoftware
The specified software is not supported.诊断
400
InvalidVolumeProtocal
The specified volume protocol is invalid.诊断
400
InvalidVolumeMountpoint
The specified volume mount point is invalid.诊断
403
TooManyClusters
The number of user clusters exceeds the quota.诊断
403
TooManyComputes
The number of computing nodes exceeds the quota.诊断
403
TooManyLogins
The maximum number of logged on nodes is exceeded.诊断
403
TooManyScc
The maximum number of SCC instances is exceeded.诊断
403
QuotaExceeded.PrivateIpAddress
Insufficient private IP addresses in vSwitch: %s.诊断
403
ConflictOpt
A conflicting operation is running.诊断
403
ImageNotSupported
The specified image is not supported.诊断
404
ImageNotFound
The specified image does not exist.诊断
404
VolumeNotFound
The specified volume does not exist.诊断
404
VpcNotFound
The specified VPC does not exist.诊断
404
ClusterNotFound
The specified cluster does not exist.诊断
406
EcsError
An error occurred while calling the ECS API operation.诊断
406
NasError
NAS API request failed.诊断
406
EipError
The EIP API request failed.诊断
406
OrderError
An order request error occurred.诊断
406
FailToGenId
Generating cluster ID failed.诊断
406
DbError
A database service error occurred.诊断
406
AliyunError
An Alibaba Cloud product error occurred.诊断
407
NotAuthorized
You are not authorized by RAM for this request.诊断
500
UnknownError
An unknown error occurred.诊断
503
ServiceUnavailable
The request has failed due to a temporary failure of the server诊断

变更历史

暂无变更历史

相关示例