CLI
inspect

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: deployment or operation (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-446655440000

Explicit deployment:

onvera inspect deployment dep_550e8400-e29b-41d4-a716-446655440000

Explicit operation:

onvera inspect operation op_660e8400-e29b-41d4-a716-446655440001

JSON output:

onvera inspect dep_550e8400-e29b-41d4-a716-446655440000 --json

Output

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:00Z

Operation 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:15Z

Common 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' first

Solution: Run onvera auth login to authenticate.

Related Commands

  • ls - List all deployments
  • ops - Manage operations
  • deploy - Create a deployment