import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Artifact By Path resource in Oracle Cloud Infrastructure Generic Artifacts Content service. * * Get generic artifact content. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testArtifactByPath = oci.genericartifactscontent.getArtifactByPath({ * artifactPath: artifactByPathArtifactPath, * repositoryId: testRepository.id, * version: artifactByPathVersion, * }); * ``` */ export declare function getArtifactByPath(args: GetArtifactByPathArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getArtifactByPath. */ export interface GetArtifactByPathArgs { /** * The generic artifact path. Example: `foo/bar/baz` */ artifactPath: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.repository.oc1..exampleuniqueID` */ repositoryId: string; /** * The generic artifact version. Example: `1.1.2` */ version: string; } /** * A collection of values returned by getArtifactByPath. */ export interface GetArtifactByPathResult { readonly artifactId: string; readonly artifactPath: string; readonly compartmentId: string; readonly content: string; readonly definedTags: { [key: string]: string; }; readonly displayName: string; readonly freeformTags: { [key: string]: string; }; readonly id: string; readonly repositoryId: string; readonly sha256: string; readonly sizeInBytes: string; readonly source: string; readonly state: string; readonly timeCreated: string; readonly version: string; } /** * This data source provides details about a specific Artifact By Path resource in Oracle Cloud Infrastructure Generic Artifacts Content service. * * Get generic artifact content. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testArtifactByPath = oci.genericartifactscontent.getArtifactByPath({ * artifactPath: artifactByPathArtifactPath, * repositoryId: testRepository.id, * version: artifactByPathVersion, * }); * ``` */ export declare function getArtifactByPathOutput(args: GetArtifactByPathOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getArtifactByPath. */ export interface GetArtifactByPathOutputArgs { /** * The generic artifact path. Example: `foo/bar/baz` */ artifactPath: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.repository.oc1..exampleuniqueID` */ repositoryId: pulumi.Input; /** * The generic artifact version. Example: `1.1.2` */ version: pulumi.Input; } //# sourceMappingURL=getArtifactByPath.d.ts.map