Skip to content

/AWS1/CL_NEP=>DELETEGLOBALCLUSTER()

About DeleteGlobalCluster

Deletes a global database. The primary and all secondary clusters must already be detached or deleted first.

Method Signature

IMPORTING

Required arguments:

iv_globalclusteridentifier TYPE /AWS1/NEPGLOBALCLUSTERID /AWS1/NEPGLOBALCLUSTERID

The cluster identifier of the global database cluster being deleted.

RETURNING

oo_output TYPE REF TO /aws1/cl_nepdeleteglbclustrslt /AWS1/CL_NEPDELETEGLBCLUSTRSLT

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_nep~deleteglobalcluster( |string| ).

This is an example of reading all possible response values

lv_globalclusteridentifier = lo_globalcluster->get_globalclusteridentifier( ).
lv_string = lo_globalcluster->get_globalclusterresourceid( ).
lv_string = lo_globalcluster->get_globalclusterarn( ).
lv_string = lo_globalcluster->get_status( ).
lv_string = lo_globalcluster->get_engine( ).
lv_string = lo_globalcluster->get_engineversion( ).
lv_booleanoptional = lo_globalcluster->get_storageencrypted( ).
lv_booleanoptional = lo_globalcluster->get_deletionprotection( ).
LOOP AT lo_globalcluster->get_globalclustermembers( ) into lo_row.
  lv_string = lo_row_1->get_dbclusterarn( ).
  LOOP AT lo_row_1->get_readers( ) into lo_row_2.
    lv_string = lo_row_3->get_value( ).
  ENDLOOP.
  lv_boolean = lo_row_1->get_iswriter( ).
ENDLOOP.