/AWS1/IF_LIS=>CREATELICENSESERVERENDPOINT()¶
About CreateLicenseServerEndpoint¶
Creates a network endpoint for the Remote Desktop Services (RDS) license server.
Method Signature¶
METHODS /AWS1/IF_LIS~CREATELICENSESERVERENDPOINT
IMPORTING
!IV_IDENTITYPROVIDERARN TYPE /AWS1/LISARN OPTIONAL
!IO_LICENSESERVERSETTINGS TYPE REF TO /AWS1/CL_LISLICENSESERVERSTGS OPTIONAL
!IT_TAGS TYPE /AWS1/CL_LISTAGS_W=>TT_TAGS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_liscrelicenseserver01
RAISING
/AWS1/CX_LISACCESSDENIEDEX
/AWS1/CX_LISCONFLICTEXCEPTION
/AWS1/CX_LISINTERNALSERVEREX
/AWS1/CX_LISRESOURCENOTFOUNDEX
/AWS1/CX_LISSERVICEQUOTAEXCDEX
/AWS1/CX_LISTHROTTLINGEX
/AWS1/CX_LISVALIDATIONEX
/AWS1/CX_LISCLIENTEXC
/AWS1/CX_LISSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_identityproviderarn TYPE /AWS1/LISARN /AWS1/LISARN¶
The Amazon Resource Name (ARN) that identifies the
IdentityProviderresource that contains details about a registered identity provider. In the case of Active Directory, that can be a self-managed Active Directory or an Amazon Web Services Managed Active Directory that contains user identity details.
io_licenseserversettings TYPE REF TO /AWS1/CL_LISLICENSESERVERSTGS /AWS1/CL_LISLICENSESERVERSTGS¶
The
LicenseServerSettingsresource to create for the endpoint. The settings include the type of license server and the Secrets Manager secret that enables administrators to add or remove users associated with the license server.
Optional arguments:¶
it_tags TYPE /AWS1/CL_LISTAGS_W=>TT_TAGS TT_TAGS¶
The tags that apply for the license server endpoint.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_liscrelicenseserver01 /AWS1/CL_LISCRELICENSESERVER01¶
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->createlicenseserverendpoint(
io_licenseserversettings = new /aws1/cl_lislicenseserverstgs(
io_serversettings = new /aws1/cl_lisserversettings( new /aws1/cl_lisrdssalsettings( new /aws1/cl_liscredsprovider( new /aws1/cl_lissecretsmanagercr00( |string| ) ) ) )
iv_servertype = |string|
)
it_tags = VALUE /aws1/cl_listags_w=>tt_tags(
(
VALUE /aws1/cl_listags_w=>ts_tags_maprow(
value = new /aws1/cl_listags_w( |string| )
key = |string|
)
)
)
iv_identityproviderarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_identityproviderarn( ).
lv_arn = lo_result->get_licenseserverendpointarn( ).
ENDIF.