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/smart_proxies
List all smart_proxies.

Params

Param Name Description
type
Optional

filter by type

Validations:

  • Must be a String

page
Optional

페이지네이션 결과

Validations:

  • Must be a String

per_page
Optional

요청 당 항목 수

Validations:

  • Must be a String


GET /api/smart_proxies/:id
Show a smart proxy.

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/smart_proxies
Create a smart proxy.

Params

Param Name Description
smart_proxy
Required

Validations:

  • Must be a Hash

smart_proxy[name]
Required

Validations:

  • Must be a String

smart_proxy[url]
Required

Validations:

  • Must be a String


PUT /api/smart_proxies/:id
Update a smart proxy.

Params

Param Name Description
id
Required

Validations:

  • Must be a String

smart_proxy
Required

Validations:

  • Must be a Hash

smart_proxy[name]
Optional

Validations:

  • Must be a String

smart_proxy[url]
Optional

Validations:

  • Must be a String


DELETE /api/smart_proxies/:id
Delete a smart_proxy.

Params

Param Name Description
id
Required

Validations:

  • Must be a String


PUT /api/smart_proxies/:id/refresh
스마트 프록시 기능 새로고침

Params

Param Name Description
id
Required

Validations:

  • Must be a String