Exemples

PUT /api/config_templates/269958254/template_combinations/298486374
{
  "template_combination": {
    "environment_id": 687036937,
    "hostgroup_id": 636252244
  }
}
200
{
  "created_at": "2019-11-07 08:45:45 UTC",
  "updated_at": "2019-11-07 08:45:46 UTC",
  "id": 298486374,
  "provisioning_template_id": 269958254,
  "provisioning_template_name": "MyString2",
  "hostgroup_id": 636252244,
  "hostgroup_name": "Common",
  "environment_id": 687036937,
  "environment_name": "testing",
  "config_template_id": 269958254,
  "config_template_name": "MyString2"
}

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

config_template_id
optionel

ID du modèle de configuration

Validations:

  • Must be a String

provisioning_template_id
optionel

ID du modèle de configuration

Validations:

  • Must be a String

hostgroup_id
optionel

ID du groupe d’hôtes

Validations:

  • Must be a String

environment_id
optionel

ID de l’environnement

Validations:

  • Must be a String

template_combination
requis

Validations:

  • Must be a Hash

template_combination[environment_id]
optionel , nil autorisé

id de l’environnement

Validations:

  • Must be a number.

template_combination[hostgroup_id]
optionel , nil autorisé

Id du groupe d’hôtes

Validations:

  • Must be a number.