octopus resource get
octopus resource get
Get a resource by identity
Synopsis
Retrieve a tracked resource by its kind and identity (name or external ref).
octopus resource get <kind> [name-or-ref] [flags]
Examples
octopus resource get Tenant acme-bank --tenant acme-bank
octopus resource get AccountHolder CRM-12345 --by external-ref --tenant acme-bank
octopus resource get Tenant --id a1b2c3d4-... --tenant acme-bank
octopus resource get Tenant acme-bank -o json --tenant acme-bank
Options
--by string Identity field: name, external-ref (default "name")
-h, --help help for get
--id string Resource UUID (alternative to positional arg)
Options inherited from parent commands
-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output
SEE ALSO
- octopus resource - Manage tracked resources