import * as pulumi from "@pulumi/pulumi"; /** * This data source fetches information of a tag from a provided Artifact Registry repository. * * ## Example Usage */ export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTag. */ export interface GetTagArgs { /** * The location of the artifact registry. */ 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; /** * The name of the tag. */ tagName: string; } /** * A collection of values returned by getTag. */ export interface GetTagResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; /** * The name of the tag, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1`. If the package part contains slashes, the slashes are escaped. */ readonly name: string; readonly packageName: string; readonly project?: string; readonly repositoryId: string; readonly tagName: string; /** * The version of the tag. */ readonly version: string; } /** * This data source fetches information of a tag from a provided Artifact Registry repository. * * ## Example Usage */ export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTag. */ export interface GetTagOutputArgs { /** * The location of the artifact registry. */ 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; /** * The name of the tag. */ tagName: pulumi.Input; }