oci.GenericArtifactsContent.ArtifactByPath
Explore with Pulumi AI
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/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
The ArtifactByPath resource accepts the following input properties:
- Artifact
Path 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.
- Repository
Id string - The OCID of the repository.
- Version string
- A user-defined string to describe the artifact version. Example:
1.1.0
or1.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 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.
- Repository
Id string - The OCID of the repository.
- Version string
- A user-defined string to describe the artifact version. Example:
1.1.0
or1.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 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.
- repository
Id String - The OCID of the repository.
- version String
- A user-defined string to describe the artifact version. Example:
1.1.0
or1.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 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.
- repository
Id string - The OCID of the repository.
- version string
- A user-defined string to describe the artifact version. Example:
1.1.0
or1.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
or1.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.
- artifact
Path 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.
- repository
Id String - The OCID of the repository.
- version String
- A user-defined string to describe the artifact version. Example:
1.1.0
or1.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:
- Artifact
Id string - Compartment
Id string - The OCID of the repository's compartment.
- Dictionary<string, object>
- 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 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
- Dictionary<string, object>
- 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.
- Size
In stringBytes - The size of the artifact in bytes.
- State string
- The current state of the artifact.
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- Artifact
Id string - Compartment
Id string - The OCID of the repository's compartment.
- map[string]interface{}
- 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 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
- map[string]interface{}
- 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.
- Size
In stringBytes - The size of the artifact in bytes.
- State string
- The current state of the artifact.
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- artifact
Id String - compartment
Id String - The OCID of the repository's compartment.
- Map<String,Object>
- 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 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
- Map<String,Object>
- 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.
- size
In StringBytes - The size of the artifact in bytes.
- state String
- The current state of the artifact.
- time
Created String - An RFC 3339 timestamp indicating when the repository was created.
- artifact
Id string - compartment
Id string - The OCID of the repository's compartment.
- {[key: string]: any}
- 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 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
- {[key: string]: any}
- 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.
- size
In stringBytes - The size of the artifact in bytes.
- state string
- The current state of the artifact.
- time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- artifact_
id str - compartment_
id str - The OCID of the repository's compartment.
- Mapping[str, Any]
- 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
- Mapping[str, Any]
- 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_ strbytes - 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.
- artifact
Id String - compartment
Id String - The OCID of the repository's compartment.
- Map<Any>
- 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 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
- Map<Any>
- 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.
- size
In StringBytes - The size of the artifact in bytes.
- state String
- The current state of the artifact.
- time
Created 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, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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.
- Artifact
Id string - Artifact
Path 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.
- Compartment
Id 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
- Dictionary<string, object>
- 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 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
- Dictionary<string, object>
- 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 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.
- Size
In stringBytes - 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.
- Time
Created 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
or1.2-beta-2
- Artifact
Id string - Artifact
Path 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.
- Compartment
Id 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
- map[string]interface{}
- 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 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
- map[string]interface{}
- 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 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.
- Size
In stringBytes - 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.
- Time
Created 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
or1.2-beta-2
- artifact
Id String - artifact
Path 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.
- compartment
Id 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
- Map<String,Object>
- 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 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
- Map<String,Object>
- 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 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.
- size
In StringBytes - 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.
- time
Created 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
or1.2-beta-2
- artifact
Id string - artifact
Path 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.
- compartment
Id 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
- {[key: string]: any}
- 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 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
- {[key: string]: any}
- 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 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.
- size
In stringBytes - 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.
- time
Created 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
or1.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
- Mapping[str, Any]
- 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
- Mapping[str, Any]
- 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_ strbytes - 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
or1.2-beta-2
- artifact
Id String - artifact
Path 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.
- compartment
Id 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
- Map<Any>
- 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 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
- Map<Any>
- 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 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.
- size
In StringBytes - 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.
- time
Created 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
or1.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.