GET /api/v2/discovered_hosts
すべての検出されたホストを一覧表示

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

search
任意

結果のフィルター

Validations:

  • Must be a String

order
任意

結果のソート

Validations:

  • Must be a String

page
任意

結果のページネーション

Validations:

  • Must be a String

per_page
任意

要求ごとのエントリー数

Validations:

  • Must be a String


GET /api/v2/discovered_hosts/:id
検出されたホストの表示

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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


POST /api/v2/discovered_hosts
(新規ホストを作成するための使用 /ファクト) をテストするために検出ホストを作成

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

discovered_host
任意 , nil可

Validations:

  • Must be a Hash

discovered_host[name]
必須

Validations:

  • Must be a String

discovered_host[ip]
必須

Validations:

  • Must be a String

discovered_host[mac]
必須

Validations:

  • Must be a String

discovered_host[pxe_loader]
任意 , nil可

DHCP ファイル名オプション (デフォルトでは Grub2 または PXELinux)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 UEFI, Grub2 UEFI SecureBoot.


PUT /api/v2/discovered_hosts/:id
検出されたホストのプロビジョニング

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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

discovered_host
任意 , nil可

Validations:

  • Must be a Hash

discovered_host[name]
任意 , nil可

Validations:

  • Must be a String

discovered_host[environment_id]
任意 , nil可

Validations:

  • Must be a String

discovered_host[ip]
任意 , nil可

DHCP プロキシーを使用するサブネットを使用する場合は不要です

Validations:

  • Must be a String

discovered_host[mac]
任意 , nil可

仮想マシンの場合は不要です

Validations:

  • Must be a String

discovered_host[architecture_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[domain_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[puppet_proxy_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[puppet_class_ids]
任意 , nil可

Validations:

  • Must be an array of any type

discovered_host[operatingsystem_id]
任意 , nil可

Validations:

  • Must be a String

discovered_host[medium_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[ptable_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[subnet_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[sp_subnet_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[model_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[hostgroup_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[owner_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[puppet_ca_proxy_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[image_id]
任意 , nil可

Validations:

  • Must be a number.

discovered_host[host_parameters_attributes]
任意 , nil可

Validations:

  • Must be an array of any type

discovered_host[build]
任意 , nil可

Validations:

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

discovered_host[enabled]
任意 , nil可

Validations:

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

discovered_host[provision_method]
任意 , nil可

Validations:

  • Must be a String

discovered_host[managed]
任意 , nil可

Validations:

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

discovered_host[progress_report_id]
任意 , nil可

オーケストレーションタスクの状態を追跡するための UUID。GET /api/orchestration/:UUID/tasks

Validations:

  • Must be a String

discovered_host[capabilities]
任意 , nil可

Validations:

  • Must be a String

discovered_host[root_pass]
任意 , nil可

値がホストグループから継承されていないか、または設定済みのデフォルトパスワードである場合に必須です。

Validations:

  • Must be a String

discovered_host[pxe_loader]
任意 , nil可

DHCP ファイル名オプション (デフォルトでは Grub2 または PXELinux)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 UEFI, Grub2 UEFI SecureBoot.


DELETE /api/v2/discovered_hosts/:id
検出されたホストの削除

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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


POST /api/v2/discovered_hosts/facts
ホストのファクトをアップロードし、必要な場合はホストを作成します

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

facts
必須

ファクトの最小セットが設定されたホストのファクトを含むハッシュ : discovery_bootif、macaddress_eth0、ipaddress、ipaddress_eth0、 interfaces: eth0 (プライマリーインターフェースの名前が eth0 の場合の例)

Validations:

  • Must be a Hash


POST /api/v2/discovered_hosts/:id/auto_provision
検出されたホストに対するルールの実行

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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


POST /api/v2/discovered_hosts/auto_provision_all
現在検出されているすべてのホストに対するルールの実行

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer


PUT /api/v2/discovered_hosts/:id/refresh_facts
検出されたホストのファクトの更新中

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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


PUT /api/v2/discovered_hosts/:id/reboot
検出されたホストの再起動中

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

id
必須

Validations:

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


PUT /api/v2/discovered_hosts/reboot_all
すべての検出されたホストの再起動中

パラメーター

パラメーター名 記述
location_id
任意

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer