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

auto-healing 프로세스의 서비스 레벨. 예: 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 또는 '기본값'으로 덮어쓰기합니다

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