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.
credentials Gets the credentials 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:
command

Gets the command of this ScriptBasedExecutionDetails. Optional command to execute the content. You can provide any commands/arguments that can’t be part of the script.

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
credentials

Gets the credentials of this ScriptBasedExecutionDetails. Credentials required for executing the task.

Returns:The credentials of this ScriptBasedExecutionDetails.
Return type:list[oci.fleet_apps_management.models.ConfigAssociationDetails]
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