调用 DescribeDeploymentSetSupportedInstanceTypeFamily 接口查询支持部署集的实例规格族。
有关部署集的更多信息,请参见部署集概述。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDeploymentSetSupportedInstanceTypeFamily | 要执行的操作,取值:DescribeDeploymentSetSupportedInstanceTypeFamily。 |
Version | String | 是 | 2020-04-01 | API的版本,取值:2020-04-01。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
DeploymentSetCreateInstanceTypeFamilies | Array of String | ["ecs.i2","ecs.g2i"] | 支持使用部署集特性创建实例的规格族。 |
DeploymentSetModifyInstanceTypeFamilies | Array of String | ["ecs.g2i","ecs.g1ie"] | 支持变更部署集的实例规格族。 |
GET /?Action=DescribeDeploymentSetSupportedInstanceTypeFamily&Version=2020-04-01 HTTP/1.1 Host: open.volcengineapi.com Region: cn-beijing ServiceName: ecs
{ "ResponseMetadata":{ "RequestId":"2021110417394001022514606307*****", "Action":"DescribeDeploymentSetSupportedInstanceTypeFamily", "Version":"2020-04-01", "Service":"ecs", "Region":"cn-beijing" }, "Result":{ "DeploymentSetCreateInstanceTypeFamilies":[ "ecs.c1ie", "ecs.c2i", "ecs.c2a", "ecs.r1ie", "ecs.r2i", "ecs.r2a", "ecs.g1ie", "ecs.g2i", "ecs.g2a", "ecs.i2", "ecs.d2", "ecs.d1s", "ecs.hfg2", "ecs.hfc2", "ecs.hfr2", "ecs.ebmg2i", "ecs.ebmg2a", "ecs.ebmhfc2i", "ecs.ebmi2" ], "DeploymentSetModifyInstanceTypeFamilies":[ "ecs.c1ie", "ecs.c2i", "ecs.c2a", "ecs.r1ie", "ecs.r2i", "ecs.r2a", "ecs.g1ie", "ecs.g2i", "ecs.g2a", "ecs.hfg2", "ecs.hfc2", "ecs.hfr2", "ecs.ebmg2i", "ecs.ebmg2a", "ecs.ebmhfc2i" ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
500 | InternalError | An internal error has occurred. | 内部错误,请重试。如果多次尝试失败,请提交工单。 |