GET /api/ptables
모든 파티션 테이블 목록 나열

GET /api/operatingsystems/:operatingsystem_id/ptables
운영 체제의 모든 파티션 테이블 목록 나열

GET /api/locations/:location_id/ptables
위치별 모든 파티션 테이블 나열

GET /api/organizations/:organization_id/ptables
조직별 모든 파티션 테이블 나열

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

결과 정렬

Validations:

  • Must be a String

page
optional

페이지네이션 결과

Validations:

  • Must be a String

per_page
optional

요청 당 항목 수

Validations:

  • Must be a String


GET /api/ptables/:id
파티션 테이블 표시

Params

Param name Description
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/ptables
파티션 테이블 생성

Params

Param name Description
ptable
required

Validations:

  • Must be a Hash

ptable[name]
required

Validations:

  • Must be a String

ptable[layout]
required

Validations:

  • Must be a String

ptable[snippet]
optional , nil allowed

Validations:

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

ptable[audit_comment]
optional , nil allowed

Validations:

  • Must be a String

ptable[locked]
optional , nil allowed

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

Validations:

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

ptable[os_family]
optional , nil allowed

Validations:

  • Must be a String

ptable[operatingsystem_ids]
optional , nil allowed

파티션 테이블에 연결할 운영 체제 ID 배열

Validations:

  • Must be an array of any type

ptable[host_ids]
optional , nil allowed

파티션 테이블에 연결할 호스트 ID 배열

Validations:

  • Must be an array of any type

ptable[hostgroup_ids]
optional , nil allowed

파티션 테이블에 연결할 호스트 그룹 ID 배열

Validations:

  • Must be an array of any type

ptable[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

ptable[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type


GET /api/ptables/revision

Params

Param name Description
version
optional

템플릿 버전

Validations:

  • Must be a String


PUT /api/ptables/:id
파티션 테이블 업데이트

Params

Param name Description
id
required

Validations:

  • Must be a String

ptable
required

Validations:

  • Must be a Hash

ptable[name]
optional

Validations:

  • Must be a String

ptable[layout]
optional

Validations:

  • Must be a String

ptable[snippet]
optional , nil allowed

Validations:

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

ptable[audit_comment]
optional , nil allowed

Validations:

  • Must be a String

ptable[locked]
optional , nil allowed

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

Validations:

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

ptable[os_family]
optional , nil allowed

Validations:

  • Must be a String

ptable[operatingsystem_ids]
optional , nil allowed

파티션 테이블에 연결할 운영 체제 ID 배열

Validations:

  • Must be an array of any type

ptable[host_ids]
optional , nil allowed

파티션 테이블에 연결할 호스트 ID 배열

Validations:

  • Must be an array of any type

ptable[hostgroup_ids]
optional , nil allowed

파티션 테이블에 연결할 호스트 그룹 ID 배열

Validations:

  • Must be an array of any type

ptable[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

ptable[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type


DELETE /api/ptables/:id
파티션 테이블 삭제

Params

Param name Description
id
required

Validations:

  • Must be a String


POST /api/ptables/:id/clone
템플릿 복제

Params

Param name Description
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.

ptable
required

Validations:

  • Must be a Hash

ptable[name]
required

템플릿 이름

Validations:

  • Must be a String


GET /api/ptables/:id/export
Export a partition template to ERB

Params

Param name Description
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.