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

vercel.ProjectRollingRelease

Explore with Pulumi AI

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

    Resource for a Vercel project rolling release configuration.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vercel.Project;
    import com.pulumi.vercel.ProjectArgs;
    import com.pulumi.vercel.ProjectRollingRelease;
    import com.pulumi.vercel.ProjectRollingReleaseArgs;
    import com.pulumi.vercel.inputs.ProjectRollingReleaseStageArgs;
    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) {
            var example = new Project("example", ProjectArgs.builder()
                .name("example-project")
                .skewProtection("12 hours")
                .build());
    
            var exampleProjectRollingRelease = new ProjectRollingRelease("exampleProjectRollingRelease", ProjectRollingReleaseArgs.builder()
                .projectId(example.id())
                .advancementType("manual-approval")
                .stages(            
                    ProjectRollingReleaseStageArgs.builder()
                        .target_percentage(20)
                        .build(),
                    ProjectRollingReleaseStageArgs.builder()
                        .target_percentage(50)
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: vercel:Project
        properties:
          name: example-project
          skewProtection: 12 hours
      exampleProjectRollingRelease:
        type: vercel:ProjectRollingRelease
        name: example
        properties:
          projectId: ${example.id}
          advancementType: manual-approval
          stages:
            - target_percentage: 20
            - target_percentage: 50
    

    Create ProjectRollingRelease Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProjectRollingRelease(name: string, args: ProjectRollingReleaseArgs, opts?: CustomResourceOptions);
    @overload
    def ProjectRollingRelease(resource_name: str,
                              args: ProjectRollingReleaseArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProjectRollingRelease(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              advancement_type: Optional[str] = None,
                              project_id: Optional[str] = None,
                              stages: Optional[Sequence[ProjectRollingReleaseStageArgs]] = None,
                              team_id: Optional[str] = None)
    func NewProjectRollingRelease(ctx *Context, name string, args ProjectRollingReleaseArgs, opts ...ResourceOption) (*ProjectRollingRelease, error)
    public ProjectRollingRelease(string name, ProjectRollingReleaseArgs args, CustomResourceOptions? opts = null)
    public ProjectRollingRelease(String name, ProjectRollingReleaseArgs args)
    public ProjectRollingRelease(String name, ProjectRollingReleaseArgs args, CustomResourceOptions options)
    
    type: vercel:ProjectRollingRelease
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProjectRollingReleaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectRollingReleaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectRollingReleaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectRollingReleaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectRollingReleaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var projectRollingReleaseResource = new Vercel.ProjectRollingRelease("projectRollingReleaseResource", new()
    {
        AdvancementType = "string",
        ProjectId = "string",
        Stages = new[]
        {
            new Vercel.Inputs.ProjectRollingReleaseStageArgs
            {
                TargetPercentage = 0,
                Duration = 0,
            },
        },
        TeamId = "string",
    });
    
    example, err := vercel.NewProjectRollingRelease(ctx, "projectRollingReleaseResource", &vercel.ProjectRollingReleaseArgs{
    	AdvancementType: pulumi.String("string"),
    	ProjectId:       pulumi.String("string"),
    	Stages: vercel.ProjectRollingReleaseStageArray{
    		&vercel.ProjectRollingReleaseStageArgs{
    			TargetPercentage: pulumi.Int(0),
    			Duration:         pulumi.Int(0),
    		},
    	},
    	TeamId: pulumi.String("string"),
    })
    
    var projectRollingReleaseResource = new ProjectRollingRelease("projectRollingReleaseResource", ProjectRollingReleaseArgs.builder()
        .advancementType("string")
        .projectId("string")
        .stages(ProjectRollingReleaseStageArgs.builder()
            .targetPercentage(0)
            .duration(0)
            .build())
        .teamId("string")
        .build());
    
    project_rolling_release_resource = vercel.ProjectRollingRelease("projectRollingReleaseResource",
        advancement_type="string",
        project_id="string",
        stages=[{
            "target_percentage": 0,
            "duration": 0,
        }],
        team_id="string")
    
    const projectRollingReleaseResource = new vercel.ProjectRollingRelease("projectRollingReleaseResource", {
        advancementType: "string",
        projectId: "string",
        stages: [{
            targetPercentage: 0,
            duration: 0,
        }],
        teamId: "string",
    });
    
    type: vercel:ProjectRollingRelease
    properties:
        advancementType: string
        projectId: string
        stages:
            - duration: 0
              targetPercentage: 0
        teamId: string
    

    ProjectRollingRelease Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProjectRollingRelease resource accepts the following input properties:

    AdvancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    ProjectId string
    The ID of the project.
    Stages List<Pulumiverse.Vercel.Inputs.ProjectRollingReleaseStage>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    TeamId string
    The ID of the Vercel team.
    AdvancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    ProjectId string
    The ID of the project.
    Stages []ProjectRollingReleaseStageArgs
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    TeamId string
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId String
    The ID of the project.
    stages List<ProjectRollingReleaseStage>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId String
    The ID of the Vercel team.
    advancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId string
    The ID of the project.
    stages ProjectRollingReleaseStage[]
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId string
    The ID of the Vercel team.
    advancement_type str
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    project_id str
    The ID of the project.
    stages Sequence[ProjectRollingReleaseStageArgs]
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    team_id str
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId String
    The ID of the project.
    stages List<Property Map>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId String
    The ID of the Vercel team.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProjectRollingRelease resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ProjectRollingRelease Resource

    Get an existing ProjectRollingRelease resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProjectRollingReleaseState, opts?: CustomResourceOptions): ProjectRollingRelease
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advancement_type: Optional[str] = None,
            project_id: Optional[str] = None,
            stages: Optional[Sequence[ProjectRollingReleaseStageArgs]] = None,
            team_id: Optional[str] = None) -> ProjectRollingRelease
    func GetProjectRollingRelease(ctx *Context, name string, id IDInput, state *ProjectRollingReleaseState, opts ...ResourceOption) (*ProjectRollingRelease, error)
    public static ProjectRollingRelease Get(string name, Input<string> id, ProjectRollingReleaseState? state, CustomResourceOptions? opts = null)
    public static ProjectRollingRelease get(String name, Output<String> id, ProjectRollingReleaseState state, CustomResourceOptions options)
    resources:  _:    type: vercel:ProjectRollingRelease    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdvancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    ProjectId string
    The ID of the project.
    Stages List<Pulumiverse.Vercel.Inputs.ProjectRollingReleaseStage>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    TeamId string
    The ID of the Vercel team.
    AdvancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    ProjectId string
    The ID of the project.
    Stages []ProjectRollingReleaseStageArgs
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    TeamId string
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId String
    The ID of the project.
    stages List<ProjectRollingReleaseStage>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId String
    The ID of the Vercel team.
    advancementType string
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId string
    The ID of the project.
    stages ProjectRollingReleaseStage[]
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId string
    The ID of the Vercel team.
    advancement_type str
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    project_id str
    The ID of the project.
    stages Sequence[ProjectRollingReleaseStageArgs]
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    team_id str
    The ID of the Vercel team.
    advancementType String
    The type of advancement for the rolling release. Must be either 'automatic' or 'manual-approval'.
    projectId String
    The ID of the project.
    stages List<Property Map>
    The stages for the rolling release configuration. The last stage must have target_percentage = 100.
    teamId String
    The ID of the Vercel team.

    Supporting Types

    ProjectRollingReleaseStage, ProjectRollingReleaseStageArgs

    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. Required 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. Required for automatic advancement type.
    targetPercentage Integer
    The percentage of traffic to route to this stage.
    duration Integer
    The duration in minutes to wait before advancing to the next stage. Required for automatic advancement type.
    targetPercentage number
    The percentage of traffic to route to this stage.
    duration number
    The duration in minutes to wait before advancing to the next stage. Required for automatic advancement type.
    target_percentage int
    The percentage of traffic to route to this stage.
    duration int
    The duration in minutes to wait before advancing to the next stage. Required for automatic advancement type.
    targetPercentage Number
    The percentage of traffic to route to this stage.
    duration Number
    The duration in minutes to wait before advancing to the next stage. Required for automatic advancement type.

    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