POST /api/smart_proxies/:id/import_puppetclasses
Importar clases puppet desde el proxy de 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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
opcional

Validations:

  • Must be a String

environment_id
opcional

Validations:

  • Must be a String

dryrun
opcional

Validations:

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

except
opcional

Cadena opcional delimitada por comas, que contiene 'nuevo', 'actualizado' u 'obsoleto', utilizada para limitar las clases Puppet importadas.

Validations:

  • Must be a String


GET /api/smart_proxies
Listar todos los proxis inteligentes

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Orden y campo de clasificación, p. ej., 'id DESC'

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.

Campos de búsqueda

Nombre del campo Tipo Valores posibles
feature
location
location_id
name
organization
organization_id
url

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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_proxy
requerido

Validations:

  • Must be a Hash

smart_proxy[name]
requerido

Validations:

  • Must be a String

smart_proxy[url]
requerido

Validations:

  • Must be a String

smart_proxy[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


PUT /api/smart_proxies/:id
Actualizar un proxy inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String

smart_proxy
requerido

Validations:

  • Must be a Hash

smart_proxy[name]
opcional

Validations:

  • Must be a String

smart_proxy[url]
opcional

Validations:

  • Must be a String

smart_proxy[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


DELETE /api/smart_proxies/:id
Borrar un proxy inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String


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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String