import * as pulumi from "@pulumi/pulumi"; /** * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version. * * ## Example Usage */ export declare function getMavenArtifact(args: GetMavenArtifactArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMavenArtifact. */ export interface GetMavenArtifactArgs { /** * The name of the artifact to fetch. Can optionally include a specific version (e.g., `my_artifact:1.2.3`). If no version is provided, the latest version is used. */ artifactId: string; /** * Group ID for the artifact. Example: `com.google.guava` */ groupId: string; /** * The location of the Artifact Registry repository. */ location: string; /** * The ID of the project that owns the repository. If not provided, the provider-level project is used. */ project?: string; /** * The ID of the repository containing the Maven artifact. */ repositoryId: string; } /** * A collection of values returned by getMavenArtifact. */ export interface GetMavenArtifactResult { readonly artifactId: string; /** * The time the artifact was created. */ readonly createTime: string; readonly groupId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; /** * The fully qualified name of the fetched artifact. Format: * ``` * projects/{{project}}/locations/{{location}}/repositories/{{repository_id}}/mavenArtifacts/{{group_id}}:{{artifact_id}}:{{version}} * ``` */ readonly name: string; /** * URL to access the pom file of the artifact. Example: `us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom` */ readonly pomUri: string; readonly project?: string; readonly repositoryId: string; /** * The time the artifact was last updated. */ readonly updateTime: string; /** * The version of the Maven artifact. */ readonly version: string; } /** * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version. * * ## Example Usage */ export declare function getMavenArtifactOutput(args: GetMavenArtifactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMavenArtifact. */ export interface GetMavenArtifactOutputArgs { /** * The name of the artifact to fetch. Can optionally include a specific version (e.g., `my_artifact:1.2.3`). If no version is provided, the latest version is used. */ artifactId: pulumi.Input; /** * Group ID for the artifact. Example: `com.google.guava` */ groupId: pulumi.Input; /** * The location of the Artifact Registry repository. */ location: pulumi.Input; /** * The ID of the project that owns the repository. If not provided, the provider-level project is used. */ project?: pulumi.Input; /** * The ID of the repository containing the Maven artifact. */ repositoryId: pulumi.Input; }