GET /api/smart_variables/:smart_variable_id/override_values
Elenco di valori override per una variabile smart specifica

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
Elenco di valori di override per un parametro di classe smart specifico

Parametri

Nome parametro Descrizione
smart_variable_id
opzionale

Validations:

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

smart_class_parameter_id
opzionale

Validations:

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

show_hidden
opzionale

Display hidden values

Validations:

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

page
opzionale

paginazione risultati

Validations:

  • Must be a String

per_page
opzionale

numero di voci per richiesta

Validations:

  • Must be a String


GET /api/smart_variables/:smart_variable_id/override_values/:id
Mostra un valore override per una variabile smart specifica

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Mostra un valore override per un parametro di classe smart specifico

Parametri

Nome parametro Descrizione
smart_variable_id
opzionale

Validations:

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

smart_class_parameter_id
opzionale

Validations:

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

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.

show_hidden
opzionale

Display hidden values

Validations:

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


POST /api/smart_variables/:smart_variable_id/override_values
Crea un valore override per una variabile smart specifica

POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
Crea un valore di override per un parametro di classe smart specifico

Parametri

Nome parametro Descrizione
smart_variable_id
opzionale

Validations:

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

smart_class_parameter_id
opzionale

Validations:

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

override_value
richiesto

Validations:

  • Must be a Hash

override_value[match]
richiesto

Override match

Validations:

  • Must be a String

override_value[value]
opzionale , consentito nil

Override value, required if omit is false

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

override_value[use_puppet_default]
opzionale , consentito nil

Deprecated, please use omit

Validations:

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

override_value[omit]
opzionale , consentito nil

Foreman will not send this parameter in classification output, replaces use_puppet_default

Validations:

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


PUT /api/smart_variables/:smart_variable_id/override_values/:id
Aggiorna un valore override per una variabile smart specifica

PUT /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Aggiorna un valore override per un parametro di classe smart specifico

Parametri

Nome parametro Descrizione
smart_variable_id
opzionale

Validations:

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

smart_class_parameter_id
opzionale

Validations:

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

override_value
richiesto

Validations:

  • Must be a Hash

override_value[match]
opzionale

Override match

Validations:

  • Must be a String

override_value[value]
opzionale , consentito nil

Override value, required if omit is false

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

override_value[use_puppet_default]
opzionale , consentito nil

Deprecated, please use omit

Validations:

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

override_value[omit]
opzionale , consentito nil

Foreman will not send this parameter in classification output, replaces use_puppet_default

Validations:

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


DELETE /api/smart_variables/:smart_variable_id/override_values/:id
Cancella un valore override per una variabile smart specifica

DELETE /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Cancella un valore di override per un parametro di classe smart specifico

Parametri

Nome parametro Descrizione
smart_variable_id
opzionale

Validations:

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

smart_class_parameter_id
opzionale

Validations:

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

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.