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
| Parameter | Required | Description | Default |
|---|---|---|---|
-e, --env-id <envId> | No | Environment ID | — |
-s, --service-name <serviceName> | No | Service name; reads cloudbaserc.json when omitted, otherwise prompts | — |
--json | No | Output JSON | false |
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:
| Field | Description |
|---|---|
DeployId | Deployment ID |
| Deployment start time | Deployment start time |
| Status | Deployment status |
RunId | Run ID, used to query runtime logs |
BuildId | Build ID, used to query build logs |
| Traffic share | Traffic share currently assigned to the version |