DeliverArtifactStageRunProgress¶
-
class
oci.devops.models.
DeliverArtifactStageRunProgress
(**kwargs)¶ Bases:
oci.devops.models.build_pipeline_stage_run_progress.BuildPipelineStageRunProgress
Specifies Deliver Artifacts stage specific run details.
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_SUCCEEDED
str(object=’’) -> str build_pipeline_stage_id
Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress. build_pipeline_stage_predecessors
Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress. build_pipeline_stage_type
Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress. delivered_artifacts
Gets the delivered_artifacts of this DeliverArtifactStageRunProgress. stage_display_name
Gets the stage_display_name of this BuildPipelineStageRunProgress. status
Gets the status of this BuildPipelineStageRunProgress. time_finished
Gets the time_finished of this BuildPipelineStageRunProgress. time_started
Gets the time_started of this BuildPipelineStageRunProgress. Methods
__init__
(**kwargs)Initializes a new DeliverArtifactStageRunProgress 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_SUCCEEDED
= 'SUCCEEDED'¶
-
__init__
(**kwargs)¶ Initializes a new DeliverArtifactStageRunProgress object with values from keyword arguments. The default value of the
build_pipeline_stage_type
attribute of this class isDELIVER_ARTIFACT
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - stage_display_name (str) – The value to assign to the stage_display_name property of this DeliverArtifactStageRunProgress.
- build_pipeline_stage_type (str) – The value to assign to the build_pipeline_stage_type property of this DeliverArtifactStageRunProgress.
- build_pipeline_stage_id (str) – The value to assign to the build_pipeline_stage_id property of this DeliverArtifactStageRunProgress.
- time_started (datetime) – The value to assign to the time_started property of this DeliverArtifactStageRunProgress.
- time_finished (datetime) – The value to assign to the time_finished property of this DeliverArtifactStageRunProgress.
- status (str) – The value to assign to the status property of this DeliverArtifactStageRunProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”
- build_pipeline_stage_predecessors (oci.devops.models.BuildPipelineStagePredecessorCollection) – The value to assign to the build_pipeline_stage_predecessors property of this DeliverArtifactStageRunProgress.
- delivered_artifacts (oci.devops.models.DeliveredArtifactCollection) – The value to assign to the delivered_artifacts property of this DeliverArtifactStageRunProgress.
-
build_pipeline_stage_id
¶ Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress. The stage OCID.
Returns: The build_pipeline_stage_id of this BuildPipelineStageRunProgress. Return type: str
-
build_pipeline_stage_predecessors
¶ Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.
Returns: The build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress. Return type: oci.devops.models.BuildPipelineStagePredecessorCollection
-
build_pipeline_stage_type
¶ Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress. Stage types.
Returns: The build_pipeline_stage_type of this BuildPipelineStageRunProgress. Return type: str
-
delivered_artifacts
¶ Gets the delivered_artifacts of this DeliverArtifactStageRunProgress.
Returns: The delivered_artifacts of this DeliverArtifactStageRunProgress. Return type: oci.devops.models.DeliveredArtifactCollection
-
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.
-
stage_display_name
¶ Gets the stage_display_name of this BuildPipelineStageRunProgress. Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
Returns: The stage_display_name of this BuildPipelineStageRunProgress. Return type: str
-
status
¶ Gets the status of this BuildPipelineStageRunProgress. The current status of the stage.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this BuildPipelineStageRunProgress. Return type: str
-