1. Packages
  2. Ionoscloud
  3. API Docs
  4. compute
  5. Group
IonosCloud v0.2.2 published on Monday, May 12, 2025 by ionos-cloud

ionoscloud.compute.Group

Explore with Pulumi AI

ionoscloud logo
IonosCloud v0.2.2 published on Monday, May 12, 2025 by ionos-cloud

    Manages Groups and Group Privileges on IonosCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
    import * as random from "@pulumi/random";
    
    const user1Password = new random.index.Password("user1_password", {
        length: 16,
        special: true,
        overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    });
    const example1 = new ionoscloud.compute.User("example1", {
        firstName: "user1",
        lastName: "user1",
        email: "unique_email.com",
        password: user1Password.result,
        administrator: false,
        forceSecAuth: false,
    });
    const user2Password = new random.index.Password("user2_password", {
        length: 16,
        special: true,
        overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    });
    const example2 = new ionoscloud.compute.User("example2", {
        firstName: "user2",
        lastName: "user2",
        email: "unique_email.com",
        password: user2Password.result,
        administrator: false,
        forceSecAuth: false,
    });
    const example = new ionoscloud.compute.Group("example", {
        name: "Group Example",
        createDatacenter: true,
        createSnapshot: true,
        reserveIp: true,
        accessActivityLog: true,
        createPcc: true,
        s3Privilege: true,
        createBackupUnit: true,
        createInternetAccess: true,
        createK8sCluster: true,
        createFlowLog: true,
        accessAndManageMonitoring: true,
        accessAndManageCertificates: true,
        manageDbaas: true,
        userIds: [
            example1.id,
            example2.id,
        ],
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    import pulumi_random as random
    
    user1_password = random.index.Password("user1_password",
        length=16,
        special=True,
        override_special=!#$%&*()-_=+[]{}<>:?)
    example1 = ionoscloud.compute.User("example1",
        first_name="user1",
        last_name="user1",
        email="unique_email.com",
        password=user1_password["result"],
        administrator=False,
        force_sec_auth=False)
    user2_password = random.index.Password("user2_password",
        length=16,
        special=True,
        override_special=!#$%&*()-_=+[]{}<>:?)
    example2 = ionoscloud.compute.User("example2",
        first_name="user2",
        last_name="user2",
        email="unique_email.com",
        password=user2_password["result"],
        administrator=False,
        force_sec_auth=False)
    example = ionoscloud.compute.Group("example",
        name="Group Example",
        create_datacenter=True,
        create_snapshot=True,
        reserve_ip=True,
        access_activity_log=True,
        create_pcc=True,
        s3_privilege=True,
        create_backup_unit=True,
        create_internet_access=True,
        create_k8s_cluster=True,
        create_flow_log=True,
        access_and_manage_monitoring=True,
        access_and_manage_certificates=True,
        manage_dbaas=True,
        user_ids=[
            example1.id,
            example2.id,
        ])
    
    package main
    
    import (
    	"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
    	"github.com/pulumi/pulumi-random/sdk/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		user1Password, err := random.NewPassword(ctx, "user1_password", &random.PasswordArgs{
    			Length:          16,
    			Special:         true,
    			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    		})
    		if err != nil {
    			return err
    		}
    		example1, err := compute.NewUser(ctx, "example1", &compute.UserArgs{
    			FirstName:     pulumi.String("user1"),
    			LastName:      pulumi.String("user1"),
    			Email:         pulumi.String("unique_email.com"),
    			Password:      user1Password.Result,
    			Administrator: pulumi.Bool(false),
    			ForceSecAuth:  pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		user2Password, err := random.NewPassword(ctx, "user2_password", &random.PasswordArgs{
    			Length:          16,
    			Special:         true,
    			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
    		})
    		if err != nil {
    			return err
    		}
    		example2, err := compute.NewUser(ctx, "example2", &compute.UserArgs{
    			FirstName:     pulumi.String("user2"),
    			LastName:      pulumi.String("user2"),
    			Email:         pulumi.String("unique_email.com"),
    			Password:      user2Password.Result,
    			Administrator: pulumi.Bool(false),
    			ForceSecAuth:  pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = compute.NewGroup(ctx, "example", &compute.GroupArgs{
    			Name:                        pulumi.String("Group Example"),
    			CreateDatacenter:            pulumi.Bool(true),
    			CreateSnapshot:              pulumi.Bool(true),
    			ReserveIp:                   pulumi.Bool(true),
    			AccessActivityLog:           pulumi.Bool(true),
    			CreatePcc:                   pulumi.Bool(true),
    			S3Privilege:                 pulumi.Bool(true),
    			CreateBackupUnit:            pulumi.Bool(true),
    			CreateInternetAccess:        pulumi.Bool(true),
    			CreateK8sCluster:            pulumi.Bool(true),
    			CreateFlowLog:               pulumi.Bool(true),
    			AccessAndManageMonitoring:   pulumi.Bool(true),
    			AccessAndManageCertificates: pulumi.Bool(true),
    			ManageDbaas:                 pulumi.Bool(true),
    			UserIds: pulumi.StringArray{
    				example1.ID(),
    				example2.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var user1Password = new Random.Index.Password("user1_password", new()
        {
            Length = 16,
            Special = true,
            OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
        });
    
        var example1 = new Ionoscloud.Compute.User("example1", new()
        {
            FirstName = "user1",
            LastName = "user1",
            Email = "unique_email.com",
            Password = user1Password.Result,
            Administrator = false,
            ForceSecAuth = false,
        });
    
        var user2Password = new Random.Index.Password("user2_password", new()
        {
            Length = 16,
            Special = true,
            OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
        });
    
        var example2 = new Ionoscloud.Compute.User("example2", new()
        {
            FirstName = "user2",
            LastName = "user2",
            Email = "unique_email.com",
            Password = user2Password.Result,
            Administrator = false,
            ForceSecAuth = false,
        });
    
        var example = new Ionoscloud.Compute.Group("example", new()
        {
            Name = "Group Example",
            CreateDatacenter = true,
            CreateSnapshot = true,
            ReserveIp = true,
            AccessActivityLog = true,
            CreatePcc = true,
            S3Privilege = true,
            CreateBackupUnit = true,
            CreateInternetAccess = true,
            CreateK8sCluster = true,
            CreateFlowLog = true,
            AccessAndManageMonitoring = true,
            AccessAndManageCertificates = true,
            ManageDbaas = true,
            UserIds = new[]
            {
                example1.Id,
                example2.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.password;
    import com.pulumi.random.PasswordArgs;
    import com.pulumi.ionoscloud.compute.User;
    import com.pulumi.ionoscloud.compute.UserArgs;
    import com.pulumi.ionoscloud.compute.Group;
    import com.pulumi.ionoscloud.compute.GroupArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var user1Password = new Password("user1Password", PasswordArgs.builder()
                .length(16)
                .special(true)
                .overrideSpecial("!#$%&*()-_=+[]{}<>:?")
                .build());
    
            var example1 = new User("example1", UserArgs.builder()
                .firstName("user1")
                .lastName("user1")
                .email("unique_email.com")
                .password(user1Password.result())
                .administrator(false)
                .forceSecAuth(false)
                .build());
    
            var user2Password = new Password("user2Password", PasswordArgs.builder()
                .length(16)
                .special(true)
                .overrideSpecial("!#$%&*()-_=+[]{}<>:?")
                .build());
    
            var example2 = new User("example2", UserArgs.builder()
                .firstName("user2")
                .lastName("user2")
                .email("unique_email.com")
                .password(user2Password.result())
                .administrator(false)
                .forceSecAuth(false)
                .build());
    
            var example = new Group("example", GroupArgs.builder()
                .name("Group Example")
                .createDatacenter(true)
                .createSnapshot(true)
                .reserveIp(true)
                .accessActivityLog(true)
                .createPcc(true)
                .s3Privilege(true)
                .createBackupUnit(true)
                .createInternetAccess(true)
                .createK8sCluster(true)
                .createFlowLog(true)
                .accessAndManageMonitoring(true)
                .accessAndManageCertificates(true)
                .manageDbaas(true)
                .userIds(            
                    example1.id(),
                    example2.id())
                .build());
    
        }
    }
    
    resources:
      example1:
        type: ionoscloud:compute:User
        properties:
          firstName: user1
          lastName: user1
          email: unique_email.com
          password: ${user1Password.result}
          administrator: false
          forceSecAuth: false
      example2:
        type: ionoscloud:compute:User
        properties:
          firstName: user2
          lastName: user2
          email: unique_email.com
          password: ${user2Password.result}
          administrator: false
          forceSecAuth: false
      example:
        type: ionoscloud:compute:Group
        properties:
          name: Group Example
          createDatacenter: true
          createSnapshot: true
          reserveIp: true
          accessActivityLog: true
          createPcc: true
          s3Privilege: true
          createBackupUnit: true
          createInternetAccess: true
          createK8sCluster: true
          createFlowLog: true
          accessAndManageMonitoring: true
          accessAndManageCertificates: true
          manageDbaas: true
          userIds:
            - ${example1.id}
            - ${example2.id}
      user1Password:
        type: random:password
        name: user1_password
        properties:
          length: 16
          special: true
          overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
      user2Password:
        type: random:password
        name: user2_password
        properties:
          length: 16
          special: true
          overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
    

    Create Group Resource

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

    Constructor syntax

    new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              args: Optional[GroupArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              access_activity_log: Optional[bool] = None,
              access_and_manage_certificates: Optional[bool] = None,
              access_and_manage_monitoring: Optional[bool] = None,
              create_backup_unit: Optional[bool] = None,
              create_datacenter: Optional[bool] = None,
              create_flow_log: Optional[bool] = None,
              create_internet_access: Optional[bool] = None,
              create_k8s_cluster: Optional[bool] = None,
              create_pcc: Optional[bool] = None,
              create_snapshot: Optional[bool] = None,
              manage_dbaas: Optional[bool] = None,
              name: Optional[str] = None,
              reserve_ip: Optional[bool] = None,
              s3_privilege: Optional[bool] = None,
              user_id: Optional[str] = None,
              user_ids: Optional[Sequence[str]] = None)
    func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: ionoscloud:compute:Group
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    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 ionoscloudGroupResource = new Ionoscloud.Compute.Group("ionoscloudGroupResource", new()
    {
        AccessActivityLog = false,
        AccessAndManageCertificates = false,
        AccessAndManageMonitoring = false,
        CreateBackupUnit = false,
        CreateDatacenter = false,
        CreateFlowLog = false,
        CreateInternetAccess = false,
        CreateK8sCluster = false,
        CreatePcc = false,
        CreateSnapshot = false,
        ManageDbaas = false,
        Name = "string",
        ReserveIp = false,
        S3Privilege = false,
        UserIds = new[]
        {
            "string",
        },
    });
    
    example, err := compute.NewGroup(ctx, "ionoscloudGroupResource", &compute.GroupArgs{
    	AccessActivityLog:           pulumi.Bool(false),
    	AccessAndManageCertificates: pulumi.Bool(false),
    	AccessAndManageMonitoring:   pulumi.Bool(false),
    	CreateBackupUnit:            pulumi.Bool(false),
    	CreateDatacenter:            pulumi.Bool(false),
    	CreateFlowLog:               pulumi.Bool(false),
    	CreateInternetAccess:        pulumi.Bool(false),
    	CreateK8sCluster:            pulumi.Bool(false),
    	CreatePcc:                   pulumi.Bool(false),
    	CreateSnapshot:              pulumi.Bool(false),
    	ManageDbaas:                 pulumi.Bool(false),
    	Name:                        pulumi.String("string"),
    	ReserveIp:                   pulumi.Bool(false),
    	S3Privilege:                 pulumi.Bool(false),
    	UserIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var ionoscloudGroupResource = new com.ionoscloud.pulumi.ionoscloud.compute.Group("ionoscloudGroupResource", com.ionoscloud.pulumi.ionoscloud.compute.GroupArgs.builder()
        .accessActivityLog(false)
        .accessAndManageCertificates(false)
        .accessAndManageMonitoring(false)
        .createBackupUnit(false)
        .createDatacenter(false)
        .createFlowLog(false)
        .createInternetAccess(false)
        .createK8sCluster(false)
        .createPcc(false)
        .createSnapshot(false)
        .manageDbaas(false)
        .name("string")
        .reserveIp(false)
        .s3Privilege(false)
        .userIds("string")
        .build());
    
    ionoscloud_group_resource = ionoscloud.compute.Group("ionoscloudGroupResource",
        access_activity_log=False,
        access_and_manage_certificates=False,
        access_and_manage_monitoring=False,
        create_backup_unit=False,
        create_datacenter=False,
        create_flow_log=False,
        create_internet_access=False,
        create_k8s_cluster=False,
        create_pcc=False,
        create_snapshot=False,
        manage_dbaas=False,
        name="string",
        reserve_ip=False,
        s3_privilege=False,
        user_ids=["string"])
    
    const ionoscloudGroupResource = new ionoscloud.compute.Group("ionoscloudGroupResource", {
        accessActivityLog: false,
        accessAndManageCertificates: false,
        accessAndManageMonitoring: false,
        createBackupUnit: false,
        createDatacenter: false,
        createFlowLog: false,
        createInternetAccess: false,
        createK8sCluster: false,
        createPcc: false,
        createSnapshot: false,
        manageDbaas: false,
        name: "string",
        reserveIp: false,
        s3Privilege: false,
        userIds: ["string"],
    });
    
    type: ionoscloud:compute:Group
    properties:
        accessActivityLog: false
        accessAndManageCertificates: false
        accessAndManageMonitoring: false
        createBackupUnit: false
        createDatacenter: false
        createFlowLog: false
        createInternetAccess: false
        createK8sCluster: false
        createPcc: false
        createSnapshot: false
        manageDbaas: false
        name: string
        reserveIp: false
        s3Privilege: false
        userIds:
            - string
    

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

    AccessActivityLog bool
    [Boolean] The group will be allowed to access the activity log.
    AccessAndManageCertificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    AccessAndManageMonitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    CreateBackupUnit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    CreateDatacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    CreateFlowLog bool
    [Boolean] The group will be allowed to create flow log.
    CreateInternetAccess bool
    [Boolean] The group will be allowed to create internet access privilege.
    CreateK8sCluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    CreatePcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    CreateSnapshot bool
    [Boolean] The group will be allowed to create snapshots.
    ManageDbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    Name string
    [string] A name for the group.
    ReserveIp bool
    [Boolean] The group will be allowed to reserve IP addresses.
    S3Privilege bool
    [Boolean] The group will have S3 privilege.
    UserId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    UserIds List<string>
    [list] A list of users to add to the group.
    AccessActivityLog bool
    [Boolean] The group will be allowed to access the activity log.
    AccessAndManageCertificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    AccessAndManageMonitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    CreateBackupUnit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    CreateDatacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    CreateFlowLog bool
    [Boolean] The group will be allowed to create flow log.
    CreateInternetAccess bool
    [Boolean] The group will be allowed to create internet access privilege.
    CreateK8sCluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    CreatePcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    CreateSnapshot bool
    [Boolean] The group will be allowed to create snapshots.
    ManageDbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    Name string
    [string] A name for the group.
    ReserveIp bool
    [Boolean] The group will be allowed to reserve IP addresses.
    S3Privilege bool
    [Boolean] The group will have S3 privilege.
    UserId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    UserIds []string
    [list] A list of users to add to the group.
    accessActivityLog Boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates Boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring Boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit Boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter Boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog Boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess Boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster Boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc Boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot Boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas Boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name String
    [string] A name for the group.
    reserveIp Boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege Boolean
    [Boolean] The group will have S3 privilege.
    userId String
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds List<String>
    [list] A list of users to add to the group.
    accessActivityLog boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name string
    [string] A name for the group.
    reserveIp boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege boolean
    [Boolean] The group will have S3 privilege.
    userId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds string[]
    [list] A list of users to add to the group.
    access_activity_log bool
    [Boolean] The group will be allowed to access the activity log.
    access_and_manage_certificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    access_and_manage_monitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    create_backup_unit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    create_datacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    create_flow_log bool
    [Boolean] The group will be allowed to create flow log.
    create_internet_access bool
    [Boolean] The group will be allowed to create internet access privilege.
    create_k8s_cluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    create_pcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    create_snapshot bool
    [Boolean] The group will be allowed to create snapshots.
    manage_dbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name str
    [string] A name for the group.
    reserve_ip bool
    [Boolean] The group will be allowed to reserve IP addresses.
    s3_privilege bool
    [Boolean] The group will have S3 privilege.
    user_id str
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    user_ids Sequence[str]
    [list] A list of users to add to the group.
    accessActivityLog Boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates Boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring Boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit Boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter Boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog Boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess Boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster Boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc Boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot Boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas Boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name String
    [string] A name for the group.
    reserveIp Boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege Boolean
    [Boolean] The group will have S3 privilege.
    userId String
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds List<String>
    [list] A list of users to add to the group.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Users List<Ionoscloud.GroupUser>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    Id string
    The provider-assigned unique ID for this managed resource.
    Users []GroupUser

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    id String
    The provider-assigned unique ID for this managed resource.
    users List<GroupUser>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    id string
    The provider-assigned unique ID for this managed resource.
    users GroupUser[]

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    id str
    The provider-assigned unique ID for this managed resource.
    users Sequence[GroupUser]

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    id String
    The provider-assigned unique ID for this managed resource.
    users List<Property Map>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    Look up Existing Group Resource

    Get an existing Group resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GroupState, opts?: CustomResourceOptions): Group
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_activity_log: Optional[bool] = None,
            access_and_manage_certificates: Optional[bool] = None,
            access_and_manage_monitoring: Optional[bool] = None,
            create_backup_unit: Optional[bool] = None,
            create_datacenter: Optional[bool] = None,
            create_flow_log: Optional[bool] = None,
            create_internet_access: Optional[bool] = None,
            create_k8s_cluster: Optional[bool] = None,
            create_pcc: Optional[bool] = None,
            create_snapshot: Optional[bool] = None,
            manage_dbaas: Optional[bool] = None,
            name: Optional[str] = None,
            reserve_ip: Optional[bool] = None,
            s3_privilege: Optional[bool] = None,
            user_id: Optional[str] = None,
            user_ids: Optional[Sequence[str]] = None,
            users: Optional[Sequence[GroupUserArgs]] = None) -> Group
    func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
    public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
    public static Group get(String name, Output<String> id, GroupState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:compute:Group    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessActivityLog bool
    [Boolean] The group will be allowed to access the activity log.
    AccessAndManageCertificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    AccessAndManageMonitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    CreateBackupUnit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    CreateDatacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    CreateFlowLog bool
    [Boolean] The group will be allowed to create flow log.
    CreateInternetAccess bool
    [Boolean] The group will be allowed to create internet access privilege.
    CreateK8sCluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    CreatePcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    CreateSnapshot bool
    [Boolean] The group will be allowed to create snapshots.
    ManageDbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    Name string
    [string] A name for the group.
    ReserveIp bool
    [Boolean] The group will be allowed to reserve IP addresses.
    S3Privilege bool
    [Boolean] The group will have S3 privilege.
    UserId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    UserIds List<string>
    [list] A list of users to add to the group.
    Users List<Ionoscloud.GroupUser>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    AccessActivityLog bool
    [Boolean] The group will be allowed to access the activity log.
    AccessAndManageCertificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    AccessAndManageMonitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    CreateBackupUnit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    CreateDatacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    CreateFlowLog bool
    [Boolean] The group will be allowed to create flow log.
    CreateInternetAccess bool
    [Boolean] The group will be allowed to create internet access privilege.
    CreateK8sCluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    CreatePcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    CreateSnapshot bool
    [Boolean] The group will be allowed to create snapshots.
    ManageDbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    Name string
    [string] A name for the group.
    ReserveIp bool
    [Boolean] The group will be allowed to reserve IP addresses.
    S3Privilege bool
    [Boolean] The group will have S3 privilege.
    UserId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    UserIds []string
    [list] A list of users to add to the group.
    Users []GroupUserArgs

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    accessActivityLog Boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates Boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring Boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit Boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter Boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog Boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess Boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster Boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc Boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot Boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas Boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name String
    [string] A name for the group.
    reserveIp Boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege Boolean
    [Boolean] The group will have S3 privilege.
    userId String
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds List<String>
    [list] A list of users to add to the group.
    users List<GroupUser>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    accessActivityLog boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name string
    [string] A name for the group.
    reserveIp boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege boolean
    [Boolean] The group will have S3 privilege.
    userId string
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds string[]
    [list] A list of users to add to the group.
    users GroupUser[]

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    access_activity_log bool
    [Boolean] The group will be allowed to access the activity log.
    access_and_manage_certificates bool
    [Boolean] The group will be allowed to access and manage certificates.
    access_and_manage_monitoring bool
    [Boolean] The group will be allowed to access and manage monitoring.
    create_backup_unit bool
    [Boolean] The group will be allowed to create backup unit privilege.
    create_datacenter bool
    [Boolean] The group will be allowed to create virtual data centers.
    create_flow_log bool
    [Boolean] The group will be allowed to create flow log.
    create_internet_access bool
    [Boolean] The group will be allowed to create internet access privilege.
    create_k8s_cluster bool
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    create_pcc bool
    [Boolean] The group will be allowed to create Cross Connects privilege.
    create_snapshot bool
    [Boolean] The group will be allowed to create snapshots.
    manage_dbaas bool
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name str
    [string] A name for the group.
    reserve_ip bool
    [Boolean] The group will be allowed to reserve IP addresses.
    s3_privilege bool
    [Boolean] The group will have S3 privilege.
    user_id str
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    user_ids Sequence[str]
    [list] A list of users to add to the group.
    users Sequence[GroupUserArgs]

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    accessActivityLog Boolean
    [Boolean] The group will be allowed to access the activity log.
    accessAndManageCertificates Boolean
    [Boolean] The group will be allowed to access and manage certificates.
    accessAndManageMonitoring Boolean
    [Boolean] The group will be allowed to access and manage monitoring.
    createBackupUnit Boolean
    [Boolean] The group will be allowed to create backup unit privilege.
    createDatacenter Boolean
    [Boolean] The group will be allowed to create virtual data centers.
    createFlowLog Boolean
    [Boolean] The group will be allowed to create flow log.
    createInternetAccess Boolean
    [Boolean] The group will be allowed to create internet access privilege.
    createK8sCluster Boolean
    [Boolean] The group will be allowed to create kubernetes cluster privilege.
    createPcc Boolean
    [Boolean] The group will be allowed to create Cross Connects privilege.
    createSnapshot Boolean
    [Boolean] The group will be allowed to create snapshots.
    manageDbaas Boolean
    [Boolean] Privilege for a group to manage DBaaS related functionality.
    name String
    [string] A name for the group.
    reserveIp Boolean
    [Boolean] The group will be allowed to reserve IP addresses.
    s3Privilege Boolean
    [Boolean] The group will have S3 privilege.
    userId String
    [string] The ID of the specific user to add to the group. Please use user_ids argument since this is DEPRECATED

    Deprecated: Please use user_ids for adding users to the group, since user_id will be removed in the future

    userIds List<String>
    [list] A list of users to add to the group.
    users List<Property Map>

    List of users - See the User section

    NOTE: user_id/user_ids field cannot be used at the same time with group_ids field in user resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.

    Supporting Types

    GroupUser, GroupUserArgs

    Administrator bool
    Email string
    FirstName string
    ForceSecAuth bool
    Id string
    LastName string
    Password string
    Administrator bool
    Email string
    FirstName string
    ForceSecAuth bool
    Id string
    LastName string
    Password string
    administrator Boolean
    email String
    firstName String
    forceSecAuth Boolean
    id String
    lastName String
    password String
    administrator boolean
    email string
    firstName string
    forceSecAuth boolean
    id string
    lastName string
    password string
    administrator Boolean
    email String
    firstName String
    forceSecAuth Boolean
    id String
    lastName String
    password String

    Import

    Resource Group can be imported using the resource id, e.g.

    $ pulumi import ionoscloud:compute/group:Group mygroup group uuid
    

    :warning: If you are upgrading to v6.2.0: You have to modify you plan for user_ids to match the new structure, by renaming the field old field, user_id, to user_ids and put the old value into an array. This is not backwards compatible.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    IonosCloud v0.2.2 published on Monday, May 12, 2025 by ionos-cloud