/AWS1/CL_EC2=>DESCRIBECONVERSIONTASKS()
¶
About DescribeConversionTasks¶
Describes the specified conversion tasks or all your conversion tasks. For more information, see the VM Import/Export User Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_dryrun
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
it_conversiontaskids
TYPE /AWS1/CL_EC2CONVRSIDSTRLIST_W=>TT_CONVERSIONIDSTRINGLIST
TT_CONVERSIONIDSTRINGLIST
¶
The conversion task IDs.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_ec2dscconvrstasksrs
/AWS1/CL_EC2DSCCONVRSTASKSRS
¶
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->/aws1/if_ec2~describeconversiontasks(
it_conversiontaskids = VALUE /aws1/cl_ec2convrsidstrlist_w=>tt_conversionidstringlist(
( new /aws1/cl_ec2convrsidstrlist_w( |string| ) )
)
iv_dryrun = ABAP_TRUE
).
This is an example of reading all possible response values
LOOP AT lo_result->get_conversiontasks( ) into lo_row.
lv_string = lo_row_1->get_conversiontaskid( ).
lv_string = lo_row_1->get_expirationtime( ).
lv_string = lo_importinstancetaskdetai->get_description( ).
lv_string = lo_importinstancetaskdetai->get_instanceid( ).
lv_platformvalues = lo_importinstancetaskdetai->get_platform( ).
LOOP AT lo_importinstancetaskdetai->get_volumes( ) into lo_row_2.
lv_string = lo_row_3->get_availabilityzone( ).
lv_long = lo_row_3->get_bytesconverted( ).
lv_string = lo_row_3->get_description( ).
lv_string = lo_diskimagedescription->get_checksum( ).
lv_diskimageformat = lo_diskimagedescription->get_format( ).
lv_importmanifesturl = lo_diskimagedescription->get_importmanifesturl( ).
lv_long = lo_diskimagedescription->get_size( ).
lv_string = lo_row_3->get_status( ).
lv_string = lo_row_3->get_statusmessage( ).
lv_string = lo_diskimagevolumedescript->get_id( ).
lv_long = lo_diskimagevolumedescript->get_size( ).
ENDLOOP.
lv_string = lo_importvolumetaskdetails->get_availabilityzone( ).
lv_long = lo_importvolumetaskdetails->get_bytesconverted( ).
lv_string = lo_importvolumetaskdetails->get_description( ).
lv_string = lo_diskimagedescription->get_checksum( ).
lv_diskimageformat = lo_diskimagedescription->get_format( ).
lv_importmanifesturl = lo_diskimagedescription->get_importmanifesturl( ).
lv_long = lo_diskimagedescription->get_size( ).
lv_string = lo_diskimagevolumedescript->get_id( ).
lv_long = lo_diskimagevolumedescript->get_size( ).
lv_conversiontaskstate = lo_row_1->get_state( ).
lv_string = lo_row_1->get_statusmessage( ).
LOOP AT lo_row_1->get_tags( ) into lo_row_4.
lv_string = lo_row_5->get_key( ).
lv_string = lo_row_5->get_value( ).
ENDLOOP.
ENDLOOP.