1. Packages
  2. Gitlab Provider
  3. API Docs
  4. ValueStreamAnalytics
GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi

gitlab.ValueStreamAnalytics

Explore with Pulumi AI

The gitlab.ValueStreamAnalytics resource allows to manage the lifecycle of value stream analytics.

This resource requires a GitLab Enterprise instance with a Premium license to create custom value stream analytics.

Upstream API: GitLab GraphQL API docs

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.ValueStreamAnalytics;
import com.pulumi.gitlab.ValueStreamAnalyticsArgs;
import com.pulumi.gitlab.inputs.ValueStreamAnalyticsStageArgs;
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 project = new ValueStreamAnalytics("project", ValueStreamAnalyticsArgs.builder()
            .name("TEST")
            .projectFullPath("test/project")
            .stages(            
                ValueStreamAnalyticsStageArgs.builder()
                    .name("Issue")
                    .custom(false)
                    .hidden(false)
                    .build(),
                ValueStreamAnalyticsStageArgs.builder()
                    .name("Issue Labels")
                    .custom(true)
                    .hidden(false)
                    .start_event_identifier("ISSUE_LABEL_ADDED")
                    .start_event_label_id("gid://gitlab/ProjectLabel/0")
                    .end_event_identifier("ISSUE_LABEL_REMOVED")
                    .end_event_label_id("gid://gitlab/ProjectLabel/1")
                    .build())
            .build());

        var group = new ValueStreamAnalytics("group", ValueStreamAnalyticsArgs.builder()
            .name("TEST")
            .groupFullPath("test/group")
            .stages(            
                ValueStreamAnalyticsStageArgs.builder()
                    .name("Issue")
                    .custom(false)
                    .hidden(false)
                    .build(),
                ValueStreamAnalyticsStageArgs.builder()
                    .name("Issue Labels")
                    .custom(true)
                    .hidden(false)
                    .start_event_identifier("ISSUE_LABEL_ADDED")
                    .start_event_label_id("gid://gitlab/GroupLabel/0")
                    .end_event_identifier("ISSUE_LABEL_REMOVED")
                    .end_event_label_id("gid://gitlab/GroupLabel/1")
                    .build())
            .build());

    }
}
Copy
resources:
  project:
    type: gitlab:ValueStreamAnalytics
    properties:
      name: TEST
      projectFullPath: test/project
      stages:
        - name: Issue
          custom: false
          hidden: false
        - name: Issue Labels
          custom: true
          hidden: false
          start_event_identifier: ISSUE_LABEL_ADDED
          start_event_label_id: gid://gitlab/ProjectLabel/0
          end_event_identifier: ISSUE_LABEL_REMOVED
          end_event_label_id: gid://gitlab/ProjectLabel/1
  group:
    type: gitlab:ValueStreamAnalytics
    properties:
      name: TEST
      groupFullPath: test/group
      stages:
        - name: Issue
          custom: false
          hidden: false
        - name: Issue Labels
          custom: true
          hidden: false
          start_event_identifier: ISSUE_LABEL_ADDED
          start_event_label_id: gid://gitlab/GroupLabel/0
          end_event_identifier: ISSUE_LABEL_REMOVED
          end_event_label_id: gid://gitlab/GroupLabel/1
Copy

Create ValueStreamAnalytics Resource

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

Constructor syntax

new ValueStreamAnalytics(name: string, args: ValueStreamAnalyticsArgs, opts?: CustomResourceOptions);
@overload
def ValueStreamAnalytics(resource_name: str,
                         args: ValueStreamAnalyticsArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def ValueStreamAnalytics(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         stages: Optional[Sequence[ValueStreamAnalyticsStageArgs]] = None,
                         group_full_path: Optional[str] = None,
                         name: Optional[str] = None,
                         project_full_path: Optional[str] = None)
func NewValueStreamAnalytics(ctx *Context, name string, args ValueStreamAnalyticsArgs, opts ...ResourceOption) (*ValueStreamAnalytics, error)
public ValueStreamAnalytics(string name, ValueStreamAnalyticsArgs args, CustomResourceOptions? opts = null)
public ValueStreamAnalytics(String name, ValueStreamAnalyticsArgs args)
public ValueStreamAnalytics(String name, ValueStreamAnalyticsArgs args, CustomResourceOptions options)
type: gitlab:ValueStreamAnalytics
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ValueStreamAnalyticsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ValueStreamAnalyticsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ValueStreamAnalyticsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ValueStreamAnalyticsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ValueStreamAnalyticsArgs
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 valueStreamAnalyticsResource = new GitLab.ValueStreamAnalytics("valueStreamAnalyticsResource", new()
{
    Stages = new[]
    {
        new GitLab.Inputs.ValueStreamAnalyticsStageArgs
        {
            Name = "string",
            Custom = false,
            EndEventIdentifier = "string",
            EndEventLabelId = "string",
            Hidden = false,
            Id = "string",
            StartEventIdentifier = "string",
            StartEventLabelId = "string",
        },
    },
    GroupFullPath = "string",
    Name = "string",
    ProjectFullPath = "string",
});
Copy
example, err := gitlab.NewValueStreamAnalytics(ctx, "valueStreamAnalyticsResource", &gitlab.ValueStreamAnalyticsArgs{
	Stages: gitlab.ValueStreamAnalyticsStageArray{
		&gitlab.ValueStreamAnalyticsStageArgs{
			Name:                 pulumi.String("string"),
			Custom:               pulumi.Bool(false),
			EndEventIdentifier:   pulumi.String("string"),
			EndEventLabelId:      pulumi.String("string"),
			Hidden:               pulumi.Bool(false),
			Id:                   pulumi.String("string"),
			StartEventIdentifier: pulumi.String("string"),
			StartEventLabelId:    pulumi.String("string"),
		},
	},
	GroupFullPath:   pulumi.String("string"),
	Name:            pulumi.String("string"),
	ProjectFullPath: pulumi.String("string"),
})
Copy
var valueStreamAnalyticsResource = new ValueStreamAnalytics("valueStreamAnalyticsResource", ValueStreamAnalyticsArgs.builder()
    .stages(ValueStreamAnalyticsStageArgs.builder()
        .name("string")
        .custom(false)
        .endEventIdentifier("string")
        .endEventLabelId("string")
        .hidden(false)
        .id("string")
        .startEventIdentifier("string")
        .startEventLabelId("string")
        .build())
    .groupFullPath("string")
    .name("string")
    .projectFullPath("string")
    .build());
Copy
value_stream_analytics_resource = gitlab.ValueStreamAnalytics("valueStreamAnalyticsResource",
    stages=[{
        "name": "string",
        "custom": False,
        "end_event_identifier": "string",
        "end_event_label_id": "string",
        "hidden": False,
        "id": "string",
        "start_event_identifier": "string",
        "start_event_label_id": "string",
    }],
    group_full_path="string",
    name="string",
    project_full_path="string")
Copy
const valueStreamAnalyticsResource = new gitlab.ValueStreamAnalytics("valueStreamAnalyticsResource", {
    stages: [{
        name: "string",
        custom: false,
        endEventIdentifier: "string",
        endEventLabelId: "string",
        hidden: false,
        id: "string",
        startEventIdentifier: "string",
        startEventLabelId: "string",
    }],
    groupFullPath: "string",
    name: "string",
    projectFullPath: "string",
});
Copy
type: gitlab:ValueStreamAnalytics
properties:
    groupFullPath: string
    name: string
    projectFullPath: string
    stages:
        - custom: false
          endEventIdentifier: string
          endEventLabelId: string
          hidden: false
          id: string
          name: string
          startEventIdentifier: string
          startEventLabelId: string
Copy

ValueStreamAnalytics 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 ValueStreamAnalytics resource accepts the following input properties:

Stages This property is required. List<Pulumi.GitLab.Inputs.ValueStreamAnalyticsStage>
Stages of the value stream
GroupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
Name string
The name of the value stream
ProjectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
Stages This property is required. []ValueStreamAnalyticsStageArgs
Stages of the value stream
GroupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
Name string
The name of the value stream
ProjectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages This property is required. List<ValueStreamAnalyticsStage>
Stages of the value stream
groupFullPath String
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name String
The name of the value stream
projectFullPath String
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages This property is required. ValueStreamAnalyticsStage[]
Stages of the value stream
groupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name string
The name of the value stream
projectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages This property is required. Sequence[ValueStreamAnalyticsStageArgs]
Stages of the value stream
group_full_path str
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name str
The name of the value stream
project_full_path str
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages This property is required. List<Property Map>
Stages of the value stream
groupFullPath String
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name String
The name of the value stream
projectFullPath String
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.

Outputs

All input properties are implicitly available as output properties. Additionally, the ValueStreamAnalytics 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 ValueStreamAnalytics Resource

Get an existing ValueStreamAnalytics 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?: ValueStreamAnalyticsState, opts?: CustomResourceOptions): ValueStreamAnalytics
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        group_full_path: Optional[str] = None,
        name: Optional[str] = None,
        project_full_path: Optional[str] = None,
        stages: Optional[Sequence[ValueStreamAnalyticsStageArgs]] = None) -> ValueStreamAnalytics
func GetValueStreamAnalytics(ctx *Context, name string, id IDInput, state *ValueStreamAnalyticsState, opts ...ResourceOption) (*ValueStreamAnalytics, error)
public static ValueStreamAnalytics Get(string name, Input<string> id, ValueStreamAnalyticsState? state, CustomResourceOptions? opts = null)
public static ValueStreamAnalytics get(String name, Output<String> id, ValueStreamAnalyticsState state, CustomResourceOptions options)
resources:  _:    type: gitlab:ValueStreamAnalytics    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
GroupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
Name string
The name of the value stream
ProjectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
Stages List<Pulumi.GitLab.Inputs.ValueStreamAnalyticsStage>
Stages of the value stream
GroupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
Name string
The name of the value stream
ProjectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
Stages []ValueStreamAnalyticsStageArgs
Stages of the value stream
groupFullPath String
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name String
The name of the value stream
projectFullPath String
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages List<ValueStreamAnalyticsStage>
Stages of the value stream
groupFullPath string
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name string
The name of the value stream
projectFullPath string
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages ValueStreamAnalyticsStage[]
Stages of the value stream
group_full_path str
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name str
The name of the value stream
project_full_path str
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages Sequence[ValueStreamAnalyticsStageArgs]
Stages of the value stream
groupFullPath String
Full path of the group the value stream is created in. One of group_full_path OR project_full_path is required.
name String
The name of the value stream
projectFullPath String
Full path of the project the value stream is created in. One of group_full_path OR project_full_path is required.
stages List<Property Map>
Stages of the value stream

Supporting Types

ValueStreamAnalyticsStage
, ValueStreamAnalyticsStageArgs

Name This property is required. string
The name of the value stream stage.
Custom bool
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
EndEventIdentifier string
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
EndEventLabelId string
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
Hidden bool
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
Id string
The ID of the value stream stage.
StartEventIdentifier string
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
StartEventLabelId string
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
Name This property is required. string
The name of the value stream stage.
Custom bool
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
EndEventIdentifier string
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
EndEventLabelId string
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
Hidden bool
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
Id string
The ID of the value stream stage.
StartEventIdentifier string
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
StartEventLabelId string
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
name This property is required. String
The name of the value stream stage.
custom Boolean
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
endEventIdentifier String
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
endEventLabelId String
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
hidden Boolean
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
id String
The ID of the value stream stage.
startEventIdentifier String
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
startEventLabelId String
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
name This property is required. string
The name of the value stream stage.
custom boolean
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
endEventIdentifier string
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
endEventLabelId string
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
hidden boolean
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
id string
The ID of the value stream stage.
startEventIdentifier string
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
startEventLabelId string
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
name This property is required. str
The name of the value stream stage.
custom bool
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
end_event_identifier str
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
end_event_label_id str
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
hidden bool
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
id str
The ID of the value stream stage.
start_event_identifier str
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
start_event_label_id str
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
name This property is required. String
The name of the value stream stage.
custom Boolean
Boolean whether the stage is customized. If false, it assigns a built-in default stage by name.
endEventIdentifier String
End event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
endEventLabelId String
Label ID associated with the end event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>
hidden Boolean
Boolean whether the stage is hidden, GitLab provided default stages are hidden by default.
id String
The ID of the value stream stage.
startEventIdentifier String
Start event identifier. Valid values are: CODE_STAGE_START, ISSUE_CLOSED, ISSUE_CREATED, ISSUE_DEPLOYED_TO_PRODUCTION, ISSUE_FIRST_ADDED_TO_BOARD, ISSUE_FIRST_ADDED_TO_ITERATION, ISSUE_FIRST_ASSIGNED_AT, ISSUE_FIRST_ASSOCIATED_WITH_MILESTONE, ISSUE_FIRST_MENTIONED_IN_COMMIT, ISSUE_LABEL_ADDED, ISSUE_LABEL_REMOVED, ISSUE_LAST_EDITED, ISSUE_STAGE_END, MERGE_REQUEST_CLOSED, MERGE_REQUEST_CREATED, MERGE_REQUEST_FIRST_ASSIGNED_AT, MERGE_REQUEST_FIRST_COMMIT_AT, MERGE_REQUEST_FIRST_DEPLOYED_TO_PRODUCTION, MERGE_REQUEST_LABEL_ADDED, MERGE_REQUEST_LABEL_REMOVED, MERGE_REQUEST_LAST_BUILD_FINISHED, MERGE_REQUEST_LAST_BUILD_STARTED, MERGE_REQUEST_LAST_EDITED, MERGE_REQUEST_MERGED, MERGE_REQUEST_REVIEWER_FIRST_ASSIGNED, MERGE_REQUEST_PLAN_STAGE_START
startEventLabelId String
Label ID associated with the start event identifier. In the format of gid://gitlab/GroupLabel/<id> or gid://gitlab/ProjectLabel/<id>

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_value_stream_analytics. For example:

terraform

import {

to = gitlab_value_stream_analytics.example

id = “see CLI command below for ID”

}

Import using the CLI is supported using the following syntax:

Gitlab value stream analytics can be imported with a key composed of <full_path_type>:<full_path>:<value_stream_id>, e.g.

$ pulumi import gitlab:index/valueStreamAnalytics:ValueStreamAnalytics group "group:people/engineers:42"
Copy
$ pulumi import gitlab:index/valueStreamAnalytics:ValueStreamAnalytics project "project:projects/sample:43"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
GitLab pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.