ApiBasedExecutionDetails¶
- class oci.fleet_apps_management.models.ApiBasedExecutionDetails(**kwargs)¶
Bases:
ExecutionDetailsDetails for API-based execution.
Attributes:
A constant which can be used with the execution_type property of a ExecutionDetails.
A constant which can be used with the execution_type property of a ExecutionDetails.
A constant which can be used with the execution_type property of a ExecutionDetails.
[Required] Gets the endpoint of this ApiBasedExecutionDetails.
[Required] Gets the execution_type of this ExecutionDetails.
Gets the system_variables of this ApiBasedExecutionDetails.
Methods:
__init__(**kwargs)Initializes a new ApiBasedExecutionDetails 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'¶
A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “API”
- EXECUTION_TYPE_SCRIPT = 'SCRIPT'¶
A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “SCRIPT”
- EXECUTION_TYPE_TERRAFORM = 'TERRAFORM'¶
A constant which can be used with the execution_type property of a ExecutionDetails. This constant has a value of “TERRAFORM”
- __init__(**kwargs)¶
Initializes a new ApiBasedExecutionDetails object with values from keyword arguments. The default value of the
execution_typeattribute of this class isAPIand 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 ApiBasedExecutionDetails. Allowed values for this property are: “SCRIPT”, “API”, “TERRAFORM”
endpoint (str) – The value to assign to the endpoint property of this ApiBasedExecutionDetails.
system_variables (list[str]) – The value to assign to the system_variables property of this ApiBasedExecutionDetails.
- property endpoint¶
[Required] Gets the endpoint of this ApiBasedExecutionDetails. Endpoint to be invoked.
- Returns
The endpoint of this ApiBasedExecutionDetails.
- Return type
str
- property execution_type¶
[Required] Gets the execution_type of this ExecutionDetails. The action type of the task
Allowed values for this property are: “SCRIPT”, “API”, “TERRAFORM”, ‘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.
- property system_variables¶
Gets the system_variables of this ApiBasedExecutionDetails. The list of system variables.
- Returns
The system_variables of this ApiBasedExecutionDetails.
- Return type
list[str]