Closed wmendes-ionos closed 1 year ago
Regarding the Invalid Argument error for GET --location-id
, I can't reproduce on v6.4.3:
$ ionosctl location get --location-id de/fra
LocationId Name CpuFamily
de/fra frankfurt [INTEL_SKYLAKE]
$ ionosctl version
IONOS Cloud CLI version: v6.4.3
SDK GO version: 6.1.3
SDK GO DBaaS Postgres version: 1.0.4
SDK GO Auth version: 1.0.5
As for the location details, these are already supported: ionosctl location list --cols LocationId,Name,Features,ImageAliases,CpuFamily
. You can see what columns you can select in the help text:
--cols strings Set of columns to be printed on output
Available columns: [LocationId Name Features ImageAliases CpuFamily] (default [LocationId,Name,CpuFamily])
Thanks for opening this issue, and happy new year's!
Hi @avirtopeanu-ionos you couldn't reproduce because the version you used is different the one I did. I was with the dev one, you had the 6.4.3.
Regarding the locationID, I was expecting to have a UUID for that, but I learned that the cloud API actually treat these ids as the location name. de/fra, de/txl, etc.
all clear so far. thanks for checking !
Description
When using ionosctl, I cannot find the location uuid, even that the rest api documentation shows it in the responses. https://api.ionos.com/docs/cloud/v6/#tag/Locations/operation/locationsGet
I also cannot get details of a location
Expected behavior
I can find, filter, and see the location uuid when
ionosctl location list
I can see details of a specific location.Environment
Go Version:
Ionosctl version:
OS:
Shell:
Configuration Files
How to Reproduce
ionosctl location list
Error and Debug Output
Listing shows me LocationId as country/city format.
Getting one gives me an error
Additional Notes
References