POST /api/smart_proxies/:id/import_puppetclasses
Import des classes Puppet depuis un proxy Puppet

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Import des classes puppet depuis le proxy puppet d'un environnement

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Import des classes puppet depuis le proxy puppet d'un environnement

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

Optionnel : liste de mots séparées par des virgules parmi 'new, updated, obsolete' utilisée pour limiter les classes Puppet importées


Value:

Must be String


GET /api/smart_proxies
Lister tous les smart proxies

Params

Param Name Description
search
Optional

filtrer les résultats


Value:

Must be String

order
Optional

trier les resultats


Value:

Must be String

page
Optional

paginer les resultats


Value:

Must be String

per_page
Optional

nombre d'entier par requête


Value:

Must be String


GET /api/smart_proxies/:id
Afficher un 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
Créer un 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
Mise à jour d'un 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
Supprimer un smart proxy

Params

Param Name Description
id
Required

Value:

Must be String


PUT /api/smart_proxies/:id/refresh
Rafraichir les fonctions smart proxy

Params

Param Name Description
id
Required

Value:

Must be String