/AWS1/IF_LIX=>REGISTERSUBSCRIPTIONPROVIDER()¶
About RegisterSubscriptionProvider¶
Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.
Method Signature¶
METHODS /AWS1/IF_LIX~REGISTERSUBSCRIPTIONPROVIDER
IMPORTING
!IV_SUBSCRIPTIONPVDRSOURCE TYPE /AWS1/LIXSUBSCRIPTIONPVDRSRC OPTIONAL
!IV_SECRETARN TYPE /AWS1/LIXSECRETARN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_LIXTAGS_W=>TT_TAGS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_lixregsubscriptionp01
RAISING
/AWS1/CX_LIXINTERNALSERVEREX
/AWS1/CX_LIXTHROTTLINGEX
/AWS1/CX_LIXVALIDATIONEX
/AWS1/CX_LIXCLIENTEXC
/AWS1/CX_LIXSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_subscriptionpvdrsource TYPE /AWS1/LIXSUBSCRIPTIONPVDRSRC /AWS1/LIXSUBSCRIPTIONPVDRSRC¶
The supported Linux subscription provider to register.
iv_secretarn TYPE /AWS1/LIXSECRETARN /AWS1/LIXSECRETARN¶
The Amazon Resource Name (ARN) of the secret where you've stored your subscription provider's access token. For RHEL subscriptions managed through the Red Hat Subscription Manager (RHSM), the secret contains your Red Hat Offline token.
Optional arguments:¶
it_tags TYPE /AWS1/CL_LIXTAGS_W=>TT_TAGS TT_TAGS¶
The metadata tags to assign to your registered Linux subscription provider resource.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_lixregsubscriptionp01 /AWS1/CL_LIXREGSUBSCRIPTIONP01¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->registersubscriptionprovider(
it_tags = VALUE /aws1/cl_lixtags_w=>tt_tags(
(
VALUE /aws1/cl_lixtags_w=>ts_tags_maprow(
key = |string|
value = new /aws1/cl_lixtags_w( |string| )
)
)
)
iv_secretarn = |string|
iv_subscriptionpvdrsource = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_subscriptionprovidersou = lo_result->get_subscriptionpvdrsource( ).
lv_string = lo_result->get_subscriptionproviderarn( ).
lv_subscriptionprovidersta = lo_result->get_subscriptionpvdrstatus( ).
ENDIF.