GET /api/hosts/:host_id/subscriptions
Subskriptionen eines Hosts auflisten

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer


PUT /api/hosts/:host_id/subscriptions/auto_attach
Automatische Verknüpfung von Subskriptionen auslösen

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer


GET /api/hosts/:host_id/subscriptions/events
Subskriptions-Ereignisse für den Host auflisten

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer


DELETE /api/hosts/:host_id/subscriptions
Unregister the host as a subscription consumer

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer


POST /api/hosts/subscriptions
Register a host with subscription and information.

Parameter

Parametername Beschreibung
name
verpflichtend

Name of the host

Validations:

  • String

uuid
optional

UUID to use for registered host, random uuid is generated if not provided

Validations:

  • String

facts
optional

Key-value hash of subscription-manager facts, nesting uses a period delimiter (.)

Validations:

  • Hash

hypervisor_guest_uuids
optional

UUIDs of the virtual guests from the host's hypervisor

Validations:

  • Must be an array of any type

installed_products
optional

List of products installed on the host

Validations:

  • Must be an Array of nested elements

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:

  • String

installed_products[product_name]
optional

Product name as listed from a host's installed products

Validations:

  • String

release_version
optional

Release-Version dieses Inhaltshosts

Validations:

  • String

service_level
optional

Ein Servicelevel für automatische Neusubskription, z. B. SELBSTHILFE

Validations:

  • String

lifecycle_environment_id
verpflichtend

Lifecycle Environment ID

Validations:

  • Integer

content_view_id
verpflichtend

Content View ID

Validations:

  • Integer


PUT /api/hosts/:host_id/subscriptions/remove_subscriptions

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer

subscriptions
optional

Array der zu entfernenden Subskriptionen

Validations:

  • Must be an Array of nested elements

subscriptions[id]
verpflichtend

Subskriptionspool-ID

Validations:

  • String

subscriptions[quantity]
optional

Falls angegeben, entfernen Sie die erste Instanz einer Subskription mit passender ID und Anzahl

Validations:

  • Integer


PUT /api/hosts/:host_id/subscriptions/add_subscriptions
Subskription zu einem Host hinzufügen

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • Integer

subscriptions
verpflichtend

Array der hinzuzufügenden Subskriptionen

Validations:

  • Must be an Array of nested elements

subscriptions[id]
verpflichtend

Subskriptionspool-ID

Validations:

  • String

subscriptions[quantity]
verpflichtend

Hinzuzufügende Anzahl der Subskription

Validations:

  • number.


PUT /api/hosts/:host_id/subscriptions/content_override
Inhaltsaußerkraftsetzungen für den Host bestimmen

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Inhaltshosts

Validations:

  • String

content_label
verpflichtend

Kennung des Inhalts

Validations:

  • String

value
verpflichtend

Überschreiben mit 0/1 oder “Standard”

Validations:

  • Must be one of: 0, 1, default.


GET /api/hosts/:host_id/subscriptions/product_content
Inhalt und Außerkraftsetzungen für den Host abfragen

Parameter

Parametername Beschreibung
host_id
verpflichtend

ID des Hosts

Validations:

  • String