DeployStageExecutionProgress

class oci.devops.models.DeployStageExecutionProgress(**kwargs)

Bases: object

Details about the execution progress of a stage in a deployment.

Attributes

STATUS_ACCEPTED A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_CANCELED A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_CANCELING A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_FAILED A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_IN_PROGRESS A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_ROLLBACK_FAILED A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_ROLLBACK_IN_PROGRESS A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_ROLLBACK_SUCCEEDED A constant which can be used with the status property of a DeployStageExecutionProgress.
STATUS_SUCCEEDED A constant which can be used with the status property of a DeployStageExecutionProgress.
deploy_stage_display_name Gets the deploy_stage_display_name of this DeployStageExecutionProgress.
deploy_stage_execution_progress_details Gets the deploy_stage_execution_progress_details of this DeployStageExecutionProgress.
deploy_stage_id Gets the deploy_stage_id of this DeployStageExecutionProgress.
deploy_stage_predecessors Gets the deploy_stage_predecessors of this DeployStageExecutionProgress.
deploy_stage_type Gets the deploy_stage_type of this DeployStageExecutionProgress.
status Gets the status of this DeployStageExecutionProgress.
time_finished Gets the time_finished of this DeployStageExecutionProgress.
time_started Gets the time_started of this DeployStageExecutionProgress.

Methods

__init__(**kwargs) Initializes a new DeployStageExecutionProgress 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.
STATUS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “ACCEPTED”

STATUS_CANCELED = 'CANCELED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “CANCELED”

STATUS_CANCELING = 'CANCELING'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “CANCELING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “FAILED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “IN_PROGRESS”

STATUS_ROLLBACK_FAILED = 'ROLLBACK_FAILED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “ROLLBACK_FAILED”

STATUS_ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “ROLLBACK_IN_PROGRESS”

STATUS_ROLLBACK_SUCCEEDED = 'ROLLBACK_SUCCEEDED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “ROLLBACK_SUCCEEDED”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a DeployStageExecutionProgress. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new DeployStageExecutionProgress object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • deploy_stage_display_name (str) – The value to assign to the deploy_stage_display_name property of this DeployStageExecutionProgress.
  • deploy_stage_type (str) – The value to assign to the deploy_stage_type property of this DeployStageExecutionProgress.
  • deploy_stage_id (str) – The value to assign to the deploy_stage_id property of this DeployStageExecutionProgress.
  • time_started (datetime) – The value to assign to the time_started property of this DeployStageExecutionProgress.
  • time_finished (datetime) – The value to assign to the time_finished property of this DeployStageExecutionProgress.
  • status (str) – The value to assign to the status property of this DeployStageExecutionProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “ROLLBACK_IN_PROGRESS”, “ROLLBACK_SUCCEEDED”, “ROLLBACK_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • deploy_stage_predecessors (oci.devops.models.DeployStagePredecessorCollection) – The value to assign to the deploy_stage_predecessors property of this DeployStageExecutionProgress.
  • deploy_stage_execution_progress_details (list[oci.devops.models.DeployStageExecutionProgressDetails]) – The value to assign to the deploy_stage_execution_progress_details property of this DeployStageExecutionProgress.
deploy_stage_display_name

Gets the deploy_stage_display_name of this DeployStageExecutionProgress. Stage display name. Avoid entering confidential information.

Returns:The deploy_stage_display_name of this DeployStageExecutionProgress.
Return type:str
deploy_stage_execution_progress_details

Gets the deploy_stage_execution_progress_details of this DeployStageExecutionProgress. Details about stage execution for all the target environments.

Returns:The deploy_stage_execution_progress_details of this DeployStageExecutionProgress.
Return type:list[oci.devops.models.DeployStageExecutionProgressDetails]
deploy_stage_id

Gets the deploy_stage_id of this DeployStageExecutionProgress. The OCID of the stage.

Returns:The deploy_stage_id of this DeployStageExecutionProgress.
Return type:str
deploy_stage_predecessors

Gets the deploy_stage_predecessors of this DeployStageExecutionProgress.

Returns:The deploy_stage_predecessors of this DeployStageExecutionProgress.
Return type:oci.devops.models.DeployStagePredecessorCollection
deploy_stage_type

Gets the deploy_stage_type of this DeployStageExecutionProgress. Deployment stage type.

Returns:The deploy_stage_type of this DeployStageExecutionProgress.
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.

status

Gets the status of this DeployStageExecutionProgress. The current state of the stage.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “ROLLBACK_IN_PROGRESS”, “ROLLBACK_SUCCEEDED”, “ROLLBACK_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this DeployStageExecutionProgress.
Return type:str
time_finished

Gets the time_finished of this DeployStageExecutionProgress. Time the stage finished executing. Format defined by RFC3339.

Returns:The time_finished of this DeployStageExecutionProgress.
Return type:datetime
time_started

Gets the time_started of this DeployStageExecutionProgress. Time the stage started executing. Format defined by RFC3339.

Returns:The time_started of this DeployStageExecutionProgress.
Return type:datetime