1. Packages
  2. Packages
  3. Power Platform
  4. API Docs
  5. components
  6. ResDeploymentPipeline
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
powerplatform logo
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin

    AVM-aligned component that manages a Power Platform deployment pipeline lifecycle.

    Create ResDeploymentPipeline Resource

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

    Constructor syntax

    new ResDeploymentPipeline(name: string, args: ResDeploymentPipelineArgs, opts?: ComponentResourceOptions);
    @overload
    def ResDeploymentPipeline(resource_name: str,
                              args: ResDeploymentPipelineArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResDeploymentPipeline(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              pipeline_name: Optional[str] = None,
                              dev_environment_key: Optional[str] = None,
                              environments: Optional[Mapping[str, PipelineEnvironmentEntryArgs]] = None,
                              host_environment_id: Optional[str] = None,
                              pipeline_stages: Optional[Sequence[PipelineStageConfigArgs]] = None,
                              enable_ai_deployment_notes: Optional[bool] = None,
                              enable_redeployment: Optional[bool] = None,
                              enable_telemetry: Optional[bool] = None,
                              lifecycle_state: Optional[str] = None,
                              pipeline_description: Optional[str] = None,
                              deployment_pipeline_user_role_id: Optional[str] = None,
                              root_business_unit_id: Optional[str] = None,
                              security_group_id: Optional[str] = None)
    func NewResDeploymentPipeline(ctx *Context, name string, args ResDeploymentPipelineArgs, opts ...ResourceOption) (*ResDeploymentPipeline, error)
    public ResDeploymentPipeline(string name, ResDeploymentPipelineArgs args, ComponentResourceOptions? opts = null)
    public ResDeploymentPipeline(String name, ResDeploymentPipelineArgs args)
    public ResDeploymentPipeline(String name, ResDeploymentPipelineArgs args, ComponentResourceOptions options)
    
    type: powerplatform:components:ResDeploymentPipeline
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "powerplatform_components_resdeploymentpipeline" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ResDeploymentPipelineArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResDeploymentPipelineArgs
    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 ResDeploymentPipelineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResDeploymentPipelineArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResDeploymentPipelineArgs
    The arguments to resource properties.
    options ComponentResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var resDeploymentPipelineResource = new Powerplatform.Components.ResDeploymentPipeline("resDeploymentPipelineResource", new()
    {
        PipelineName = "string",
        DevEnvironmentKey = "string",
        Environments = 
        {
            { "string", new Powerplatform.Components.Inputs.PipelineEnvironmentEntryArgs
            {
                Id = "string",
                Name = "string",
            } },
        },
        HostEnvironmentId = "string",
        PipelineStages = new()
        {
            new Powerplatform.Components.Inputs.PipelineStageConfigArgs
            {
                EnvironmentKey = "string",
                DeploymentSpnClientId = "string",
                Description = "string",
                IsSharingEnabled = false,
                RequirePredeploymentApproval = false,
                RequirePreexportApproval = false,
                UseDelegatedDeployment = false,
            },
        },
        EnableAiDeploymentNotes = false,
        EnableRedeployment = false,
        EnableTelemetry = false,
        LifecycleState = "string",
        PipelineDescription = "string",
        DeploymentPipelineUserRoleId = "string",
        RootBusinessUnitId = "string",
        SecurityGroupId = "string",
    });
    
    example, err := components.NewResDeploymentPipeline(ctx, "resDeploymentPipelineResource", &components.ResDeploymentPipelineArgs{
    	PipelineName:      "string",
    	DevEnvironmentKey: "string",
    	Environments: map[string]components.PipelineEnvironmentEntryArgs{
    		"string": &components.PipelineEnvironmentEntryArgs{
    			Id:   "string",
    			Name: "string",
    		},
    	},
    	HostEnvironmentId: "string",
    	PipelineStages: []components.PipelineStageConfigArgs{
    		{
    			EnvironmentKey:               "string",
    			DeploymentSpnClientId:        "string",
    			Description:                  "string",
    			IsSharingEnabled:             false,
    			RequirePredeploymentApproval: false,
    			RequirePreexportApproval:     false,
    			UseDelegatedDeployment:       false,
    		},
    	},
    	EnableAiDeploymentNotes:      false,
    	EnableRedeployment:           false,
    	EnableTelemetry:              false,
    	LifecycleState:               "string",
    	PipelineDescription:          "string",
    	DeploymentPipelineUserRoleId: "string",
    	RootBusinessUnitId:           "string",
    	SecurityGroupId:              "string",
    })
    
    resource "powerplatform_components_resdeploymentpipeline" "resDeploymentPipelineResource" {
      pipeline_name       = "string"
      dev_environment_key = "string"
      environments = {
        "string" = {
          id   = "string"
          name = "string"
        }
      }
      host_environment_id = "string"
      pipeline_stages {
        environment_key                = "string"
        deployment_spn_client_id       = "string"
        description                    = "string"
        is_sharing_enabled             = false
        require_predeployment_approval = false
        require_preexport_approval     = false
        use_delegated_deployment       = false
      }
      enable_ai_deployment_notes       = false
      enable_redeployment              = false
      enable_telemetry                 = false
      lifecycle_state                  = "string"
      pipeline_description             = "string"
      deployment_pipeline_user_role_id = "string"
      root_business_unit_id            = "string"
      security_group_id                = "string"
    }
    
    var resDeploymentPipelineResource = new ResDeploymentPipeline("resDeploymentPipelineResource", ResDeploymentPipelineArgs.builder()
        .pipelineName("string")
        .devEnvironmentKey("string")
        .environments(Map.of("string", PipelineEnvironmentEntryArgs.builder()
            .id("string")
            .name("string")
            .build()))
        .hostEnvironmentId("string")
        .pipelineStages(PipelineStageConfigArgs.builder()
            .environmentKey("string")
            .deploymentSpnClientId("string")
            .description("string")
            .isSharingEnabled(false)
            .requirePredeploymentApproval(false)
            .requirePreexportApproval(false)
            .useDelegatedDeployment(false)
            .build())
        .enableAiDeploymentNotes(false)
        .enableRedeployment(false)
        .enableTelemetry(false)
        .lifecycleState("string")
        .pipelineDescription("string")
        .deploymentPipelineUserRoleId("string")
        .rootBusinessUnitId("string")
        .securityGroupId("string")
        .build());
    
    res_deployment_pipeline_resource = powerplatform.components.ResDeploymentPipeline("resDeploymentPipelineResource",
        pipeline_name="string",
        dev_environment_key="string",
        environments={
            "string": {
                "id": "string",
                "name": "string",
            },
        },
        host_environment_id="string",
        pipeline_stages=[{
            "environment_key": "string",
            "deployment_spn_client_id": "string",
            "description": "string",
            "is_sharing_enabled": False,
            "require_predeployment_approval": False,
            "require_preexport_approval": False,
            "use_delegated_deployment": False,
        }],
        enable_ai_deployment_notes=False,
        enable_redeployment=False,
        enable_telemetry=False,
        lifecycle_state="string",
        pipeline_description="string",
        deployment_pipeline_user_role_id="string",
        root_business_unit_id="string",
        security_group_id="string")
    
    const resDeploymentPipelineResource = new powerplatform.components.ResDeploymentPipeline("resDeploymentPipelineResource", {
        pipelineName: "string",
        devEnvironmentKey: "string",
        environments: {
            string: {
                id: "string",
                name: "string",
            },
        },
        hostEnvironmentId: "string",
        pipelineStages: [{
            environmentKey: "string",
            deploymentSpnClientId: "string",
            description: "string",
            isSharingEnabled: false,
            requirePredeploymentApproval: false,
            requirePreexportApproval: false,
            useDelegatedDeployment: false,
        }],
        enableAiDeploymentNotes: false,
        enableRedeployment: false,
        enableTelemetry: false,
        lifecycleState: "string",
        pipelineDescription: "string",
        deploymentPipelineUserRoleId: "string",
        rootBusinessUnitId: "string",
        securityGroupId: "string",
    });
    
    type: powerplatform:components:ResDeploymentPipeline
    properties:
        deploymentPipelineUserRoleId: string
        devEnvironmentKey: string
        enableAiDeploymentNotes: false
        enableRedeployment: false
        enableTelemetry: false
        environments:
            string:
                id: string
                name: string
        hostEnvironmentId: string
        lifecycleState: string
        pipelineDescription: string
        pipelineName: string
        pipelineStages:
            - deploymentSpnClientId: string
              description: string
              environmentKey: string
              isSharingEnabled: false
              requirePredeploymentApproval: false
              requirePreexportApproval: false
              useDelegatedDeployment: false
        rootBusinessUnitId: string
        securityGroupId: string
    

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

    Outputs

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

    DeploymentEnvironmentIds Dictionary<string, string>
    DeploymentStageIds Dictionary<string, string>
    PipelineId string
    PipelineTeamId string
    ResourceId string
    DeploymentEnvironmentIds map[string]string
    DeploymentStageIds map[string]string
    PipelineId string
    PipelineTeamId string
    ResourceId string
    deploymentEnvironmentIds Map<String,String>
    deploymentStageIds Map<String,String>
    pipelineId String
    pipelineTeamId String
    resourceId String
    deploymentEnvironmentIds {[key: string]: string}
    deploymentStageIds {[key: string]: string}
    pipelineId string
    pipelineTeamId string
    resourceId string

    Supporting Types

    PipelineEnvironmentEntry, PipelineEnvironmentEntryArgs

    One entry in the environments map.
    Id string
    Name string
    Id string
    Name string
    id string
    name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    PipelineStageConfig, PipelineStageConfigArgs

    Configuration for one deployment stage.

    Package Details

    Repository
    powerplatform rpothin/pulumi-powerplatform
    License
    MIT
    powerplatform logo
    Viewing docs for Power Platform v0.4.1
    published on Monday, Jun 15, 2026 by rpothin

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial