Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse
Provides information about an existing Vercel Container Registry (VCR) Repository.
A VCR Repository belongs to a Vercel Project and stores container images that can be used by Vercel Functions and Vercel Sandbox.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const example = vercel.getVcrRepository({
projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
name: "my-repository",
});
import pulumi
import pulumi_vercel as vercel
example = vercel.get_vcr_repository(project_id="prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
name="my-repository")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vercel.LookupVcrRepository(ctx, &vercel.LookupVcrRepositoryArgs{
ProjectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
Name: "my-repository",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumiverse.Vercel;
return await Deployment.RunAsync(() =>
{
var example = Vercel.GetVcrRepository.Invoke(new()
{
ProjectId = "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
Name = "my-repository",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vercel.VercelFunctions;
import com.pulumi.vercel.inputs.GetVcrRepositoryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = VercelFunctions.getVcrRepository(GetVcrRepositoryArgs.builder()
.projectId("prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.name("my-repository")
.build());
}
}
variables:
example:
fn::invoke:
function: vercel:getVcrRepository
arguments:
projectId: prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
name: my-repository
Example coming soon!
Using getVcrRepository
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVcrRepository(args: GetVcrRepositoryArgs, opts?: InvokeOptions): Promise<GetVcrRepositoryResult>
function getVcrRepositoryOutput(args: GetVcrRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVcrRepositoryResult>def get_vcr_repository(name: Optional[str] = None,
project_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVcrRepositoryResult
def get_vcr_repository_output(name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVcrRepositoryResult]func LookupVcrRepository(ctx *Context, args *LookupVcrRepositoryArgs, opts ...InvokeOption) (*LookupVcrRepositoryResult, error)
func LookupVcrRepositoryOutput(ctx *Context, args *LookupVcrRepositoryOutputArgs, opts ...InvokeOption) LookupVcrRepositoryResultOutput> Note: This function is named LookupVcrRepository in the Go SDK.
public static class GetVcrRepository
{
public static Task<GetVcrRepositoryResult> InvokeAsync(GetVcrRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetVcrRepositoryResult> Invoke(GetVcrRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVcrRepositoryResult> getVcrRepository(GetVcrRepositoryArgs args, InvokeOptions options)
public static Output<GetVcrRepositoryResult> getVcrRepository(GetVcrRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: vercel:index/getVcrRepository:getVcrRepository
arguments:
# arguments dictionarydata "vercel_get_vcr_repository" "name" {
# arguments
}The following arguments are supported:
- name string
- The name of the repository.
- project_
id string - The ID of the existing Vercel Project the repository belongs to.
- team_
id string - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- name str
- The name of the repository.
- project_
id str - The ID of the existing Vercel Project the repository belongs to.
- team_
id str - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
getVcrRepository Result
The following output properties are available:
- Id string
- The ID of the VCR Repository.
- Name string
- The name of the repository.
- Project
Id string - The ID of the existing Vercel Project the repository belongs to.
- Team
Id string - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- Url string
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- Id string
- The ID of the VCR Repository.
- Name string
- The name of the repository.
- Project
Id string - The ID of the existing Vercel Project the repository belongs to.
- Team
Id string - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- Url string
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- id string
- The ID of the VCR Repository.
- name string
- The name of the repository.
- project_
id string - The ID of the existing Vercel Project the repository belongs to.
- team_
id string - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- url string
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- id String
- The ID of the VCR Repository.
- name String
- The name of the repository.
- project
Id String - The ID of the existing Vercel Project the repository belongs to.
- team
Id String - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- url String
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- id string
- The ID of the VCR Repository.
- name string
- The name of the repository.
- project
Id string - The ID of the existing Vercel Project the repository belongs to.
- team
Id string - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- url string
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- id str
- The ID of the VCR Repository.
- name str
- The name of the repository.
- project_
id str - The ID of the existing Vercel Project the repository belongs to.
- team_
id str - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- url str
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
- id String
- The ID of the VCR Repository.
- name String
- The name of the repository.
- project
Id String - The ID of the existing Vercel Project the repository belongs to.
- team
Id String - The ID of the team the repository exists under. Required when configuring a team resource if a default team has not been set in the provider.
- url String
- The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g.
vcr.vercel.com/team-slug/project-slug/repository-name). Use it to push and pull images with Docker-compatible tooling.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse