GET /api/operatingsystems/:operatingsystem_id/os_default_templates
列出一個作業系統的預設範本組合

GET /api/provisioning_templates/:provisioning_template_id/os_default_templates
列出作業系統,而此範本已被設為預設值

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
選填

作業系統 ID

Validations:

  • Must be a String

provisioning_template_id
選填

佈建範本 ID

Validations:

  • Must be a String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • Must be a number.


GET /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
顯示一個作業系統的預設範本組合

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
選填

作業系統 ID

Validations:

  • Must be a String

id
必填

Validations:

  • Must be a number.


POST /api/operatingsystems/:operatingsystem_id/os_default_templates
為作業系統建立預設範本

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
選填

作業系統 ID

Validations:

  • Must be a String

os_default_template
必填

Validations:

  • Must be a Hash

os_default_template[template_kind_id]
選填 , 允許空值

Validations:

  • Must be a number.

os_default_template[provisioning_template_id]
選填 , 允許空值

佈建範本 ID

Validations:

  • Must be a number.


PUT /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
更新作業系統的預設範本組合

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
選填

作業系統 ID

Validations:

  • Must be a String

id
必填

Validations:

  • Must be a String

os_default_template
必填

Validations:

  • Must be a Hash

os_default_template[template_kind_id]
選填 , 允許空值

Validations:

  • Must be a number.

os_default_template[provisioning_template_id]
選填 , 允許空值

佈建範本 ID

Validations:

  • Must be a number.


DELETE /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
刪除一個作業系統的預設範本組合

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
選填

作業系統 ID

Validations:

  • Must be a String

id
必填

Validations:

  • Must be a String