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

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 String

environment_id
Optional

Validations:

  • Must be String

dryrun
Optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

except
Optional

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

Validations:

  • Must be String


GET /api/smart_proxies
List all smart_proxies.

Params

Param Name Description
type
Optional

filter by type

Validations:

  • Must be String

page
Optional

paginer les résultats

Validations:

  • Must be String

per_page
Optional

nombre d’entier par requête

Validations:

  • Must be 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 String

smart_proxy[url]
Required

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String

smart_proxy
Required

Validations:

  • Must be a Hash

smart_proxy[name]
Optional

Validations:

  • Must be String

smart_proxy[url]
Optional

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String