Public Member Functions | |
| def | get_client (self) |
| さくらのクラウドAPIクライアントを利用する際、最初にアクセスすべきルートとなるクラス。 More... | |
| def | get_product (self) |
| def | get_facility (self) |
| def | get_icon (self) |
| def | get_server (self) |
| def | get_disk (self) |
| def | get_appliance (self) |
| def | get_archive (self) |
| def | get_iso_image (self) |
| def | get_iface (self) |
| def | get_swytch (self) |
| def | get_router (self) |
| def | get_bridge (self) |
| def | get_ipv6_net (self) |
| def | get_script (self) |
| def | get_license (self) |
| def | __init__ (self, client) |
| def | in_zone (self, name) |
| 認証情報を引き継ぎ、指定したゾーンへのアクセスを行うAPIクライアントを作成します。 More... | |
Static Public Member Functions | |
| def | authorize |
| 指定した認証情報を用いてアクセスを行うAPIクライアントを作成します。 More... | |
Properties | |
| client = property(get_client, None, None) | |
| product = property(get_product, None, None) | |
| 商品情報にアクセスするためのモデルを集めたオブジェクト。 | |
| facility = property(get_facility, None, None) | |
| 設備情報にアクセスするためのモデルを集めたオブジェクト。 | |
| icon = property(get_icon, None, None) | |
| アイコンにアクセスするためのモデル。 | |
| server = property(get_server, None, None) | |
| サーバにアクセスするためのモデル。 | |
| disk = property(get_disk, None, None) | |
| ディスクにアクセスするためのモデル。 | |
| appliance = property(get_appliance, None, None) | |
| アプライアンスにアクセスするためのモデル。 | |
| archive = property(get_archive, None, None) | |
| アーカイブにアクセスするためのモデル。 | |
| iso_image = property(get_iso_image, None, None) | |
| ISOイメージにアクセスするためのモデル。 | |
| iface = property(get_iface, None, None) | |
| インタフェースにアクセスするためのモデル。 | |
| swytch = property(get_swytch, None, None) | |
| スイッチにアクセスするためのモデル。 | |
| router = property(get_router, None, None) | |
| ルータにアクセスするためのモデル。 | |
| bridge = property(get_bridge, None, None) | |
| ブリッジにアクセスするためのモデル。 | |
| ipv6_net = property(get_ipv6_net, None, None) | |
| IPv6ネットワークにアクセスするためのモデル。 | |
| script = property(get_script, None, None) | |
| スクリプトにアクセスするためのモデル。 | |
| license = property(get_license, None, None) | |
| ライセンスにアクセスするためのモデル。 | |
| def saklient.cloud.api.API.__init__ | ( | self, | |
| client | |||
| ) |
| {saklient.cloud.client.Client} | client |
|
static |
指定した認証情報を用いてアクセスを行うAPIクライアントを作成します。
必要な認証情報は、コントロールパネル右上にあるアカウントのプルダウンから 「設定」を選択し、「APIキー」のページにて作成できます。
| {str} | token ACCESS TOKEN |
| {str} | secret ACCESS TOKEN SECRET |
| {str} | zone=None ゾーン名 |
| def saklient.cloud.api.API.get_appliance | ( | self | ) |
| def saklient.cloud.api.API.get_archive | ( | self | ) |
| def saklient.cloud.api.API.get_bridge | ( | self | ) |
| def saklient.cloud.api.API.get_client | ( | self | ) |
さくらのクラウドAPIクライアントを利用する際、最初にアクセスすべきルートとなるクラス。
| def saklient.cloud.api.API.get_disk | ( | self | ) |
| def saklient.cloud.api.API.get_facility | ( | self | ) |
| def saklient.cloud.api.API.get_icon | ( | self | ) |
| def saklient.cloud.api.API.get_iface | ( | self | ) |
| def saklient.cloud.api.API.get_ipv6_net | ( | self | ) |
| def saklient.cloud.api.API.get_iso_image | ( | self | ) |
| def saklient.cloud.api.API.get_license | ( | self | ) |
| def saklient.cloud.api.API.get_product | ( | self | ) |
| def saklient.cloud.api.API.get_router | ( | self | ) |
| def saklient.cloud.api.API.get_script | ( | self | ) |
| def saklient.cloud.api.API.get_server | ( | self | ) |
| def saklient.cloud.api.API.get_swytch | ( | self | ) |
| def saklient.cloud.api.API.in_zone | ( | self, | |
| name | |||
| ) |
認証情報を引き継ぎ、指定したゾーンへのアクセスを行うAPIクライアントを作成します。
| {str} | name ゾーン名 |