import * as pulumi from "@pulumi/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
 *
 * ```typescript
 * 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,
 * });
 * ```
 */
export declare class ArtifactByPath extends pulumi.CustomResource {
    /**
     * Get an existing ArtifactByPath resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ArtifactByPathState, opts?: pulumi.CustomResourceOptions): ArtifactByPath;
    /**
     * Returns true if the given object is an instance of ArtifactByPath.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ArtifactByPath;
    readonly artifactId: pulumi.Output<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.
     */
    readonly artifactPath: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment.
     */
    readonly compartmentId: pulumi.Output<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
     */
    readonly content: pulumi.Output<string | undefined>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: 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`
     */
    readonly displayName: pulumi.Output<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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository.
     */
    readonly repositoryId: pulumi.Output<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.
     */
    readonly sha256: pulumi.Output<string>;
    /**
     * The size of the artifact in bytes.
     */
    readonly sizeInBytes: pulumi.Output<string>;
    /**
     * A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined.
     */
    readonly source: pulumi.Output<string | undefined>;
    /**
     * The current state of the artifact.
     */
    readonly state: pulumi.Output<string>;
    /**
     * An RFC 3339 timestamp indicating when the repository was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2`
     */
    readonly version: pulumi.Output<string>;
    /**
     * Create a ArtifactByPath resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ArtifactByPathArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ArtifactByPath resources.
 */
export interface ArtifactByPathState {
    artifactId?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    artifactPath?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * 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
     */
    content?: pulumi.Input<string | undefined>;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * 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`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository.
     */
    repositoryId?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    sha256?: pulumi.Input<string | undefined>;
    /**
     * The size of the artifact in bytes.
     */
    sizeInBytes?: pulumi.Input<string | undefined>;
    /**
     * A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined.
     */
    source?: pulumi.Input<string | undefined>;
    /**
     * The current state of the artifact.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * An RFC 3339 timestamp indicating when the repository was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2`
     */
    version?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ArtifactByPath resource.
 */
export interface ArtifactByPathArgs {
    /**
     * 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.
     */
    artifactPath: pulumi.Input<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
     */
    content?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository.
     */
    repositoryId: pulumi.Input<string>;
    /**
     * A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined.
     */
    source?: pulumi.Input<string | undefined>;
    /**
     * A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2`
     */
    version: pulumi.Input<string>;
}
//# sourceMappingURL=artifactByPath.d.ts.map