GenericDeployArtifactSource

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

Bases: oci.devops.models.deploy_artifact_source.DeployArtifactSource

Specifies the Artifact Registry source details.

Attributes

DEPLOY_ARTIFACT_SOURCE_TYPE_GENERIC_ARTIFACT str(object=’’) -> str
DEPLOY_ARTIFACT_SOURCE_TYPE_HELM_CHART str(object=’’) -> str
DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE str(object=’’) -> str
DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR str(object=’’) -> str
deploy_artifact_path [Required] Gets the deploy_artifact_path of this GenericDeployArtifactSource.
deploy_artifact_source_type [Required] Gets the deploy_artifact_source_type of this DeployArtifactSource.
deploy_artifact_version [Required] Gets the deploy_artifact_version of this GenericDeployArtifactSource.
repository_id [Required] Gets the repository_id of this GenericDeployArtifactSource.

Methods

__init__(**kwargs) Initializes a new GenericDeployArtifactSource 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_HELM_CHART = 'HELM_CHART'
DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE = 'INLINE'
DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR = 'OCIR'
__init__(**kwargs)

Initializes a new GenericDeployArtifactSource object with values from keyword arguments. The default value of the deploy_artifact_source_type attribute of this class is GENERIC_ARTIFACT 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 GenericDeployArtifactSource. Allowed values for this property are: “INLINE”, “OCIR”, “GENERIC_ARTIFACT”, “HELM_CHART”
  • repository_id (str) – The value to assign to the repository_id property of this GenericDeployArtifactSource.
  • deploy_artifact_path (str) – The value to assign to the deploy_artifact_path property of this GenericDeployArtifactSource.
  • deploy_artifact_version (str) – The value to assign to the deploy_artifact_version property of this GenericDeployArtifactSource.
deploy_artifact_path

[Required] Gets the deploy_artifact_path of this GenericDeployArtifactSource. Specifies the artifact path in the repository.

Returns:The deploy_artifact_path of this GenericDeployArtifactSource.
Return type:str
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”, “HELM_CHART”, ‘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
deploy_artifact_version

[Required] Gets the deploy_artifact_version of this GenericDeployArtifactSource. Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

Returns:The deploy_artifact_version of this GenericDeployArtifactSource.
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.

repository_id

[Required] Gets the repository_id of this GenericDeployArtifactSource. The OCID of a repository.

Returns:The repository_id of this GenericDeployArtifactSource.
Return type:str