POST /api/smart_proxies/:id/import_puppetclasses
Import puppet classes from puppet proxy

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
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..

smart_proxy_id
optional

Validations:

  • String

environment_id
optional

Validations:

  • String

dryrun
optional

Validations:

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

except
optional

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

Validations:

  • String


GET /api/smart_proxies
모든 스마트 프록시 나열

Params

Param name Description
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

Search fields

Field name 유형 Possible values
feature string
location string
location_id integer
name string
organization string
organization_id integer
url string

GET /api/smart_proxies/: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/smart_proxies
스마트 프록시 생성

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

smart_proxy
required

Validations:

  • Hash

smart_proxy[name]
required

Validations:

  • String

smart_proxy[url]
required

Validations:

  • String

smart_proxy[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
optional

Download Policy of the capsule, must be one of immediate, on_demand, background, inherit

Validations:

  • String


PUT /api/smart_proxies/:id
스마트 프록시 업데이트

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • String

smart_proxy
required

Validations:

  • Hash

smart_proxy[name]
optional

Validations:

  • String

smart_proxy[url]
optional

Validations:

  • String

smart_proxy[location_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optional , nil allowed

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

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
optional

Download Policy of the capsule, must be one of immediate, on_demand, background, inherit

Validations:

  • String


DELETE /api/smart_proxies/:id
스마트 프록시 삭제

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • String


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

Params

Param name Description
location_id
optional

위치 별 범위

Validations:

  • Integer

organization_id
optional

조직 별 범위

Validations:

  • Integer

id
required

Validations:

  • String