1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GenericArtifactsContent
  5. ArtifactByPath
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.GenericArtifactsContent.ArtifactByPath

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides the Artifact By Path resource in Oracle Cloud Infrastructure Generic Artifacts Content service. This resource supports upload/download the content of a generic artifact by specifying the repository id, artifact path, and artifact version

    Note

    This resource is not supported to delete generic artifact. In order to delete generic artifact, you can use oci.Artifacts.GenericArtifact

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testArtifactByPath = new oci.genericartifactscontent.ArtifactByPath("test_artifact_by_path", {
        artifactPath: artifactPath,
        repositoryId: testRepository.id,
        version: version,
        source: source,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_artifact_by_path = oci.generic_artifacts_content.ArtifactByPath("test_artifact_by_path",
        artifact_path=artifact_path,
        repository_id=test_repository["id"],
        version=version,
        source=source)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GenericArtifactsContent"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := GenericArtifactsContent.NewArtifactByPath(ctx, "test_artifact_by_path", &GenericArtifactsContent.ArtifactByPathArgs{
    			ArtifactPath: pulumi.Any(artifactPath),
    			RepositoryId: pulumi.Any(testRepository.Id),
    			Version:      pulumi.Any(version),
    			Source:       pulumi.Any(source),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testArtifactByPath = new Oci.GenericArtifactsContent.ArtifactByPath("test_artifact_by_path", new()
        {
            ArtifactPath = artifactPath,
            RepositoryId = testRepository.Id,
            Version = version,
            Source = source,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenericArtifactsContent.ArtifactByPath;
    import com.pulumi.oci.GenericArtifactsContent.ArtifactByPathArgs;
    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 testArtifactByPath = new ArtifactByPath("testArtifactByPath", ArtifactByPathArgs.builder()
                .artifactPath(artifactPath)
                .repositoryId(testRepository.id())
                .version(version)
                .source(source)
                .build());
    
        }
    }
    
    resources:
      testArtifactByPath:
        type: oci:GenericArtifactsContent:ArtifactByPath
        name: test_artifact_by_path
        properties:
          artifactPath: ${artifactPath}
          repositoryId: ${testRepository.id}
          version: ${version}
          source: ${source}
    

    Create ArtifactByPath Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ArtifactByPath(name: string, args: ArtifactByPathArgs, opts?: CustomResourceOptions);
    @overload
    def ArtifactByPath(resource_name: str,
                       args: ArtifactByPathArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ArtifactByPath(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       artifact_path: Optional[str] = None,
                       repository_id: Optional[str] = None,
                       version: Optional[str] = None,
                       content: Optional[str] = None,
                       source: Optional[str] = None)
    func NewArtifactByPath(ctx *Context, name string, args ArtifactByPathArgs, opts ...ResourceOption) (*ArtifactByPath, error)
    public ArtifactByPath(string name, ArtifactByPathArgs args, CustomResourceOptions? opts = null)
    public ArtifactByPath(String name, ArtifactByPathArgs args)
    public ArtifactByPath(String name, ArtifactByPathArgs args, CustomResourceOptions options)
    
    type: oci:GenericArtifactsContent:ArtifactByPath
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ArtifactByPathArgs
    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 ArtifactByPathArgs
    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 ArtifactByPathArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArtifactByPathArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArtifactByPathArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var artifactByPathResource = new Oci.GenericArtifactsContent.ArtifactByPath("artifactByPathResource", new()
    {
        ArtifactPath = "string",
        RepositoryId = "string",
        Version = "string",
        Content = "string",
        Source = "string",
    });
    
    example, err := GenericArtifactsContent.NewArtifactByPath(ctx, "artifactByPathResource", &GenericArtifactsContent.ArtifactByPathArgs{
    	ArtifactPath: pulumi.String("string"),
    	RepositoryId: pulumi.String("string"),
    	Version:      pulumi.String("string"),
    	Content:      pulumi.String("string"),
    	Source:       pulumi.String("string"),
    })
    
    var artifactByPathResource = new ArtifactByPath("artifactByPathResource", ArtifactByPathArgs.builder()
        .artifactPath("string")
        .repositoryId("string")
        .version("string")
        .content("string")
        .source("string")
        .build());
    
    artifact_by_path_resource = oci.generic_artifacts_content.ArtifactByPath("artifactByPathResource",
        artifact_path="string",
        repository_id="string",
        version="string",
        content="string",
        source="string")
    
    const artifactByPathResource = new oci.genericartifactscontent.ArtifactByPath("artifactByPathResource", {
        artifactPath: "string",
        repositoryId: "string",
        version: "string",
        content: "string",
        source: "string",
    });
    
    type: oci:GenericArtifactsContent:ArtifactByPath
    properties:
        artifactPath: string
        content: string
        repositoryId: string
        source: string
        version: string
    

    ArtifactByPath Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ArtifactByPath resource accepts the following input properties:

    ArtifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    RepositoryId string
    The OCID of the repository.
    Version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    Content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    Source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    ArtifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    RepositoryId string
    The OCID of the repository.
    Version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    Content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    Source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    artifactPath String
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    repositoryId String
    The OCID of the repository.
    version String
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    content String

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    source String
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    artifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    repositoryId string
    The OCID of the repository.
    version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    artifact_path str
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    repository_id str
    The OCID of the repository.
    version str
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    content str

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    source str
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    artifactPath String
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    repositoryId String
    The OCID of the repository.
    version String
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    content String

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    source String
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.

    Outputs

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

    ArtifactId string
    CompartmentId string
    The OCID of the repository's compartment.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The provider-assigned unique ID for this managed resource.
    Sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    SizeInBytes string
    The size of the artifact in bytes.
    State string
    The current state of the artifact.
    TimeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    ArtifactId string
    CompartmentId string
    The OCID of the repository's compartment.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The provider-assigned unique ID for this managed resource.
    Sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    SizeInBytes string
    The size of the artifact in bytes.
    State string
    The current state of the artifact.
    TimeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    artifactId String
    compartmentId String
    The OCID of the repository's compartment.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The provider-assigned unique ID for this managed resource.
    sha256 String
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes String
    The size of the artifact in bytes.
    state String
    The current state of the artifact.
    timeCreated String
    An RFC 3339 timestamp indicating when the repository was created.
    artifactId string
    compartmentId string
    The OCID of the repository's compartment.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The provider-assigned unique ID for this managed resource.
    sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes string
    The size of the artifact in bytes.
    state string
    The current state of the artifact.
    timeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    artifact_id str
    compartment_id str
    The OCID of the repository's compartment.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The provider-assigned unique ID for this managed resource.
    sha256 str
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    size_in_bytes str
    The size of the artifact in bytes.
    state str
    The current state of the artifact.
    time_created str
    An RFC 3339 timestamp indicating when the repository was created.
    artifactId String
    compartmentId String
    The OCID of the repository's compartment.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The provider-assigned unique ID for this managed resource.
    sha256 String
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes String
    The size of the artifact in bytes.
    state String
    The current state of the artifact.
    timeCreated String
    An RFC 3339 timestamp indicating when the repository was created.

    Look up Existing ArtifactByPath Resource

    Get an existing ArtifactByPath 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?: ArtifactByPathState, opts?: CustomResourceOptions): ArtifactByPath
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifact_id: Optional[str] = None,
            artifact_path: Optional[str] = None,
            compartment_id: Optional[str] = None,
            content: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            repository_id: Optional[str] = None,
            sha256: Optional[str] = None,
            size_in_bytes: Optional[str] = None,
            source: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            version: Optional[str] = None) -> ArtifactByPath
    func GetArtifactByPath(ctx *Context, name string, id IDInput, state *ArtifactByPathState, opts ...ResourceOption) (*ArtifactByPath, error)
    public static ArtifactByPath Get(string name, Input<string> id, ArtifactByPathState? state, CustomResourceOptions? opts = null)
    public static ArtifactByPath get(String name, Output<String> id, ArtifactByPathState 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:
    ArtifactId string
    ArtifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    CompartmentId string
    The OCID of the repository's compartment.
    Content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    RepositoryId string
    The OCID of the repository.
    Sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    SizeInBytes string
    The size of the artifact in bytes.
    Source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    State string
    The current state of the artifact.
    TimeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    Version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    ArtifactId string
    ArtifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    CompartmentId string
    The OCID of the repository's compartment.
    Content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    RepositoryId string
    The OCID of the repository.
    Sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    SizeInBytes string
    The size of the artifact in bytes.
    Source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    State string
    The current state of the artifact.
    TimeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    Version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    artifactId String
    artifactPath String
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    compartmentId String
    The OCID of the repository's compartment.
    content String

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    repositoryId String
    The OCID of the repository.
    sha256 String
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes String
    The size of the artifact in bytes.
    source String
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    state String
    The current state of the artifact.
    timeCreated String
    An RFC 3339 timestamp indicating when the repository was created.
    version String
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    artifactId string
    artifactPath string
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    compartmentId string
    The OCID of the repository's compartment.
    content string

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    repositoryId string
    The OCID of the repository.
    sha256 string
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes string
    The size of the artifact in bytes.
    source string
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    state string
    The current state of the artifact.
    timeCreated string
    An RFC 3339 timestamp indicating when the repository was created.
    version string
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    artifact_id str
    artifact_path str
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    compartment_id str
    The OCID of the repository's compartment.
    content str

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    repository_id str
    The OCID of the repository.
    sha256 str
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    size_in_bytes str
    The size of the artifact in bytes.
    source str
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    state str
    The current state of the artifact.
    time_created str
    An RFC 3339 timestamp indicating when the repository was created.
    version str
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2
    artifactId String
    artifactPath String
    A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    compartmentId String
    The OCID of the repository's compartment.
    content String

    Content to be uploaded as the artifact. Cannot be defined if source is defined.

    ** 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

    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The artifact name with the format of <artifact-path>:<artifact-version>. The artifact name is truncated to a maximum length of 255. Example: project01/my-web-app/artifact-abc:1.0.0
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    repositoryId String
    The OCID of the repository.
    sha256 String
    The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    sizeInBytes String
    The size of the artifact in bytes.
    source String
    A path to a file on the local system to be uploaded as the artifact. Cannot be defined if content is defined.
    state String
    The current state of the artifact.
    timeCreated String
    An RFC 3339 timestamp indicating when the repository was created.
    version String
    A user-defined string to describe the artifact version. Example: 1.1.0 or 1.2-beta-2

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi