GET /api/hostgroups
모든 호스트 그룹 목록 나열

GET /api/puppetclasses/:puppetclass_id/hostgroups
Puppet 클래스의 모든 호스트 그룹 목록 나열

GET /api/locations/:location_id/hostgroups
위치 별 모든 호스트 그룹 나열

GET /api/organizations/:organization_id/hostgroups
조직 별 모든 호스트 그룹 나열

Params

Param name Description
puppetclass_id
optional

Puppet 클래스 ID

Validations:

  • String

location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

search
optional

필터 결과

Validations:

  • String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • String

page
optional

페이지네이션 결과

Validations:

  • String

per_page
optional

요청 당 항목 수

Validations:

  • String

include
optional

Array of extra information types to include

Validations:

  • Must be an array of [“parameters”]

Search fields

Field name 유형 Possible values
architecture string
class string
config_group string
content_source string
content_view string
environment string
host string
id integer
label string
lifecycle_environment string
location string
location_id integer
medium string
name string
organization string
organization_id integer
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
params text
template string
title string

GET /api/hostgroups/:id
호스트 그룹 표시

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

show_hidden_parameters
optional

Display hidden parameter values

Validations:

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


POST /api/hostgroups
호스트 그룹 생성

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

hostgroup
required

Validations:

  • Hash

hostgroup[name]
required

호스트 그룹의 이름

Validations:

  • String

hostgroup[description]
optional , nil allowed

Host group description

Validations:

  • String

hostgroup[parent_id]
optional , nil allowed

호스트 그룹의 부모 ID

Validations:

  • Must be a number.

hostgroup[environment_id]
optional , nil allowed

환경 ID

Validations:

  • Must be a number.

hostgroup[compute_profile_id]
optional , nil allowed

컴퓨터 프로파일 ID

Validations:

  • Must be a number.

hostgroup[compute_resource_id]
optional , nil allowed

Compute resource ID

Validations:

  • Must be a number.

hostgroup[operatingsystem_id]
optional , nil allowed

운영 체제 ID

Validations:

  • Must be a number.

hostgroup[architecture_id]
optional , nil allowed

아키텍처 ID

Validations:

  • Must be a number.

hostgroup[pxe_loader]
optional , nil allowed

DHCP filename option (Grub2/PXELinux by default)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 UEFI, Grub2 UEFI SecureBoot.

hostgroup[medium_id]
optional , nil allowed

미디어 ID

Validations:

  • Must be a number.

hostgroup[ptable_id]
optional , nil allowed

파티션 테이블 ID

Validations:

  • Must be a number.

hostgroup[subnet_id]
optional , nil allowed

서브넷 ID

Validations:

  • Must be a number.

hostgroup[domain_id]
optional , nil allowed

도메인 ID

Validations:

  • Must be a number.

hostgroup[realm_id]
optional , nil allowed

영역 ID

Validations:

  • Must be a number.

hostgroup[config_group_ids]
optional , nil allowed

IDs of associated config groups

Validations:

  • Must be an array of any type

hostgroup[group_parameters_attributes]
optional , nil allowed

Array of parameters

Validations:

  • Must be an Array of nested elements

hostgroup[group_parameters_attributes][name]
required

매개 변수의 이름

Validations:

  • String

hostgroup[group_parameters_attributes][value]
required

매개 변수 값

Validations:

  • String

hostgroup[puppet_proxy_id]
optional , nil allowed

Puppet 프록시 ID

Validations:

  • Must be a number.

hostgroup[puppet_ca_proxy_id]
optional , nil allowed

Puppet CA 프록시 ID

Validations:

  • Must be a number.

hostgroup[root_pass]
optional , nil allowed

프로비저닝된 호스트의 root 암호

Validations:

  • String

hostgroup[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

hostgroup[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

hostgroup[content_source_id]
optional

Content source ID

Validations:

  • Must be a number.

hostgroup[content_view_id]
optional

Content view ID

Validations:

  • Must be a number.

hostgroup[lifecycle_environment_id]
optional

Lifecycle environment ID

Validations:

  • Must be a number.

hostgroup[kickstart_repository_id]
optional

Kickstart repository ID

Validations:

  • Must be a number.


PUT /api/hostgroups/:id
호스트 그룹 업데이트

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

hostgroup
required

Validations:

  • Hash

hostgroup[name]
optional

호스트 그룹의 이름

Validations:

  • String

hostgroup[description]
optional , nil allowed

Host group description

Validations:

  • String

hostgroup[parent_id]
optional , nil allowed

호스트 그룹의 부모 ID

Validations:

  • Must be a number.

hostgroup[environment_id]
optional , nil allowed

환경 ID

Validations:

  • Must be a number.

hostgroup[compute_profile_id]
optional , nil allowed

컴퓨터 프로파일 ID

Validations:

  • Must be a number.

hostgroup[compute_resource_id]
optional , nil allowed

Compute resource ID

Validations:

  • Must be a number.

hostgroup[operatingsystem_id]
optional , nil allowed

운영 체제 ID

Validations:

  • Must be a number.

hostgroup[architecture_id]
optional , nil allowed

아키텍처 ID

Validations:

  • Must be a number.

hostgroup[pxe_loader]
optional , nil allowed

DHCP filename option (Grub2/PXELinux by default)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 UEFI, Grub2 UEFI SecureBoot.

hostgroup[medium_id]
optional , nil allowed

미디어 ID

Validations:

  • Must be a number.

hostgroup[ptable_id]
optional , nil allowed

파티션 테이블 ID

Validations:

  • Must be a number.

hostgroup[subnet_id]
optional , nil allowed

서브넷 ID

Validations:

  • Must be a number.

hostgroup[domain_id]
optional , nil allowed

도메인 ID

Validations:

  • Must be a number.

hostgroup[realm_id]
optional , nil allowed

영역 ID

Validations:

  • Must be a number.

hostgroup[config_group_ids]
optional , nil allowed

IDs of associated config groups

Validations:

  • Must be an array of any type

hostgroup[group_parameters_attributes]
optional , nil allowed

Array of parameters

Validations:

  • Must be an Array of nested elements

hostgroup[group_parameters_attributes][name]
optional

매개 변수의 이름

Validations:

  • String

hostgroup[group_parameters_attributes][value]
optional

매개 변수 값

Validations:

  • String

hostgroup[puppet_proxy_id]
optional , nil allowed

Puppet 프록시 ID

Validations:

  • Must be a number.

hostgroup[puppet_ca_proxy_id]
optional , nil allowed

Puppet CA 프록시 ID

Validations:

  • Must be a number.

hostgroup[root_pass]
optional , nil allowed

프로비저닝된 호스트의 root 암호

Validations:

  • String

hostgroup[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

hostgroup[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

hostgroup[content_source_id]
optional

Content source ID

Validations:

  • Must be a number.

hostgroup[content_view_id]
optional

Content view ID

Validations:

  • Must be a number.

hostgroup[lifecycle_environment_id]
optional

Lifecycle environment ID

Validations:

  • Must be a number.

hostgroup[kickstart_repository_id]
optional

Kickstart repository ID

Validations:

  • Must be a number.


DELETE /api/hostgroups/:id
호스트 그룹 삭제

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


POST /api/hostgroups/:id/clone
호스트 그룹 복제

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

name
required

Validations:

  • String


PUT /api/hostgroups/:id/rebuild_config
오케스트레이션 구성 다시 빌드

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

only
optional

Limit rebuild steps, valid steps are DHCP, DNS, TFTP

Validations:

  • Must be an array of any type

children_hosts
optional

Operate on child hostgroup hosts

Validations:

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