HelmRepositoryDeployArtifactSource

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

Bases: DeployArtifactSource

Specifies Helm chart source details.

Attributes:

DEPLOY_ARTIFACT_SOURCE_TYPE_GENERIC_ARTIFACT

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource.

DEPLOY_ARTIFACT_SOURCE_TYPE_HELM_CHART

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource.

DEPLOY_ARTIFACT_SOURCE_TYPE_HELM_COMMAND_SPEC

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource.

DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource.

DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource.

chart_url

[Required] Gets the chart_url of this HelmRepositoryDeployArtifactSource.

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 HelmRepositoryDeployArtifactSource.

helm_verification_key_source

Gets the helm_verification_key_source of this HelmRepositoryDeployArtifactSource.

Methods:

__init__(**kwargs)

Initializes a new HelmRepositoryDeployArtifactSource 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'

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource. This constant has a value of “GENERIC_ARTIFACT”

DEPLOY_ARTIFACT_SOURCE_TYPE_HELM_CHART = 'HELM_CHART'

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource. This constant has a value of “HELM_CHART”

DEPLOY_ARTIFACT_SOURCE_TYPE_HELM_COMMAND_SPEC = 'HELM_COMMAND_SPEC'

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource. This constant has a value of “HELM_COMMAND_SPEC”

DEPLOY_ARTIFACT_SOURCE_TYPE_INLINE = 'INLINE'

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource. This constant has a value of “INLINE”

DEPLOY_ARTIFACT_SOURCE_TYPE_OCIR = 'OCIR'

A constant which can be used with the deploy_artifact_source_type property of a DeployArtifactSource. This constant has a value of “OCIR”

__init__(**kwargs)

Initializes a new HelmRepositoryDeployArtifactSource object with values from keyword arguments. The default value of the deploy_artifact_source_type attribute of this class is HELM_CHART 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 HelmRepositoryDeployArtifactSource. Allowed values for this property are: “INLINE”, “OCIR”, “GENERIC_ARTIFACT”, “HELM_CHART”, “HELM_COMMAND_SPEC”

  • chart_url (str) – The value to assign to the chart_url property of this HelmRepositoryDeployArtifactSource.

  • deploy_artifact_version (str) – The value to assign to the deploy_artifact_version property of this HelmRepositoryDeployArtifactSource.

  • helm_verification_key_source (oci.devops.models.VerificationKeySource) – The value to assign to the helm_verification_key_source property of this HelmRepositoryDeployArtifactSource.

property chart_url

[Required] Gets the chart_url of this HelmRepositoryDeployArtifactSource. The URL of an OCIR repository.

Returns

The chart_url of this HelmRepositoryDeployArtifactSource.

Return type

str

property 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”, “HELM_COMMAND_SPEC”, ‘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

property deploy_artifact_version

[Required] Gets the deploy_artifact_version of this HelmRepositoryDeployArtifactSource. Users can set this as a placeholder value that refers to a pipeline parameter.

Returns

The deploy_artifact_version of this HelmRepositoryDeployArtifactSource.

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 helm_verification_key_source

Gets the helm_verification_key_source of this HelmRepositoryDeployArtifactSource.

Returns

The helm_verification_key_source of this HelmRepositoryDeployArtifactSource.

Return type

oci.devops.models.VerificationKeySource