Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Must be a Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Must be a Integer

id
richiesto

Validations:

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

job_template
richiesto

Validations:

  • Must be a Hash

job_template[name]
opzionale

Template name

Validations:

  • Must be a String

job_template[job_category]
opzionale

Job category

Validations:

  • Must be a String

job_template[description_format]
opzionale , consentito nil

This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}.

Validations:

  • Must be a String

job_template[template]
opzionale

Validations:

  • Must be a String

job_template[provider_type]
opzionale

Provider type

Validations:

  • Must be one of: SSH.

job_template[snippet]
opzionale , consentito nil

Validations:

  • Must be one of: true, false, 1, 0

job_template[audit_comment]
opzionale , consentito nil

Validations:

  • Must be a String

job_template[locked]
opzionale , consentito nil

Indica se il template รจ stato bloccato per la modifica

Validations:

  • Must be one of: true, false, 1, 0

job_template[ssh]
opzionale , consentito nil

SSH provider specific options

Validations:

  • Must be a Hash

job_template[ssh][effective_user]
opzionale , consentito nil

Effective user options

Validations:

  • Must be a Hash

job_template[ssh][effective_user][value]
opzionale , consentito nil

What user should be used to run the script (using sudo-like mechanisms)

Validations:

  • Must be a String

job_template[ssh][effective_user][overridable]
opzionale , consentito nil

Whether it should be allowed to override the effective user from the invocation form.

Validations:

  • Must be one of: true, false, 1, 0

job_template[ssh][effective_user][current_user]
opzionale , consentito nil

Whether the current user login should be used as the effective user

Validations:

  • Must be one of: true, false, 1, 0

job_template[location_ids]
opzionale , consentito nil

SOSTITUIRE le posizioni con gli id dati

Validations:

  • Must be an array of any type

job_template[organization_ids]
opzionale , consentito nil

SOSTITUIRE le organizzazioni con gli id dati

Validations:

  • Must be an array of any type