Skip to main content
Version: 0.6

capact typeinstance get

capact typeinstance get

Displays one or multiple TypeInstances

capact typeinstance get [TYPE_INSTANCE_ID...] [flags]

Examples

# Display TypeInstances with IDs 'c49b' and '4793'
capact typeinstance get c49b 4793

# Save TypeInstances with IDs 'c49b' and '4793' to file in the update format which later can be submitted for update by:
# capact typeinstance apply --from-file /tmp/typeinstances.yaml
capact typeinstance get c49b 4793 -oyaml --export > /tmp/typeinstances.yaml

Options

      --export             Converts TypeInstance to update format.
-h, --help help for get
-o, --output string Output format. One of: json | table | yaml (default "table")
--timeout duration Timeout for HTTP request (default 30s)

Options inherited from parent commands

  -c, --config string                 Path to the YAML config file
-v, --verbose int/string[=simple] Prints more verbose output. Allowed values: 0 - disable, 1 - simple, 2 - trace (default 0 - disable)

SEE ALSO

  • capact typeinstance - This command consists of multiple subcommands to interact with target TypeInstances