POST /api/hosts/subscriptions { "lifecycle_environment_id": 562075838, "content_view_id": 30237652, "facts": { "network.hostname": "host172" }, "installed_products": [ { "product_id": "1", "product_name": "name" } ], "host_subscription": { "lifecycle_environment_id": 562075838, "content_view_id": 30237652, "facts": { "network.hostname": "host172" }, "installed_products": [ { "product_id": "1", "product_name": "name" } ] } } 500 { "displayMessage": "Unable to register system, not all services available", "errors": [ "Unable to register system, not all services available" ] }
Param name | Description |
---|---|
name required |
Name of the host Validations:
|
uuid optional |
UUID to use for registered host, random uuid is generated if not provided Validations:
|
facts optional |
Key-value hash of subscription-manager facts, nesting uses a period delimiter (.) Validations:
|
hypervisor_guest_uuids optional |
UUIDs of the virtual guests from the host's hypervisor Validations:
|
installed_products optional |
List of products installed on the host Validations:
|
installed_products[product_id] optional |
Product id as listed from a host's installed products, this is not the same product id as the products api returns Validations:
|
installed_products[product_name] optional |
Product name as listed from a host's installed products Validations:
|
installed_products[arch] optional |
Product architecture Validations:
|
installed_products[version] optional |
Product version Validations:
|
release_version optional |
Release version of the content host Validations:
|
service_level optional |
A service level for auto-healing process, e.g. SELF-SUPPORT Validations:
|
lifecycle_environment_id required |
Lifecycle Environment ID Validations:
|
content_view_id required |
Content View ID Validations:
|