inspect
Inspect a deployment or operation by ID.
Usage
onvera inspect <id>
onvera inspect <type> <id>Arguments
<id>- Deployment or operation ID<type>- Resource type:deploymentoroperation(optional)
Description
The inspect command displays detailed information about a deployment or operation. If the type is not specified, the command automatically tries to resolve the ID as an operation first, then as a deployment.
Examples
Auto-detect type:
onvera inspect dep_550e8400-e29b-41d4-a716-446655440000Explicit deployment:
onvera inspect deployment dep_550e8400-e29b-41d4-a716-446655440000Explicit operation:
onvera inspect operation op_660e8400-e29b-41d4-a716-446655440001JSON output:
onvera inspect dep_550e8400-e29b-41d4-a716-446655440000 --jsonOutput
Deployment output:
Deployment: dep_550e8400-e29b-41d4-a716-446655440000
Name: My First Superset
Type: superset
Status: ready
URL: https://my-first-superset-abc123.onvera.io
Created: 2024-01-20T12:00:00ZOperation output:
Operation: op_660e8400-e29b-41d4-a716-446655440001
Type: deployment.create
Status: succeeded
Phase: ready
Message: Deployment ready
Resource: deployment/dep_550e8400-e29b-41d4-a716-446655440000
Requested: 2024-01-20T12:00:00Z
Started: 2024-01-20T12:00:15Z
Ended: 2024-01-20T12:06:15ZCommon Failure Modes
Resource not found
Error:
resource not found: dep_xxx (tried as operation and deployment)Solution: Verify the ID is correct and that you have access to the resource.
Not authenticated
Error:
not authenticated. Run 'onvera auth login' firstSolution: Run onvera auth login to authenticate.