參數

參數名字 描述
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]
選填 , 允許空值

Deprecated, please use datacenter

Validations:

  • Must be a String

compute_resource[datacenter]
選填 , 允許空值

適用於 Ovirt、Vmware Datacenter

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]
選填 , 允許空值

for Libvirt only

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