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

Validations:

  • 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

Validations:

  • Must be a String

environment_id
optional

Validations:

  • Must be a String

dryrun
optional

Validations:

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

except
optional

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

Validations:

  • Must be a 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

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/environments/: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/environments
환경 생성

Params

Param name Description
environment
required

Validations:

  • Must be a Hash

environment[name]
required

Validations:

  • Must be a String

environment[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

environment[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type


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

environment
required

Validations:

  • Must be a Hash

environment[name]
optional

Validations:

  • Must be a String

environment[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

environment[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type


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