名称: ListInstanceGroups
使用场景: 调用 ListInstanceGroups,查询 E-MapReduce(EMR)集群所有节点组。
前置条件: 已创建付费的 EMR 集群。
RequestParam:
TOP公共参数:
Action=ListInstanceGroups
Version=2022-06-30
Region=cn-beijing
名称 | 类型 | 必填 | 描述 | 示例 |
---|---|---|---|---|
ClusterId | String | Y | EMR 集群的集群 ID | emr-xxx |
CreateTimeOrder | String | N | EMR 集群节点组排序(创建时间) | DESC(降序) |
HostGroupName | String | N | EMR 集群主机组名称(模糊搜索) | MasterGroup |
PageNum | Int | N | 页号 | 0 |
PageSize | Int | N | 单页记录数 | 10 |
{ "ResponseMetadata":{ "RequestId":"2022041414561101022524315300xxx", "Action":"ListInstanceGroups", "Version":"2022-06-30", "Service":"emr_qa", "Region":"cn-guilin-boe", "Error":null }, "Result":{ "items":[ { "InstanceGroupId":"283a7c92-xxx", "ClusterId":"emr-xxx", "InstanceGroupName":"CoreGroup", "Role":"CORE", "PayType":"POST", // POST 按量付费; PRE 预付费 "Specification":"ecs.g1.large", "InstanceType":"General", "Cpu":2, "Memory":8, // "netQuota":1, "SystemDiskType":"ESSD_PL0", "SystemDiskCapacity":100, "DataDiskType":"ESSD_PL0", "DataDiskCapacity":100, "DataDiskQuantity":1, "HostQuantity":0, "EnableElastic":false, "Creator":"emr_dev", "CreatorId":2100001324, "CreateTime":"2022-01-04T16:47:37", "Region":"cn-guilin-boe", "Zone":"cn-guilin-boe-a", "HostGroupStatus":"RUNNING", "WarningHostCount":0 } ], "total":1, "pages":1, "pageNum":0, "pageSize":20 } }