Open Kjarrigan opened 6 years ago
Are you alive?
Of course ;)
Any estimate when labels will be available, they would be quite handy for tagging resources for CI.
Hey :wave:
I want to take a look at the labels and just drop some thought here to go over it later.
Servers, Floating IPs, Volumes, SSH keys and Images
Example:
# creating a server with labels
c = Hcloud::Client.new(token: "<your project token>")
c.servers.create(name: "moo6", server_type: "cx11", image: "ubuntu-22.04", labels: ["ci", "runner-923fb89a"])
# removing a label
c.servers.remove_label("ci")
We have additional affected resource types:
Resource types that also have labels, but are not implemented in this library, yet:
https://github.com/hetznercloud/cli/commit/bf798628de328ba8b58c0225bff14f1c8c642dce