GET /api/config_templates/:config_template_id/template_combinations DEPRECATED
List template combination

GET /api/provisioning_templates/:provisioning_template_id/template_combinations
List template combination

GET /api/hostgroups/:hostgroup_id/template_combinations
List template combination

GET /api/environments/:environment_id/template_combinations
List template combination

参数

参数名字 描述
config_template_id
选填

ID of config template


Value:

Must be String

provisioning_template_id
选填

ID of config template


Value:

Must be String

hostgroup_id
选填

ID of host group


Value:

Must be String

environment_id
选填

ID of environment


Value:

Must be String


POST /api/config_templates/:config_template_id/template_combinations DEPRECATED
Add a template combination

POST /api/provisioning_templates/:provisioning_template_id/template_combinations
Add a template combination

POST /api/hostgroups/:hostgroup_id/template_combinations
Add a template combination

POST /api/environments/:environment_id/template_combinations
Add a template combination

参数

参数名字 描述
config_template_id
选填

ID of config template


Value:

Must be String

provisioning_template_id
选填

ID of config template


Value:

Must be String

hostgroup_id
选填

ID of host group


Value:

Must be String

environment_id
选填

ID of environment


Value:

Must be String

template_combination
必填

Value:

Must be a Hash

template_combination[environment_id]
选填 , 允许空值

environment id


Value:

Must be a number.

template_combination[hostgroup_id]
选填 , 允许空值

host group id


Value:

Must be a number.


GET /api/template_combinations/:id
Show template combination

GET /api/config_templates/:config_template_id/template_combinations/:id DEPRECATED
Show template combination

GET /api/provisioning_templates/:provisioning_template_id/template_combinations/:id
Show template combination

GET /api/hostgroups/:hostgroup_id/template_combinations/:id
Show template combination

GET /api/environments/:environment_id/template_combinations/:id
Show template combination

参数

参数名字 描述
config_template_id
选填

ID of config template


Value:

Must be String

provisioning_template_id
选填

ID of config template


Value:

Must be String

hostgroup_id
选填

ID of host group


Value:

Must be String

environment_id
选填

ID of environment


Value:

Must be String

id
必填

Value:

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
Update template combination

PUT /api/config_templates/:config_template_id/template_combinations/:id DEPRECATED
Update template combination

PUT /api/hostgroups/:hostgroup_id/template_combinations/:id
Update template combination

PUT /api/environments/:environment_id/template_combinations/:id
Update template combination

参数

参数名字 描述
id
必填

Value:

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 of config template


Value:

Must be String

provisioning_template_id
选填

ID of config template


Value:

Must be String

hostgroup_id
选填

ID of host group


Value:

Must be String

environment_id
选填

ID of environment


Value:

Must be String

template_combination
必填

Value:

Must be a Hash

template_combination[environment_id]
选填 , 允许空值

environment id


Value:

Must be a number.

template_combination[hostgroup_id]
选填 , 允许空值

host group id


Value:

Must be a number.


DELETE /api/template_combinations/:id
Delete a template combination

参数

参数名字 描述
id
必填

Value:

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