DeployStageExecutionStep¶
-
class
oci.devops.models.
DeployStageExecutionStep
(**kwargs)¶ Bases:
object
Details about each steps in stage execution for a target environment.
Attributes
STATE_CANCELED
A constant which can be used with the state property of a DeployStageExecutionStep. STATE_FAILED
A constant which can be used with the state property of a DeployStageExecutionStep. STATE_IN_PROGRESS
A constant which can be used with the state property of a DeployStageExecutionStep. STATE_SUCCEEDED
A constant which can be used with the state property of a DeployStageExecutionStep. STATE_WAITING
A constant which can be used with the state property of a DeployStageExecutionStep. name
Gets the name of this DeployStageExecutionStep. state
Gets the state of this DeployStageExecutionStep. time_finished
Gets the time_finished of this DeployStageExecutionStep. time_started
Gets the time_started of this DeployStageExecutionStep. Methods
__init__
(**kwargs)Initializes a new DeployStageExecutionStep object with values from keyword arguments. -
STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the state property of a DeployStageExecutionStep. This constant has a value of “CANCELED”
-
STATE_FAILED
= 'FAILED'¶ A constant which can be used with the state property of a DeployStageExecutionStep. This constant has a value of “FAILED”
-
STATE_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the state property of a DeployStageExecutionStep. This constant has a value of “IN_PROGRESS”
-
STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the state property of a DeployStageExecutionStep. This constant has a value of “SUCCEEDED”
-
STATE_WAITING
= 'WAITING'¶ A constant which can be used with the state property of a DeployStageExecutionStep. This constant has a value of “WAITING”
-
__init__
(**kwargs)¶ Initializes a new DeployStageExecutionStep object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this DeployStageExecutionStep.
- state (str) – The value to assign to the state property of this DeployStageExecutionStep. Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_started (datetime) – The value to assign to the time_started property of this DeployStageExecutionStep.
- time_finished (datetime) – The value to assign to the time_finished property of this DeployStageExecutionStep.
-
name
¶ Gets the name of this DeployStageExecutionStep. Name of the step.
Returns: The name of this DeployStageExecutionStep. Return type: str
-
state
¶ Gets the state of this DeployStageExecutionStep. State of the step.
Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this DeployStageExecutionStep. Return type: str
-
time_finished
¶ Gets the time_finished of this DeployStageExecutionStep. Time when the step finished.
Returns: The time_finished of this DeployStageExecutionStep. Return type: datetime
-
time_started
¶ Gets the time_started of this DeployStageExecutionStep. Time when the step started.
Returns: The time_started of this DeployStageExecutionStep. Return type: datetime
-