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

Validations:

  • Must be String

compute_resource[url]
Optional

URL for Libvirt, oVirt, and OpenStack

Validations:

  • Must be String

compute_resource[description]
Optional

Validations:

  • Must be String

compute_resource[user]
Optional

Username for oVirt, EC2, VMware, OpenStack. Access Key for EC2.

Validations:

  • Must be String

compute_resource[password]
Optional

Password for oVirt, EC2, VMware, OpenStack. Secret key for EC2

Validations:

  • Must be String

compute_resource[uuid]
Optional

for oVirt, VMware Datacenter

Validations:

  • Must be String

compute_resource[region]
Optional

EC2의 경우에만

Validations:

  • Must be String

compute_resource[tenant]
Optional

for OpenStack only

Validations:

  • Must be String

compute_resource[server]
Optional

for VMware

Validations:

  • Must be String

compute_resource[set_console_password]
Optional

for Libvirt and VMware only

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

Validations:

  • Must be String

compute_resource[url]
Optional

URL for Libvirt, oVirt, and OpenStack

Validations:

  • Must be String

compute_resource[description]
Optional

Validations:

  • Must be String

compute_resource[user]
Optional

Username for oVirt, EC2, VMware, OpenStack. Access Key for EC2.

Validations:

  • Must be String

compute_resource[password]
Optional

Password for oVirt, EC2, VMware, OpenStack. Secret key for EC2

Validations:

  • Must be String

compute_resource[uuid]
Optional

for oVirt, VMware Datacenter

Validations:

  • Must be String

compute_resource[region]
Optional

EC2의 경우에만

Validations:

  • Must be String

compute_resource[tenant]
Optional

for OpenStack only

Validations:

  • Must be String

compute_resource[server]
Optional

for 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.