Tracking the work necessary to add support for Storage Boxes and the new api.hetzner.com to the CLI.
Integrating the new API
We want to make this transparent for the average user, so they do not have to think about which API URL has the resources they are interested in.
This means we want to publish the Storage Box commands next to all other existing commands:
from hcloud import Client
client = Client(token="")
storage_boxes = client.storage_boxes.get_all()
servers = client.servers.get_all()
Configuring the API URL (if you want to use a proxy for example) will be done with a new keyword argument api_endpoint_hetzner, in addition to the existing api_endpoint. The new argument will override the default api.hetzner.com, while the old argument overrides api.hetzner.cloud.
Progress
As this is a product that is already launched, we can work on the support in public on GitHub, as we do not want to release something half-baked we will keep a longer lived feature branch storage-boxes around until all features are ready: #524.
Tracking the work necessary to add support for Storage Boxes and the new
api.hetzner.comto the CLI.Integrating the new API
We want to make this transparent for the average user, so they do not have to think about which API URL has the resources they are interested in.
This means we want to publish the Storage Box commands next to all other existing commands:
Configuring the API URL (if you want to use a proxy for example) will be done with a new keyword argument
api_endpoint_hetzner, in addition to the existingapi_endpoint. The new argument will override the defaultapi.hetzner.com, while the old argument overridesapi.hetzner.cloud.Progress
As this is a product that is already launched, we can work on the support in public on GitHub, as we do not want to release something half-baked we will keep a longer lived feature branch
storage-boxesaround until all features are ready: #524.