get_server_power_status
Check the current power status of a Sakura Cloud server to monitor its operational state and verify if it's running or stopped.
Instructions
さくらのクラウドAPIからサーバーの電源状態を取得します
Args: zone (str): 対象ゾーン server_id (str): サーバーID
Returns: dict: 電源状態のJSONレスポンス - Instance: 電源状態情報 - Server: サーバー情報 - ID: サーバーID - Status: 現在の電源状態 ("up" または "down") - BeforeStatus: 以前の電源状態 - StatusChangedAt: 状態変更日時 - is_ok: 処理結果
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| server_id | Yes |