OkeBlueGreenDeployStageExecutionProgress

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

Bases: oci.devops.models.deploy_stage_execution_progress.DeployStageExecutionProgress

Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.

Attributes

STATUS_ACCEPTED str(object=’’) -> str
STATUS_CANCELED str(object=’’) -> str
STATUS_CANCELING str(object=’’) -> str
STATUS_FAILED str(object=’’) -> str
STATUS_IN_PROGRESS str(object=’’) -> str
STATUS_ROLLBACK_FAILED str(object=’’) -> str
STATUS_ROLLBACK_IN_PROGRESS str(object=’’) -> str
STATUS_ROLLBACK_SUCCEEDED str(object=’’) -> str
STATUS_SUCCEEDED str(object=’’) -> str
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.
namespace Gets the namespace of this OkeBlueGreenDeployStageExecutionProgress.
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 OkeBlueGreenDeployStageExecutionProgress 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'
STATUS_CANCELED = 'CANCELED'
STATUS_CANCELING = 'CANCELING'
STATUS_FAILED = 'FAILED'
STATUS_IN_PROGRESS = 'IN_PROGRESS'
STATUS_ROLLBACK_FAILED = 'ROLLBACK_FAILED'
STATUS_ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS'
STATUS_ROLLBACK_SUCCEEDED = 'ROLLBACK_SUCCEEDED'
STATUS_SUCCEEDED = 'SUCCEEDED'
__init__(**kwargs)

Initializes a new OkeBlueGreenDeployStageExecutionProgress object with values from keyword arguments. The default value of the deploy_stage_type attribute of this class is OKE_BLUE_GREEN_DEPLOYMENT and it should not be changed. 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 OkeBlueGreenDeployStageExecutionProgress.
  • deploy_stage_type (str) – The value to assign to the deploy_stage_type property of this OkeBlueGreenDeployStageExecutionProgress.
  • deploy_stage_id (str) – The value to assign to the deploy_stage_id property of this OkeBlueGreenDeployStageExecutionProgress.
  • time_started (datetime) – The value to assign to the time_started property of this OkeBlueGreenDeployStageExecutionProgress.
  • time_finished (datetime) – The value to assign to the time_finished property of this OkeBlueGreenDeployStageExecutionProgress.
  • status (str) – The value to assign to the status property of this OkeBlueGreenDeployStageExecutionProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “ROLLBACK_IN_PROGRESS”, “ROLLBACK_SUCCEEDED”, “ROLLBACK_FAILED”
  • deploy_stage_predecessors (oci.devops.models.DeployStagePredecessorCollection) – The value to assign to the deploy_stage_predecessors property of this OkeBlueGreenDeployStageExecutionProgress.
  • deploy_stage_execution_progress_details (list[oci.devops.models.DeployStageExecutionProgressDetails]) – The value to assign to the deploy_stage_execution_progress_details property of this OkeBlueGreenDeployStageExecutionProgress.
  • namespace (str) – The value to assign to the namespace property of this OkeBlueGreenDeployStageExecutionProgress.
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.

namespace

Gets the namespace of this OkeBlueGreenDeployStageExecutionProgress. Namespace either environment A or environment B where artifacts are deployed. Example: blue - Name of the namespace where blue artifacts were deployed. green - Name of the namespace where green artifacts were deployed.

Returns:The namespace of this OkeBlueGreenDeployStageExecutionProgress.
Return type:str
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