GetRegistryRepository

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 GetRegistryRepository

function getRegistryRepository(args: GetRegistryRepositoryArgs, opts?: InvokeOptions): Promise<GetRegistryRepositoryResult>
function  get_registry_repository(project=None, region=None, opts=None)
func GetRegistryRepository(ctx *Context, args *GetRegistryRepositoryArgs, opts ...InvokeOption) (*GetRegistryRepositoryResult, error)
public static class GetRegistryRepository {
    public static Task<GetRegistryRepositoryResult> InvokeAsync(GetRegistryRepositoryArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Project string
Region string
Project string
Region string
project string
region string
project str
region str

GetRegistryRepository Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Project string
RepositoryUrl string
Region string
Id string

The provider-assigned unique ID for this managed resource.

Project string
RepositoryUrl string
Region string
id string

The provider-assigned unique ID for this managed resource.

project string
repositoryUrl string
region string
id str

The provider-assigned unique ID for this managed resource.

project str
repository_url str
region 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.