You can call this operation to query the status of containers running on a node instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListFlowNodeInstanceContainerStatus

The operation that you want to perform. Set the value to ListFlowNodeInstanceContainerStatus.

NodeInstanceId String Yes FNI-FE4BD156E939CF1F

The ID of the node instance.

ProjectId String Yes 7A1018ADE9179EE1

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 20

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
ContainerStatusList

The list of the status of containers.

ContainerStatus

The information of the container status.

ApplicationId String application_1542333181298_0016

The ID of the application.

ContainerId String container_1542333181298_0016_01_000015

The ID of the container.

HostName String emr-worker-1

The name of the host.

Status String KILLED

The status of the container.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 20

The number of entries returned per page.

RequestId String E82E504E-F1A8-4D05-AA8F-360BD9DF423A

The ID of the request.

Total Integer 1

The total number of entries returned.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ListFlowNodeInstanceContainerStatus
&NodeInstanceId=FNI-FE4BD156E939CF1F
&ProjectId=7A1018ADE9179EE1
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ListFlowNodeInstanceContainerStatusResponse>
  <PageSize>200</PageSize>
	  <RequestId>E82E504E-F1A8-4D05-AA8F-360BD9DF423A</RequestId>
	  <PageNumber>1</PageNumber>
	  <Total>1</Total>
	  <ContainerStatusList>
		    <ContainerStatus>
			      <Status>KILLED</Status>
			      <ContainerId>container_1542333181298_0016_01_000015</ContainerId>
			      <ApplicationId>application_1542333181298_0016</ApplicationId>
			      <HostName>192.168.128.53</HostName>
		    </ContainerStatus>
	  </ContainerStatusList>
	
</ListFlowNodeInstanceContainerStatusResponse>

JSON format

{
	"PageNumber":1,
	"PageSize":200,
	"RequestId":"E82E504E-F1A8-4D05-AA8F-360BD9DF423A",
	"ContainerStatusList":{
		"ContainerStatus":[
			{
				"Status":"KILLED",
				"ContainerId":"container_1542333181298_0016_01_000015",
				"HostName":"192.168.128.53",
				"ApplicationId":"application_1542333181298_0016"
			}
		]
	},
	"Total":1
}

Error codes

For a list of error codes, visit the API Error Center.