View Service Details
Use tcb cloudrun detail to query the full configuration, online versions, and access information of a Cloud Hosting service.
Basic Usage
tcb cloudrun detail -e <envId> -s <serviceName>
Examples
# View details for a service
tcb cloudrun detail -e env-123456 -s my-service
# Output JSON for scripting
tcb cloudrun detail -e env-123456 -s my-service --json
# Omit the service name in a project directory containing cloudbaserc.json
tcb cloudrun detail -e env-123456
Command Parameters
| Parameter | Description | Required |
|---|---|---|
-e, --env-id <envId> | Environment ID | No |
-s, --service-name <serviceName> | Service name. If omitted, it is read from cloudrun.name in cloudbaserc.json first, then requested interactively | No |
--json | Output in JSON format | No |
-h, --help | Display command help | No |
Output
By default, the command prints the complete service details, including basic service information, runtime configuration, and online version information. Use OnlineVersionInfos to identify the current online version.
With --json, successful output follows this format:
{
"data": {}
}