Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.28. Method: setSystemEntitlements

Description

Set an organization's entitlement allocation for the given software entitlement. If increasing the entitlement allocation, the default organization (i.e. orgId=1) must have a sufficient number of free entitlements.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int orgId
  • string label - System entitlement label. Valid values include:
    • enterprise_entitled
    • monitoring_entitled
    • provisioning_entitled
    • virtualization_host
    • virtualization_host_platform
  • int allocation
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise