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

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Importa le classi del puppet dal puppet proxy per un ambiente

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Importa le classi del puppet dal puppet proxy per un ambiente

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

smart_proxy_id
opzionale

Validations:

  • String

environment_id
opzionale

Validations:

  • String

dryrun
opzionale

Validations:

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

except
opzionale

Testo opzionale delimitato da virgole contenente 'new', 'updated' o 'obsolete' usati per limitare le classi dei puppet importati

Validations:

  • String


GET /api/smart_proxies
Elenca tutti gli smart proxies

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

search
opzionale

filtra i risultati

Validations:

  • String

order
opzionale

Sort field and order, eg. ‘id DESC’

Validations:

  • String

page
opzionale

paginazione risultati

Validations:

  • String

per_page
opzionale

numero di voci per richiesta

Validations:

  • String

Search fields

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

GET /api/smart_proxies/:id
Mostra uno smart proxy

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


POST /api/smart_proxies
Crea uno smart proxy

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

smart_proxy
richiesto

Validations:

  • Hash

smart_proxy[name]
richiesto

Validations:

  • String

smart_proxy[url]
richiesto

Validations:

  • String

smart_proxy[location_ids]
opzionale , consentito nil

SOSTITUIRE le posizioni con gli id dati

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
opzionale , consentito nil

SOSTITUIRE le organizzazioni con gli id dati

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
opzionale

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

Validations:

  • String


PUT /api/smart_proxies/:id
Aggiorna uno smart proxy

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

Validations:

  • String

smart_proxy
richiesto

Validations:

  • Hash

smart_proxy[name]
opzionale

Validations:

  • String

smart_proxy[url]
opzionale

Validations:

  • String

smart_proxy[location_ids]
opzionale , consentito nil

SOSTITUIRE le posizioni con gli id dati

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
opzionale , consentito nil

SOSTITUIRE le organizzazioni con gli id dati

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
opzionale

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

Validations:

  • String


DELETE /api/smart_proxies/:id
Cancella uno smart proxy

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

Validations:

  • String


PUT /api/smart_proxies/:id/refresh
Aggiorna funzionalità smart proxy

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

Validations:

  • String