パラメーター

パラメーター名 記述
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

discovery_rule
任意 , nil可

Validations:

  • Must be a Hash

discovery_rule[name]
必須

ユーザーに表示されるルール名の表示

Validations:

  • Must be a String

discovery_rule[search]
必須

特定ルールの検出されたホストに一致するクエリー

Validations:

  • Must be a String

discovery_rule[hostgroup_id]
必須

ホストの自動プロビジョニングに使用されるホストグループ

Validations:

  • Must be a Integer

discovery_rule[hostname]
任意 , nil可

人が判読できるホスト名を一致するホストに割り当てるパターンの定義

Validations:

  • Must be a String

discovery_rule[max_count]
任意 , nil可

ルール別のプロビジョニングされたホストの最大数の制限を許可

Validations:

  • Must be a Integer

discovery_rule[priority]
任意 , nil可

ルールを低い数字の順に配置。ゼロより大きい値である必要があります。

Validations:

  • Must be a Integer

discovery_rule[enabled]
任意 , nil可

フラグはルールの一時的な停止に使用されます

Validations:

  • Must be one of: true, false, 1, 0.

discovery_rule[location_ids]
必須

プロビジョニングされたホストのロケーション ID

Validations:

  • Must be an array of any type

discovery_rule[organization_ids]
必須

プロビジョニングされたホストの組織 ID

Validations:

  • Must be an array of any type