删除一个 HPC 集群。
调试
前往【API Explorer】在线调试,API Explorer 提供在线调用 API、动态生成 SDK Example 代码和快速检索接口等能力,能显著降低使用云 API 的难度,强烈推荐使用。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
HpcClusterId | String | 是 | hpc-cluster1 |
HPC 集群 ID。 |
RegionId | String | 是 | cn-hangzhou |
HPC 集群所属的地域 ID。您可以调用 DescribeRegions 查看最新的阿里云地域列表。 |
Action | String | 否 | DeleteHpcCluster |
系统规定参数。取值:DeleteHpcCluster |
ClientToken | String | 否 | 123e4567-e89b-12d3-a456-426655440000 |
保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符。更多详情,请参阅 如何保证幂等性。 |
OwnerAccount | String | 否 | EcsforCloud@Alibaba.com |
RAM用户的账号登录名称。 |
返回参数
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
请求 ID。 |
示例
请求示例
https://ecs.aliyuncs.com/?Action=DeleteHpcCluster
&RegionId=cn-hangzhou
&HpcClusterId=hpc-cluster1
&<公共请求参数>
正常返回示例
XML
格式
<DeleteHpcClusterResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteHpcClusterResponse>
JSON
格式
{
"RequestId":"04F0F334-1335-436C-A1D7-6C044FE73368"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | MissingParameter.RegionId | The input parameter RegionId that is mandatory for processing this request is not supplied. | 缺少必填参数regionId。 |
404 | InvalidRegionId.NotFound | The specified parameter “RegionId” is not valid. | 指定的 RegionId 不存在,请您检查此产品在该地域是否可用。 |
400 | MissingParameter.HpcClusterId | The input parameter HpcClusterId that is mandatory for processing this request is not supplied. | 缺少必填参数hpcClusterId。 |
400 | Invalid.Parameter | Invalid parameters. | 参数不合法。 |
400 | NotExists.HpcCluster | The specified hpc cluster does not exist. | hpc集群不存在。 |
400 | NotEmpty.HpcCluster | The specified hpc cluster is not empty, still contains instances. | hpc集群非空,包含实例,无法删除。 |
查看本产品错误码
发布者:佚, 佚名,转转请注明出处:https://www.cms2.cn/aliyun/1853.html