1. Packages
  2. Vercel Provider
  3. API Docs
  4. getProjectRollingRelease
Vercel v3.15.1 published on Monday, Sep 8, 2025 by Pulumiverse

vercel.getProjectRollingRelease

Explore with Pulumi AI

vercel logo
Vercel v3.15.1 published on Monday, Sep 8, 2025 by Pulumiverse

    Data source for a Vercel project rolling release configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumi/vercel";
    
    const example = vercel.getProject({
        name: "example-project",
    });
    const exampleGetProjectRollingRelease = example.then(example => vercel.getProjectRollingRelease({
        projectId: example.id,
    }));
    
    import pulumi
    import pulumi_vercel as vercel
    
    example = vercel.get_project(name="example-project")
    example_get_project_rolling_release = vercel.get_project_rolling_release(project_id=example.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v3/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := vercel.LookupProject(ctx, &vercel.LookupProjectArgs{
    			Name: "example-project",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vercel.LookupProjectRollingRelease(ctx, &vercel.LookupProjectRollingReleaseArgs{
    			ProjectId: example.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumi.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Vercel.GetProject.Invoke(new()
        {
            Name = "example-project",
        });
    
        var exampleGetProjectRollingRelease = Vercel.GetProjectRollingRelease.Invoke(new()
        {
            ProjectId = example.Apply(getProjectResult => getProjectResult.Id),
        });
    
    });
    
    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.GetProjectArgs;
    import com.pulumi.vercel.inputs.GetProjectRollingReleaseArgs;
    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.getProject(GetProjectArgs.builder()
                .name("example-project")
                .build());
    
            final var exampleGetProjectRollingRelease = VercelFunctions.getProjectRollingRelease(GetProjectRollingReleaseArgs.builder()
                .projectId(example.applyValue(getProjectResult -> getProjectResult.id()))
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: vercel:getProject
          Arguments:
            name: example-project
      exampleGetProjectRollingRelease:
        fn::invoke:
          Function: vercel:getProjectRollingRelease
          Arguments:
            projectId: ${example.id}
    

    Using getProjectRollingRelease

    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 getProjectRollingRelease(args: GetProjectRollingReleaseArgs, opts?: InvokeOptions): Promise<GetProjectRollingReleaseResult>
    function getProjectRollingReleaseOutput(args: GetProjectRollingReleaseOutputArgs, opts?: InvokeOptions): Output<GetProjectRollingReleaseResult>
    def get_project_rolling_release(project_id: Optional[str] = None,
                                    team_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetProjectRollingReleaseResult
    def get_project_rolling_release_output(project_id: Optional[pulumi.Input[str]] = None,
                                    team_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetProjectRollingReleaseResult]
    func LookupProjectRollingRelease(ctx *Context, args *LookupProjectRollingReleaseArgs, opts ...InvokeOption) (*LookupProjectRollingReleaseResult, error)
    func LookupProjectRollingReleaseOutput(ctx *Context, args *LookupProjectRollingReleaseOutputArgs, opts ...InvokeOption) LookupProjectRollingReleaseResultOutput

    > Note: This function is named LookupProjectRollingRelease in the Go SDK.

    public static class GetProjectRollingRelease 
    {
        public static Task<GetProjectRollingReleaseResult> InvokeAsync(GetProjectRollingReleaseArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectRollingReleaseResult> Invoke(GetProjectRollingReleaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectRollingReleaseResult> getProjectRollingRelease(GetProjectRollingReleaseArgs args, InvokeOptions options)
    public static Output<GetProjectRollingReleaseResult> getProjectRollingRelease(GetProjectRollingReleaseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getProjectRollingRelease:getProjectRollingRelease
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    The ID of the project.
    TeamId string
    The ID of the Vercel team.
    ProjectId string
    The ID of the project.
    TeamId string
    The ID of the Vercel team.
    projectId String
    The ID of the project.
    teamId String
    The ID of the Vercel team.
    projectId string
    The ID of the project.
    teamId string
    The ID of the Vercel team.
    project_id str
    The ID of the project.
    team_id str
    The ID of the Vercel team.
    projectId String
    The ID of the project.
    teamId String
    The ID of the Vercel team.

    getProjectRollingRelease Result

    The following output properties are available:

    AdvancementType string
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    The ID of the project.
    Stages List<Pulumiverse.Vercel.Outputs.GetProjectRollingReleaseStage>
    The stages for the rolling release configuration.
    TeamId string
    The ID of the Vercel team.
    AdvancementType string
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    The ID of the project.
    Stages []GetProjectRollingReleaseStage
    The stages for the rolling release configuration.
    TeamId string
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    The ID of the project.
    stages List<GetProjectRollingReleaseStage>
    The stages for the rolling release configuration.
    teamId String
    The ID of the Vercel team.
    advancementType string
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    The ID of the project.
    stages GetProjectRollingReleaseStage[]
    The stages for the rolling release configuration.
    teamId string
    The ID of the Vercel team.
    advancement_type str
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    The ID of the project.
    stages Sequence[GetProjectRollingReleaseStage]
    The stages for the rolling release configuration.
    team_id str
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    The ID of the project.
    stages List<Property Map>
    The stages for the rolling release configuration.
    teamId String
    The ID of the Vercel team.

    Supporting Types

    GetProjectRollingReleaseStage

    Duration int
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    TargetPercentage int
    The percentage of traffic to route to this stage.
    Duration int
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    TargetPercentage int
    The percentage of traffic to route to this stage.
    duration Integer
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    targetPercentage Integer
    The percentage of traffic to route to this stage.
    duration number
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    targetPercentage number
    The percentage of traffic to route to this stage.
    duration int
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    target_percentage int
    The percentage of traffic to route to this stage.
    duration Number
    The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
    targetPercentage Number
    The percentage of traffic to route to this stage.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo
    Vercel v3.15.1 published on Monday, Sep 8, 2025 by Pulumiverse