Foreman considers a domain and a DNS zone as the same thing. That is, if you are planning to manage a site where all the machines are or the form hostname.somewhere.com then the domain is somewhere.com. This allows Foreman to associate a puppet variable with a domain/site and automatically append this variable to all external node requests made by machines at that site.


GET /api/domains
도메인 목록

GET /api/subnets/:subnet_id/domains
서브넷 별 도메인 목록

GET /api/locations/:location_id/domains
위치별 도메인 목록

GET /api/organizations/:organization_id/domains
조직별 도메인 목록

Params

Param Name Description
subnet_id
Optional

서브넷 ID


Value:

Must be String

search
Optional

필터 결과


Value:

Must be String

order
Optional

결과 정렬


Value:

Must be String

page
Optional

페이지네이션 결과


Value:

Must be String

per_page
Optional

요청 당 항목 수


Value:

Must be String


GET /api/domains/:id
도메인 표시

Params

Param Name Description
id
Required

숫자로된 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/domains
도메인 생성

The fullname field is used for human readability in reports and other pages that refer to domains, and also available as an external node parameter

Params

Param Name Description
domain
Required

Value:

Must be a Hash

domain[name]
Required

전체 DNS 도메인 이름


Value:

Must be String

domain[fullname]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

도메인 설명


Value:

Must be String

domain[dns_id]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

이 도메인에서 사용할 DNS 프록시


Value:

Must be a number.

domain[domain_parameters_attributes]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

매개 변수 (이름, 값)의 배열


Value:

Must be an array of any type


PUT /api/domains/:id
도메인 업데이트

Params

Param Name Description
id
Required

Value:

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

domain
Required

Value:

Must be a Hash

domain[name]
Optional

전체 DNS 도메인 이름


Value:

Must be String

domain[fullname]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

도메인 설명


Value:

Must be String

domain[dns_id]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

이 도메인에서 사용할 DNS 프록시


Value:

Must be a number.

domain[domain_parameters_attributes]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

매개 변수 (이름, 값)의 배열


Value:

Must be an array of any type


DELETE /api/domains/:id
도메인 삭제

Params

Param Name Description
id
Required

Value:

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