Skip to content

/AWS1/CL_STG=>ADDCACHE()

About AddCache

Configures one or more gateway local disks as cache for a gateway. This operation is only supported in the cached volume, tape, and file gateway type (see How Storage Gateway works (architecture).

In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache.

Method Signature

IMPORTING

Required arguments:

IV_GATEWAYARN TYPE /AWS1/STGGATEWAYARN /AWS1/STGGATEWAYARN

GatewayARN

IT_DISKIDS TYPE /AWS1/CL_STGDISKIDS_W=>TT_DISKIDS TT_DISKIDS

An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STGADDCACHEOUTPUT /AWS1/CL_STGADDCACHEOUTPUT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC