harness.platform.Pipeline
Explore with Pulumi AI
Resource for creating a Harness pipeline.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = new harness.platform.Pipeline("example", {
    identifier: "identifier",
    orgId: "orgIdentifier",
    projectId: "projectIdentifier",
    name: "name",
    gitDetails: {
        branchName: "branchName",
        commitMessage: "commitMessage",
        filePath: "filePath",
        connectorRef: "connectorRef",
        storeType: "REMOTE",
        repoName: "repoName",
    },
    tags: {},
    yaml: `pipeline:
    name: name
    identifier: identifier
    allowStageExecutions: false
    projectIdentifier: projectIdentifier
    orgIdentifier: orgIdentifier
    tags: {}
    stages:
        - stage:
            name: dep
            identifier: dep
            description: ""
            type: Deployment
            spec:
                serviceConfig:
                    serviceRef: service
                    serviceDefinition:
                        type: Kubernetes
                        spec:
                            variables: []
                infrastructure:
                    environmentRef: testenv
                    infrastructureDefinition:
                        type: KubernetesDirect
                        spec:
                            connectorRef: testconf
                            namespace: test
                            releaseName: release-<+INFRA_KEY>
                    allowSimultaneousDeployments: false
                execution:
                    steps:
                        - stepGroup:
                                name: Canary Deployment
                                identifier: canaryDepoyment
                                steps:
                                    - step:
                                        name: Canary Deployment
                                        identifier: canaryDeployment
                                        type: K8sCanaryDeploy
                                        timeout: 10m
                                        spec:
                                            instanceSelection:
                                                type: Count
                                                spec:
                                                    count: 1
                                            skipDryRun: false
                                    - step:
                                        name: Canary Delete
                                        identifier: canaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                                rollbackSteps:
                                    - step:
                                        name: Canary Delete
                                        identifier: rollbackCanaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                        - stepGroup:
                                name: Primary Deployment
                                identifier: primaryDepoyment
                                steps:
                                    - step:
                                        name: Rolling Deployment
                                        identifier: rollingDeployment
                                        type: K8sRollingDeploy
                                        timeout: 10m
                                        spec:
                                            skipDryRun: false
                                rollbackSteps:
                                    - step:
                                        name: Rolling Rollback
                                        identifier: rollingRollback
                                        type: K8sRollingRollback
                                        timeout: 10m
                                        spec: {}
                    rollbackSteps: []
            tags: {}
            failureStrategies:
                - onFailure:
                        errors:
                            - AllErrors
                        action:
                            type: StageRollback
`,
});
//## Importing Pipeline from Git
const test = new harness.platform.Organization("test", {
    identifier: "identifier",
    name: "name",
});
const testPipeline = new harness.platform.Pipeline("test", {
    identifier: "gitx",
    orgId: "default",
    projectId: "V",
    name: "gitx",
    importFromGit: true,
    gitImportInfo: {
        branchName: "main",
        filePath: ".harness/gitx.yaml",
        connectorRef: "account.DoNotDeleteGithub",
        repoName: "open-repo",
    },
    pipelineImportRequest: {
        pipelineName: "gitx",
        pipelineDescription: "Pipeline Description",
    },
});
import pulumi
import pulumi_harness as harness
example = harness.platform.Pipeline("example",
    identifier="identifier",
    org_id="orgIdentifier",
    project_id="projectIdentifier",
    name="name",
    git_details={
        "branch_name": "branchName",
        "commit_message": "commitMessage",
        "file_path": "filePath",
        "connector_ref": "connectorRef",
        "store_type": "REMOTE",
        "repo_name": "repoName",
    },
    tags={},
    yaml="""pipeline:
    name: name
    identifier: identifier
    allowStageExecutions: false
    projectIdentifier: projectIdentifier
    orgIdentifier: orgIdentifier
    tags: {}
    stages:
        - stage:
            name: dep
            identifier: dep
            description: ""
            type: Deployment
            spec:
                serviceConfig:
                    serviceRef: service
                    serviceDefinition:
                        type: Kubernetes
                        spec:
                            variables: []
                infrastructure:
                    environmentRef: testenv
                    infrastructureDefinition:
                        type: KubernetesDirect
                        spec:
                            connectorRef: testconf
                            namespace: test
                            releaseName: release-<+INFRA_KEY>
                    allowSimultaneousDeployments: false
                execution:
                    steps:
                        - stepGroup:
                                name: Canary Deployment
                                identifier: canaryDepoyment
                                steps:
                                    - step:
                                        name: Canary Deployment
                                        identifier: canaryDeployment
                                        type: K8sCanaryDeploy
                                        timeout: 10m
                                        spec:
                                            instanceSelection:
                                                type: Count
                                                spec:
                                                    count: 1
                                            skipDryRun: false
                                    - step:
                                        name: Canary Delete
                                        identifier: canaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                                rollbackSteps:
                                    - step:
                                        name: Canary Delete
                                        identifier: rollbackCanaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                        - stepGroup:
                                name: Primary Deployment
                                identifier: primaryDepoyment
                                steps:
                                    - step:
                                        name: Rolling Deployment
                                        identifier: rollingDeployment
                                        type: K8sRollingDeploy
                                        timeout: 10m
                                        spec:
                                            skipDryRun: false
                                rollbackSteps:
                                    - step:
                                        name: Rolling Rollback
                                        identifier: rollingRollback
                                        type: K8sRollingRollback
                                        timeout: 10m
                                        spec: {}
                    rollbackSteps: []
            tags: {}
            failureStrategies:
                - onFailure:
                        errors:
                            - AllErrors
                        action:
                            type: StageRollback
""")
### Importing Pipeline from Git
test = harness.platform.Organization("test",
    identifier="identifier",
    name="name")
test_pipeline = harness.platform.Pipeline("test",
    identifier="gitx",
    org_id="default",
    project_id="V",
    name="gitx",
    import_from_git=True,
    git_import_info={
        "branch_name": "main",
        "file_path": ".harness/gitx.yaml",
        "connector_ref": "account.DoNotDeleteGithub",
        "repo_name": "open-repo",
    },
    pipeline_import_request={
        "pipeline_name": "gitx",
        "pipeline_description": "Pipeline Description",
    })
package main
import (
	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := platform.NewPipeline(ctx, "example", &platform.PipelineArgs{
			Identifier: pulumi.String("identifier"),
			OrgId:      pulumi.String("orgIdentifier"),
			ProjectId:  pulumi.String("projectIdentifier"),
			Name:       pulumi.String("name"),
			GitDetails: &platform.PipelineGitDetailsArgs{
				BranchName:    pulumi.String("branchName"),
				CommitMessage: pulumi.String("commitMessage"),
				FilePath:      pulumi.String("filePath"),
				ConnectorRef:  pulumi.String("connectorRef"),
				StoreType:     pulumi.String("REMOTE"),
				RepoName:      pulumi.String("repoName"),
			},
			Tags: pulumi.StringArray{},
			Yaml: pulumi.String(`pipeline:
    name: name
    identifier: identifier
    allowStageExecutions: false
    projectIdentifier: projectIdentifier
    orgIdentifier: orgIdentifier
    tags: {}
    stages:
        - stage:
            name: dep
            identifier: dep
            description: ""
            type: Deployment
            spec:
                serviceConfig:
                    serviceRef: service
                    serviceDefinition:
                        type: Kubernetes
                        spec:
                            variables: []
                infrastructure:
                    environmentRef: testenv
                    infrastructureDefinition:
                        type: KubernetesDirect
                        spec:
                            connectorRef: testconf
                            namespace: test
                            releaseName: release-<+INFRA_KEY>
                    allowSimultaneousDeployments: false
                execution:
                    steps:
                        - stepGroup:
                                name: Canary Deployment
                                identifier: canaryDepoyment
                                steps:
                                    - step:
                                        name: Canary Deployment
                                        identifier: canaryDeployment
                                        type: K8sCanaryDeploy
                                        timeout: 10m
                                        spec:
                                            instanceSelection:
                                                type: Count
                                                spec:
                                                    count: 1
                                            skipDryRun: false
                                    - step:
                                        name: Canary Delete
                                        identifier: canaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                                rollbackSteps:
                                    - step:
                                        name: Canary Delete
                                        identifier: rollbackCanaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                        - stepGroup:
                                name: Primary Deployment
                                identifier: primaryDepoyment
                                steps:
                                    - step:
                                        name: Rolling Deployment
                                        identifier: rollingDeployment
                                        type: K8sRollingDeploy
                                        timeout: 10m
                                        spec:
                                            skipDryRun: false
                                rollbackSteps:
                                    - step:
                                        name: Rolling Rollback
                                        identifier: rollingRollback
                                        type: K8sRollingRollback
                                        timeout: 10m
                                        spec: {}
                    rollbackSteps: []
            tags: {}
            failureStrategies:
                - onFailure:
                        errors:
                            - AllErrors
                        action:
                            type: StageRollback
`),
		})
		if err != nil {
			return err
		}
		// ## Importing Pipeline from Git
		_, err = platform.NewOrganization(ctx, "test", &platform.OrganizationArgs{
			Identifier: pulumi.String("identifier"),
			Name:       pulumi.String("name"),
		})
		if err != nil {
			return err
		}
		_, err = platform.NewPipeline(ctx, "test", &platform.PipelineArgs{
			Identifier:    pulumi.String("gitx"),
			OrgId:         pulumi.String("default"),
			ProjectId:     pulumi.String("V"),
			Name:          pulumi.String("gitx"),
			ImportFromGit: pulumi.Bool(true),
			GitImportInfo: &platform.PipelineGitImportInfoArgs{
				BranchName:   pulumi.String("main"),
				FilePath:     pulumi.String(".harness/gitx.yaml"),
				ConnectorRef: pulumi.String("account.DoNotDeleteGithub"),
				RepoName:     pulumi.String("open-repo"),
			},
			PipelineImportRequest: &platform.PipelinePipelineImportRequestArgs{
				PipelineName:        pulumi.String("gitx"),
				PipelineDescription: pulumi.String("Pipeline Description"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() => 
{
    var example = new Harness.Platform.Pipeline("example", new()
    {
        Identifier = "identifier",
        OrgId = "orgIdentifier",
        ProjectId = "projectIdentifier",
        Name = "name",
        GitDetails = new Harness.Platform.Inputs.PipelineGitDetailsArgs
        {
            BranchName = "branchName",
            CommitMessage = "commitMessage",
            FilePath = "filePath",
            ConnectorRef = "connectorRef",
            StoreType = "REMOTE",
            RepoName = "repoName",
        },
        Tags = null,
        Yaml = @"pipeline:
    name: name
    identifier: identifier
    allowStageExecutions: false
    projectIdentifier: projectIdentifier
    orgIdentifier: orgIdentifier
    tags: {}
    stages:
        - stage:
            name: dep
            identifier: dep
            description: """"
            type: Deployment
            spec:
                serviceConfig:
                    serviceRef: service
                    serviceDefinition:
                        type: Kubernetes
                        spec:
                            variables: []
                infrastructure:
                    environmentRef: testenv
                    infrastructureDefinition:
                        type: KubernetesDirect
                        spec:
                            connectorRef: testconf
                            namespace: test
                            releaseName: release-<+INFRA_KEY>
                    allowSimultaneousDeployments: false
                execution:
                    steps:
                        - stepGroup:
                                name: Canary Deployment
                                identifier: canaryDepoyment
                                steps:
                                    - step:
                                        name: Canary Deployment
                                        identifier: canaryDeployment
                                        type: K8sCanaryDeploy
                                        timeout: 10m
                                        spec:
                                            instanceSelection:
                                                type: Count
                                                spec:
                                                    count: 1
                                            skipDryRun: false
                                    - step:
                                        name: Canary Delete
                                        identifier: canaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                                rollbackSteps:
                                    - step:
                                        name: Canary Delete
                                        identifier: rollbackCanaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                        - stepGroup:
                                name: Primary Deployment
                                identifier: primaryDepoyment
                                steps:
                                    - step:
                                        name: Rolling Deployment
                                        identifier: rollingDeployment
                                        type: K8sRollingDeploy
                                        timeout: 10m
                                        spec:
                                            skipDryRun: false
                                rollbackSteps:
                                    - step:
                                        name: Rolling Rollback
                                        identifier: rollingRollback
                                        type: K8sRollingRollback
                                        timeout: 10m
                                        spec: {}
                    rollbackSteps: []
            tags: {}
            failureStrategies:
                - onFailure:
                        errors:
                            - AllErrors
                        action:
                            type: StageRollback
",
    });
    //## Importing Pipeline from Git
    var test = new Harness.Platform.Organization("test", new()
    {
        Identifier = "identifier",
        Name = "name",
    });
    var testPipeline = new Harness.Platform.Pipeline("test", new()
    {
        Identifier = "gitx",
        OrgId = "default",
        ProjectId = "V",
        Name = "gitx",
        ImportFromGit = true,
        GitImportInfo = new Harness.Platform.Inputs.PipelineGitImportInfoArgs
        {
            BranchName = "main",
            FilePath = ".harness/gitx.yaml",
            ConnectorRef = "account.DoNotDeleteGithub",
            RepoName = "open-repo",
        },
        PipelineImportRequest = new Harness.Platform.Inputs.PipelinePipelineImportRequestArgs
        {
            PipelineName = "gitx",
            PipelineDescription = "Pipeline Description",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.Pipeline;
import com.pulumi.harness.platform.PipelineArgs;
import com.pulumi.harness.platform.inputs.PipelineGitDetailsArgs;
import com.pulumi.harness.platform.Organization;
import com.pulumi.harness.platform.OrganizationArgs;
import com.pulumi.harness.platform.inputs.PipelineGitImportInfoArgs;
import com.pulumi.harness.platform.inputs.PipelinePipelineImportRequestArgs;
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 Pipeline("example", PipelineArgs.builder()
            .identifier("identifier")
            .orgId("orgIdentifier")
            .projectId("projectIdentifier")
            .name("name")
            .gitDetails(PipelineGitDetailsArgs.builder()
                .branchName("branchName")
                .commitMessage("commitMessage")
                .filePath("filePath")
                .connectorRef("connectorRef")
                .storeType("REMOTE")
                .repoName("repoName")
                .build())
            .tags()
            .yaml("""
pipeline:
    name: name
    identifier: identifier
    allowStageExecutions: false
    projectIdentifier: projectIdentifier
    orgIdentifier: orgIdentifier
    tags: {}
    stages:
        - stage:
            name: dep
            identifier: dep
            description: ""
            type: Deployment
            spec:
                serviceConfig:
                    serviceRef: service
                    serviceDefinition:
                        type: Kubernetes
                        spec:
                            variables: []
                infrastructure:
                    environmentRef: testenv
                    infrastructureDefinition:
                        type: KubernetesDirect
                        spec:
                            connectorRef: testconf
                            namespace: test
                            releaseName: release-<+INFRA_KEY>
                    allowSimultaneousDeployments: false
                execution:
                    steps:
                        - stepGroup:
                                name: Canary Deployment
                                identifier: canaryDepoyment
                                steps:
                                    - step:
                                        name: Canary Deployment
                                        identifier: canaryDeployment
                                        type: K8sCanaryDeploy
                                        timeout: 10m
                                        spec:
                                            instanceSelection:
                                                type: Count
                                                spec:
                                                    count: 1
                                            skipDryRun: false
                                    - step:
                                        name: Canary Delete
                                        identifier: canaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                                rollbackSteps:
                                    - step:
                                        name: Canary Delete
                                        identifier: rollbackCanaryDelete
                                        type: K8sCanaryDelete
                                        timeout: 10m
                                        spec: {}
                        - stepGroup:
                                name: Primary Deployment
                                identifier: primaryDepoyment
                                steps:
                                    - step:
                                        name: Rolling Deployment
                                        identifier: rollingDeployment
                                        type: K8sRollingDeploy
                                        timeout: 10m
                                        spec:
                                            skipDryRun: false
                                rollbackSteps:
                                    - step:
                                        name: Rolling Rollback
                                        identifier: rollingRollback
                                        type: K8sRollingRollback
                                        timeout: 10m
                                        spec: {}
                    rollbackSteps: []
            tags: {}
            failureStrategies:
                - onFailure:
                        errors:
                            - AllErrors
                        action:
                            type: StageRollback
            """)
            .build());
        //## Importing Pipeline from Git
        var test = new Organization("test", OrganizationArgs.builder()
            .identifier("identifier")
            .name("name")
            .build());
        var testPipeline = new Pipeline("testPipeline", PipelineArgs.builder()
            .identifier("gitx")
            .orgId("default")
            .projectId("V")
            .name("gitx")
            .importFromGit(true)
            .gitImportInfo(PipelineGitImportInfoArgs.builder()
                .branchName("main")
                .filePath(".harness/gitx.yaml")
                .connectorRef("account.DoNotDeleteGithub")
                .repoName("open-repo")
                .build())
            .pipelineImportRequest(PipelinePipelineImportRequestArgs.builder()
                .pipelineName("gitx")
                .pipelineDescription("Pipeline Description")
                .build())
            .build());
    }
}
resources:
  example:
    type: harness:platform:Pipeline
    properties:
      identifier: identifier
      orgId: orgIdentifier
      projectId: projectIdentifier
      name: name
      gitDetails:
        branchName: branchName
        commitMessage: commitMessage
        filePath: filePath
        connectorRef: connectorRef
        storeType: REMOTE
        repoName: repoName
      tags: {}
      yaml: |
        pipeline:
            name: name
            identifier: identifier
            allowStageExecutions: false
            projectIdentifier: projectIdentifier
            orgIdentifier: orgIdentifier
            tags: {}
            stages:
                - stage:
                    name: dep
                    identifier: dep
                    description: ""
                    type: Deployment
                    spec:
                        serviceConfig:
                            serviceRef: service
                            serviceDefinition:
                                type: Kubernetes
                                spec:
                                    variables: []
                        infrastructure:
                            environmentRef: testenv
                            infrastructureDefinition:
                                type: KubernetesDirect
                                spec:
                                    connectorRef: testconf
                                    namespace: test
                                    releaseName: release-<+INFRA_KEY>
                            allowSimultaneousDeployments: false
                        execution:
                            steps:
                                - stepGroup:
                                        name: Canary Deployment
                                        identifier: canaryDepoyment
                                        steps:
                                            - step:
                                                name: Canary Deployment
                                                identifier: canaryDeployment
                                                type: K8sCanaryDeploy
                                                timeout: 10m
                                                spec:
                                                    instanceSelection:
                                                        type: Count
                                                        spec:
                                                            count: 1
                                                    skipDryRun: false
                                            - step:
                                                name: Canary Delete
                                                identifier: canaryDelete
                                                type: K8sCanaryDelete
                                                timeout: 10m
                                                spec: {}
                                        rollbackSteps:
                                            - step:
                                                name: Canary Delete
                                                identifier: rollbackCanaryDelete
                                                type: K8sCanaryDelete
                                                timeout: 10m
                                                spec: {}
                                - stepGroup:
                                        name: Primary Deployment
                                        identifier: primaryDepoyment
                                        steps:
                                            - step:
                                                name: Rolling Deployment
                                                identifier: rollingDeployment
                                                type: K8sRollingDeploy
                                                timeout: 10m
                                                spec:
                                                    skipDryRun: false
                                        rollbackSteps:
                                            - step:
                                                name: Rolling Rollback
                                                identifier: rollingRollback
                                                type: K8sRollingRollback
                                                timeout: 10m
                                                spec: {}
                            rollbackSteps: []
                    tags: {}
                    failureStrategies:
                        - onFailure:
                                errors:
                                    - AllErrors
                                action:
                                    type: StageRollback        
  ### Importing Pipeline from Git
  test:
    type: harness:platform:Organization
    properties:
      identifier: identifier
      name: name
  testPipeline:
    type: harness:platform:Pipeline
    name: test
    properties:
      identifier: gitx
      orgId: default
      projectId: V
      name: gitx
      importFromGit: true
      gitImportInfo:
        branchName: main
        filePath: .harness/gitx.yaml
        connectorRef: account.DoNotDeleteGithub
        repoName: open-repo
      pipelineImportRequest:
        pipelineName: gitx
        pipelineDescription: Pipeline Description
Create Pipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pipeline(name: string, args: PipelineArgs, opts?: CustomResourceOptions);@overload
def Pipeline(resource_name: str,
             args: PipelineArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Pipeline(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             org_id: Optional[str] = None,
             identifier: Optional[str] = None,
             project_id: Optional[str] = None,
             git_details: Optional[PipelineGitDetailsArgs] = None,
             git_import_info: Optional[PipelineGitImportInfoArgs] = None,
             import_from_git: Optional[bool] = None,
             name: Optional[str] = None,
             description: Optional[str] = None,
             pipeline_import_request: Optional[PipelinePipelineImportRequestArgs] = None,
             tags: Optional[Sequence[str]] = None,
             template_applied: Optional[bool] = None,
             template_applied_pipeline_yaml: Optional[str] = None,
             yaml: Optional[str] = None)func NewPipeline(ctx *Context, name string, args PipelineArgs, opts ...ResourceOption) (*Pipeline, error)public Pipeline(string name, PipelineArgs args, CustomResourceOptions? opts = null)
public Pipeline(String name, PipelineArgs args)
public Pipeline(String name, PipelineArgs args, CustomResourceOptions options)
type: harness:platform:Pipeline
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 PipelineArgs
- 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 PipelineArgs
- 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 PipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PipelineArgs
- 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 pipelineResource = new Harness.Platform.Pipeline("pipelineResource", new()
{
    OrgId = "string",
    Identifier = "string",
    ProjectId = "string",
    GitDetails = new Harness.Platform.Inputs.PipelineGitDetailsArgs
    {
        BaseBranch = "string",
        BranchName = "string",
        CommitMessage = "string",
        ConnectorRef = "string",
        FilePath = "string",
        LastCommitId = "string",
        LastObjectId = "string",
        RepoName = "string",
        StoreType = "string",
    },
    GitImportInfo = new Harness.Platform.Inputs.PipelineGitImportInfoArgs
    {
        BranchName = "string",
        ConnectorRef = "string",
        FilePath = "string",
        RepoName = "string",
    },
    ImportFromGit = false,
    Name = "string",
    Description = "string",
    PipelineImportRequest = new Harness.Platform.Inputs.PipelinePipelineImportRequestArgs
    {
        PipelineDescription = "string",
        PipelineName = "string",
    },
    Tags = new[]
    {
        "string",
    },
    TemplateApplied = false,
    TemplateAppliedPipelineYaml = "string",
    Yaml = "string",
});
example, err := platform.NewPipeline(ctx, "pipelineResource", &platform.PipelineArgs{
	OrgId:      pulumi.String("string"),
	Identifier: pulumi.String("string"),
	ProjectId:  pulumi.String("string"),
	GitDetails: &platform.PipelineGitDetailsArgs{
		BaseBranch:    pulumi.String("string"),
		BranchName:    pulumi.String("string"),
		CommitMessage: pulumi.String("string"),
		ConnectorRef:  pulumi.String("string"),
		FilePath:      pulumi.String("string"),
		LastCommitId:  pulumi.String("string"),
		LastObjectId:  pulumi.String("string"),
		RepoName:      pulumi.String("string"),
		StoreType:     pulumi.String("string"),
	},
	GitImportInfo: &platform.PipelineGitImportInfoArgs{
		BranchName:   pulumi.String("string"),
		ConnectorRef: pulumi.String("string"),
		FilePath:     pulumi.String("string"),
		RepoName:     pulumi.String("string"),
	},
	ImportFromGit: pulumi.Bool(false),
	Name:          pulumi.String("string"),
	Description:   pulumi.String("string"),
	PipelineImportRequest: &platform.PipelinePipelineImportRequestArgs{
		PipelineDescription: pulumi.String("string"),
		PipelineName:        pulumi.String("string"),
	},
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	TemplateApplied:             pulumi.Bool(false),
	TemplateAppliedPipelineYaml: pulumi.String("string"),
	Yaml:                        pulumi.String("string"),
})
var pipelineResource = new Pipeline("pipelineResource", PipelineArgs.builder()
    .orgId("string")
    .identifier("string")
    .projectId("string")
    .gitDetails(PipelineGitDetailsArgs.builder()
        .baseBranch("string")
        .branchName("string")
        .commitMessage("string")
        .connectorRef("string")
        .filePath("string")
        .lastCommitId("string")
        .lastObjectId("string")
        .repoName("string")
        .storeType("string")
        .build())
    .gitImportInfo(PipelineGitImportInfoArgs.builder()
        .branchName("string")
        .connectorRef("string")
        .filePath("string")
        .repoName("string")
        .build())
    .importFromGit(false)
    .name("string")
    .description("string")
    .pipelineImportRequest(PipelinePipelineImportRequestArgs.builder()
        .pipelineDescription("string")
        .pipelineName("string")
        .build())
    .tags("string")
    .templateApplied(false)
    .templateAppliedPipelineYaml("string")
    .yaml("string")
    .build());
pipeline_resource = harness.platform.Pipeline("pipelineResource",
    org_id="string",
    identifier="string",
    project_id="string",
    git_details={
        "base_branch": "string",
        "branch_name": "string",
        "commit_message": "string",
        "connector_ref": "string",
        "file_path": "string",
        "last_commit_id": "string",
        "last_object_id": "string",
        "repo_name": "string",
        "store_type": "string",
    },
    git_import_info={
        "branch_name": "string",
        "connector_ref": "string",
        "file_path": "string",
        "repo_name": "string",
    },
    import_from_git=False,
    name="string",
    description="string",
    pipeline_import_request={
        "pipeline_description": "string",
        "pipeline_name": "string",
    },
    tags=["string"],
    template_applied=False,
    template_applied_pipeline_yaml="string",
    yaml="string")
const pipelineResource = new harness.platform.Pipeline("pipelineResource", {
    orgId: "string",
    identifier: "string",
    projectId: "string",
    gitDetails: {
        baseBranch: "string",
        branchName: "string",
        commitMessage: "string",
        connectorRef: "string",
        filePath: "string",
        lastCommitId: "string",
        lastObjectId: "string",
        repoName: "string",
        storeType: "string",
    },
    gitImportInfo: {
        branchName: "string",
        connectorRef: "string",
        filePath: "string",
        repoName: "string",
    },
    importFromGit: false,
    name: "string",
    description: "string",
    pipelineImportRequest: {
        pipelineDescription: "string",
        pipelineName: "string",
    },
    tags: ["string"],
    templateApplied: false,
    templateAppliedPipelineYaml: "string",
    yaml: "string",
});
type: harness:platform:Pipeline
properties:
    description: string
    gitDetails:
        baseBranch: string
        branchName: string
        commitMessage: string
        connectorRef: string
        filePath: string
        lastCommitId: string
        lastObjectId: string
        repoName: string
        storeType: string
    gitImportInfo:
        branchName: string
        connectorRef: string
        filePath: string
        repoName: string
    identifier: string
    importFromGit: false
    name: string
    orgId: string
    pipelineImportRequest:
        pipelineDescription: string
        pipelineName: string
    projectId: string
    tags:
        - string
    templateApplied: false
    templateAppliedPipelineYaml: string
    yaml: string
Pipeline 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 Pipeline resource accepts the following input properties:
- Identifier string
- Unique identifier of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- Description string
- Description of the resource.
- GitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- GitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- ImportFrom boolGit 
- Flag to set if importing from Git
- Name string
- Name of the resource.
- PipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- List<string>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- TemplateApplied bool
- If true, returns Pipeline YAML with Templates applied on it.
- TemplateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- Yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- Identifier string
- Unique identifier of the resource.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- Description string
- Description of the resource.
- GitDetails PipelineGit Details Args 
- Contains parameters related to creating an Entity for Git Experience.
- GitImport PipelineInfo Git Import Info Args 
- Contains Git Information for importing entities from Git
- ImportFrom boolGit 
- Flag to set if importing from Git
- Name string
- Name of the resource.
- PipelineImport PipelineRequest Pipeline Import Request Args 
- Contains parameters for importing a pipeline
- []string
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- TemplateApplied bool
- If true, returns Pipeline YAML with Templates applied on it.
- TemplateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- Yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- identifier String
- Unique identifier of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- description String
- Description of the resource.
- gitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- gitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- importFrom BooleanGit 
- Flag to set if importing from Git
- name String
- Name of the resource.
- pipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- List<String>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied Boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied StringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml String
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- identifier string
- Unique identifier of the resource.
- orgId string
- Unique identifier of the organization.
- projectId string
- Unique identifier of the project.
- description string
- Description of the resource.
- gitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- gitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- importFrom booleanGit 
- Flag to set if importing from Git
- name string
- Name of the resource.
- pipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- string[]
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- identifier str
- Unique identifier of the resource.
- org_id str
- Unique identifier of the organization.
- project_id str
- Unique identifier of the project.
- description str
- Description of the resource.
- git_details PipelineGit Details Args 
- Contains parameters related to creating an Entity for Git Experience.
- git_import_ Pipelineinfo Git Import Info Args 
- Contains Git Information for importing entities from Git
- import_from_ boolgit 
- Flag to set if importing from Git
- name str
- Name of the resource.
- pipeline_import_ Pipelinerequest Pipeline Import Request Args 
- Contains parameters for importing a pipeline
- Sequence[str]
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- template_applied bool
- If true, returns Pipeline YAML with Templates applied on it.
- template_applied_ strpipeline_ yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml str
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- identifier String
- Unique identifier of the resource.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- description String
- Description of the resource.
- gitDetails Property Map
- Contains parameters related to creating an Entity for Git Experience.
- gitImport Property MapInfo 
- Contains Git Information for importing entities from Git
- importFrom BooleanGit 
- Flag to set if importing from Git
- name String
- Name of the resource.
- pipelineImport Property MapRequest 
- Contains parameters for importing a pipeline
- List<String>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied Boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied StringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml String
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pipeline 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 Pipeline Resource
Get an existing Pipeline 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?: PipelineState, opts?: CustomResourceOptions): Pipeline@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        git_details: Optional[PipelineGitDetailsArgs] = None,
        git_import_info: Optional[PipelineGitImportInfoArgs] = None,
        identifier: Optional[str] = None,
        import_from_git: Optional[bool] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        pipeline_import_request: Optional[PipelinePipelineImportRequestArgs] = None,
        project_id: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        template_applied: Optional[bool] = None,
        template_applied_pipeline_yaml: Optional[str] = None,
        yaml: Optional[str] = None) -> Pipelinefunc GetPipeline(ctx *Context, name string, id IDInput, state *PipelineState, opts ...ResourceOption) (*Pipeline, error)public static Pipeline Get(string name, Input<string> id, PipelineState? state, CustomResourceOptions? opts = null)public static Pipeline get(String name, Output<String> id, PipelineState state, CustomResourceOptions options)resources:  _:    type: harness:platform:Pipeline    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.
- Description string
- Description of the resource.
- GitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- GitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- Identifier string
- Unique identifier of the resource.
- ImportFrom boolGit 
- Flag to set if importing from Git
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- PipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- ProjectId string
- Unique identifier of the project.
- List<string>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- TemplateApplied bool
- If true, returns Pipeline YAML with Templates applied on it.
- TemplateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- Yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- Description string
- Description of the resource.
- GitDetails PipelineGit Details Args 
- Contains parameters related to creating an Entity for Git Experience.
- GitImport PipelineInfo Git Import Info Args 
- Contains Git Information for importing entities from Git
- Identifier string
- Unique identifier of the resource.
- ImportFrom boolGit 
- Flag to set if importing from Git
- Name string
- Name of the resource.
- OrgId string
- Unique identifier of the organization.
- PipelineImport PipelineRequest Pipeline Import Request Args 
- Contains parameters for importing a pipeline
- ProjectId string
- Unique identifier of the project.
- []string
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- TemplateApplied bool
- If true, returns Pipeline YAML with Templates applied on it.
- TemplateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- Yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- description String
- Description of the resource.
- gitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- gitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- identifier String
- Unique identifier of the resource.
- importFrom BooleanGit 
- Flag to set if importing from Git
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- pipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied Boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied StringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml String
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- description string
- Description of the resource.
- gitDetails PipelineGit Details 
- Contains parameters related to creating an Entity for Git Experience.
- gitImport PipelineInfo Git Import Info 
- Contains Git Information for importing entities from Git
- identifier string
- Unique identifier of the resource.
- importFrom booleanGit 
- Flag to set if importing from Git
- name string
- Name of the resource.
- orgId string
- Unique identifier of the organization.
- pipelineImport PipelineRequest Pipeline Import Request 
- Contains parameters for importing a pipeline
- projectId string
- Unique identifier of the project.
- string[]
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied stringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml string
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- description str
- Description of the resource.
- git_details PipelineGit Details Args 
- Contains parameters related to creating an Entity for Git Experience.
- git_import_ Pipelineinfo Git Import Info Args 
- Contains Git Information for importing entities from Git
- identifier str
- Unique identifier of the resource.
- import_from_ boolgit 
- Flag to set if importing from Git
- name str
- Name of the resource.
- org_id str
- Unique identifier of the organization.
- pipeline_import_ Pipelinerequest Pipeline Import Request Args 
- Contains parameters for importing a pipeline
- project_id str
- Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- template_applied bool
- If true, returns Pipeline YAML with Templates applied on it.
- template_applied_ strpipeline_ yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml str
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
- description String
- Description of the resource.
- gitDetails Property Map
- Contains parameters related to creating an Entity for Git Experience.
- gitImport Property MapInfo 
- Contains Git Information for importing entities from Git
- identifier String
- Unique identifier of the resource.
- importFrom BooleanGit 
- Flag to set if importing from Git
- name String
- Name of the resource.
- orgId String
- Unique identifier of the organization.
- pipelineImport Property MapRequest 
- Contains parameters for importing a pipeline
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
- templateApplied Boolean
- If true, returns Pipeline YAML with Templates applied on it.
- templateApplied StringPipeline Yaml 
- Pipeline YAML after resolving Templates (returned as a String).
- yaml String
- YAML of the pipeline. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
Supporting Types
PipelineGitDetails, PipelineGitDetailsArgs      
- BaseBranch string
- Name of the default branch (this checks out a new branch titled by branch_name).
- BranchName string
- Name of the branch.
- CommitMessage string
- Commit message used for the merge commit.
- ConnectorRef string
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- FilePath string
- File path of the Entity in the repository.
- LastCommit stringId 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- LastObject stringId 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- RepoName string
- Name of the repository.
- StoreType string
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- BaseBranch string
- Name of the default branch (this checks out a new branch titled by branch_name).
- BranchName string
- Name of the branch.
- CommitMessage string
- Commit message used for the merge commit.
- ConnectorRef string
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- FilePath string
- File path of the Entity in the repository.
- LastCommit stringId 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- LastObject stringId 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- RepoName string
- Name of the repository.
- StoreType string
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- baseBranch String
- Name of the default branch (this checks out a new branch titled by branch_name).
- branchName String
- Name of the branch.
- commitMessage String
- Commit message used for the merge commit.
- connectorRef String
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath String
- File path of the Entity in the repository.
- lastCommit StringId 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- lastObject StringId 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- repoName String
- Name of the repository.
- storeType String
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- baseBranch string
- Name of the default branch (this checks out a new branch titled by branch_name).
- branchName string
- Name of the branch.
- commitMessage string
- Commit message used for the merge commit.
- connectorRef string
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath string
- File path of the Entity in the repository.
- lastCommit stringId 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- lastObject stringId 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- repoName string
- Name of the repository.
- storeType string
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base_branch str
- Name of the default branch (this checks out a new branch titled by branch_name).
- branch_name str
- Name of the branch.
- commit_message str
- Commit message used for the merge commit.
- connector_ref str
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- file_path str
- File path of the Entity in the repository.
- last_commit_ strid 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last_object_ strid 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- repo_name str
- Name of the repository.
- store_type str
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- baseBranch String
- Name of the default branch (this checks out a new branch titled by branch_name).
- branchName String
- Name of the branch.
- commitMessage String
- Commit message used for the merge commit.
- connectorRef String
- Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath String
- File path of the Entity in the repository.
- lastCommit StringId 
- Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- lastObject StringId 
- Last object identifier (for Github). To be provided only when updating Pipeline.
- repoName String
- Name of the repository.
- storeType String
- Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
PipelineGitImportInfo, PipelineGitImportInfoArgs        
- BranchName string
- Name of the branch.
- ConnectorRef string
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- FilePath string
- File path of the Entity in the repository.
- RepoName string
- Name of the repository.
- BranchName string
- Name of the branch.
- ConnectorRef string
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- FilePath string
- File path of the Entity in the repository.
- RepoName string
- Name of the repository.
- branchName String
- Name of the branch.
- connectorRef String
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath String
- File path of the Entity in the repository.
- repoName String
- Name of the repository.
- branchName string
- Name of the branch.
- connectorRef string
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath string
- File path of the Entity in the repository.
- repoName string
- Name of the repository.
- branch_name str
- Name of the branch.
- connector_ref str
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- file_path str
- File path of the Entity in the repository.
- repo_name str
- Name of the repository.
- branchName String
- Name of the branch.
- connectorRef String
- Identifier of the Harness Connector used for importing entity from Git To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
- filePath String
- File path of the Entity in the repository.
- repoName String
- Name of the repository.
PipelinePipelineImportRequest, PipelinePipelineImportRequestArgs        
- PipelineDescription string
- Description of the pipeline.
- PipelineName string
- Name of the pipeline.
- PipelineDescription string
- Description of the pipeline.
- PipelineName string
- Name of the pipeline.
- pipelineDescription String
- Description of the pipeline.
- pipelineName String
- Name of the pipeline.
- pipelineDescription string
- Description of the pipeline.
- pipelineName string
- Name of the pipeline.
- pipeline_description str
- Description of the pipeline.
- pipeline_name str
- Name of the pipeline.
- pipelineDescription String
- Description of the pipeline.
- pipelineName String
- Name of the pipeline.
Import
Import pipeline
$ pulumi import harness:platform/pipeline:Pipeline example <org_id>/<project_id>/<pipeline_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
