oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.DevOps.DeployArtifact

This resource provides the Deploy Artifact resource in Oracle Cloud Infrastructure Devops service.

Creates a new deployment artifact.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDeployArtifact = new Oci.DevOps.DeployArtifact("testDeployArtifact", new()
    {
        ArgumentSubstitutionMode = @var.Deploy_artifact_argument_substitution_mode,
        DeployArtifactSource = new Oci.DevOps.Inputs.DeployArtifactDeployArtifactSourceArgs
        {
            DeployArtifactSourceType = @var.Deploy_artifact_deploy_artifact_source_deploy_artifact_source_type,
            Base64encodedContent = @var.Deploy_artifact_deploy_artifact_source_base64encoded_content,
            ChartUrl = @var.Deploy_artifact_deploy_artifact_source_chart_url,
            DeployArtifactPath = @var.Deploy_artifact_deploy_artifact_source_deploy_artifact_path,
            DeployArtifactVersion = @var.Deploy_artifact_deploy_artifact_source_deploy_artifact_version,
            HelmVerificationKeySource = new Oci.DevOps.Inputs.DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs
            {
                VerificationKeySourceType = @var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type,
                CurrentPublicKey = @var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key,
                PreviousPublicKey = @var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key,
                VaultSecretId = oci_vault_secret.Test_secret.Id,
            },
            ImageDigest = @var.Deploy_artifact_deploy_artifact_source_image_digest,
            ImageUri = @var.Deploy_artifact_deploy_artifact_source_image_uri,
            RepositoryId = oci_devops_repository.Test_repository.Id,
        },
        DeployArtifactType = @var.Deploy_artifact_deploy_artifact_type,
        ProjectId = oci_devops_project.Test_project.Id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = @var.Deploy_artifact_description,
        DisplayName = @var.Deploy_artifact_display_name,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DevOps"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DevOps.NewDeployArtifact(ctx, "testDeployArtifact", &DevOps.DeployArtifactArgs{
			ArgumentSubstitutionMode: pulumi.Any(_var.Deploy_artifact_argument_substitution_mode),
			DeployArtifactSource: &devops.DeployArtifactDeployArtifactSourceArgs{
				DeployArtifactSourceType: pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_deploy_artifact_source_type),
				Base64encodedContent:     pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_base64encoded_content),
				ChartUrl:                 pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_chart_url),
				DeployArtifactPath:       pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_deploy_artifact_path),
				DeployArtifactVersion:    pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_deploy_artifact_version),
				HelmVerificationKeySource: &devops.DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs{
					VerificationKeySourceType: pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type),
					CurrentPublicKey:          pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key),
					PreviousPublicKey:         pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key),
					VaultSecretId:             pulumi.Any(oci_vault_secret.Test_secret.Id),
				},
				ImageDigest:  pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_image_digest),
				ImageUri:     pulumi.Any(_var.Deploy_artifact_deploy_artifact_source_image_uri),
				RepositoryId: pulumi.Any(oci_devops_repository.Test_repository.Id),
			},
			DeployArtifactType: pulumi.Any(_var.Deploy_artifact_deploy_artifact_type),
			ProjectId:          pulumi.Any(oci_devops_project.Test_project.Id),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Deploy_artifact_description),
			DisplayName: pulumi.Any(_var.Deploy_artifact_display_name),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DeployArtifact;
import com.pulumi.oci.DevOps.DeployArtifactArgs;
import com.pulumi.oci.DevOps.inputs.DeployArtifactDeployArtifactSourceArgs;
import com.pulumi.oci.DevOps.inputs.DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs;
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) {
        var testDeployArtifact = new DeployArtifact("testDeployArtifact", DeployArtifactArgs.builder()        
            .argumentSubstitutionMode(var_.deploy_artifact_argument_substitution_mode())
            .deployArtifactSource(DeployArtifactDeployArtifactSourceArgs.builder()
                .deployArtifactSourceType(var_.deploy_artifact_deploy_artifact_source_deploy_artifact_source_type())
                .base64encodedContent(var_.deploy_artifact_deploy_artifact_source_base64encoded_content())
                .chartUrl(var_.deploy_artifact_deploy_artifact_source_chart_url())
                .deployArtifactPath(var_.deploy_artifact_deploy_artifact_source_deploy_artifact_path())
                .deployArtifactVersion(var_.deploy_artifact_deploy_artifact_source_deploy_artifact_version())
                .helmVerificationKeySource(DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs.builder()
                    .verificationKeySourceType(var_.deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type())
                    .currentPublicKey(var_.deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key())
                    .previousPublicKey(var_.deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key())
                    .vaultSecretId(oci_vault_secret.test_secret().id())
                    .build())
                .imageDigest(var_.deploy_artifact_deploy_artifact_source_image_digest())
                .imageUri(var_.deploy_artifact_deploy_artifact_source_image_uri())
                .repositoryId(oci_devops_repository.test_repository().id())
                .build())
            .deployArtifactType(var_.deploy_artifact_deploy_artifact_type())
            .projectId(oci_devops_project.test_project().id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(var_.deploy_artifact_description())
            .displayName(var_.deploy_artifact_display_name())
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_deploy_artifact = oci.dev_ops.DeployArtifact("testDeployArtifact",
    argument_substitution_mode=var["deploy_artifact_argument_substitution_mode"],
    deploy_artifact_source=oci.dev_ops.DeployArtifactDeployArtifactSourceArgs(
        deploy_artifact_source_type=var["deploy_artifact_deploy_artifact_source_deploy_artifact_source_type"],
        base64encoded_content=var["deploy_artifact_deploy_artifact_source_base64encoded_content"],
        chart_url=var["deploy_artifact_deploy_artifact_source_chart_url"],
        deploy_artifact_path=var["deploy_artifact_deploy_artifact_source_deploy_artifact_path"],
        deploy_artifact_version=var["deploy_artifact_deploy_artifact_source_deploy_artifact_version"],
        helm_verification_key_source=oci.dev_ops.DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs(
            verification_key_source_type=var["deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type"],
            current_public_key=var["deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key"],
            previous_public_key=var["deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key"],
            vault_secret_id=oci_vault_secret["test_secret"]["id"],
        ),
        image_digest=var["deploy_artifact_deploy_artifact_source_image_digest"],
        image_uri=var["deploy_artifact_deploy_artifact_source_image_uri"],
        repository_id=oci_devops_repository["test_repository"]["id"],
    ),
    deploy_artifact_type=var["deploy_artifact_deploy_artifact_type"],
    project_id=oci_devops_project["test_project"]["id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["deploy_artifact_description"],
    display_name=var["deploy_artifact_display_name"],
    freeform_tags={
        "bar-key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDeployArtifact = new oci.devops.DeployArtifact("testDeployArtifact", {
    argumentSubstitutionMode: _var.deploy_artifact_argument_substitution_mode,
    deployArtifactSource: {
        deployArtifactSourceType: _var.deploy_artifact_deploy_artifact_source_deploy_artifact_source_type,
        base64encodedContent: _var.deploy_artifact_deploy_artifact_source_base64encoded_content,
        chartUrl: _var.deploy_artifact_deploy_artifact_source_chart_url,
        deployArtifactPath: _var.deploy_artifact_deploy_artifact_source_deploy_artifact_path,
        deployArtifactVersion: _var.deploy_artifact_deploy_artifact_source_deploy_artifact_version,
        helmVerificationKeySource: {
            verificationKeySourceType: _var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type,
            currentPublicKey: _var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key,
            previousPublicKey: _var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key,
            vaultSecretId: oci_vault_secret.test_secret.id,
        },
        imageDigest: _var.deploy_artifact_deploy_artifact_source_image_digest,
        imageUri: _var.deploy_artifact_deploy_artifact_source_image_uri,
        repositoryId: oci_devops_repository.test_repository.id,
    },
    deployArtifactType: _var.deploy_artifact_deploy_artifact_type,
    projectId: oci_devops_project.test_project.id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.deploy_artifact_description,
    displayName: _var.deploy_artifact_display_name,
    freeformTags: {
        "bar-key": "value",
    },
});
resources:
  testDeployArtifact:
    type: oci:DevOps:DeployArtifact
    properties:
      #Required
      argumentSubstitutionMode: ${var.deploy_artifact_argument_substitution_mode}
      deployArtifactSource:
        deployArtifactSourceType: ${var.deploy_artifact_deploy_artifact_source_deploy_artifact_source_type}
        base64encodedContent: ${var.deploy_artifact_deploy_artifact_source_base64encoded_content}
        chartUrl: ${var.deploy_artifact_deploy_artifact_source_chart_url}
        deployArtifactPath: ${var.deploy_artifact_deploy_artifact_source_deploy_artifact_path}
        deployArtifactVersion: ${var.deploy_artifact_deploy_artifact_source_deploy_artifact_version}
        helmVerificationKeySource:
          verificationKeySourceType: ${var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_verification_key_source_type}
          currentPublicKey: ${var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_current_public_key}
          previousPublicKey: ${var.deploy_artifact_deploy_artifact_source_helm_verification_key_source_previous_public_key}
          vaultSecretId: ${oci_vault_secret.test_secret.id}
        imageDigest: ${var.deploy_artifact_deploy_artifact_source_image_digest}
        imageUri: ${var.deploy_artifact_deploy_artifact_source_image_uri}
        repositoryId: ${oci_devops_repository.test_repository.id}
      deployArtifactType: ${var.deploy_artifact_deploy_artifact_type}
      projectId: ${oci_devops_project.test_project.id}
      #Optional
      definedTags:
        foo-namespace.bar-key: value
      description: ${var.deploy_artifact_description}
      displayName: ${var.deploy_artifact_display_name}
      freeformTags:
        bar-key: value

Create DeployArtifact Resource

new DeployArtifact(name: string, args: DeployArtifactArgs, opts?: CustomResourceOptions);
@overload
def DeployArtifact(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   argument_substitution_mode: Optional[str] = None,
                   defined_tags: Optional[Mapping[str, Any]] = None,
                   deploy_artifact_source: Optional[_devops.DeployArtifactDeployArtifactSourceArgs] = None,
                   deploy_artifact_type: Optional[str] = None,
                   description: Optional[str] = None,
                   display_name: Optional[str] = None,
                   freeform_tags: Optional[Mapping[str, Any]] = None,
                   project_id: Optional[str] = None)
@overload
def DeployArtifact(resource_name: str,
                   args: DeployArtifactArgs,
                   opts: Optional[ResourceOptions] = None)
func NewDeployArtifact(ctx *Context, name string, args DeployArtifactArgs, opts ...ResourceOption) (*DeployArtifact, error)
public DeployArtifact(string name, DeployArtifactArgs args, CustomResourceOptions? opts = null)
public DeployArtifact(String name, DeployArtifactArgs args)
public DeployArtifact(String name, DeployArtifactArgs args, CustomResourceOptions options)
type: oci:DevOps:DeployArtifact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeployArtifactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DeployArtifactArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DeployArtifactArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeployArtifactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeployArtifactArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DeployArtifact Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DeployArtifact resource accepts the following input properties:

ArgumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

DeployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

DeployArtifactType string

(Updatable) Type of the deployment artifact.

ProjectId string

The OCID of a project.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) Optional description about the deployment artifact.

DisplayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

(Updatable) 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"}

ArgumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

DeployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

DeployArtifactType string

(Updatable) Type of the deployment artifact.

ProjectId string

The OCID of a project.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) Optional description about the deployment artifact.

DisplayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

FreeformTags map[string]interface{}

(Updatable) 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"}

argumentSubstitutionMode String

(Updatable) Mode for artifact parameter substitution.

deployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deployArtifactType String

(Updatable) Type of the deployment artifact.

projectId String

The OCID of a project.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) Optional description about the deployment artifact.

displayName String

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags Map<String,Object>

(Updatable) 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"}

argumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

deployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deployArtifactType string

(Updatable) Type of the deployment artifact.

projectId string

The OCID of a project.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

description string

(Updatable) Optional description about the deployment artifact.

displayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags {[key: string]: any}

(Updatable) 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"}

argument_substitution_mode str

(Updatable) Mode for artifact parameter substitution.

deploy_artifact_source DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deploy_artifact_type str

(Updatable) Type of the deployment artifact.

project_id str

The OCID of a project.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

description str

(Updatable) Optional description about the deployment artifact.

display_name str

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

(Updatable) 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"}

argumentSubstitutionMode String

(Updatable) Mode for artifact parameter substitution.

deployArtifactSource Property Map

(Updatable) Specifies source of an artifact.

deployArtifactType String

(Updatable) Type of the deployment artifact.

projectId String

The OCID of a project.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) Optional description about the deployment artifact.

displayName String

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags Map<Any>

(Updatable) 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"}

Outputs

All input properties are implicitly available as output properties. Additionally, the DeployArtifact resource produces the following output properties:

CompartmentId string

The OCID of a compartment.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.

State string

Current state of the deployment artifact.

SystemTags Dictionary<string, object>

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.

CompartmentId string

The OCID of a compartment.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.

State string

Current state of the deployment artifact.

SystemTags map[string]interface{}

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.

compartmentId String

The OCID of a compartment.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.

state String

Current state of the deployment artifact.

systemTags Map<String,Object>

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.

compartmentId string

The OCID of a compartment.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.

state string

Current state of the deployment artifact.

systemTags {[key: string]: any}

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.

compartment_id str

The OCID of a compartment.

id str

The provider-assigned unique ID for this managed resource.

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.

state str

Current state of the deployment artifact.

system_tags Mapping[str, Any]

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.

compartmentId String

The OCID of a compartment.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.

state String

Current state of the deployment artifact.

systemTags Map<Any>

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.

Look up Existing DeployArtifact Resource

Get an existing DeployArtifact resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeployArtifactState, opts?: CustomResourceOptions): DeployArtifact
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        argument_substitution_mode: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        deploy_artifact_source: Optional[_devops.DeployArtifactDeployArtifactSourceArgs] = None,
        deploy_artifact_type: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> DeployArtifact
func GetDeployArtifact(ctx *Context, name string, id IDInput, state *DeployArtifactState, opts ...ResourceOption) (*DeployArtifact, error)
public static DeployArtifact Get(string name, Input<string> id, DeployArtifactState? state, CustomResourceOptions? opts = null)
public static DeployArtifact get(String name, Output<String> id, DeployArtifactState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ArgumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

CompartmentId string

The OCID of a compartment.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

DeployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

DeployArtifactType string

(Updatable) Type of the deployment artifact.

Description string

(Updatable) Optional description about the deployment artifact.

DisplayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

(Updatable) 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"}

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.

SystemTags Dictionary<string, object>

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.

ArgumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

CompartmentId string

The OCID of a compartment.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

DeployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

DeployArtifactType string

(Updatable) Type of the deployment artifact.

Description string

(Updatable) Optional description about the deployment artifact.

DisplayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

FreeformTags map[string]interface{}

(Updatable) 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"}

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.

SystemTags map[string]interface{}

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.

argumentSubstitutionMode String

(Updatable) Mode for artifact parameter substitution.

compartmentId String

The OCID of a compartment.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

deployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deployArtifactType String

(Updatable) Type of the deployment artifact.

description String

(Updatable) Optional description about the deployment artifact.

displayName String

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags Map<String,Object>

(Updatable) 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"}

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.

systemTags Map<String,Object>

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.

argumentSubstitutionMode string

(Updatable) Mode for artifact parameter substitution.

compartmentId string

The OCID of a compartment.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

deployArtifactSource DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deployArtifactType string

(Updatable) Type of the deployment artifact.

description string

(Updatable) Optional description about the deployment artifact.

displayName string

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags {[key: string]: any}

(Updatable) 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"}

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.

systemTags {[key: string]: any}

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_mode str

(Updatable) Mode for artifact parameter substitution.

compartment_id str

The OCID of a compartment.

defined_tags Mapping[str, Any]

(Updatable) 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_source DeployArtifactDeployArtifactSourceArgs

(Updatable) Specifies source of an artifact.

deploy_artifact_type str

(Updatable) Type of the deployment artifact.

description str

(Updatable) Optional description about the deployment artifact.

display_name str

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

(Updatable) 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"}

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.

system_tags Mapping[str, Any]

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.

argumentSubstitutionMode String

(Updatable) Mode for artifact parameter substitution.

compartmentId String

The OCID of a compartment.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}

deployArtifactSource Property Map

(Updatable) Specifies source of an artifact.

deployArtifactType String

(Updatable) Type of the deployment artifact.

description String

(Updatable) Optional description about the deployment artifact.

displayName String

(Updatable) Deployment artifact display name. Avoid entering confidential information.

freeformTags Map<Any>

(Updatable) 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"}

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.

systemTags Map<Any>

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

DeployArtifactDeployArtifactSource

DeployArtifactSourceType string

(Updatable) Specifies types of artifact sources.

Base64encodedContent string

(Updatable) Specifies content for the inline artifact.

ChartUrl string

(Updatable) The URL of an OCIR repository.

DeployArtifactPath string

(Updatable) Specifies the artifact path in the repository.

DeployArtifactVersion string

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

HelmVerificationKeySource DeployArtifactDeployArtifactSourceHelmVerificationKeySource

(Updatable) The source of the verification material.

ImageDigest string

(Updatable) Specifies image digest for the version of the image.

ImageUri string

(Updatable) Specifies OCIR Image Path - optionally include tag.

RepositoryId string

(Updatable) The OCID of a repository

DeployArtifactSourceType string

(Updatable) Specifies types of artifact sources.

Base64encodedContent string

(Updatable) Specifies content for the inline artifact.

ChartUrl string

(Updatable) The URL of an OCIR repository.

DeployArtifactPath string

(Updatable) Specifies the artifact path in the repository.

DeployArtifactVersion string

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

HelmVerificationKeySource DeployArtifactDeployArtifactSourceHelmVerificationKeySource

(Updatable) The source of the verification material.

ImageDigest string

(Updatable) Specifies image digest for the version of the image.

ImageUri string

(Updatable) Specifies OCIR Image Path - optionally include tag.

RepositoryId string

(Updatable) The OCID of a repository

deployArtifactSourceType String

(Updatable) Specifies types of artifact sources.

base64encodedContent String

(Updatable) Specifies content for the inline artifact.

chartUrl String

(Updatable) The URL of an OCIR repository.

deployArtifactPath String

(Updatable) Specifies the artifact path in the repository.

deployArtifactVersion String

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

helmVerificationKeySource DeployArtifactDeployArtifactSourceHelmVerificationKeySource

(Updatable) The source of the verification material.

imageDigest String

(Updatable) Specifies image digest for the version of the image.

imageUri String

(Updatable) Specifies OCIR Image Path - optionally include tag.

repositoryId String

(Updatable) The OCID of a repository

deployArtifactSourceType string

(Updatable) Specifies types of artifact sources.

base64encodedContent string

(Updatable) Specifies content for the inline artifact.

chartUrl string

(Updatable) The URL of an OCIR repository.

deployArtifactPath string

(Updatable) Specifies the artifact path in the repository.

deployArtifactVersion string

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

helmVerificationKeySource DeployArtifactDeployArtifactSourceHelmVerificationKeySource

(Updatable) The source of the verification material.

imageDigest string

(Updatable) Specifies image digest for the version of the image.

imageUri string

(Updatable) Specifies OCIR Image Path - optionally include tag.

repositoryId string

(Updatable) The OCID of a repository

deploy_artifact_source_type str

(Updatable) Specifies types of artifact sources.

base64encoded_content str

(Updatable) Specifies content for the inline artifact.

chart_url str

(Updatable) The URL of an OCIR repository.

deploy_artifact_path str

(Updatable) Specifies the artifact path in the repository.

deploy_artifact_version str

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

helm_verification_key_source DeployArtifactDeployArtifactSourceHelmVerificationKeySource

(Updatable) The source of the verification material.

image_digest str

(Updatable) Specifies image digest for the version of the image.

image_uri str

(Updatable) Specifies OCIR Image Path - optionally include tag.

repository_id str

(Updatable) The OCID of a repository

deployArtifactSourceType String

(Updatable) Specifies types of artifact sources.

base64encodedContent String

(Updatable) Specifies content for the inline artifact.

chartUrl String

(Updatable) The URL of an OCIR repository.

deployArtifactPath String

(Updatable) Specifies the artifact path in the repository.

deployArtifactVersion String

(Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.

helmVerificationKeySource Property Map

(Updatable) The source of the verification material.

imageDigest String

(Updatable) Specifies image digest for the version of the image.

imageUri String

(Updatable) Specifies OCIR Image Path - optionally include tag.

repositoryId String

(Updatable) The OCID of a repository

DeployArtifactDeployArtifactSourceHelmVerificationKeySource

VerificationKeySourceType string

(Updatable) Specifies type of verification material.

CurrentPublicKey string

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

PreviousPublicKey string

(Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.

VaultSecretId string

(Updatable) The OCID of the Vault Secret containing the verification key versions.

VerificationKeySourceType string

(Updatable) Specifies type of verification material.

CurrentPublicKey string

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

PreviousPublicKey string

(Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.

VaultSecretId string

(Updatable) The OCID of the Vault Secret containing the verification key versions.

verificationKeySourceType String

(Updatable) Specifies type of verification material.

currentPublicKey String

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

previousPublicKey String

(Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.

vaultSecretId String

(Updatable) The OCID of the Vault Secret containing the verification key versions.

verificationKeySourceType string

(Updatable) Specifies type of verification material.

currentPublicKey string

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

previousPublicKey string

(Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.

vaultSecretId string

(Updatable) The OCID of the Vault Secret containing the verification key versions.

verification_key_source_type str

(Updatable) Specifies type of verification material.

current_public_key str

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

previous_public_key str

(Updatable) 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_id str

(Updatable) The OCID of the Vault Secret containing the verification key versions.

verificationKeySourceType String

(Updatable) Specifies type of verification material.

currentPublicKey String

(Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.

previousPublicKey String

(Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.

vaultSecretId String

(Updatable) The OCID of the Vault Secret containing the verification key versions.

Import

DeployArtifacts can be imported using the id, e.g.

 $ pulumi import oci:DevOps/deployArtifact:DeployArtifact test_deploy_artifact "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.