ContainerRegistryDeliveredArtifact¶
- class oci.devops.models.ContainerRegistryDeliveredArtifact(**kwargs)¶
Bases:
DeliveredArtifactDetails of the container registry artifacts delivered through the Deliver Artifacts stage.
Attributes:
A constant which can be used with the artifact_type property of a DeliveredArtifact.
A constant which can be used with the artifact_type property of a DeliveredArtifact.
[Required] Gets the artifact_type of this DeliveredArtifact.
[Required] Gets the delivered_artifact_hash of this ContainerRegistryDeliveredArtifact.
[Required] Gets the deploy_artifact_id of this DeliveredArtifact.
Gets the image_uri of this ContainerRegistryDeliveredArtifact.
[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'¶
A constant which can be used with the artifact_type property of a DeliveredArtifact. This constant has a value of “GENERIC_ARTIFACT”
- ARTIFACT_TYPE_OCIR = 'OCIR'¶
A constant which can be used with the artifact_type property of a DeliveredArtifact. This constant has a value of “OCIR”
- __init__(**kwargs)¶
Initializes a new ContainerRegistryDeliveredArtifact object with values from keyword arguments. The default value of the
artifact_typeattribute of this class isOCIRand 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.
- property 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
- property 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
- property 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.
- property 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
- property 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