GET /api/compute_resources
List all compute resources.

Params

Param Name Description
search
Optional

필터 결과

Validations:

  • Must be String

order
Optional

결과 정렬

Validations:

  • Must be String

page
Optional

페이지네이션 결과

Validations:

  • Must be String

per_page
Optional

요청 당 항목 수

Validations:

  • Must be String


GET /api/compute_resources/:id
Show an compute resource.

Params

Param Name Description
id
Required

Validations:

  • 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
Create a compute resource.

Params

Param Name Description
compute_resource
Required

Validations:

  • Must be a Hash

compute_resource[name]
Required

Validations:

  • Must be String

compute_resource[provider]
Optional

Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE

Validations:

  • Must be String

compute_resource[url]
Optional

Libvirt, oVirt 및 OpenStack의 URL

Validations:

  • Must be String

compute_resource[description]
Optional

Validations:

  • Must be String

compute_resource[user]
Optional

oVirt, EC2, VMware, OpenStack의 사용자 이름. EC2의 액세스 키.

Validations:

  • Must be String

compute_resource[password]
Optional

oVirt, EC2, VMware, OpenStack의 암호. EC2의 비밀 키

Validations:

  • Must be String

compute_resource[uuid]
Optional

oVirt, VMware Datacenter의 경우

Validations:

  • Must be String

compute_resource[region]
Optional

EC2의 경우에만

Validations:

  • Must be String

compute_resource[tenant]
Optional

OpenStack만 해당

Validations:

  • Must be String

compute_resource[server]
Optional

VMware의 경우

Validations:

  • Must be String

compute_resource[set_console_password]
Optional

Libvirt 및 VMware만 해당

Validations:

  • Must be 'true' or 'false' or '1' or '0'


PUT /api/compute_resources/:id
Update a compute resource.

Params

Param Name Description
id
Required

Validations:

  • Must be String

compute_resource
Required

Validations:

  • Must be a Hash

compute_resource[name]
Optional

Validations:

  • Must be String

compute_resource[provider]
Optional

Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE

Validations:

  • Must be String

compute_resource[url]
Optional

Libvirt, oVirt 및 OpenStack의 URL

Validations:

  • Must be String

compute_resource[description]
Optional

Validations:

  • Must be String

compute_resource[user]
Optional

oVirt, EC2, VMware, OpenStack의 사용자 이름. EC2의 액세스 키.

Validations:

  • Must be String

compute_resource[password]
Optional

oVirt, EC2, VMware, OpenStack의 암호. EC2의 비밀 키

Validations:

  • Must be String

compute_resource[uuid]
Optional

oVirt, VMware Datacenter의 경우

Validations:

  • Must be String

compute_resource[region]
Optional

EC2의 경우에만

Validations:

  • Must be String

compute_resource[tenant]
Optional

OpenStack만 해당

Validations:

  • Must be String

compute_resource[server]
Optional

VMware의 경우

Validations:

  • Must be String


DELETE /api/compute_resources/:id
Delete a compute resource.

Params

Param Name Description
id
Required

Validations:

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