Skip to main content

tcb cloudrun record list

List the deployment records of a CloudBase Run service and get the BuildId and RunId needed for build and runtime logs.

Usage​

tcb cloudrun record list -e <envId> -s <serviceName> [--json]

Parameters​

ParameterRequiredDescriptionDefault
-e, --env-id <envId>NoEnvironment ID—
-s, --service-name <serviceName>NoService name; reads cloudbaserc.json when omitted, otherwise prompts—
--jsonNoOutput JSONfalse

Examples​

# Deployment records of a service
tcb cloudrun record list -e env-123456 -s my-service

# JSON output for extracting BuildId or RunId
tcb cloudrun record list -e env-123456 -s my-service --json

Output​

The default table shows these fields:

FieldDescription
DeployIdDeployment ID
Deployment start timeDeployment start time
StatusDeployment status
RunIdRun ID, used to query runtime logs
BuildIdBuild ID, used to query build logs
Traffic shareTraffic share currently assigned to the version