參數

參數名字 描述
compute_resource_id
必填

Validations:

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

image
必填

Validations:

  • Must be a Hash

image[name]
必填

Validations:

  • Must be a String

image[username]
必填

Validations:

  • Must be a String

image[uuid]
必填

Validations:

  • Must be a String

image[password]
選填 , 允許空值

Validations:

  • Must be a String

image[compute_resource_id]
選填 , 允許空值

運算資源的 ID

Validations:

  • Must be a String

image[architecture_id]
選填 , 允許空值

架構的 ID

Validations:

  • Must be a String

image[operatingsystem_id]
選填 , 允許空值

作業系統 ID

Validations:

  • Must be a String

image[user_data]
選填 , 允許空值

不管映像檔是否支援使用者資料

Validations:

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