1. Packages
  2. Packages
  3. Power Platform
  4. API Docs
  5. PipelineSharing
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

    Grants read access to a Dataverse deployment pipeline for a team.

    All input properties are immutable; any change triggers replacement.

    Create PipelineSharing Resource

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

    Constructor syntax

    new PipelineSharing(name: string, args: PipelineSharingArgs, opts?: CustomResourceOptions);
    @overload
    def PipelineSharing(resource_name: str,
                        args: PipelineSharingArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PipelineSharing(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        environment_id: Optional[str] = None,
                        pipeline_id: Optional[str] = None,
                        team_id: Optional[str] = None,
                        access_mask: Optional[str] = None)
    func NewPipelineSharing(ctx *Context, name string, args PipelineSharingArgs, opts ...ResourceOption) (*PipelineSharing, error)
    public PipelineSharing(string name, PipelineSharingArgs args, CustomResourceOptions? opts = null)
    public PipelineSharing(String name, PipelineSharingArgs args)
    public PipelineSharing(String name, PipelineSharingArgs args, CustomResourceOptions options)
    
    type: powerplatform:PipelineSharing
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "powerplatform_pipelinesharing" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PipelineSharingArgs
    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 PipelineSharingArgs
    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 PipelineSharingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PipelineSharingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PipelineSharingArgs
    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 pipelineSharingResource = new Powerplatform.PipelineSharing("pipelineSharingResource", new()
    {
        EnvironmentId = "string",
        PipelineId = "string",
        TeamId = "string",
        AccessMask = "string",
    });
    
    example, err := powerplatform.NewPipelineSharing(ctx, "pipelineSharingResource", &powerplatform.PipelineSharingArgs{
    	EnvironmentId: pulumi.String("string"),
    	PipelineId:    pulumi.String("string"),
    	TeamId:        pulumi.String("string"),
    	AccessMask:    pulumi.String("string"),
    })
    
    resource "powerplatform_pipelinesharing" "pipelineSharingResource" {
      environment_id = "string"
      pipeline_id    = "string"
      team_id        = "string"
      access_mask    = "string"
    }
    
    var pipelineSharingResource = new PipelineSharing("pipelineSharingResource", PipelineSharingArgs.builder()
        .environmentId("string")
        .pipelineId("string")
        .teamId("string")
        .accessMask("string")
        .build());
    
    pipeline_sharing_resource = powerplatform.PipelineSharing("pipelineSharingResource",
        environment_id="string",
        pipeline_id="string",
        team_id="string",
        access_mask="string")
    
    const pipelineSharingResource = new powerplatform.PipelineSharing("pipelineSharingResource", {
        environmentId: "string",
        pipelineId: "string",
        teamId: "string",
        accessMask: "string",
    });
    
    type: powerplatform:PipelineSharing
    properties:
        accessMask: string
        environmentId: string
        pipelineId: string
        teamId: string
    

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

    EnvironmentId string
    Host environment ID.
    PipelineId string
    Deployment pipeline record ID.
    TeamId string
    Team record ID to grant access to.
    AccessMask string
    Access mask. Default: ReadAccess.
    EnvironmentId string
    Host environment ID.
    PipelineId string
    Deployment pipeline record ID.
    TeamId string
    Team record ID to grant access to.
    AccessMask string
    Access mask. Default: ReadAccess.
    environment_id string
    Host environment ID.
    pipeline_id string
    Deployment pipeline record ID.
    team_id string
    Team record ID to grant access to.
    access_mask string
    Access mask. Default: ReadAccess.
    environmentId String
    Host environment ID.
    pipelineId String
    Deployment pipeline record ID.
    teamId String
    Team record ID to grant access to.
    accessMask String
    Access mask. Default: ReadAccess.
    environmentId string
    Host environment ID.
    pipelineId string
    Deployment pipeline record ID.
    teamId string
    Team record ID to grant access to.
    accessMask string
    Access mask. Default: ReadAccess.
    environment_id str
    Host environment ID.
    pipeline_id str
    Deployment pipeline record ID.
    team_id str
    Team record ID to grant access to.
    access_mask str
    Access mask. Default: ReadAccess.
    environmentId String
    Host environment ID.
    pipelineId String
    Deployment pipeline record ID.
    teamId String
    Team record ID to grant access to.
    accessMask String
    Access mask. Default: ReadAccess.

    Outputs

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

    GrantedAccessMask string
    Actual access mask granted.
    Id string
    The provider-assigned unique ID for this managed resource.
    GrantedAccessMask string
    Actual access mask granted.
    Id string
    The provider-assigned unique ID for this managed resource.
    granted_access_mask string
    Actual access mask granted.
    id string
    The provider-assigned unique ID for this managed resource.
    grantedAccessMask String
    Actual access mask granted.
    id String
    The provider-assigned unique ID for this managed resource.
    grantedAccessMask string
    Actual access mask granted.
    id string
    The provider-assigned unique ID for this managed resource.
    granted_access_mask str
    Actual access mask granted.
    id str
    The provider-assigned unique ID for this managed resource.
    grantedAccessMask String
    Actual access mask granted.
    id String
    The provider-assigned unique ID for this managed resource.

    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