import * as pulumi from "@pulumi/pulumi"; /** * > **Warning**: Container Registry is deprecated. Effective March 18, 2025, Container Registry is shut down and writing images to Container Registry is unavailable. Resource will be removed in future major release. * * This data source fetches the project name, and provides the appropriate URLs to use for container registry for this project. * * The URLs are computed entirely offline - as long as the project exists, they will be valid, but this data source does not contact Google Container Registry (GCR) at any point. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const debian = gcp.container.getRegistryImage({ * name: "debian", * }); * export const gcrLocation = debian.then(debian => debian.imageUrl); * ``` */ export declare function getRegistryImage(args: GetRegistryImageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRegistryImage. */ export interface GetRegistryImageArgs { /** * The image digest to fetch, if any. */ digest?: string; /** * The image name. */ name: string; /** * The project ID that this image is attached to. If not provider, provider project will be used instead. */ project?: string; /** * The GCR region to use. As of this writing, one of `asia`, `eu`, and `us`. See [the documentation](https://cloud.google.com/container-registry/docs/pushing-and-pulling) for additional information. */ region?: string; /** * The tag to fetch, if any. */ tag?: string; } /** * A collection of values returned by getRegistryImage. */ export interface GetRegistryImageResult { readonly digest?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The URL at which the image can be accessed. */ readonly imageUrl: string; readonly name: string; readonly project: string; readonly region?: string; readonly tag?: string; } /** * > **Warning**: Container Registry is deprecated. Effective March 18, 2025, Container Registry is shut down and writing images to Container Registry is unavailable. Resource will be removed in future major release. * * This data source fetches the project name, and provides the appropriate URLs to use for container registry for this project. * * The URLs are computed entirely offline - as long as the project exists, they will be valid, but this data source does not contact Google Container Registry (GCR) at any point. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const debian = gcp.container.getRegistryImage({ * name: "debian", * }); * export const gcrLocation = debian.then(debian => debian.imageUrl); * ``` */ export declare function getRegistryImageOutput(args: GetRegistryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRegistryImage. */ export interface GetRegistryImageOutputArgs { /** * The image digest to fetch, if any. */ digest?: pulumi.Input; /** * The image name. */ name: pulumi.Input; /** * The project ID that this image is attached to. If not provider, provider project will be used instead. */ project?: pulumi.Input; /** * The GCR region to use. As of this writing, one of `asia`, `eu`, and `us`. See [the documentation](https://cloud.google.com/container-registry/docs/pushing-and-pulling) for additional information. */ region?: pulumi.Input; /** * The tag to fetch, if any. */ tag?: pulumi.Input; }