参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
选填

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
必填

Validations:

  • Must be a Hash

override_value[match]
选填

替代匹配

Validations:

  • Must be a String

override_value[value]
选填 , 允许空值

覆盖值(omit 为 false 时必需)

Validations:

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

override_value[omit]
选填 , 允许空值

Foreman will not send this parameter in classification output

Validations:

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