PUT /foreman_virt_who_configure/api/configs/23
{
"foreman_virt_who_configure_config": {
"name": "updated",
"interval": 240,
"hypervisor_password": "new_pass"
},
"config": {}
}
200
{
"name": "updated",
"interval": 240,
"organization_id": 447626462,
"whitelist": null,
"blacklist": null,
"hypervisor_id": "hostname",
"hypervisor_type": "esx",
"hypervisor_server": "vmware.example.com",
"hypervisor_username": "root",
"debug": false,
"satellite_url": "foreman.example.com",
"no_proxy": null,
"status": "ok",
"last_report_at": "2024-05-23 19:43:52 UTC",
"out_of_date_at": "2024-05-23 21:43:52 UTC",
"filter_host_parents": null,
"exclude_host_parents": null,
"kubeconfig_path": null,
"prism_flavor": null,
"ahv_internal_debug": null,
"filtering_mode": 0,
"id": 23,
"http_proxy": null
}
| Param name | Description |
|---|---|
|
location_id
optional |
Set the current location context for the request Validations:
|
|
organization_id
optional |
Set the current organization context for the request Validations:
|
|
id
required |
Configuration numeric identifier Validations:
|
|
foreman_virt_who_configure_config
required |
Validations:
|
|
foreman_virt_who_configure_config[name]
optional |
Configuration name Validations:
|
|
foreman_virt_who_configure_config[interval]
optional |
Configuration interval in minutes Validations:
|
|
foreman_virt_who_configure_config[filtering_mode]
optional |
Hypervisor filtering mode, 0 means no filtering, 1 means whitelist, 2 means blacklist Validations:
|
|
foreman_virt_who_configure_config[whitelist]
optional , nil allowed |
Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards and regular expressions are supported, multiple records must be separated by comma. Validations:
|
|
foreman_virt_who_configure_config[blacklist]
optional , nil allowed |
Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards and regular expressions are supported, multiple records must be separated by comma. Validations:
|
|
foreman_virt_who_configure_config[filter_host_parents]
optional , nil allowed |
Applicable only for esx provider type. Only hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. Validations:
|
|
foreman_virt_who_configure_config[exclude_host_parents]
optional , nil allowed |
Applicable only for esx provider type. Hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will NOT be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. Validations:
|
|
foreman_virt_who_configure_config[hypervisor_id]
optional |
Specifies how the hypervisor will be identified. Validations:
|
|
foreman_virt_who_configure_config[hypervisor_type]
optional |
Hypervisor type Validations:
|
|
foreman_virt_who_configure_config[hypervisor_server]
optional , nil allowed |
Fully qualified host name or IP address of the hypervisor Validations:
|
|
foreman_virt_who_configure_config[hypervisor_username]
optional , nil allowed |
Account name by which virt-who is to connect to the hypervisor. Validations:
|
|
foreman_virt_who_configure_config[hypervisor_password]
optional , nil allowed |
Hypervisor password, required for all hypervisor types except for libvirt/kubevirt. Validations:
|
|
foreman_virt_who_configure_config[satellite_url]
optional |
Foreman server FQDN Validations:
|
|
foreman_virt_who_configure_config[debug]
optional , nil allowed |
Enable debugging output Validations:
|
|
foreman_virt_who_configure_config[kubeconfig_path]
optional , nil allowed |
Configuration file containing details about how to connect to the cluster and authentication details. Validations:
|
|
foreman_virt_who_configure_config[http_proxy_id]
optional , nil allowed |
HTTP proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers. Validations:
|
|
foreman_virt_who_configure_config[no_proxy]
optional , nil allowed |
Ignore proxy. A comma-separated list of hostnames or domains or ip addresses to ignore proxy settings for. Optionally this may be set to * to bypass proxy settings for all hostnames domains or ip addresses. Validations:
|
|
foreman_virt_who_configure_config[organization_id]
optional |
Organization of the virt-who configuration Validations:
|
|
foreman_virt_who_configure_config[prism_flavor]
optional , nil allowed |
Select the Prism flavor you are connecting to Validations:
|
|
foreman_virt_who_configure_config[ahv_internal_debug]
optional , nil allowed |
Option Enable debugging output is required to enable AHV internal debug. It provides extra AHV debug information when both options are enabled Validations:
|