ContainerRegistryDeliveredArtifact¶
-
class
oci.devops.models.
ContainerRegistryDeliveredArtifact
(**kwargs)¶ Bases:
oci.devops.models.delivered_artifact.DeliveredArtifact
Details of the container registry artifacts delivered through the Deliver Artifacts stage.
Attributes
ARTIFACT_TYPE_GENERIC_ARTIFACT
str(object=’’) -> str ARTIFACT_TYPE_OCIR
str(object=’’) -> str artifact_type
[Required] Gets the artifact_type of this DeliveredArtifact. delivered_artifact_hash
[Required] Gets the delivered_artifact_hash of this ContainerRegistryDeliveredArtifact. deploy_artifact_id
[Required] Gets the deploy_artifact_id of this DeliveredArtifact. image_uri
Gets the image_uri of this ContainerRegistryDeliveredArtifact. output_artifact_name
[Required] Gets the output_artifact_name of this DeliveredArtifact. Methods
__init__
(**kwargs)Initializes a new ContainerRegistryDeliveredArtifact 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. -
ARTIFACT_TYPE_GENERIC_ARTIFACT
= 'GENERIC_ARTIFACT'¶
-
ARTIFACT_TYPE_OCIR
= 'OCIR'¶
-
__init__
(**kwargs)¶ Initializes a new ContainerRegistryDeliveredArtifact object with values from keyword arguments. The default value of the
artifact_type
attribute of this class isOCIR
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - deploy_artifact_id (str) – The value to assign to the deploy_artifact_id property of this ContainerRegistryDeliveredArtifact.
- output_artifact_name (str) – The value to assign to the output_artifact_name property of this ContainerRegistryDeliveredArtifact.
- artifact_type (str) – The value to assign to the artifact_type property of this ContainerRegistryDeliveredArtifact. Allowed values for this property are: “GENERIC_ARTIFACT”, “OCIR”
- delivered_artifact_hash (str) – The value to assign to the delivered_artifact_hash property of this ContainerRegistryDeliveredArtifact.
- image_uri (str) – The value to assign to the image_uri property of this ContainerRegistryDeliveredArtifact.
-
artifact_type
¶ [Required] Gets the artifact_type of this DeliveredArtifact. Type of artifact delivered.
Allowed values for this property are: “GENERIC_ARTIFACT”, “OCIR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The artifact_type of this DeliveredArtifact. Return type: str
-
delivered_artifact_hash
¶ [Required] Gets the delivered_artifact_hash of this ContainerRegistryDeliveredArtifact. The hash of the container registry artifact pushed by the Deliver Artifacts stage.
Returns: The delivered_artifact_hash of this ContainerRegistryDeliveredArtifact. Return type: str
-
deploy_artifact_id
¶ [Required] Gets the deploy_artifact_id of this DeliveredArtifact. The OCID of the deployment artifact definition.
Returns: The deploy_artifact_id of this DeliveredArtifact. 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.
-
image_uri
¶ Gets the image_uri of this ContainerRegistryDeliveredArtifact. The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
Returns: The image_uri of this ContainerRegistryDeliveredArtifact. Return type: str
-
output_artifact_name
¶ [Required] Gets the output_artifact_name of this DeliveredArtifact. Name of the output artifact defined in the build specification file.
Returns: The output_artifact_name of this DeliveredArtifact. Return type: str
-