Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RunLocalScriptUserDefinedStep

Run Local Script step details.

Properties

Optional runAsUser

runAsUser: undefined | string

The userid on the instance to be used for executing the script or command.

Example: {@code opc}

runOnInstanceId

runOnInstanceId: string

The OCID of the instance on which this script or command should be executed.

*For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the instance is currently present.

*For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.

Example: {@code ocid1.instance.oc1..uniqueID}

runOnInstanceRegion

runOnInstanceRegion: string

The region in which the instance is present.

Example: {@code us-ashburn-1}

scriptCommand

scriptCommand: string

The script name and arguments.

Example: {@code /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3}

Const stepType

stepType: string = "RUN_LOCAL_SCRIPT"

Methods

getDeserializedJsonObj

getJsonObj