Skip to content

/AWS1/CL_DFM=>CREATEINSTANCEPROFILE()

About CreateInstanceProfile

Creates a profile that can be applied to one or more private fleet device instances.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/DFMNAME /AWS1/DFMNAME

The name of your instance profile.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/DFMMESSAGE /AWS1/DFMMESSAGE

The description of your instance profile.

IV_PACKAGECLEANUP TYPE /AWS1/DFMBOOLEAN /AWS1/DFMBOOLEAN

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

IT_EXCLUDEAPPPACKAGESFRMCL00 TYPE /AWS1/CL_DFMPACKAGEIDS_W=>TT_PACKAGEIDS TT_PACKAGEIDS

An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.

The list of packages is considered only if you set packageCleanup to true.

IV_REBOOTAFTERUSE TYPE /AWS1/DFMBOOLEAN /AWS1/DFMBOOLEAN

When set to true, Device Farm reboots the instance after a test run. The default value is true.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DFMCREATEINSTPFLRSLT /AWS1/CL_DFMCREATEINSTPFLRSLT