參數名字 | 描述 |
---|---|
host 必填 |
Validations:
|
host[name] 必填 |
Validations:
|
host[location_id] 必填 |
required if locations are enabled Validations:
|
host[organization_id] 必填 |
required if organizations are enabled Validations:
|
host[environment_id] 選填 |
required if host is managed and value is not inherited from host group Validations:
|
host[ip] 選填 |
若是使用一個含有 DHCP 協定的子網路則不需要 Validations:
|
host[mac] 選填 |
required for managed host that is bare metal, not required if it's a virtual machine Validations:
|
host[architecture_id] 選填 |
required if host is managed and value is not inherited from host group Validations:
|
host[domain_id] 選填 |
required if host is managed and value is not inherited from host group Validations:
|
host[realm_id] 選填 |
Validations:
|
host[puppet_proxy_id] 選填 |
Validations:
|
host[puppetclass_ids] 選填 |
Validations:
|
host[operatingsystem_id] 選填 |
required if host is managed and value is not inherited from host group Validations:
|
host[medium_id] 選填 |
required if not imaged based provisioning and host is managed and value is not inherited from host group Validations:
|
host[ptable_id] 選填 |
required if host is managed and custom partition has not been defined Validations:
|
host[subnet_id] 選填 |
required if host is managed and value is not inherited from host group Validations:
|
host[compute_resource_id] 選填 |
nil means host is bare metal Validations:
|
host[root_pass] 選填 |
required if host is managed and value is not inherited from host group or default password in settings Validations:
|
host[model_id] 選填 |
Validations:
|
host[hostgroup_id] 選填 |
Validations:
|
host[owner_id] 選填 |
Validations:
|
host[puppet_ca_proxy_id] 選填 |
Validations:
|
host[image_id] 選填 |
Validations:
|
host[host_parameters_attributes] 選填 |
Host's parameters (array or indexed hash) Validations:
|
host[host_parameters_attributes][name] 必填 |
Name of the parameter Validations:
|
host[host_parameters_attributes][value] 必填 |
Parameter value Validations:
|
host[build] 選填 |
Validations:
|
host[enabled] 選填 |
Validations:
|
host[provision_method] 選填 |
Validations:
|
host[managed] 選填 |
True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not Validations:
|
host[progress_report_id] 選填 |
用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks Validations:
|
host[comment] 選填 |
有關於這部主機的額外資訊 Validations:
|
host[capabilities] 選填 |
Validations:
|
host[compute_profile_id] 選填 |
Validations:
|
host[compute_attributes] 選填 |
Validations:
|