参数

参数名字 描述
id
必填

Validations:

  • Must be a String

compute_resource
必填

Validations:

  • Must be a Hash

compute_resource[name]
选填

Validations:

  • Must be a String

compute_resource[provider]
选填 , 允许空值

提供者包括

Validations:

  • Must be a String

compute_resource[url]
选填 , 允许空值

URL for Libvirt, oVirt, OpenStack and Rackspace

Validations:

  • Must be a String

compute_resource[description]
选填 , 允许空值

Validations:

  • Must be a String

compute_resource[user]
选填 , 允许空值

oVirt、EC2、VMware、OpenStack 的用户名。EC2 的访问密钥。

Validations:

  • Must be a String

compute_resource[password]
选填 , 允许空值

oVirt、EC2、VMware、OpenStack 的密码。EC2 的访问密钥。

Validations:

  • Must be a String

compute_resource[uuid]
选填 , 允许空值

已弃用,请使用 datacenter

Validations:

  • Must be a String

compute_resource[datacenter]
选填 , 允许空值

用于 oVirt、VMware 数据库

Validations:

  • Must be a String

compute_resource[region]
选填 , 允许空值

仅用于 EC2

Validations:

  • Must be a String

compute_resource[tenant]
选填 , 允许空值

仅用于 OpenStack

Validations:

  • Must be a String

compute_resource[domain]
选填 , 允许空值

仅用于 OpenStack

Validations:

  • Must be a String

compute_resource[server]
选填 , 允许空值

用于 VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
选填 , 允许空值

仅用于 Libvirt 和 VMware

Validations:

  • Must be one of: true, false, 1, 0

compute_resource[display_type]
选填 , 允许空值

仅用于 Libvirt

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[caching_enabled]
选填 , 允许空值

enable caching, for VMware only

Validations:

  • Must be one of: true, false, 1, 0

compute_resource[location_ids]
选填 , 允许空值

使用给定 id 替换位置

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
选填 , 允许空值

使用给定 id 替换机构

Validations:

  • Must be an array of any type