published on Monday, May 18, 2026 by rpothin
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:
- Display
Name string - The display name for the environment group.
- Description string
- A description of the environment group.
- Parent
Group stringId - 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 stringId - 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_ stringid - 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 StringId - 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 stringId - 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_ strid - 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 StringId - 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.
- Created
Time string - The timestamp when the group was created.
- Last
Modified stringTime - 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 stringTime - 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_ stringtime - 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 StringTime - 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 stringTime - 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_ strtime - 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 StringTime - The timestamp when the group was last modified.
Package Details
- Repository
- powerplatform rpothin/pulumi-powerplatform
- License
- MIT
published on Monday, May 18, 2026 by rpothin