1. Packages
  2. Packages
  3. Power Platform
  4. API Docs
  5. EnvironmentGroup
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin
powerplatform logo
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin

    Manages a Power Platform environment group. Environment groups allow you to organize environments and apply policies at a group level.

    Create EnvironmentGroup Resource

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

    Constructor syntax

    new EnvironmentGroup(name: string, args: EnvironmentGroupArgs, opts?: CustomResourceOptions);
    @overload
    def EnvironmentGroup(resource_name: str,
                         args: EnvironmentGroupArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvironmentGroup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         display_name: Optional[str] = None,
                         description: Optional[str] = None,
                         parent_group_id: Optional[str] = None)
    func NewEnvironmentGroup(ctx *Context, name string, args EnvironmentGroupArgs, opts ...ResourceOption) (*EnvironmentGroup, error)
    public EnvironmentGroup(string name, EnvironmentGroupArgs args, CustomResourceOptions? opts = null)
    public EnvironmentGroup(String name, EnvironmentGroupArgs args)
    public EnvironmentGroup(String name, EnvironmentGroupArgs args, CustomResourceOptions options)
    
    type: powerplatform:EnvironmentGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "powerplatform_environmentgroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EnvironmentGroupArgs
    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 EnvironmentGroupArgs
    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 EnvironmentGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentGroupArgs
    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 environmentGroupResource = new Powerplatform.EnvironmentGroup("environmentGroupResource", new()
    {
        DisplayName = "string",
        Description = "string",
        ParentGroupId = "string",
    });
    
    example, err := powerplatform.NewEnvironmentGroup(ctx, "environmentGroupResource", &powerplatform.EnvironmentGroupArgs{
    	DisplayName:   pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	ParentGroupId: pulumi.String("string"),
    })
    
    resource "powerplatform_environmentgroup" "environmentGroupResource" {
      display_name    = "string"
      description     = "string"
      parent_group_id = "string"
    }
    
    var environmentGroupResource = new EnvironmentGroup("environmentGroupResource", EnvironmentGroupArgs.builder()
        .displayName("string")
        .description("string")
        .parentGroupId("string")
        .build());
    
    environment_group_resource = powerplatform.EnvironmentGroup("environmentGroupResource",
        display_name="string",
        description="string",
        parent_group_id="string")
    
    const environmentGroupResource = new powerplatform.EnvironmentGroup("environmentGroupResource", {
        displayName: "string",
        description: "string",
        parentGroupId: "string",
    });
    
    type: powerplatform:EnvironmentGroup
    properties:
        description: string
        displayName: string
        parentGroupId: string
    

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

    DisplayName string
    The display name for the environment group.
    Description string
    A description of the environment group.
    ParentGroupId string
    The ID of the parent environment group, if this is a nested group.
    DisplayName string
    The display name for the environment group.
    Description string
    A description of the environment group.
    ParentGroupId string
    The ID of the parent environment group, if this is a nested group.
    display_name string
    The display name for the environment group.
    description string
    A description of the environment group.
    parent_group_id string
    The ID of the parent environment group, if this is a nested group.
    displayName String
    The display name for the environment group.
    description String
    A description of the environment group.
    parentGroupId String
    The ID of the parent environment group, if this is a nested group.
    displayName string
    The display name for the environment group.
    description string
    A description of the environment group.
    parentGroupId string
    The ID of the parent environment group, if this is a nested group.
    display_name str
    The display name for the environment group.
    description str
    A description of the environment group.
    parent_group_id str
    The ID of the parent environment group, if this is a nested group.
    displayName String
    The display name for the environment group.
    description String
    A description of the environment group.
    parentGroupId String
    The ID of the parent environment group, if this is a nested group.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedTime string
    The timestamp when the group was created.
    LastModifiedTime string
    The timestamp when the group was last modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedTime string
    The timestamp when the group was created.
    LastModifiedTime string
    The timestamp when the group was last modified.
    id string
    The provider-assigned unique ID for this managed resource.
    created_time string
    The timestamp when the group was created.
    last_modified_time string
    The timestamp when the group was last modified.
    id String
    The provider-assigned unique ID for this managed resource.
    createdTime String
    The timestamp when the group was created.
    lastModifiedTime String
    The timestamp when the group was last modified.
    id string
    The provider-assigned unique ID for this managed resource.
    createdTime string
    The timestamp when the group was created.
    lastModifiedTime string
    The timestamp when the group was last modified.
    id str
    The provider-assigned unique ID for this managed resource.
    created_time str
    The timestamp when the group was created.
    last_modified_time str
    The timestamp when the group was last modified.
    id String
    The provider-assigned unique ID for this managed resource.
    createdTime String
    The timestamp when the group was created.
    lastModifiedTime String
    The timestamp when the group was last modified.

    Package Details

    Repository
    powerplatform rpothin/pulumi-powerplatform
    License
    MIT
    powerplatform logo
    Viewing docs for Power Platform v0.3.3
    published on Monday, May 18, 2026 by rpothin

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial