/AWS1/IF_SSM=>UPDATECLOUDCONNECTOR()¶
About UpdateCloudConnector¶
Updates an existing cloud connector with new configuration details.
Method Signature¶
METHODS /AWS1/IF_SSM~UPDATECLOUDCONNECTOR
IMPORTING
!IV_CLOUDCONNECTORID TYPE /AWS1/SSMCLOUDCONNECTORID OPTIONAL
!IV_DISPLAYNAME TYPE /AWS1/SSMDISPLAYNAME OPTIONAL
!IO_CONFIGURATION TYPE REF TO /AWS1/CL_SSMCLOUDCONNECTORCONF OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/SSMCLOUDCONNECTORDESC OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ssmupdcloudcnctrrslt
RAISING
/AWS1/CX_SSMCONFLICTEXCEPTION
/AWS1/CX_SSMINTERNALSERVERERR
/AWS1/CX_SSMRESOURCENOTFOUNDEX
/AWS1/CX_SSMCLIENTEXC
/AWS1/CX_SSMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_cloudconnectorid TYPE /AWS1/SSMCLOUDCONNECTORID /AWS1/SSMCLOUDCONNECTORID¶
The ID of the cloud connector to update.
Optional arguments:¶
iv_displayname TYPE /AWS1/SSMDISPLAYNAME /AWS1/SSMDISPLAYNAME¶
A new friendly name for the cloud connector.
io_configuration TYPE REF TO /AWS1/CL_SSMCLOUDCONNECTORCONF /AWS1/CL_SSMCLOUDCONNECTORCONF¶
The updated configuration details for connecting to the third-party cloud environment.
iv_description TYPE /AWS1/SSMCLOUDCONNECTORDESC /AWS1/SSMCLOUDCONNECTORDESC¶
A new description for the cloud connector.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ssmupdcloudcnctrrslt /AWS1/CL_SSMUPDCLOUDCNCTRRSLT¶
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->updatecloudconnector(
io_configuration = new /aws1/cl_ssmcloudconnectorconf(
io_azureconfiguration = new /aws1/cl_ssmazureconfiguration(
io_targets = new /aws1/cl_ssmconftargets(
it_subscriptions = VALUE /aws1/cl_ssmazuresubscription=>tt_azuresubscriptionlist(
(
new /aws1/cl_ssmazuresubscription(
iv_displayname = |string|
iv_id = |string|
)
)
)
)
iv_applicationdisplayname = |string|
iv_applicationid = |string|
iv_tenantdisplayname = |string|
iv_tenantid = |string|
)
)
iv_cloudconnectorid = |string|
iv_description = |string|
iv_displayname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_cloudconnectorid = lo_result->get_cloudconnectorid( ).
ENDIF.