oci.DevOps.DeployArtifact
Explore with Pulumi AI
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 System.Linq;
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.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(_var.Deploy_artifact_description),
DisplayName: pulumi.Any(_var.Deploy_artifact_display_name),
FreeformTags: pulumi.Map{
"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:
- Argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- Deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- Deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- Project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- Argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- Deploy
Artifact DeploySource Artifact Deploy Artifact Source Args (Updatable) Specifies source of an artifact.
- Deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- Project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- argument
Substitution StringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- deploy
Artifact StringType (Updatable) Type of the deployment artifact.
- project
Id String The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- display
Name String (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[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.
- display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- {[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_ strmode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- deploy_
artifact_ Deploysource Artifact Deploy Artifact Source Args (Updatable) Specifies source of an artifact.
- deploy_
artifact_ strtype (Updatable) Type of the deployment artifact.
- project_
id str The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- 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"}
- argument
Substitution StringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- deploy
Artifact Property MapSource (Updatable) Specifies source of an artifact.
- deploy
Artifact StringType (Updatable) Type of the deployment artifact.
- project
Id String The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- display
Name String (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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:
- Compartment
Id string The OCID of a compartment.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- 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"}
- Time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- Time
Updated string Time the deployment artifact was updated. Format defined by RFC3339.
- Compartment
Id string The OCID of a compartment.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- 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"}
- Time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- Time
Updated string Time the deployment artifact was updated. Format defined by RFC3339.
- compartment
Id String The OCID of a compartment.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- 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"}
- time
Created String Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated String Time the deployment artifact was updated. Format defined by RFC3339.
- compartment
Id string The OCID of a compartment.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- {[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"}
- time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated 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.
- 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.
- compartment
Id String The OCID of a compartment.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- Map<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 String Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated 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.
- Argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- Compartment
Id string The OCID of a compartment.
- 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"}
- Deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- Deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- Description string
(Updatable) Optional description about the deployment artifact.
- Display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- Lifecycle
Details string A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- Project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
Current state of the deployment artifact.
- 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"}
- Time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- Time
Updated string Time the deployment artifact was updated. Format defined by RFC3339.
- Argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- Compartment
Id string The OCID of a compartment.
- 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"}
- Deploy
Artifact DeploySource Artifact Deploy Artifact Source Args (Updatable) Specifies source of an artifact.
- Deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- Description string
(Updatable) Optional description about the deployment artifact.
- Display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- Lifecycle
Details string A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- Project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
Current state of the deployment artifact.
- 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"}
- Time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- Time
Updated string Time the deployment artifact was updated. Format defined by RFC3339.
- argument
Substitution StringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- compartment
Id String The OCID of a compartment.
- 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"}
- deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- deploy
Artifact StringType (Updatable) Type of the deployment artifact.
- description String
(Updatable) Optional description about the deployment artifact.
- display
Name String (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- lifecycle
Details String A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id String The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
Current state of the deployment artifact.
- 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"}
- time
Created String Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated String Time the deployment artifact was updated. Format defined by RFC3339.
- argument
Substitution stringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- compartment
Id string The OCID of a compartment.
- {[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"}
- deploy
Artifact DeploySource Artifact Deploy Artifact Source (Updatable) Specifies source of an artifact.
- deploy
Artifact stringType (Updatable) Type of the deployment artifact.
- description string
(Updatable) Optional description about the deployment artifact.
- display
Name string (Updatable) Deployment artifact display name. Avoid entering confidential information.
- {[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"}
- lifecycle
Details string A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id string The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state string
Current state of the deployment artifact.
- {[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"}
- time
Created string Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated string Time the deployment artifact was updated. Format defined by RFC3339.
- argument_
substitution_ strmode (Updatable) 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, 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_ Deploysource Artifact Deploy Artifact Source Args (Updatable) Specifies source of an artifact.
- deploy_
artifact_ strtype (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.
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state str
Current state of the deployment artifact.
- 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.
- argument
Substitution StringMode (Updatable) Mode for artifact parameter substitution. Options:
"NONE", "SUBSTITUTE_PLACEHOLDERS"
For Helm Deployments only "NONE" is supported.- compartment
Id String The OCID of a compartment.
- 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"}
- deploy
Artifact Property MapSource (Updatable) Specifies source of an artifact.
- deploy
Artifact StringType (Updatable) Type of the deployment artifact.
- description String
(Updatable) Optional description about the deployment artifact.
- display
Name String (Updatable) Deployment artifact display name. Avoid entering confidential information.
- 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"}
- lifecycle
Details String A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id String The OCID of a project.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
Current state of the deployment artifact.
- Map<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 String Time the deployment artifact was created. Format defined by RFC3339.
- time
Updated String Time the deployment artifact was updated. Format defined by RFC3339.
Supporting Types
DeployArtifactDeployArtifactSource, DeployArtifactDeployArtifactSourceArgs
- Deploy
Artifact stringSource Type (Updatable) Specifies types of artifact sources.
- Base64encoded
Content string (Updatable) Specifies content for the inline artifact.
- Chart
Url string (Updatable) The URL of an OCIR repository.
- Deploy
Artifact stringPath (Updatable) Specifies the artifact path in the repository.
- Deploy
Artifact stringVersion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- Helm
Verification DeployKey Source Artifact Deploy Artifact Source Helm Verification Key Source (Updatable) The source of the verification material.
- Image
Digest string (Updatable) Specifies image digest for the version of the image.
- Image
Uri string (Updatable) Specifies OCIR Image Path - optionally include tag.
- Repository
Id string (Updatable) The OCID of a repository
- Deploy
Artifact stringSource Type (Updatable) Specifies types of artifact sources.
- Base64encoded
Content string (Updatable) Specifies content for the inline artifact.
- Chart
Url string (Updatable) The URL of an OCIR repository.
- Deploy
Artifact stringPath (Updatable) Specifies the artifact path in the repository.
- Deploy
Artifact stringVersion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- Helm
Verification DeployKey Source Artifact Deploy Artifact Source Helm Verification Key Source (Updatable) The source of the verification material.
- Image
Digest string (Updatable) Specifies image digest for the version of the image.
- Image
Uri string (Updatable) Specifies OCIR Image Path - optionally include tag.
- Repository
Id string (Updatable) The OCID of a repository
- deploy
Artifact StringSource Type (Updatable) Specifies types of artifact sources.
- base64encoded
Content String (Updatable) Specifies content for the inline artifact.
- chart
Url String (Updatable) The URL of an OCIR repository.
- deploy
Artifact StringPath (Updatable) Specifies the artifact path in the repository.
- deploy
Artifact StringVersion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helm
Verification DeployKey Source Artifact Deploy Artifact Source Helm Verification Key Source (Updatable) The source of the verification material.
- image
Digest String (Updatable) Specifies image digest for the version of the image.
- image
Uri String (Updatable) Specifies OCIR Image Path - optionally include tag.
- repository
Id String (Updatable) The OCID of a repository
- deploy
Artifact stringSource Type (Updatable) Specifies types of artifact sources.
- base64encoded
Content string (Updatable) Specifies content for the inline artifact.
- chart
Url string (Updatable) The URL of an OCIR repository.
- deploy
Artifact stringPath (Updatable) Specifies the artifact path in the repository.
- deploy
Artifact stringVersion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helm
Verification DeployKey Source Artifact Deploy Artifact Source Helm Verification Key Source (Updatable) The source of the verification material.
- image
Digest string (Updatable) Specifies image digest for the version of the image.
- image
Uri string (Updatable) Specifies OCIR Image Path - optionally include tag.
- repository
Id string (Updatable) The OCID of a repository
- deploy_
artifact_ strsource_ type (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_ strpath (Updatable) Specifies the artifact path in the repository.
- deploy_
artifact_ strversion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helm_
verification_ Deploykey_ source Artifact Deploy Artifact Source Helm Verification Key Source (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
- deploy
Artifact StringSource Type (Updatable) Specifies types of artifact sources.
- base64encoded
Content String (Updatable) Specifies content for the inline artifact.
- chart
Url String (Updatable) The URL of an OCIR repository.
- deploy
Artifact StringPath (Updatable) Specifies the artifact path in the repository.
- deploy
Artifact StringVersion (Updatable) Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}.
- helm
Verification Property MapKey Source (Updatable) The source of the verification material.
- image
Digest String (Updatable) Specifies image digest for the version of the image.
- image
Uri String (Updatable) Specifies OCIR Image Path - optionally include tag.
- repository
Id String (Updatable) The OCID of a repository
DeployArtifactDeployArtifactSourceHelmVerificationKeySource, DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs
- Verification
Key stringSource Type (Updatable) Specifies type of verification material.
- Current
Public stringKey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- Previous
Public stringKey (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 stringId (Updatable) The OCID of the Vault Secret containing the verification key versions.
- Verification
Key stringSource Type (Updatable) Specifies type of verification material.
- Current
Public stringKey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- Previous
Public stringKey (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 stringId (Updatable) The OCID of the Vault Secret containing the verification key versions.
- verification
Key StringSource Type (Updatable) Specifies type of verification material.
- current
Public StringKey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previous
Public StringKey (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 StringId (Updatable) The OCID of the Vault Secret containing the verification key versions.
- verification
Key stringSource Type (Updatable) Specifies type of verification material.
- current
Public stringKey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previous
Public stringKey (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 stringId (Updatable) The OCID of the Vault Secret containing the verification key versions.
- verification_
key_ strsource_ type (Updatable) Specifies type of verification material.
- current_
public_ strkey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previous_
public_ strkey (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_ strid (Updatable) The OCID of the Vault Secret containing the verification key versions.
- verification
Key StringSource Type (Updatable) Specifies type of verification material.
- current
Public StringKey (Updatable) Current version of Base64 encoding of the public key which is in binary GPG exported format.
- previous
Public StringKey (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 StringId (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.