list
Retrieve routes
Usage
ionosctl apigateway route list [flags]
Aliases
For route
command:
[r]
For list
command:
[ls]
Description
Retrieve routes
Options
-u, --api-url string Override default host URL. If contains placeholder, location will be embedded. Preferred over the config file override 'apigateway' and env var 'IONOS_API_URL' (default "https://apigateway.%s.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [Id Name Type Paths Methods Host Port Weight Status StatusMessage]
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.yaml")
-f, --force Force command to execute without user input
-i, --gateway-id string The ID of the gateway (required)
-h, --help Print usage
--limit int32 Pagination limit
-l, --location string Location of the resource to operate on. Can be one of: de/txl, gb/lhr, fr/par, es/vit (default "de/txl")
--no-headers Don't print table headers when table output is used
--offset int32 Pagination offset
--order-by string The field to order the results by. If not provided, the results will be ordered by the default field.
-o, --output string Desired output format [text|json|api-json] (default "text")
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command
Examples
ionosctl apigateway route list --gateway-id ID
Last updated