Exemples

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"
}

Paramètres

Nom du paramètre Description
host_id
optionel

ID de l’hôte

Validations:

  • Must be a String

hostgroup_id
optionel

ID du groupe d’hôtes

Validations:

  • Must be a String

domain_id
optionel

ID du domaine

Validations:

  • Must be a String

operatingsystem_id
optionel

ID du système d’exploitation

Validations:

  • Must be a String

location_id
optionel

ID d’emplacement

Validations:

  • Must be a String

organization_id
optionel

ID de l’organisation

Validations:

  • Must be a String

id
requis

ID du paramêtre

Validations:

  • Must be a String

subnet_id
optionel

ID du sous-réseau

Validations:

  • Must be a String

parameter
requis

Validations:

  • Must be a Hash

parameter[name]
optionel

Validations:

  • Must be a String

parameter[value]
optionel

Validations:

  • Must be a String

parameter[parameter_type]
optionel

Type de valeur

Validations:

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