GET /api/smart_variables/:smart_variable_id/override_values
特定智慧型變數的覆寫值之清單

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
特定智慧型類別參數的覆寫值之清單

參數

參數名字 描述
smart_variable_id
選填

Value:

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

Value:

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

page
選填

編頁結果


Value:

Must be String

per_page
選填

每個請求的項目數量


Value:

Must be String


GET /api/smart_variables/:smart_variable_id/override_values/:id
顯示特定智慧變數的覆寫值

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
顯示特定智慧類別參數的覆寫值

參數

參數名字 描述
smart_variable_id
選填

Value:

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

Value:

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

id
必填

Value:

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


POST /api/smart_variables/:smart_variable_id/override_values
為特定智慧型變數建立覆寫值

POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
為特定的智慧型類別參數建立覆寫值

參數

參數名字 描述
smart_variable_id
選填

Value:

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

Value:

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

Value:

Must be a Hash

override_value[match]
必填

Override match


Value:

Must be String

override_value[value]
必填

Override value


Value:

Must be String

override_value[use_puppet_default]
選填 , 允許空值

Value:

Must be 'true' or 'false'


PUT /api/smart_variables/:smart_variable_id/override_values/:id
更新特定智慧變數的覆寫值

PUT /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
更新特定智慧類別參數的覆寫值

參數

參數名字 描述
smart_variable_id
選填

Value:

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

Value:

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

Value:

Must be a Hash

override_value[match]
選填

Override match


Value:

Must be String

override_value[value]
選填

Override value


Value:

Must be String

override_value[use_puppet_default]
選填 , 允許空值

Value:

Must be 'true' or 'false'


DELETE /api/smart_variables/:smart_variable_id/override_values/:id
刪除特定智慧型變數的覆寫值

DELETE /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
刪除特定智慧型類別參數的覆寫值

參數

參數名字 描述
smart_variable_id
選填

Value:

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

Value:

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

id
必填

Value:

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