saklient.cs
0.0.2.11
|
サーバの実体1つに対応し、属性の取得や操作を行うためのクラス。 More...
Public Member Functions | |||||||||||
Server | Save () | ||||||||||
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。 More... | |||||||||||
Server | Reload () | ||||||||||
最新のリソース情報を再取得します。 More... | |||||||||||
bool | IsUp () | ||||||||||
サーバが起動しているときtrueを返します。 More... | |||||||||||
bool | IsDown () | ||||||||||
サーバが停止しているときtrueを返します。 More... | |||||||||||
Server | Boot () | ||||||||||
サーバを起動します。 More... | |||||||||||
Server | Shutdown () | ||||||||||
サーバをシャットダウンします。 More... | |||||||||||
Server | Stop () | ||||||||||
サーバを強制停止します。 More... | |||||||||||
Server | Reboot () | ||||||||||
サーバを強制再起動します。 More... | |||||||||||
bool | SleepUntilUp (long timeoutSec=180) | ||||||||||
サーバが起動するまで待機します。 More... | |||||||||||
bool | SleepUntilDown (long timeoutSec=180) | ||||||||||
サーバが停止するまで待機します。 More... | |||||||||||
Server | ChangePlan (ServerPlan planTo) | ||||||||||
サーバプランを変更します。 More... | |||||||||||
System.Collections.Generic.List< Disk > | FindDisks () | ||||||||||
サーバに接続されているディスクのリストを取得します。 More... | |||||||||||
Iface | AddIface () | ||||||||||
サーバにインタフェースを1つ増設し、それを取得します。 More... | |||||||||||
Server | InsertIsoImage (IsoImage iso) | ||||||||||
サーバにISOイメージを挿入します。 More... | |||||||||||
Server | EjectIsoImage () | ||||||||||
サーバに挿入されているISOイメージを排出します。 More... | |||||||||||
![]() | |||||||||||
void | Destroy () | ||||||||||
このローカルオブジェクトのIDと一致するリソースの削除リクエストをAPIに送信します。 More... | |||||||||||
bool | Exists () | ||||||||||
このリソースが存在するかを調べます。 More... | |||||||||||
object | RequestRetry (string method, string path, object query=null, long retryCount=5, long retrySleep=5) | ||||||||||
| |||||||||||
Properties | |
ServerActivity | Activity [get] |
アクティビティ More... | |
string | Id [get] |
ID More... | |
string | Name [get, set] |
名前 More... | |
string | Description [get, set] |
説明 More... | |
System.Collections.Generic.List< string > | Tags [get, set] |
タグ文字列の配列 More... | |
Icon | Icon [get, set] |
アイコン More... | |
ServerPlan | Plan [get, set] |
プラン More... | |
System.Collections.Generic.List< Iface > | Ifaces [get] |
インタフェース More... | |
ServerInstance | Instance [get] |
インスタンス情報 More... | |
string | Availability [get] |
有効状態 Saklient.Cloud.Enums.EAvailability More... | |
サーバの実体1つに対応し、属性の取得や操作を行うためのクラス。
|
inline |
サーバにインタフェースを1つ増設し、それを取得します。
|
inline |
サーバを起動します。
|
inline |
サーバプランを変更します。
成功時はリソースIDが変わることにご注意ください。
planTo |
|
|
inline |
サーバに挿入されているISOイメージを排出します。
|
inline |
サーバに接続されているディスクのリストを取得します。
サーバにISOイメージを挿入します。
iso |
|
|
inline |
サーバが停止しているときtrueを返します。
|
inline |
サーバが起動しているときtrueを返します。
|
inline |
サーバを強制再起動します。
|
inline |
最新のリソース情報を再取得します。
|
inline |
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。
|
inline |
サーバをシャットダウンします。
|
inline |
サーバが停止するまで待機します。
timeoutSec |
|
|
inline |
サーバが起動するまで待機します。
timeoutSec |
|
inline |
サーバを強制停止します。
|
get |
アクティビティ
|
get |
|
getset |
説明
|
getset |
アイコン
|
get |
ID
|
get |
インタフェース
|
get |
インスタンス情報
|
getset |
名前
|
getset |
プラン
|
getset |
タグ文字列の配列