import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about Artifact Registry tags. * See [the official documentation](https://cloud.google.com/artifact-registry/docs/overview) * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.tags/list). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myTags = gcp.artifactregistry.getTags({ * location: "us-central1", * repositoryId: "example-repo", * packageName: "example-package", * }); * ``` */ export declare function getTags(args: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTags. */ export interface GetTagsArgs { /** * An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are `name` and `version`. Further information can be found in the [REST API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.tags/list#query-parameters). */ filter?: string; /** * The location of the Artifact Registry repository. */ location: string; /** * The name of the package. */ packageName: 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 getTags. */ export interface GetTagsResult { readonly filter?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly packageName: string; readonly project?: string; readonly repositoryId: string; /** * A list of all retrieved Artifact Registry tags. Structure is defined below. */ readonly tags: outputs.artifactregistry.GetTagsTag[]; } /** * Get information about Artifact Registry tags. * See [the official documentation](https://cloud.google.com/artifact-registry/docs/overview) * and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.tags/list). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myTags = gcp.artifactregistry.getTags({ * location: "us-central1", * repositoryId: "example-repo", * packageName: "example-package", * }); * ``` */ export declare function getTagsOutput(args: GetTagsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTags. */ export interface GetTagsOutputArgs { /** * An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are `name` and `version`. Further information can be found in the [REST API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.packages.tags/list#query-parameters). */ filter?: pulumi.Input; /** * The location of the Artifact Registry repository. */ location: pulumi.Input; /** * The name of the package. */ packageName: 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; }