Skip to main content

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​

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

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": {}
}