GET /api/provisioning_templates
프로비저닝 템플릿 목록 나열

GET /api/operatingsystems/:operatingsystem_id/provisioning_templates
운영 체제 별 프로비저닝 템플릿 목록 나열

GET /api/locations/:location_id/provisioning_templates
위치별 프로비저닝 템플릿 목록 나열

GET /api/organizations/:organization_id/provisioning_templates
조직 별 프로비저닝 템플릿 목록 나열

Params

Param name Description
operatingsystem_id
optional

운영 체제 ID

Validations:

  • Must be a String

location_id
optional

위치 별 범위

Validations:

  • Must be a Integer

organization_id
optional

조직 별 범위

Validations:

  • Must be a Integer

search
optional

필터 결과

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

1 부터 페이지 번호

Validations:

  • Must be a number.

per_page
optional

반환할 페이지 당 결과 수

Validations:

  • Must be a number.

Search fields

Field name 유형 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

GET /api/provisioning_templates/:id
프로비저닝 템플릿 상세 정보 표시

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • 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/provisioning_templates
프로비저닝 템플릿 생성

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

provisioning_template
required

Validations:

  • Must be a Hash

provisioning_template[name]
required

템플릿 이름

Validations:

  • Must be a String

provisioning_template[description]
optional , nil allowed

Validations:

  • Must be a String

provisioning_template[template]
required

Validations:

  • Must be a String

provisioning_template[snippet]
optional , nil allowed

Validations:

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

provisioning_template[audit_comment]
optional , nil allowed

Validations:

  • Must be a String

provisioning_template[template_kind_id]
optional , nil allowed

조각 모음과 관련이 없습니다

Validations:

  • Must be a number.

provisioning_template[template_combinations_attributes]
optional , nil allowed

템플릿 조합 (hostgroup_id, environment_id)의 배열

Validations:

  • Must be an array of any type

provisioning_template[operatingsystem_ids]
optional , nil allowed

템플릿에 연결할 운영체제 ID 배열

Validations:

  • Must be an array of any type

provisioning_template[locked]
optional , nil allowed

편집을 위한 템플릿의 잠금 여부

Validations:

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

provisioning_template[location_ids]
optional , nil allowed

지정된 ID로 위치를 변경합니다

Validations:

  • Must be an array of any type

provisioning_template[organization_ids]
optional , nil allowed

지정된 ID로 조직을 변경합니다

Validations:

  • Must be an array of any type


POST /api/provisioning_templates/import
Import a provisioning template

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

provisioning_template
required

Validations:

  • Must be a Hash

provisioning_template[name]
optional

템플릿 이름

Validations:

  • Must be a String

provisioning_template[template]
optional

template contents including metadata

Validations:

  • Must be a String

provisioning_template[location_ids]
optional , nil allowed

지정된 ID로 위치를 변경합니다

Validations:

  • Must be an array of any type

provisioning_template[organization_ids]
optional , nil allowed

지정된 ID로 조직을 변경합니다

Validations:

  • Must be an array of any type

options
optional

Validations:

  • Must be a Hash

options[force]
optional , nil allowed

use if you want update locked templates

Validations:

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

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:

  • Must be one of: new, always, never.

options[lock]
optional , nil allowed

lock imported templates (false by default)

Validations:

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

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:

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


PUT /api/provisioning_templates/:id
프로비저닝 템플릿 업데이트

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

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

provisioning_template
required

Validations:

  • Must be a Hash

provisioning_template[name]
optional

템플릿 이름

Validations:

  • Must be a String

provisioning_template[description]
optional , nil allowed

Validations:

  • Must be a String

provisioning_template[template]
optional

Validations:

  • Must be a String

provisioning_template[snippet]
optional , nil allowed

Validations:

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

provisioning_template[audit_comment]
optional , nil allowed

Validations:

  • Must be a String

provisioning_template[template_kind_id]
optional , nil allowed

조각 모음과 관련이 없습니다

Validations:

  • Must be a number.

provisioning_template[template_combinations_attributes]
optional , nil allowed

템플릿 조합 (hostgroup_id, environment_id)의 배열

Validations:

  • Must be an array of any type

provisioning_template[operatingsystem_ids]
optional , nil allowed

템플릿에 연결할 운영체제 ID 배열

Validations:

  • Must be an array of any type

provisioning_template[locked]
optional , nil allowed

편집을 위한 템플릿의 잠금 여부

Validations:

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

provisioning_template[location_ids]
optional , nil allowed

지정된 ID로 위치를 변경합니다

Validations:

  • Must be an array of any type

provisioning_template[organization_ids]
optional , nil allowed

지정된 ID로 조직을 변경합니다

Validations:

  • Must be an array of any type


GET /api/provisioning_templates/revision

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

version
optional

템플릿 버전

Validations:

  • Must be a String


DELETE /api/provisioning_templates/:id
프로비저닝 템플릿 삭제

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • 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/provisioning_templates/build_pxe_default
설정된 모든 TFTP 서버에 있는 기본 PXE 메뉴 업데이트

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/provisioning_templates/:id/clone
프로비저닝 템플릿 복제

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

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

provisioning_template
required

Validations:

  • Must be a Hash

provisioning_template[name]
required

템플릿 이름

Validations:

  • Must be a String


GET /api/provisioning_templates/:id/export
Export a provisioning template to ERB

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

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