You can call this operation to view the container status of a node instance.

Request parameters

Parameter Type Required Example Description
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.
PageNumber Integer No 1 The page number to request.
PageSize Integer No 20 The number of records to show on each page.

Response parameters

Name Type Example Description
RequestId String E82E504E-F1A8-4D05-AA8F-360BD9DF423A The ID of the request.
PageNumber Integer 1 The page number to request.
PageSize Integer 20 The number of records to show on each page.
Total Integer 1 The total number of records.
ContainerStatusList The list of container status.
ApplicationId String application_1542333181298_0016 Application ID
ContainerId String container_1542333181298_0016_01_000015 Container ID
HostName String 192.168.128.53 The IP address of the host.
Status String KILLED The status of the container.

Examples

  • Sample requests
    
    /? Action=ListFlowNodeInstanceContainerStatus
    &NodeInstanceId=FNI-FE4BD156E939CF1F
    &ProjectId=7A1018ADE9179EE1
    &RegionId=cn-hangzhou
    &PageNumber=1
    &PageSize=20
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"ContainerStatusList":{
    		"ContainerStatus":[{
    			"ApplicationId":"application_1542333181298_0016",
    			"ContainerId":"container_1542333181298_0016_01_000015",
    			"HostName":"192.168.128.53",
    			"Status":"KILLED"
    		}]
    	},
    	"PageNumber":1,
    	"PageSize":200,
    	"RequestId":"E82E504E-F1A8-4D05-AA8F-360BD9DF423A",
    	"Total":1
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"flow node instance does not exist [FNI-AFF866DB3A0BB0133]",
    	"requestId":"B759F5A4-1ABF-42F0-9496-43286048D4BE",
    	"successResponse":false
    }

Error codes

View error codes.