import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about Artifact Registry Maven artifacts. * See [the official documentation](https://cloud.google.com/artifact-registry/docs/java) * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.mavenArtifacts/list). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myArtifacts = gcp.artifactregistry.getMavenArtifacts({ * location: "us-central1", * repositoryId: "example-repo", * }); * ``` */ export declare function getMavenArtifacts(args: GetMavenArtifactsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMavenArtifacts. */ export interface GetMavenArtifactsArgs { /** * The location of the Artifact Registry repository. */ location: string; /** * The project ID in which the resource belongs. If it is not provided, the provider project is used. */ project?: string; /** * The last part of the repository name to fetch from. */ repositoryId: string; } /** * A collection of values returned by getMavenArtifacts. */ export interface GetMavenArtifactsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; /** * A list of all retrieved Artifact Registry Maven artifacts. Structure is defined below. */ readonly mavenArtifacts: outputs.artifactregistry.GetMavenArtifactsMavenArtifact[]; readonly project?: string; readonly repositoryId: string; } /** * Get information about Artifact Registry Maven artifacts. * See [the official documentation](https://cloud.google.com/artifact-registry/docs/java) * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.mavenArtifacts/list). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myArtifacts = gcp.artifactregistry.getMavenArtifacts({ * location: "us-central1", * repositoryId: "example-repo", * }); * ``` */ export declare function getMavenArtifactsOutput(args: GetMavenArtifactsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMavenArtifacts. */ export interface GetMavenArtifactsOutputArgs { /** * The location of the Artifact Registry repository. */ location: pulumi.Input; /** * The project ID in which the resource belongs. If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * The last part of the repository name to fetch from. */ repositoryId: pulumi.Input; }