Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getDeployArtifact

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testDeployArtifact = Output.Create(Oci.DevOps.GetDeployArtifact.InvokeAsync(new Oci.DevOps.GetDeployArtifactArgs
        {
            DeployArtifactId = oci_devops_deploy_artifact.Test_deploy_artifact.Id,
        }));
    }

}
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.GetDeployArtifact(ctx, &devops.GetDeployArtifactArgs{
			DeployArtifactId: oci_devops_deploy_artifact.Test_deploy_artifact.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_deploy_artifact = oci.DevOps.get_deploy_artifact(deploy_artifact_id=oci_devops_deploy_artifact["test_deploy_artifact"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDeployArtifact = oci.DevOps.getDeployArtifact({
    deployArtifactId: oci_devops_deploy_artifact.test_deploy_artifact.id,
});

Coming soon!

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 GetDeployArtifact(ctx *Context, args *GetDeployArtifactArgs, opts ...InvokeOption) (*GetDeployArtifactResult, error)
func GetDeployArtifactOutput(ctx *Context, args *GetDeployArtifactOutputArgs, opts ...InvokeOption) GetDeployArtifactResultOutput

> Note: This function is named GetDeployArtifact 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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DevOps/getDeployArtifact:getDeployArtifact
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeployArtifactId string

Unique artifact identifier.

DeployArtifactId string

Unique artifact identifier.

deployArtifactId String

Unique artifact identifier.

deployArtifactId string

Unique artifact identifier.

deploy_artifact_id str

Unique artifact identifier.

deployArtifactId String

Unique artifact identifier.

getDeployArtifact Result

The following output properties are available:

ArgumentSubstitutionMode string

Mode for artifact parameter substitution.

CompartmentId string

The OCID of a compartment.

DefinedTags Dictionary<string, object>

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

DeployArtifactId string
DeployArtifactSources List<GetDeployArtifactDeployArtifactSource>

Specifies source of an artifact.

DeployArtifactType string

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.

FreeformTags Dictionary<string, object>

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.

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

Mode for artifact parameter substitution.

CompartmentId string

The OCID of a compartment.

DefinedTags map[string]interface{}

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

DeployArtifactId string
DeployArtifactSources []GetDeployArtifactDeployArtifactSource

Specifies source of an artifact.

DeployArtifactType string

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.

FreeformTags map[string]interface{}

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.

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

Mode for artifact parameter substitution.

compartmentId String

The OCID of a compartment.

definedTags Map<String,Object>

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

deployArtifactId String
deployArtifactSources List<GetDeployArtifactDeployArtifactSource>

Specifies source of an artifact.

deployArtifactType String

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.

freeformTags Map<String,Object>

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.

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

Mode for artifact parameter substitution.

compartmentId string

The OCID of a compartment.

definedTags {[key: string]: any}

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

deployArtifactId string
deployArtifactSources GetDeployArtifactDeployArtifactSource[]

Specifies source of an artifact.

deployArtifactType string

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.

freeformTags {[key: string]: any}

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.

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

Mode for artifact parameter substitution.

compartment_id str

The OCID of a compartment.

defined_tags Mapping[str, Any]

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_id str
deploy_artifact_sources GetDeployArtifactDeployArtifactSource]

Specifies source of an artifact.

deploy_artifact_type str

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.

freeform_tags Mapping[str, Any]

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.

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

Mode for artifact parameter substitution.

compartmentId String

The OCID of a compartment.

definedTags Map<Any>

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

deployArtifactId String
deployArtifactSources List<Property Map>

Specifies source of an artifact.

deployArtifactType String

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.

freeformTags Map<Any>

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.

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

GetDeployArtifactDeployArtifactSource

Base64encodedContent string

base64 Encoded String

DeployArtifactPath string

Specifies the artifact path in the repository.

DeployArtifactSourceType string

Specifies types of artifact sources.

DeployArtifactVersion string

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

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

base64 Encoded String

DeployArtifactPath string

Specifies the artifact path in the repository.

DeployArtifactSourceType string

Specifies types of artifact sources.

DeployArtifactVersion string

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

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

base64 Encoded String

deployArtifactPath String

Specifies the artifact path in the repository.

deployArtifactSourceType String

Specifies types of artifact sources.

deployArtifactVersion String

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

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

base64 Encoded String

deployArtifactPath string

Specifies the artifact path in the repository.

deployArtifactSourceType string

Specifies types of artifact sources.

deployArtifactVersion string

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

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

base64 Encoded String

deploy_artifact_path str

Specifies the artifact path in the repository.

deploy_artifact_source_type str

Specifies types of artifact sources.

deploy_artifact_version str

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

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

base64 Encoded String

deployArtifactPath String

Specifies the artifact path in the repository.

deployArtifactSourceType String

Specifies types of artifact sources.

deployArtifactVersion String

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.