This command helps manage the locations for Hybrid Manager (HM). With this command, you can list locations associated with the projects in HM.
Commands
edbctl location command has following options:
- edbctl location list — Displays a list of all the locations or get details of a specific location in HM.
edbctl location list
Retrieves and displays a list of all locations or details of a specific location when both --project and --id are specified in HM. The output includes detailed metadata for each location, such as:
- ID
- Name
- Last heartbeat time
- Tags
edbctl location list [--project <project-name>][--id <location-id>][--provisionable][--managed][options]
Where options are:
-P, --project string Project name (optional). Empty value lists all locations.
-i, --id string Location ID (optional). If specified, requires `--project` to be set and returns details for the specific location.
--provisionable Include only provisionable locations.
--managed Include only managed locations.
-c, --credential string The credential which you created via 'credential create' command, the default is fetched from 'context_credential'.
-o, --output string [table json yaml xml json-raw] (default "table").
-h, --help help for list.This example shows how to list all the locations:
edbctl location list