Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) task_id_list = client.cloud.gpu_baremetal_clusters.action( cluster_id="1aaaab48-10d0-46d9-80cc-85209284ceb4", project_id=1, region_id=7, action="update_tags", tags={ "foo": "my-tag-value" }, ) print(task_id_list.tasks)
{ "tasks": [ "d478ae29-dedc-4869-82f0-96104425f565" ] }
Perform a specific action on a baremetal GPU cluster. Available actions: update tags.
"update_tags"
Show child attributes
Was this page helpful?