GET /api/hostgroups/:hostgroup_id/puppetclass_ids
Elenca tutti gli ID delle classi puppet per il gruppo di host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hostgroups/:hostgroup_id/puppetclass_ids
Aggiungi una classe Puppet al gruppo di host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
richiesto

ID gruppo di host

Validations:

  • Must be a String

puppetclass_id
richiesto

ID della classe del puppet

Validations:

  • Must be a String


DELETE /api/hostgroups/:hostgroup_id/puppetclass_ids/:id
Rimuovi una classe Puppet dal gruppo di host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
richiesto

ID gruppo di host

Validations:

  • Must be a String

id
richiesto

ID della classe del puppet

Validations:

  • Must be a String