Ejemplos

PUT /api/subnets/1018350795-five/parameters/297943576-parameter
{
  "parameter": {
    "name": "special_key",
    "value": "123"
  }
}
200
{
  "priority": null,
  "created_at": "2019-11-07 09:09:56 UTC",
  "updated_at": "2019-11-07 09:09:59 UTC",
  "id": 297943576,
  "name": "special_key",
  "parameter_type": "string",
  "value": "123"
}

Parámetros

Nombre del parámetro Descripción
host_id
opcional

ID del host

Validations:

  • Must be a String

hostgroup_id
opcional

ID del grupo de hosts

Validations:

  • Must be a String

domain_id
opcional

ID del dominio

Validations:

  • Must be a String

operatingsystem_id
opcional

ID del sistema operativo

Validations:

  • Must be a String

location_id
opcional

ID de la ubicación

Validations:

  • Must be a String

organization_id
opcional

ID de la organización

Validations:

  • Must be a String

id
requerido

ID del parámetro

Validations:

  • Must be a String

subnet_id
opcional

ID de la subred

Validations:

  • Must be a String

parameter
requerido

Validations:

  • Must be a Hash

parameter[name]
opcional

Validations:

  • Must be a String

parameter[value]
opcional

Validations:

  • Must be a String

parameter[parameter_type]
opcional

Type of value

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.