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


Value: Must be String

GET /api/smart_proxies
List all smart_proxies.

Params

Param Name Description
type
Optional

filter by type


Value: Must be String
page
Optional

разместить результат на нескольких страницах


Value: Must be String
per_page
Optional

количество записей на запрос


Value: Must be String

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

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

Params

Param Name Description
smart_proxy
Required

Value: Must be a Hash
smart_proxy[name]
Required

Value: Must be String
smart_proxy[url]
Required

Value: Must be String

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

Params

Param Name Description
id
Required

Value: Must be String
smart_proxy
Required

Value: Must be a Hash
smart_proxy[name]
Optional

Value: Must be String
smart_proxy[url]
Optional

Value: Must be String

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

Params

Param Name Description
id
Required

Value: Must be String

PUT /api/smart_proxies/:id/refresh
Обновить возможности капсуля

Params

Param Name Description
id
Required

Value: Must be String