GET /api/config_templates/:config_template_id/template_combinations DEPRECATED
列出模板组合

GET /api/provisioning_templates/:provisioning_template_id/template_combinations
列出模板组合

GET /api/hostgroups/:hostgroup_id/template_combinations
列出模板组合

GET /api/environments/:environment_id/template_combinations
列出模板组合

参数

参数名字 描述
config_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

provisioning_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

hostgroup_id
选填

主机组 ID

Validations:

  • Must be a String

environment_id
选填

环境 ID

Validations:

  • Must be a String


POST /api/config_templates/:config_template_id/template_combinations DEPRECATED
添加模板组合

POST /api/provisioning_templates/:provisioning_template_id/template_combinations
添加模板组合

POST /api/hostgroups/:hostgroup_id/template_combinations
添加模板组合

POST /api/environments/:environment_id/template_combinations
添加模板组合

参数

参数名字 描述
config_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

provisioning_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

hostgroup_id
选填

主机组 ID

Validations:

  • Must be a String

environment_id
选填

环境 ID

Validations:

  • Must be a String

template_combination
必填

Validations:

  • Must be a Hash

template_combination[environment_id]
选填 , 允许空值

环境 id

Validations:

  • Must be a number.

template_combination[hostgroup_id]
选填 , 允许空值

主机组 id

Validations:

  • Must be a number.


GET /api/template_combinations/:id
显示模板组合

GET /api/config_templates/:config_template_id/template_combinations/:id DEPRECATED
显示模板组合

GET /api/provisioning_templates/:provisioning_template_id/template_combinations/:id
显示模板组合

GET /api/hostgroups/:hostgroup_id/template_combinations/:id
显示模板组合

GET /api/environments/:environment_id/template_combinations/:id
显示模板组合

参数

参数名字 描述
config_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

provisioning_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

hostgroup_id
选填

主机组 ID

Validations:

  • Must be a String

environment_id
选填

环境 ID

Validations:

  • Must be a String

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.


PUT /api/provisioning_templates/:provisioning_template_id/template_combinations/:id
更新模板组合

PUT /api/config_templates/:config_template_id/template_combinations/:id DEPRECATED
更新模板组合

PUT /api/hostgroups/:hostgroup_id/template_combinations/:id
更新模板组合

PUT /api/environments/:environment_id/template_combinations/:id
更新模板组合

参数

参数名字 描述
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.

config_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

provisioning_template_id
选填

配置模板的 ID

Validations:

  • Must be a String

hostgroup_id
选填

主机组 ID

Validations:

  • Must be a String

environment_id
选填

环境 ID

Validations:

  • Must be a String

template_combination
必填

Validations:

  • Must be a Hash

template_combination[environment_id]
选填 , 允许空值

环境 id

Validations:

  • Must be a number.

template_combination[hostgroup_id]
选填 , 允许空值

主机组 id

Validations:

  • Must be a number.


DELETE /api/template_combinations/:id
删除模板组合

参数

参数名字 描述
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.