POST /api/smart_proxies/:id/import_puppetclasses
Puppet 프록시에서 Puppet 클래스를 가져옵니다.

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
환경에 대한 Puppet 프록시에서 Puppet 클래스를 가져옵니다

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
환경에 대한 Puppet 프록시에서 Puppet 클래스를 가져옵니다

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.

smart_proxy_id
Optional

Value:

Must be String

environment_id
Optional

Value:

Must be String

dryrun
Optional

Value:

Must be 'true' or 'false'

except
Optional

가져오기한 Puppet 클래스를 제한하는데 사용하는 'new', 'updated', 'obsolete' 중 하나가 포함된 콤마로 구분된 문자열 옵션


Value:

Must be String


GET /api/environments
모든 환경 목록 나열

GET /api/puppetclasses/:puppetclass_id/environments
Puppet 클래스 환경 목록 나열

GET /api/locations/:location_id/environments
위치 별 환경 나열

GET /api/organizations/:organization_id/environments
조직 별 환경 나열

Params

Param Name Description
puppetclass_id
Optional

Puppet 클래스 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/environments/: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.


POST /api/environments
환경 생성

Params

Param Name Description
environment
Required

Value:

Must be a Hash

environment[name]
Required

Value:

Must be String


PUT /api/environments/: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.

environment
Required

Value:

Must be a Hash

environment[name]
Optional

Value:

Must be String


DELETE /api/environments/: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.