GetRegistryImage

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.

Using GetRegistryImage

function getRegistryImage(args: GetRegistryImageArgs, opts?: InvokeOptions): Promise<GetRegistryImageResult>
function  get_registry_image(digest=None, name=None, project=None, region=None, tag=None, opts=None)
func GetRegistryImage(ctx *Context, args *GetRegistryImageArgs, opts ...InvokeOption) (*GetRegistryImageResult, error)
public static class GetRegistryImage {
    public static Task<GetRegistryImageResult> InvokeAsync(GetRegistryImageArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string
Digest string
Project string
Region string
Tag string
Name string
Digest string
Project string
Region string
Tag string
name string
digest string
project string
region string
tag string
name str
digest str
project str
region str
tag str

GetRegistryImage Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

ImageUrl string
Name string
Project string
Digest string
Region string
Tag string
Id string

The provider-assigned unique ID for this managed resource.

ImageUrl string
Name string
Project string
Digest string
Region string
Tag string
id string

The provider-assigned unique ID for this managed resource.

imageUrl string
name string
project string
digest string
region string
tag string
id str

The provider-assigned unique ID for this managed resource.

image_url str
name str
project str
digest str
region str
tag str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.