ScriptBasedExecutionDetails

class oci.fleet_apps_management.models.ScriptBasedExecutionDetails(**kwargs)

Bases: oci.fleet_apps_management.models.execution_details.ExecutionDetails

Details for script based execution

Attributes

EXECUTION_TYPE_API str(object=’’) -> str
EXECUTION_TYPE_SCRIPT str(object=’’) -> str
command Gets the command of this ScriptBasedExecutionDetails.
content Gets the content of this ScriptBasedExecutionDetails.
execution_type [Required] Gets the execution_type of this ExecutionDetails.
variables Gets the variables of this ScriptBasedExecutionDetails.

Methods

__init__(**kwargs) Initializes a new ScriptBasedExecutionDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
EXECUTION_TYPE_API = 'API'
EXECUTION_TYPE_SCRIPT = 'SCRIPT'
__init__(**kwargs)

Initializes a new ScriptBasedExecutionDetails object with values from keyword arguments. The default value of the execution_type attribute of this class is SCRIPT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • execution_type (str) – The value to assign to the execution_type property of this ScriptBasedExecutionDetails. Allowed values for this property are: “SCRIPT”, “API”
  • variables (oci.fleet_apps_management.models.TaskVariable) – The value to assign to the variables property of this ScriptBasedExecutionDetails.
  • content (oci.fleet_apps_management.models.ContentDetails) – The value to assign to the content property of this ScriptBasedExecutionDetails.
  • command (str) – The value to assign to the command property of this ScriptBasedExecutionDetails.
command

Gets the command of this ScriptBasedExecutionDetails. Optional Command to execute the content.

Returns:The command of this ScriptBasedExecutionDetails.
Return type:str
content

Gets the content of this ScriptBasedExecutionDetails.

Returns:The content of this ScriptBasedExecutionDetails.
Return type:oci.fleet_apps_management.models.ContentDetails
execution_type

[Required] Gets the execution_type of this ExecutionDetails. The action type of the task

Allowed values for this property are: “SCRIPT”, “API”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The execution_type of this ExecutionDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

variables

Gets the variables of this ScriptBasedExecutionDetails.

Returns:The variables of this ScriptBasedExecutionDetails.
Return type:oci.fleet_apps_management.models.TaskVariable