Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
published on Monday, Jun 15, 2026 by rpothin
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
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:
- Dev
Environment stringKey - Environments
Dictionary<string, Pipeline
Environment Entry Args> - Host
Environment stringId - Pipeline
Name string - Pipeline
Stages List<PipelineStage Config> - Deployment
Pipeline stringUser Role Id - Enable
Ai boolDeployment Notes - Enable
Redeployment bool - Enable
Telemetry bool - Lifecycle
State string - Pipeline
Description string - Root
Business stringUnit Id - Security
Group stringId
- Dev
Environment stringKey - Environments
map[string]Pipeline
Environment Entry Args - Host
Environment stringId - Pipeline
Name string - Pipeline
Stages []PipelineStage Config Args - Deployment
Pipeline stringUser Role Id - Enable
Ai boolDeployment Notes - Enable
Redeployment bool - Enable
Telemetry bool - Lifecycle
State string - Pipeline
Description string - Root
Business stringUnit Id - Security
Group stringId
- dev_
environment_ stringkey - environments map(object)
- host_
environment_ stringid - pipeline_
name string - pipeline_
stages list(object) - deployment_
pipeline_ stringuser_ role_ id - enable_
ai_ booldeployment_ notes - enable_
redeployment bool - enable_
telemetry bool - lifecycle_
state string - pipeline_
description string - root_
business_ stringunit_ id - security_
group_ stringid
- dev
Environment StringKey - environments
Map<String,Pipeline
Environment Entry Args> - host
Environment StringId - pipeline
Name String - pipeline
Stages List<PipelineStage Config> - deployment
Pipeline StringUser Role Id - enable
Ai BooleanDeployment Notes - enable
Redeployment Boolean - enable
Telemetry Boolean - lifecycle
State String - pipeline
Description String - root
Business StringUnit Id - security
Group StringId
- dev
Environment stringKey - environments
{[key: string]: Pipeline
Environment Entry Args} - host
Environment stringId - pipeline
Name string - pipeline
Stages PipelineStage Config[] - deployment
Pipeline stringUser Role Id - enable
Ai booleanDeployment Notes - enable
Redeployment boolean - enable
Telemetry boolean - lifecycle
State string - pipeline
Description string - root
Business stringUnit Id - security
Group stringId
- dev_
environment_ strkey - environments
Mapping[str, Pipeline
Environment Entry Args] - host_
environment_ strid - pipeline_
name str - pipeline_
stages Sequence[PipelineStage Config Args] - deployment_
pipeline_ struser_ role_ id - enable_
ai_ booldeployment_ notes - enable_
redeployment bool - enable_
telemetry bool - lifecycle_
state str - pipeline_
description str - root_
business_ strunit_ id - security_
group_ strid
- dev
Environment StringKey - environments Map<Property Map>
- host
Environment StringId - pipeline
Name String - pipeline
Stages List<Property Map> - deployment
Pipeline StringUser Role Id - enable
Ai BooleanDeployment Notes - enable
Redeployment Boolean - enable
Telemetry Boolean - lifecycle
State String - pipeline
Description String - root
Business StringUnit Id - security
Group StringId
Outputs
All input properties are implicitly available as output properties. Additionally, the ResDeploymentPipeline resource produces the following output properties:
- Deployment
Environment Dictionary<string, string>Ids - Deployment
Stage Dictionary<string, string>Ids - Pipeline
Id string - Pipeline
Team stringId - Resource
Id string
- Deployment
Environment map[string]stringIds - Deployment
Stage map[string]stringIds - Pipeline
Id string - Pipeline
Team stringId - Resource
Id string
- deployment_
environment_ map(string)ids - deployment_
stage_ map(string)ids - pipeline_
id string - pipeline_
team_ stringid - resource_
id string
- deployment
Environment Map<String,String>Ids - deployment
Stage Map<String,String>Ids - pipeline
Id String - pipeline
Team StringId - resource
Id String
- deployment
Environment {[key: string]: string}Ids - deployment
Stage {[key: string]: string}Ids - pipeline
Id string - pipeline
Team stringId - resource
Id string
- deployment_
environment_ Mapping[str, str]ids - deployment_
stage_ Mapping[str, str]ids - pipeline_
id str - pipeline_
team_ strid - resource_
id str
- deployment
Environment Map<String>Ids - deployment
Stage Map<String>Ids - pipeline
Id String - pipeline
Team StringId - resource
Id String
Supporting Types
PipelineEnvironmentEntry, PipelineEnvironmentEntryArgs
One entry in the environments map.PipelineStageConfig, PipelineStageConfigArgs
Configuration for one deployment stage.- Environment
Key string - Deployment
Spn stringClient Id - Description string
- Is
Sharing boolEnabled - Require
Predeployment boolApproval - Require
Preexport boolApproval - Use
Delegated boolDeployment
- Environment
Key string - Deployment
Spn stringClient Id - Description string
- Is
Sharing boolEnabled - Require
Predeployment boolApproval - Require
Preexport boolApproval - Use
Delegated boolDeployment
- environment_
key string - deployment_
spn_ stringclient_ id - description string
- is_
sharing_ boolenabled - require_
predeployment_ boolapproval - require_
preexport_ boolapproval - use_
delegated_ booldeployment
- environment
Key String - deployment
Spn StringClient Id - description String
- is
Sharing BooleanEnabled - require
Predeployment BooleanApproval - require
Preexport BooleanApproval - use
Delegated BooleanDeployment
- environment
Key string - deployment
Spn stringClient Id - description string
- is
Sharing booleanEnabled - require
Predeployment booleanApproval - require
Preexport booleanApproval - use
Delegated booleanDeployment
- environment
Key String - deployment
Spn StringClient Id - description String
- is
Sharing BooleanEnabled - require
Predeployment BooleanApproval - require
Preexport BooleanApproval - use
Delegated BooleanDeployment
Package Details
- Repository
- powerplatform rpothin/pulumi-powerplatform
- License
- MIT
Viewing docs for Power Platform v0.4.1
published on Monday, Jun 15, 2026 by rpothin
published on Monday, Jun 15, 2026 by rpothin