Param Name | Description |
---|---|
host Required |
Value: Must be a Hash |
host[name] Required |
Value: Must be String |
host[environment_id] Optional |
required if host is managed and value is not inherited from host group Value: Must be String |
host[ip] Optional |
若是使用一個含有 DHCP 協定的子網路則不需要 Value: Must be String |
host[mac] Optional |
required for managed host that is bare metal, not required if it's a virtual machine Value: Must be String |
host[architecture_id] Optional |
required if host is managed and value is not inherited from host group Value: Must be a number. |
host[domain_id] Optional |
required if host is managed and value is not inherited from host group Value: Must be a number. |
host[realm_id] Optional |
Value: Must be a number. |
host[puppet_proxy_id] Optional |
Value: Must be a number. |
host[puppet_class_ids] Optional |
Value: Must be an array of any type |
host[operatingsystem_id] Optional |
required if host is managed and value is not inherited from host group Value: Must be String |
host[medium_id] Optional |
required if not imaged based provisioning and host is managed and value is not inherited from host group Value: Must be String |
host[ptable_id] Optional |
required if host is managed and custom partition has not been defined Value: Must be a number. |
host[subnet_id] Optional |
required if host is managed and value is not inherited from host group Value: Must be a number. |
host[compute_resource_id] Optional |
nil means host is bare metal Value: Must be a number. |
host[root_pass] Optional |
required if host is managed and value is not inherited from host group or default password in settings Value: Must be String |
host[model_id] Optional |
Value: Must be a number. |
host[hostgroup_id] Optional |
Value: Must be a number. |
host[owner_id] Optional |
Value: Must be a number. |
host[puppet_ca_proxy_id] Optional |
Value: Must be a number. |
host[image_id] Optional |
Value: Must be a number. |
host[host_parameters_attributes] Optional |
Value: Must be an array of any type |
host[build] Optional |
Value: Must be 'true' or 'false' |
host[enabled] Optional |
Value: Must be 'true' or 'false' |
host[provision_method] Optional |
Value: Must be String |
host[managed] Optional |
True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not Value: Must be 'true' or 'false' |
host[progress_report_id] Optional |
用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks Value: Must be String |
host[comment] Optional |
有關於這部主機的額外資訊 Value: Must be String |
host[capabilities] Optional |
Value: Must be String |
host[compute_profile_id] Optional |
Value: Must be a number. |
host[compute_attributes] Optional |
Value: Must be a Hash |