GET /api/hosts/:host_id/puppetclass_ids
列出主机的所有 Puppet 类别

参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hosts/:host_id/puppetclass_ids
在主机中添加 Puppet 类别

参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
必填

主机 ID

Validations:

  • Must be a String

puppetclass_id
必填

Puppet 类别 ID

Validations:

  • Must be a String


DELETE /api/hosts/:host_id/puppetclass_ids/:id
删除主机的 Puppet 类别

参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
必填

主机 ID

Validations:

  • Must be a String

id
必填

Puppet 类别 ID

Validations:

  • Must be a String