GET /api/hosts/:host_id/subscriptions
ホストのサブスクリプションを一覧表示

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer


PUT /api/hosts/:host_id/subscriptions/auto_attach
サブスクリプションの自動割り当てをトリガー

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer


GET /api/hosts/:host_id/subscriptions/events
ホストのサブスクリプションイベントを一覧表示

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer


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

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer


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

Params

Param Name Description
name
Required

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

コンテンツホストのリリースバージョン

Validations:

  • String

service_level
Optional

自動修復プロセスのサービスレベル。例: SELF-SUPPORT

Validations:

  • String

lifecycle_environment_id
Required

Lifecycle Environment ID

Validations:

  • Integer

content_view_id
Required

Content View ID

Validations:

  • Integer


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

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer

subscriptions
Optional

削除するサブスクリプションの配列

Validations:

  • Must be an Array of nested elements

subscriptions[id]
Required

サブスクリプションプール ID

Validations:

  • String

subscriptions[quantity]
Optional

指定された場合、ID と数量が一致するサブスクリプションの最初のインスタンスを削除します

Validations:

  • Integer


PUT /api/hosts/:host_id/subscriptions/add_subscriptions
ホストへサブスクリプションを追加

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • Integer

subscriptions
Required

追加するサブスクリプションの配列

Validations:

  • Must be an Array of nested elements

subscriptions[id]
Required

サブスクリプションプール ID

Validations:

  • String

subscriptions[quantity]
Required

追加するこのサブスクリプションの数量

Validations:

  • number.


PUT /api/hosts/:host_id/subscriptions/content_override
ホストのコンテンツの上書きを設定

Params

Param Name Description
host_id
Required

コンテンツホストの ID

Validations:

  • String

content_label
Required

コンテンツのラベル

Validations:

  • String

value
Required

0/1 に上書きまたは 'default'

Validations:

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


GET /api/hosts/:host_id/subscriptions/product_content
ホストのコンテンツと上書きを取得

Params

Param Name Description
host_id
Required

ホストの ID

Validations:

  • String