参数名字 | 描述 |
---|---|
operatingsystem_id 选填 |
操作系统 ID Validations:
|
location_id 选填 |
根据位置界定的范围 Validations:
|
organization_id 选填 |
根据机构界定的范围 Validations:
|
search 选填 |
过滤结果 Validations:
|
order 选填 |
排序项和顺序,例如 ‘id DESC’ Validations:
|
page 选填 |
页号,从 1 开始 Validations:
|
per_page 选填 |
每页中显示的返回结果数 Validations:
|
字段名 | 类型 | 可能的值 |
---|---|---|
default_template | true, false | |
environment | ||
hostgroup | ||
kind | ||
location | ||
location_id | ||
locked | true, false | |
name | ||
operatingsystem | ||
organization | ||
organization_id | ||
snippet | true, false | |
template | ||
vendor |
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
provisioning_template 必填 |
Validations:
|
provisioning_template[name] 必填 |
模板名称 Validations:
|
provisioning_template[description] 选填 , 允许空值 |
Validations:
|
provisioning_template[template] 必填 |
Validations:
|
provisioning_template[snippet] 选填 , 允许空值 |
Validations:
|
provisioning_template[audit_comment] 选填 , 允许空值 |
Validations:
|
provisioning_template[template_kind_id] 选填 , 允许空值 |
与片段无关 Validations:
|
provisioning_template[template_combinations_attributes] 选填 , 允许空值 |
模板组合阵列(hostgroup_id, environment_id) Validations:
|
provisioning_template[operatingsystem_ids] 选填 , 允许空值 |
与该模板关联的操作系统 ID 阵列 Validations:
|
provisioning_template[locked] 选填 , 允许空值 |
是否已锁定该模板进行编辑 Validations:
|
provisioning_template[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
provisioning_template[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
provisioning_template 必填 |
Validations:
|
provisioning_template[name] 选填 |
模板名称 Validations:
|
provisioning_template[template] 选填 |
包括元数据的模板内容 Validations:
|
provisioning_template[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
provisioning_template[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|
options 选填 |
Validations:
|
options[force] 选填 , 允许空值 |
在您希望更新锁定的模板时使用 Validations:
|
options[associate] 选填 , 允许空值 |
确定模板何时应基于元数据关联对象,new 表示只在创建新模板时,always 表示同时适用于新模板和的只进行更新的现有模板,never 表示忽略元数据 Validations:
|
options[lock] 选填 , 允许空值 |
锁定导入的模板(默认为 false) Validations:
|
options[default] 选填 , 允许空值 |
把模块设为默认意味着它将自动与新创建的组织和位置相关联(默认为 false) Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
provisioning_template 必填 |
Validations:
|
provisioning_template[name] 选填 |
模板名称 Validations:
|
provisioning_template[description] 选填 , 允许空值 |
Validations:
|
provisioning_template[template] 选填 |
Validations:
|
provisioning_template[snippet] 选填 , 允许空值 |
Validations:
|
provisioning_template[audit_comment] 选填 , 允许空值 |
Validations:
|
provisioning_template[template_kind_id] 选填 , 允许空值 |
与片段无关 Validations:
|
provisioning_template[template_combinations_attributes] 选填 , 允许空值 |
模板组合阵列(hostgroup_id, environment_id) Validations:
|
provisioning_template[operatingsystem_ids] 选填 , 允许空值 |
与该模板关联的操作系统 ID 阵列 Validations:
|
provisioning_template[locked] 选填 , 允许空值 |
是否已锁定该模板进行编辑 Validations:
|
provisioning_template[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
provisioning_template[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
version 选填 |
模板版本 Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
provisioning_template 必填 |
Validations:
|
provisioning_template[name] 必填 |
模板名称 Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|