E-MapReduce 如何查询集群列表?
ListClusters 查询集群列表
请求参数
返回参数
ClusterInfoSimple
示例
请求示例
- [backcolor=transparent]https[backcolor=transparent]:[backcolor=transparent]//emr.aliyuncs.com/?Action=ListClusters
- [backcolor=transparent]&[backcolor=transparent]PageSize[backcolor=transparent]=[backcolor=transparent]100
- [backcolor=transparent]&[backcolor=transparent]StatusList[backcolor=transparent]=%[backcolor=transparent]5B[backcolor=transparent]%[backcolor=transparent]22CREATING[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]2C[backcolor=transparent]+%[backcolor=transparent]22RUNNING[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]2C[backcolor=transparent]+%[backcolor=transparent]22IDLE[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]2C[backcolor=transparent]+%[backcolor=transparent]22RELEASING[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]2C[backcolor=transparent]+%[backcolor=transparent]22CREATE[backcolor=transparent]_FAILED[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]2C[backcolor=transparent]+%[backcolor=transparent]22RELEASE[backcolor=transparent]_FAILED[backcolor=transparent]%[backcolor=transparent]22[backcolor=transparent]%[backcolor=transparent]5D
- [backcolor=transparent]&[backcolor=transparent]PageNumber[backcolor=transparent]=[backcolor=transparent]1
- [backcolor=transparent]&[backcolor=transparent]RegionId[backcolor=transparent]=[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]hangzhou
- [backcolor=transparent]&公共请求参数
返回格式
JSON 格式
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"code"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"200"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"data"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"Clusters"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ClusterInfo"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"CreateTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1454035046000[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"FailReason"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ErrorCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"OperationDenied"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"ErrorMsg"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"The resource is out of usage."[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"C0946CDD-25A6-45F5-8F5C-D095F12E8B6B"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"500000845"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"ffff"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PayType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PostPaid"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RunningTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Status"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"LAUNCHING_FAIL"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Type"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"hadoop"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"CreateTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1454034802000[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"FailReason"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ErrorCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"OperationDenied"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"ErrorMsg"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"The resource is out of usage."[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"3FCF17ED-9277-40B0-983F-52939B1B8BFF"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"500000844"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"testforcerelease"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PayType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PostPaid"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RunningTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Status"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"LAUNCHING_FAIL"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Type"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"hadoop"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"CreateTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1453879601000[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"FailReason"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{},
- [backcolor=transparent] [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"500000760"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"新Hadoop"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PayType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PostPaid"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RunningTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]18938[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Status"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"TERMINATED"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Type"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"hadoop"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"CreateTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1453877940000[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"FailReason"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ErrorCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"MissingParameter"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"ErrorMsg"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"The input parameter "InstanceId" that is mandatory for processing this request is not supplied."[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"D1CEBBCD-2FFD-4BBF-A7A0-87FC9378A237"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"500000759"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"Cluster_OnDemandWithHourSchedual"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PayType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PostPaid"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RunningTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Status"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"LAUNCHING_FAIL"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Type"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"hadoop"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"CreateTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1453877939000[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"FailReason"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ErrorCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"MissingParameter"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"ErrorMsg"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"The input parameter "InstanceId" that is mandatory for processing this request is not supplied."[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"F06849BF-391A-450D-AC8A-978C7DF798BF"
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"500000758"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"Cluster_OnDemandWithDaySchedual"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PayType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"PostPaid"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RunningTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]0[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Status"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"LAUNCHING_FAIL"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"Type"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"hadoop"
- [backcolor=transparent] [backcolor=transparent]}
- [backcolor=transparent] [backcolor=transparent]]
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"PageNumber"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PageSize"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]100[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"C7067848-F4DC-42B4-A596-235F82E43E2E"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"TotalCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]849
- [backcolor=transparent] [backcolor=transparent]},
- [backcolor=transparent] [backcolor=transparent]"requestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"C7067848-F4DC-42B4-A596-235F82E43E2E"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"successResponse"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]true
- [backcolor=transparent]}
收起
0
条回答
写回答
取消
提交回答