Updated on 2026-08-26 GMT+08:00

CLI Command Reference (V2)

Cluster Management

API Name

Command

Description

Operation

Creating a Cluster (V2)

hcloud CSS CreateCluster/v2

This API is used to create a cluster with multiple node types (for example, ess, ess-cold, ess-client, ess-master).

Go debug

Restarting a Cluster (V2)

hcloud CSS RestartCluster/v2

This API is used to restart nodes of all node types or the combination of some node types in the current cluster.

Go debug

Rolling Restart

hcloud CSS RollingRestart/v2

This API is used to restart nodes one by one, which requires a long time when the nodes have a large number of indexes.

Go debug

Logstash

API Name

Command

Description

Operation

Delete Configuration File

hcloud CSS DeleteLogstashConf/v2

Delete the configuration file.

Go debug

Deleting a User-Defined Template

hcloud CSS DeleteLogstashTemplate/v2

This interface is used to delete custom templates.

Go debug

Snapshot Management

API Name

Command

Description

Operation

Enabling Automatic Snapshot Creation

hcloud CSS StartAutoCreateSnapshots/v2

This API is used to enable the automatic snapshot creation function.

Go debug

Disabling Automatic Snapshot Creation

hcloud CSS StopAutoCreateSnapshots/v2

This API is used to disable the automatic snapshot creation function.

Go debug