You can call this operation to view the list of the clusters that are available for data development.

Request parameters

Parameter Type Required Example Description
RegionId String Yes cn-hangzhou The ID of the region.

Response parameters

Name Type Example Description
RequestId String 0d18b019-00ab-455f-b60c-2891bf02f538 The ID of the request.
TotalCount Integer 42 The total number of records.
PageNumber Integer 1 The page number to request.
PageSize Integer 20 The number of records to show on each page.
Clusters The list of the clusters.
Id String C-2E6ABBD39BD09F97 The ID of the cluster.
Name String String The name of the cluster.
Type String HADOOP The type of the cluster.
CreateTime Long 1542953603000 The creation time.
RunningTime Integer 200 The running time. Unit: seconds.
Status String SUCCESS The status of the cluster.
ChargeType String PostPaid The billing method.
ExpiredTime Long 1542953603000 The time when the cluster expires.
Period Integer 1 The length of subscription.
HasUncompletedOrder Boolean false Indicates whether unpaid orders exist.
OrderList String 1 and 2 The list of the orders.
CreateResource String ECM_EMR The resources.
OrderTaskInfo The information of the order task.
TargetCount Integer 2 The target number.
CurrentCount Integer 2 The current number.
OrderIdList String 1,2 The list of the orders.
FailReason The causes of failure.
Error code String 123 Error codes
ErrorMsg String failed The cause of the error.
RequestId String 0d18b019-00ab-455f-b60c-2891bf02f538 The ID of the request.

Examples

  • Sample requests
    
    /? Action=ListFlowClusterAll
    &RegionId=cn-hangzhou
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"Clusters":{
    		"ClusterInfo":[
    			{
    				"ChargeType":"PostPaid",
    				"CreateResource":"ECM_EMR",
    				"CreateTime":1542953603000,
    				"FailReason":{},
    				"HasUncompletedOrder":false,
    				"Id":"C-4042079DFF01A3F5",
    				"Name":"zx-presto-1",
    				"OrderTaskInfo":{},
    				"RunningTime":1322,
    				"Status":"IDLE",
    				"Type":"HADOOP"
    			},
    			{
    				"ChargeType":"PostPaid",
    				"CreateResource":"ECM_EMR",
    				"CreateTime":1542950611000,
    				"FailReason":{},
    				"HasUncompletedOrder":false,
    				"Id":"C-3D0B53253595DBB0",
    				"Name":"zx-presto-213",
    				"OrderTaskInfo":{},
    				"RunningTime":4314,
    				"Status":"IDLE",
    				"Type":"HADOOP"
    			}
    		]
    	},
    	"PageNumber":1,
    	"PageSize":10,
    	"TotalCount":2
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"Project does not exist [FP-3535FE0BE5224A4]",
    	"requestId":"93F6F3CF-B2AE-411A-948F-0F7293058CF5",
    	"successResponse":false
    }

Error codes

View error codes.