POST /foreman_virt_who_configure/api/configs { "foreman_virt_who_configure_config": { "name": "my new config", "filtering_mode": 0, "hypervisor_id": "uuid", "hypervisor_type": "kubevirt", "satellite_url": "foreman.example.com", "organization_id": 447626466 }, "config": {} } 422 { "error": { "id": null, "errors": { "kubeconfig_path": [ "can't be blank" ] }, "full_messages": [ "Kubeconfig path can't be blank" ] } }
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:
|
foreman_virt_who_configure_config
required |
Validations:
|
foreman_virt_who_configure_config[name]
required |
Configuration name Validations:
|
foreman_virt_who_configure_config[interval]
required |
Configuration interval in minutes Validations:
|
foreman_virt_who_configure_config[filtering_mode]
required |
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]
required |
Specifies how the hypervisor will be identified. Validations:
|
foreman_virt_who_configure_config[hypervisor_type]
required |
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]
required |
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]
required |
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:
|