tcb cloudrun detail
Query the full configuration, online version, and access addresses of a CloudBase Run service.
Usage
tcb cloudrun detail -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 cloudrun.name from cloudbaserc.json when omitted, otherwise prompts | — |
--json | No | Output JSON | false |
Examples
# Details of a specific service
tcb cloudrun detail -e env-123456 -s my-service
# JSON output for scripts
tcb cloudrun detail -e env-123456 -s my-service --json
# Service name can be omitted inside a project with cloudbaserc.json
tcb cloudrun detail -e env-123456
Output
The default output covers basic service information, runtime configuration, and online version information. The online version sits in the OnlineVersionInfos field.
With --json a successful call returns:
{
"data": {}
}