OcirDeployArtifactSource

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

Bases: oci.devops.models.deploy_artifact_source.DeployArtifactSource

Specifies the OCIR details.

Attributes

DEPLOY_ARTIFACT_SOURCE_TYPE_GENERIC_ARTIFACT str(object=’’) -> str
DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE str(object=’’) -> str
DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR str(object=’’) -> str
deploy_artifact_source_type [Required] Gets the deploy_artifact_source_type of this DeployArtifactSource.
image_digest Gets the image_digest of this OcirDeployArtifactSource.
image_uri [Required] Gets the image_uri of this OcirDeployArtifactSource.

Methods

__init__(**kwargs) Initializes a new OcirDeployArtifactSource 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.
DEPLOY_ARTIFACT_SOURCE_TYPE_GENERIC_ARTIFACT = 'GENERIC_ARTIFACT'
DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE = 'INLINE'
DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR = 'OCIR'
__init__(**kwargs)

Initializes a new OcirDeployArtifactSource object with values from keyword arguments. The default value of the deploy_artifact_source_type attribute of this class is OCIR and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • deploy_artifact_source_type (str) – The value to assign to the deploy_artifact_source_type property of this OcirDeployArtifactSource. Allowed values for this property are: “INLINE”, “OCIR”, “GENERIC_ARTIFACT”
  • image_uri (str) – The value to assign to the image_uri property of this OcirDeployArtifactSource.
  • image_digest (str) – The value to assign to the image_digest property of this OcirDeployArtifactSource.
deploy_artifact_source_type

[Required] Gets the deploy_artifact_source_type of this DeployArtifactSource. Specifies types of artifact sources.

Allowed values for this property are: “INLINE”, “OCIR”, “GENERIC_ARTIFACT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The deploy_artifact_source_type of this DeployArtifactSource.
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_digest

Gets the image_digest of this OcirDeployArtifactSource. Specifies image digest for the version of the image.

Returns:The image_digest of this OcirDeployArtifactSource.
Return type:str
image_uri

[Required] Gets the image_uri of this OcirDeployArtifactSource. Specifies OCIR Image Path - optionally include tag.

Returns:The image_uri of this OcirDeployArtifactSource.
Return type:str