You need to enable JavaScript to run this app.
导航
ListInstanceGroups(查询节点组)
最近更新时间:2022.10.09 10:28:00首次发布时间:2022.10.09 10:28:00

1 接口说明

名称: ListInstanceGroups
使用场景: 调用 ListInstanceGroups,查询 E-MapReduce(EMR)集群所有节点组。
前置条件: 已创建付费的 EMR 集群。

2 请求参数

RequestParam:
TOP公共参数:
Action=ListInstanceGroups
Version=2022-06-30
Region=cn-beijing

名称类型必填描述示例
ClusterIdStringYEMR 集群的集群 IDemr-xxx
CreateTimeOrderStringNEMR 集群节点组排序(创建时间)DESC(降序)
HostGroupNameStringNEMR 集群主机组名称(模糊搜索)MasterGroup
PageNumIntN页号0
PageSizeIntN单页记录数10

3 返回示例

{
    "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
    }
}