Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DevOps.getDeployArtifact
Explore with Pulumi AI
This data source provides details about a specific Deploy Artifact resource in Oracle Cloud Infrastructure Devops service.
Retrieves a deployment artifact by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeployArtifact = oci.DevOps.getDeployArtifact({
    deployArtifactId: testDeployArtifactOciDevopsDeployArtifact.id,
});
import pulumi
import pulumi_oci as oci
test_deploy_artifact = oci.DevOps.get_deploy_artifact(deploy_artifact_id=test_deploy_artifact_oci_devops_deploy_artifact["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/devops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devops.GetDeployArtifact(ctx, &devops.GetDeployArtifactArgs{
			DeployArtifactId: testDeployArtifactOciDevopsDeployArtifact.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testDeployArtifact = Oci.DevOps.GetDeployArtifact.Invoke(new()
    {
        DeployArtifactId = testDeployArtifactOciDevopsDeployArtifact.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DevOpsFunctions;
import com.pulumi.oci.DevOps.inputs.GetDeployArtifactArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testDeployArtifact = DevOpsFunctions.getDeployArtifact(GetDeployArtifactArgs.builder()
            .deployArtifactId(testDeployArtifactOciDevopsDeployArtifact.id())
            .build());
    }
}
variables:
  testDeployArtifact:
    fn::invoke:
      function: oci:DevOps:getDeployArtifact
      arguments:
        deployArtifactId: ${testDeployArtifactOciDevopsDeployArtifact.id}
Using getDeployArtifact
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDeployArtifact(args: GetDeployArtifactArgs, opts?: InvokeOptions): Promise<GetDeployArtifactResult>
function getDeployArtifactOutput(args: GetDeployArtifactOutputArgs, opts?: InvokeOptions): Output<GetDeployArtifactResult>def get_deploy_artifact(deploy_artifact_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDeployArtifactResult
def get_deploy_artifact_output(deploy_artifact_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDeployArtifactResult]func LookupDeployArtifact(ctx *Context, args *LookupDeployArtifactArgs, opts ...InvokeOption) (*LookupDeployArtifactResult, error)
func LookupDeployArtifactOutput(ctx *Context, args *LookupDeployArtifactOutputArgs, opts ...InvokeOption) LookupDeployArtifactResultOutput> Note: This function is named LookupDeployArtifact in the Go SDK.
public static class GetDeployArtifact 
{
    public static Task<GetDeployArtifactResult> InvokeAsync(GetDeployArtifactArgs args, InvokeOptions? opts = null)
    public static Output<GetDeployArtifactResult> Invoke(GetDeployArtifactInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeployArtifactResult> getDeployArtifact(GetDeployArtifactArgs args, InvokeOptions options)
public static Output<GetDeployArtifactResult> getDeployArtifact(GetDeployArtifactArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DevOps/getDeployArtifact:getDeployArtifact
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DeployArtifact stringId 
- Unique artifact identifier.
- DeployArtifact stringId 
- Unique artifact identifier.
- deployArtifact StringId 
- Unique artifact identifier.
- deployArtifact stringId 
- Unique artifact identifier.
- deploy_artifact_ strid 
- Unique artifact identifier.
- deployArtifact StringId 
- Unique artifact identifier.
getDeployArtifact Result
The following output properties are available:
- ArgumentSubstitution stringMode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- CompartmentId string
- The OCID of a compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- DeployArtifact stringId 
- DeployArtifact List<GetSources Deploy Artifact Deploy Artifact Source> 
- Specifies source of an artifact.
- DeployArtifact stringType 
- Type of the deployment artifact.
- Description string
- Optional description about the artifact to be deployed.
- DisplayName string
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- LifecycleDetails string
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- ProjectId string
- The OCID of a project.
- State string
- Current state of the deployment artifact.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- Time the deployment artifact was created. Format defined by RFC3339.
- TimeUpdated string
- Time the deployment artifact was updated. Format defined by RFC3339.
- ArgumentSubstitution stringMode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- CompartmentId string
- The OCID of a compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- DeployArtifact stringId 
- DeployArtifact []GetSources Deploy Artifact Deploy Artifact Source 
- Specifies source of an artifact.
- DeployArtifact stringType 
- Type of the deployment artifact.
- Description string
- Optional description about the artifact to be deployed.
- DisplayName string
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- LifecycleDetails string
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- ProjectId string
- The OCID of a project.
- State string
- Current state of the deployment artifact.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- Time the deployment artifact was created. Format defined by RFC3339.
- TimeUpdated string
- Time the deployment artifact was updated. Format defined by RFC3339.
- argumentSubstitution StringMode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- compartmentId String
- The OCID of a compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deployArtifact StringId 
- deployArtifact List<GetSources Deploy Artifact Deploy Artifact Source> 
- Specifies source of an artifact.
- deployArtifact StringType 
- Type of the deployment artifact.
- description String
- Optional description about the artifact to be deployed.
- displayName String
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- lifecycleDetails String
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- projectId String
- The OCID of a project.
- state String
- Current state of the deployment artifact.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- Time the deployment artifact was created. Format defined by RFC3339.
- timeUpdated String
- Time the deployment artifact was updated. Format defined by RFC3339.
- argumentSubstitution stringMode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- compartmentId string
- The OCID of a compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deployArtifact stringId 
- deployArtifact GetSources Deploy Artifact Deploy Artifact Source[] 
- Specifies source of an artifact.
- deployArtifact stringType 
- Type of the deployment artifact.
- description string
- Optional description about the artifact to be deployed.
- displayName string
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id string
- Unique identifier that is immutable on creation.
- lifecycleDetails string
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- projectId string
- The OCID of a project.
- state string
- Current state of the deployment artifact.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- Time the deployment artifact was created. Format defined by RFC3339.
- timeUpdated string
- Time the deployment artifact was updated. Format defined by RFC3339.
- argument_substitution_ strmode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- compartment_id str
- The OCID of a compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deploy_artifact_ strid 
- deploy_artifact_ Sequence[Getsources Deploy Artifact Deploy Artifact Source] 
- Specifies source of an artifact.
- deploy_artifact_ strtype 
- Type of the deployment artifact.
- description str
- Optional description about the artifact to be deployed.
- display_name str
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id str
- Unique identifier that is immutable on creation.
- lifecycle_details str
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- project_id str
- The OCID of a project.
- state str
- Current state of the deployment artifact.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- Time the deployment artifact was created. Format defined by RFC3339.
- time_updated str
- Time the deployment artifact was updated. Format defined by RFC3339.
- argumentSubstitution StringMode 
- Mode for artifact parameter substitution. Options: "NONE", "SUBSTITUTE_PLACEHOLDERS"For Helm Deployments only "NONE" is supported.
- compartmentId String
- The OCID of a compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
- deployArtifact StringId 
- deployArtifact List<Property Map>Sources 
- Specifies source of an artifact.
- deployArtifact StringType 
- Type of the deployment artifact.
- description String
- Optional description about the artifact to be deployed.
- displayName String
- Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- lifecycleDetails String
- A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- projectId String
- The OCID of a project.
- state String
- Current state of the deployment artifact.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- Time the deployment artifact was created. Format defined by RFC3339.
- timeUpdated String
- Time the deployment artifact was updated. Format defined by RFC3339.
Supporting Types
GetDeployArtifactDeployArtifactSource     
- Base64encodedContent string
- The Helm commands to be executed, base 64 encoded
- ChartUrl string
- The URL of an OCIR repository.
- DeployArtifact stringPath 
- Specifies the artifact path in the repository.
- DeployArtifact stringSource Type 
- Specifies types of artifact sources.
- DeployArtifact stringVersion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- HelmArtifact stringSource Type 
- Specifies types of artifact sources.
- HelmVerification List<GetKey Sources Deploy Artifact Deploy Artifact Source Helm Verification Key Source> 
- The source of the verification material.
- ImageDigest string
- Specifies image digest for the version of the image.
- ImageUri string
- Specifies OCIR Image Path - optionally include tag.
- RepositoryId string
- The OCID of a repository
- Base64encodedContent string
- The Helm commands to be executed, base 64 encoded
- ChartUrl string
- The URL of an OCIR repository.
- DeployArtifact stringPath 
- Specifies the artifact path in the repository.
- DeployArtifact stringSource Type 
- Specifies types of artifact sources.
- DeployArtifact stringVersion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- HelmArtifact stringSource Type 
- Specifies types of artifact sources.
- HelmVerification []GetKey Sources Deploy Artifact Deploy Artifact Source Helm Verification Key Source 
- The source of the verification material.
- ImageDigest string
- Specifies image digest for the version of the image.
- ImageUri string
- Specifies OCIR Image Path - optionally include tag.
- RepositoryId string
- The OCID of a repository
- base64encodedContent String
- The Helm commands to be executed, base 64 encoded
- chartUrl String
- The URL of an OCIR repository.
- deployArtifact StringPath 
- Specifies the artifact path in the repository.
- deployArtifact StringSource Type 
- Specifies types of artifact sources.
- deployArtifact StringVersion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helmArtifact StringSource Type 
- Specifies types of artifact sources.
- helmVerification List<GetKey Sources Deploy Artifact Deploy Artifact Source Helm Verification Key Source> 
- The source of the verification material.
- imageDigest String
- Specifies image digest for the version of the image.
- imageUri String
- Specifies OCIR Image Path - optionally include tag.
- repositoryId String
- The OCID of a repository
- base64encodedContent string
- The Helm commands to be executed, base 64 encoded
- chartUrl string
- The URL of an OCIR repository.
- deployArtifact stringPath 
- Specifies the artifact path in the repository.
- deployArtifact stringSource Type 
- Specifies types of artifact sources.
- deployArtifact stringVersion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helmArtifact stringSource Type 
- Specifies types of artifact sources.
- helmVerification GetKey Sources Deploy Artifact Deploy Artifact Source Helm Verification Key Source[] 
- The source of the verification material.
- imageDigest string
- Specifies image digest for the version of the image.
- imageUri string
- Specifies OCIR Image Path - optionally include tag.
- repositoryId string
- The OCID of a repository
- base64encoded_content str
- The Helm commands to be executed, base 64 encoded
- chart_url str
- The URL of an OCIR repository.
- deploy_artifact_ strpath 
- Specifies the artifact path in the repository.
- deploy_artifact_ strsource_ type 
- Specifies types of artifact sources.
- deploy_artifact_ strversion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helm_artifact_ strsource_ type 
- Specifies types of artifact sources.
- helm_verification_ Sequence[Getkey_ sources Deploy Artifact Deploy Artifact Source Helm Verification Key Source] 
- The source of the verification material.
- image_digest str
- Specifies image digest for the version of the image.
- image_uri str
- Specifies OCIR Image Path - optionally include tag.
- repository_id str
- The OCID of a repository
- base64encodedContent String
- The Helm commands to be executed, base 64 encoded
- chartUrl String
- The URL of an OCIR repository.
- deployArtifact StringPath 
- Specifies the artifact path in the repository.
- deployArtifact StringSource Type 
- Specifies types of artifact sources.
- deployArtifact StringVersion 
- Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helmArtifact StringSource Type 
- Specifies types of artifact sources.
- helmVerification List<Property Map>Key Sources 
- The source of the verification material.
- imageDigest String
- Specifies image digest for the version of the image.
- imageUri String
- Specifies OCIR Image Path - optionally include tag.
- repositoryId String
- The OCID of a repository
GetDeployArtifactDeployArtifactSourceHelmVerificationKeySource         
- CurrentPublic stringKey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- PreviousPublic stringKey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- VaultSecret stringId 
- The OCID of the Vault Secret containing the verification key versions.
- VerificationKey stringSource Type 
- Specifies type of verification material.
- CurrentPublic stringKey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- PreviousPublic stringKey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- VaultSecret stringId 
- The OCID of the Vault Secret containing the verification key versions.
- VerificationKey stringSource Type 
- Specifies type of verification material.
- currentPublic StringKey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previousPublic StringKey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- vaultSecret StringId 
- The OCID of the Vault Secret containing the verification key versions.
- verificationKey StringSource Type 
- Specifies type of verification material.
- currentPublic stringKey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previousPublic stringKey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- vaultSecret stringId 
- The OCID of the Vault Secret containing the verification key versions.
- verificationKey stringSource Type 
- Specifies type of verification material.
- current_public_ strkey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previous_public_ strkey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- vault_secret_ strid 
- The OCID of the Vault Secret containing the verification key versions.
- verification_key_ strsource_ type 
- Specifies type of verification material.
- currentPublic StringKey 
- Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previousPublic StringKey 
- Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
- vaultSecret StringId 
- The OCID of the Vault Secret containing the verification key versions.
- verificationKey StringSource Type 
- Specifies type of verification material.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.