GET /api/compute_resources
コンピュートリソース一覧

Params

Param Name Description
search
Optional

結果をフィルタ


Value: Must be String
order
Optional

結果をソート


Value: Must be String
page
Optional

結果をページ分割


Value: Must be String
per_page
Optional

リクエストあたりのエントリ数


Value: Must be String

GET /api/compute_resources/:id
コンピュートリソースの表示

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

POST /api/compute_resources
コンピュートリソースの作成

Params

Param Name Description
compute_resource
Required

Value: Must be a Hash
compute_resource[name]
Required

Value: Must be String
compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Providers include


Value: Must be String
compute_resource[url]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

URL for Libvirt, oVirt, and OpenStack


Value: Must be String
compute_resource[description]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
compute_resource[user]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

oVirt, EC2, VMware, OpenStack のためのユーザ名。 EC2 のためのアクセスキー。


Value: Must be String
compute_resource[password]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

oVirt, EC2, VMware, OpenStack のためのユーザ名。 EC2 のためのアクセスキー。


Value: Must be String
compute_resource[uuid]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for oVirt, VMware Datacenter


Value: Must be String
compute_resource[region]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for EC2 only


Value: Must be String
compute_resource[tenant]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for OpenStack only


Value: Must be String
compute_resource[server]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for VMware


Value: Must be String
compute_resource[set_console_password]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

libvirt と VMware のみ


Value: Must be 'true' or 'false'

PUT /api/compute_resources/:id
コンピュートリソースを更新

Params

Param Name Description
id
Required

Value: Must be String
compute_resource
Required

Value: Must be a Hash
compute_resource[name]
Optional

Value: Must be String
compute_resource[provider]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Providers include


Value: Must be String
compute_resource[url]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

URL for Libvirt, oVirt, and OpenStack


Value: Must be String
compute_resource[description]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
compute_resource[user]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

oVirt, EC2, VMware, OpenStack のためのユーザ名。 EC2 のためのアクセスキー。


Value: Must be String
compute_resource[password]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

oVirt, EC2, VMware, OpenStack のためのユーザ名。 EC2 のためのアクセスキー。


Value: Must be String
compute_resource[uuid]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for oVirt, VMware Datacenter


Value: Must be String
compute_resource[region]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for EC2 only


Value: Must be String
compute_resource[tenant]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for OpenStack only


Value: Must be String
compute_resource[server]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

for VMware


Value: Must be String
compute_resource[set_console_password]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

libvirt と VMware のみ


Value: Must be 'true' or 'false'

DELETE /api/compute_resources/:id
コンピュートリソースの削除

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_images
コンピュートリソースの利用可能なイメージの一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_clusters
コンピュートリソースの利用可能なクラスタの一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_flavors
List available flavors for a compute resource

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_folders
コンピュートリソースの利用可能なフォルダの一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_zones
List available zone for a compute resource

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:id/available_networks
コンピュートリソースの利用可能なネットワークの一覧

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
コンピュートリソースクラスタの利用可能なネットワークの一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
cluster_id
Optional

Value: Must be String

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools
コンピュートリソースクラスタのリソースプールの一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
cluster_id
Required

Value: Must be String

GET /api/compute_resources/:id/available_storage_domains
List storage_domains for a compute resource

GET /api/compute_resources/:id/available_storage_domains
コンピュートリソースのストレージドメインの一覧

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
与えられたストレージドメインの属性の一覧

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
storage_domain
Optional

Value: Must be String

GET /api/compute_resources/:id/available_security_groups
List available security groups for a compute resource

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

PUT /api/compute_resources/:id/associate
ホストへの仮想マシンの関連付け

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.