POST /api/smart_proxies/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet.

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet de un entorno

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet de un entorno

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

Cadena opcional, limitada por comas, que no contiene ‘new’ - nuevo, ‘updated’- actualizado’ u ‘obsolete’ - obsoleto, que se usa para limitar las clases Puppet que se importan


Value: Must be String

GET /api/smart_proxies
Enumera todos los proxies inteligentes

Params

Param Name Description
search
Optional

filtrar resultados


Value: Must be String
order
Optional

ordenar resultados


Value: Must be String
page
Optional

paginar resultados


Value: Must be String
per_page
Optional

número de entradas por petición


Value: Must be String

GET /api/smart_proxies/:id
Mostrar un proxy inteligente

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
Crear un proxy inteligente

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
Actualizar un proxy inteligente

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
Borrar un proxy inteligente

Params

Param Name Description
id
Required

Value: Must be String

PUT /api/smart_proxies/:id/refresh
Refresca las funcionalidades del Proxy inteligente

Params

Param Name Description
id
Required

Value: Must be String