ByCloud Docs
GuidesCLIAPISDK

Reboot instance

bycloud compute instances-reboot --instance_id <instance_id> [flags]

Reboot an instance (soft or hard)

Options

--instance_id

stringrequired

Instance ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--type

stringoptional

Reboot type

Values: "SOFT", "HARD"

Default: "SOFT"

Command

bycloud compute instances-reboot \
--instance_id "abc-123"

Output

Success