Param name | Description |
---|---|
operatingsystem_id optional |
ID de sistema operatiu Validations:
|
location_id optional |
Abast per ubicacions Validations:
|
organization_id optional |
Abast per organitzacions Validations:
|
search optional |
filtra els resultats Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Nombre de resultats per pàgina a retornar Validations:
|
Field name | Tipus | Possible values |
---|---|---|
default_template | true, false | |
environment | ||
hostgroup | ||
kind | ||
location | ||
location_id | ||
locked | true, false | |
name | ||
operatingsystem | ||
organization | ||
organization_id | ||
snippet | true, false | |
template | ||
vendor |
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
provisioning_template required |
Validations:
|
provisioning_template[name] required |
nom de la plantilla Validations:
|
provisioning_template[description] optional , nil allowed |
Validations:
|
provisioning_template[template] required |
Validations:
|
provisioning_template[snippet] optional , nil allowed |
Validations:
|
provisioning_template[audit_comment] optional , nil allowed |
Validations:
|
provisioning_template[template_kind_id] optional , nil allowed |
no és rellevant per al fragment Validations:
|
provisioning_template[template_combinations_attributes] optional , nil allowed |
Array of template combinations (hostgroup_id, environment_id) Validations:
|
provisioning_template[operatingsystem_ids] optional , nil allowed |
Array of operating system IDs to associate with the template Validations:
|
provisioning_template[locked] optional , nil allowed |
Determina si una plantilla està bloquejada o no per a l'edició Validations:
|
provisioning_template[location_ids] optional , nil allowed |
SUBSTITUEIX les ubicacions amb els ID donats Validations:
|
provisioning_template[organization_ids] optional , nil allowed |
SUBSTITUEIX les organitzacions amb els ID donats. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
provisioning_template required |
Validations:
|
provisioning_template[name] optional |
nom de la plantilla Validations:
|
provisioning_template[template] optional |
template contents including metadata Validations:
|
provisioning_template[location_ids] optional , nil allowed |
SUBSTITUEIX les ubicacions amb els ID donats Validations:
|
provisioning_template[organization_ids] optional , nil allowed |
SUBSTITUEIX les organitzacions amb els ID donats. Validations:
|
options optional |
Validations:
|
options[force] optional , nil allowed |
use if you want update locked templates Validations:
|
options[associate] optional , nil allowed |
determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata Validations:
|
options[lock] optional , nil allowed |
lock imported templates (false by default) Validations:
|
options[default] optional , nil allowed |
makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
provisioning_template required |
Validations:
|
provisioning_template[name] optional |
nom de la plantilla Validations:
|
provisioning_template[description] optional , nil allowed |
Validations:
|
provisioning_template[template] optional |
Validations:
|
provisioning_template[snippet] optional , nil allowed |
Validations:
|
provisioning_template[audit_comment] optional , nil allowed |
Validations:
|
provisioning_template[template_kind_id] optional , nil allowed |
no és rellevant per al fragment Validations:
|
provisioning_template[template_combinations_attributes] optional , nil allowed |
Array of template combinations (hostgroup_id, environment_id) Validations:
|
provisioning_template[operatingsystem_ids] optional , nil allowed |
Array of operating system IDs to associate with the template Validations:
|
provisioning_template[locked] optional , nil allowed |
Determina si una plantilla està bloquejada o no per a l'edició Validations:
|
provisioning_template[location_ids] optional , nil allowed |
SUBSTITUEIX les ubicacions amb els ID donats Validations:
|
provisioning_template[organization_ids] optional , nil allowed |
SUBSTITUEIX les organitzacions amb els ID donats. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
version optional |
versió de la plantilla Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
provisioning_template required |
Validations:
|
provisioning_template[name] required |
nom de la plantilla Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|