Skip to content

/AWS1/CL_SGM=>LISTALIASES()

About ListAliases

Lists the aliases of a specified image or image version.

Method Signature

IMPORTING

Required arguments:

IV_IMAGENAME TYPE /AWS1/SGMIMAGENAME /AWS1/SGMIMAGENAME

The name of the image.

Optional arguments:

IV_ALIAS TYPE /AWS1/SGMSMIMAGEVERSIONALIAS /AWS1/SGMSMIMAGEVERSIONALIAS

The alias of the image version.

IV_VERSION TYPE /AWS1/SGMIMAGEVERSIONNUMBER /AWS1/SGMIMAGEVERSIONNUMBER

The version of the image. If image version is not specified, the aliases of all versions of the image are listed.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of aliases to return.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the previous call to ListAliases didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTALIASESRSP /AWS1/CL_SGMLISTALIASESRSP