参数

参数名字 描述
compute_resource
必填

Validations:

  • Must be a Hash

compute_resource[name]
必填

Validations:

  • Must be String

compute_resource[provider]
选填 , 允许空值

Providers include

Validations:

  • Must be String

compute_resource[url]
选填 , 允许空值

URL for Libvirt, oVirt, and OpenStack

Validations:

  • Must be String

compute_resource[description]
选填 , 允许空值

Validations:

  • Must be String

compute_resource[user]
选填 , 允许空值

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

Validations:

  • Must be String

compute_resource[password]
选填 , 允许空值

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

Validations:

  • Must be String

compute_resource[uuid]
选填 , 允许空值

for oVirt, VMware Datacenter

Validations:

  • Must be String

compute_resource[region]
选填 , 允许空值

for EC2 only

Validations:

  • Must be String

compute_resource[tenant]
选填 , 允许空值

for OpenStack only

Validations:

  • Must be String

compute_resource[server]
选填 , 允许空值

for VMware

Validations:

  • Must be String

compute_resource[set_console_password]
选填 , 允许空值

for Libvirt and VMware only

Validations:

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

compute_resource[display_type]
选填 , 允许空值

for Libvirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[location_ids]
选填 , 允许空值

REPLACE locations with given ids

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
选填 , 允许空值

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type