DeployStageExecutionStep¶
-
class
oci.devops.models.DeployStageExecutionStep(**kwargs)¶ Bases:
objectDetails about each steps in stage execution for a target environment.
Attributes
STATE_CANCELEDA constant which can be used with the state property of a DeployStageExecutionStep. STATE_FAILEDA constant which can be used with the state property of a DeployStageExecutionStep. STATE_IN_PROGRESSA constant which can be used with the state property of a DeployStageExecutionStep. STATE_SUCCEEDEDA constant which can be used with the state property of a DeployStageExecutionStep. STATE_WAITINGA constant which can be used with the state property of a DeployStageExecutionStep. nameGets the name of this DeployStageExecutionStep. stateGets the state of this DeployStageExecutionStep. time_finishedGets the time_finished of this DeployStageExecutionStep. time_startedGets 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
-