1. Packages
  2. Outscale Provider
  3. API Docs
  4. UserGroup
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.UserGroup

Explore with Pulumi AI

Manages a user group.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Create a user group

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const group_1 = new outscale.UserGroup("group-1", {
    path: "/terraform/",
    userGroupName: "Group-TF-test-1",
});
Copy
import pulumi
import pulumi_outscale as outscale

group_1 = outscale.UserGroup("group-1",
    path="/terraform/",
    user_group_name="Group-TF-test-1")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewUserGroup(ctx, "group-1", &outscale.UserGroupArgs{
			Path:          pulumi.String("/terraform/"),
			UserGroupName: pulumi.String("Group-TF-test-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var group_1 = new Outscale.UserGroup("group-1", new()
    {
        Path = "/terraform/",
        UserGroupName = "Group-TF-test-1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.UserGroup;
import com.pulumi.outscale.UserGroupArgs;
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 group_1 = new UserGroup("group-1", UserGroupArgs.builder()
            .path("/terraform/")
            .userGroupName("Group-TF-test-1")
            .build());

    }
}
Copy
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      path: /terraform/
      userGroupName: Group-TF-test-1
Copy
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const group_1 = new outscale.UserGroup("group-1", {
    userGroupName: "Group-TF-test-1",
    policies: [{
        policyOrn: outscale_policy["policy-2"].orn,
        defaultVersionId: "V2",
    }],
});
Copy
import pulumi
import pulumi_outscale as outscale

group_1 = outscale.UserGroup("group-1",
    user_group_name="Group-TF-test-1",
    policies=[{
        "policy_orn": outscale_policy["policy-2"]["orn"],
        "default_version_id": "V2",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewUserGroup(ctx, "group-1", &outscale.UserGroupArgs{
			UserGroupName: pulumi.String("Group-TF-test-1"),
			Policies: outscale.UserGroupPolicyArray{
				&outscale.UserGroupPolicyArgs{
					PolicyOrn:        pulumi.Any(outscale_policy.Policy2.Orn),
					DefaultVersionId: pulumi.String("V2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var group_1 = new Outscale.UserGroup("group-1", new()
    {
        UserGroupName = "Group-TF-test-1",
        Policies = new[]
        {
            new Outscale.Inputs.UserGroupPolicyArgs
            {
                PolicyOrn = outscale_policy.Policy_2.Orn,
                DefaultVersionId = "V2",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.UserGroup;
import com.pulumi.outscale.UserGroupArgs;
import com.pulumi.outscale.inputs.UserGroupPolicyArgs;
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 group_1 = new UserGroup("group-1", UserGroupArgs.builder()
            .userGroupName("Group-TF-test-1")
            .policies(UserGroupPolicyArgs.builder()
                .policyOrn(outscale_policy.policy-2().orn())
                .defaultVersionId("V2")
                .build())
            .build());

    }
}
Copy
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      userGroupName: Group-TF-test-1
      policies:
        - policyOrn: ${outscale_policy"policy-2"[%!s(MISSING)].orn}
          defaultVersionId: V2
Copy

Add a user to a user group

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const group_1 = new outscale.UserGroup("group-1", {
    users: [
        {
            path: "/terraform/",
            userName: "user-name-1",
        },
        {
            userName: "user-name-2",
        },
    ],
    userGroupName: "Group-TF-test-1",
});
Copy
import pulumi
import pulumi_outscale as outscale

group_1 = outscale.UserGroup("group-1",
    users=[
        {
            "path": "/terraform/",
            "user_name": "user-name-1",
        },
        {
            "user_name": "user-name-2",
        },
    ],
    user_group_name="Group-TF-test-1")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewUserGroup(ctx, "group-1", &outscale.UserGroupArgs{
			Users: outscale.UserGroupUserArray{
				&outscale.UserGroupUserArgs{
					Path:     pulumi.String("/terraform/"),
					UserName: pulumi.String("user-name-1"),
				},
				&outscale.UserGroupUserArgs{
					UserName: pulumi.String("user-name-2"),
				},
			},
			UserGroupName: pulumi.String("Group-TF-test-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var group_1 = new Outscale.UserGroup("group-1", new()
    {
        Users = new[]
        {
            new Outscale.Inputs.UserGroupUserArgs
            {
                Path = "/terraform/",
                UserName = "user-name-1",
            },
            new Outscale.Inputs.UserGroupUserArgs
            {
                UserName = "user-name-2",
            },
        },
        UserGroupName = "Group-TF-test-1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.UserGroup;
import com.pulumi.outscale.UserGroupArgs;
import com.pulumi.outscale.inputs.UserGroupUserArgs;
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 group_1 = new UserGroup("group-1", UserGroupArgs.builder()
            .users(            
                UserGroupUserArgs.builder()
                    .path("/terraform/")
                    .userName("user-name-1")
                    .build(),
                UserGroupUserArgs.builder()
                    .userName("user-name-2")
                    .build())
            .userGroupName("Group-TF-test-1")
            .build());

    }
}
Copy
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      users:
        - path: /terraform/
          userName: user-name-1
        - userName: user-name-2
      userGroupName: Group-TF-test-1
Copy

Create a user group, and add a user and a policy to it

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.UserGroup;
import com.pulumi.outscale.UserGroupArgs;
import com.pulumi.outscale.inputs.UserGroupUserArgs;
import com.pulumi.outscale.inputs.UserGroupPolicyArgs;
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 group_1 = new UserGroup("group-1", UserGroupArgs.builder()
            .userGroupName("Group-TF-test-1")
            .users(            
                UserGroupUserArgs.builder()
                    .userName("user-name-1")
                    .path("/terraform/")
                    .build(),
                UserGroupUserArgs.builder()
                    .userName("user-name-2")
                    .build())
            .policies(UserGroupPolicyArgs.builder()
                .policyOrn(outscale_policy.policy-2().orn())
                .versionId("V2")
                .build())
            .build());

    }
}
Copy
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      userGroupName: Group-TF-test-1
      users:
        - userName: user-name-1
          path: /terraform/
        - userName: user-name-2
      policies:
        - policyOrn: ${outscale_policy"policy-2"[%!s(MISSING)].orn}
          versionId: V2
Copy

Create UserGroup Resource

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

Constructor syntax

new UserGroup(name: string, args: UserGroupArgs, opts?: CustomResourceOptions);
@overload
def UserGroup(resource_name: str,
              args: UserGroupArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def UserGroup(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              user_group_name: Optional[str] = None,
              outscale_user_group_id: Optional[str] = None,
              path: Optional[str] = None,
              policies: Optional[Sequence[UserGroupPolicyArgs]] = None,
              users: Optional[Sequence[UserGroupUserArgs]] = None)
func NewUserGroup(ctx *Context, name string, args UserGroupArgs, opts ...ResourceOption) (*UserGroup, error)
public UserGroup(string name, UserGroupArgs args, CustomResourceOptions? opts = null)
public UserGroup(String name, UserGroupArgs args)
public UserGroup(String name, UserGroupArgs args, CustomResourceOptions options)
type: outscale:UserGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. UserGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. UserGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. UserGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. UserGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. UserGroupArgs
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 userGroupResource = new Outscale.UserGroup("userGroupResource", new()
{
    UserGroupName = "string",
    OutscaleUserGroupId = "string",
    Path = "string",
    Policies = new[]
    {
        new Outscale.Inputs.UserGroupPolicyArgs
        {
            PolicyOrn = "string",
            CreationDate = "string",
            DefaultVersionId = "string",
            LastModificationDate = "string",
            PolicyId = "string",
            PolicyName = "string",
        },
    },
    Users = new[]
    {
        new Outscale.Inputs.UserGroupUserArgs
        {
            UserName = "string",
            CreationDate = "string",
            LastModificationDate = "string",
            Path = "string",
            UserId = "string",
        },
    },
});
Copy
example, err := outscale.NewUserGroup(ctx, "userGroupResource", &outscale.UserGroupArgs{
UserGroupName: pulumi.String("string"),
OutscaleUserGroupId: pulumi.String("string"),
Path: pulumi.String("string"),
Policies: .UserGroupPolicyArray{
&.UserGroupPolicyArgs{
PolicyOrn: pulumi.String("string"),
CreationDate: pulumi.String("string"),
DefaultVersionId: pulumi.String("string"),
LastModificationDate: pulumi.String("string"),
PolicyId: pulumi.String("string"),
PolicyName: pulumi.String("string"),
},
},
Users: .UserGroupUserArray{
&.UserGroupUserArgs{
UserName: pulumi.String("string"),
CreationDate: pulumi.String("string"),
LastModificationDate: pulumi.String("string"),
Path: pulumi.String("string"),
UserId: pulumi.String("string"),
},
},
})
Copy
var userGroupResource = new UserGroup("userGroupResource", UserGroupArgs.builder()
    .userGroupName("string")
    .outscaleUserGroupId("string")
    .path("string")
    .policies(UserGroupPolicyArgs.builder()
        .policyOrn("string")
        .creationDate("string")
        .defaultVersionId("string")
        .lastModificationDate("string")
        .policyId("string")
        .policyName("string")
        .build())
    .users(UserGroupUserArgs.builder()
        .userName("string")
        .creationDate("string")
        .lastModificationDate("string")
        .path("string")
        .userId("string")
        .build())
    .build());
Copy
user_group_resource = outscale.UserGroup("userGroupResource",
    user_group_name="string",
    outscale_user_group_id="string",
    path="string",
    policies=[{
        "policy_orn": "string",
        "creation_date": "string",
        "default_version_id": "string",
        "last_modification_date": "string",
        "policy_id": "string",
        "policy_name": "string",
    }],
    users=[{
        "user_name": "string",
        "creation_date": "string",
        "last_modification_date": "string",
        "path": "string",
        "user_id": "string",
    }])
Copy
const userGroupResource = new outscale.UserGroup("userGroupResource", {
    userGroupName: "string",
    outscaleUserGroupId: "string",
    path: "string",
    policies: [{
        policyOrn: "string",
        creationDate: "string",
        defaultVersionId: "string",
        lastModificationDate: "string",
        policyId: "string",
        policyName: "string",
    }],
    users: [{
        userName: "string",
        creationDate: "string",
        lastModificationDate: "string",
        path: "string",
        userId: "string",
    }],
});
Copy
type: outscale:UserGroup
properties:
    outscaleUserGroupId: string
    path: string
    policies:
        - creationDate: string
          defaultVersionId: string
          lastModificationDate: string
          policyId: string
          policyName: string
          policyOrn: string
    userGroupName: string
    users:
        - creationDate: string
          lastModificationDate: string
          path: string
          userId: string
          userName: string
Copy

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

UserGroupName This property is required. string
The name of the group.
OutscaleUserGroupId string
Path string
The path to the group. If not specified, it is set to a slash (/).
Policies List<UserGroupPolicy>
Users List<UserGroupUser>
UserGroupName This property is required. string
The name of the group.
OutscaleUserGroupId string
Path string
The path to the group. If not specified, it is set to a slash (/).
Policies []UserGroupPolicyArgs
Users []UserGroupUserArgs
userGroupName This property is required. String
The name of the group.
outscaleUserGroupId String
path String
The path to the group. If not specified, it is set to a slash (/).
policies List<UserGroupPolicy>
users List<UserGroupUser>
userGroupName This property is required. string
The name of the group.
outscaleUserGroupId string
path string
The path to the group. If not specified, it is set to a slash (/).
policies UserGroupPolicy[]
users UserGroupUser[]
user_group_name This property is required. str
The name of the group.
outscale_user_group_id str
path str
The path to the group. If not specified, it is set to a slash (/).
policies Sequence[UserGroupPolicyArgs]
users Sequence[UserGroupUserArgs]
userGroupName This property is required. String
The name of the group.
outscaleUserGroupId String
path String
The path to the group. If not specified, it is set to a slash (/).
policies List<Property Map>
users List<Property Map>

Outputs

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

CreationDate string
The date and time (UTC) of creation of the user group.
Id string
The provider-assigned unique ID for this managed resource.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
UserGroupId string
The ID of the user group.
CreationDate string
The date and time (UTC) of creation of the user group.
Id string
The provider-assigned unique ID for this managed resource.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
UserGroupId string
The ID of the user group.
creationDate String
The date and time (UTC) of creation of the user group.
id String
The provider-assigned unique ID for this managed resource.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
orn String
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
userGroupId String
The ID of the user group.
creationDate string
The date and time (UTC) of creation of the user group.
id string
The provider-assigned unique ID for this managed resource.
lastModificationDate string
The date and time (UTC) of the last modification of the user group.
orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
userGroupId string
The ID of the user group.
creation_date str
The date and time (UTC) of creation of the user group.
id str
The provider-assigned unique ID for this managed resource.
last_modification_date str
The date and time (UTC) of the last modification of the user group.
orn str
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
user_group_id str
The ID of the user group.
creationDate String
The date and time (UTC) of creation of the user group.
id String
The provider-assigned unique ID for this managed resource.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
orn String
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
userGroupId String
The ID of the user group.

Look up Existing UserGroup Resource

Get an existing UserGroup 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?: UserGroupState, opts?: CustomResourceOptions): UserGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        creation_date: Optional[str] = None,
        last_modification_date: Optional[str] = None,
        orn: Optional[str] = None,
        outscale_user_group_id: Optional[str] = None,
        path: Optional[str] = None,
        policies: Optional[Sequence[UserGroupPolicyArgs]] = None,
        user_group_id: Optional[str] = None,
        user_group_name: Optional[str] = None,
        users: Optional[Sequence[UserGroupUserArgs]] = None) -> UserGroup
func GetUserGroup(ctx *Context, name string, id IDInput, state *UserGroupState, opts ...ResourceOption) (*UserGroup, error)
public static UserGroup Get(string name, Input<string> id, UserGroupState? state, CustomResourceOptions? opts = null)
public static UserGroup get(String name, Output<String> id, UserGroupState state, CustomResourceOptions options)
resources:  _:    type: outscale:UserGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreationDate string
The date and time (UTC) of creation of the user group.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
OutscaleUserGroupId string
Path string
The path to the group. If not specified, it is set to a slash (/).
Policies List<UserGroupPolicy>
UserGroupId string
The ID of the user group.
UserGroupName string
The name of the group.
Users List<UserGroupUser>
CreationDate string
The date and time (UTC) of creation of the user group.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
OutscaleUserGroupId string
Path string
The path to the group. If not specified, it is set to a slash (/).
Policies []UserGroupPolicyArgs
UserGroupId string
The ID of the user group.
UserGroupName string
The name of the group.
Users []UserGroupUserArgs
creationDate String
The date and time (UTC) of creation of the user group.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
orn String
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
outscaleUserGroupId String
path String
The path to the group. If not specified, it is set to a slash (/).
policies List<UserGroupPolicy>
userGroupId String
The ID of the user group.
userGroupName String
The name of the group.
users List<UserGroupUser>
creationDate string
The date and time (UTC) of creation of the user group.
lastModificationDate string
The date and time (UTC) of the last modification of the user group.
orn string
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
outscaleUserGroupId string
path string
The path to the group. If not specified, it is set to a slash (/).
policies UserGroupPolicy[]
userGroupId string
The ID of the user group.
userGroupName string
The name of the group.
users UserGroupUser[]
creation_date str
The date and time (UTC) of creation of the user group.
last_modification_date str
The date and time (UTC) of the last modification of the user group.
orn str
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
outscale_user_group_id str
path str
The path to the group. If not specified, it is set to a slash (/).
policies Sequence[UserGroupPolicyArgs]
user_group_id str
The ID of the user group.
user_group_name str
The name of the group.
users Sequence[UserGroupUserArgs]
creationDate String
The date and time (UTC) of creation of the user group.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
orn String
The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
outscaleUserGroupId String
path String
The path to the group. If not specified, it is set to a slash (/).
policies List<Property Map>
userGroupId String
The ID of the user group.
userGroupName String
The name of the group.
users List<Property Map>

Supporting Types

UserGroupPolicy
, UserGroupPolicyArgs

PolicyOrn This property is required. string
CreationDate string
The date and time (UTC) of creation of the user group.
DefaultVersionId string
The ID of a policy version that you want to make the default one (the active one).
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
PolicyId string
PolicyName string
PolicyOrn This property is required. string
CreationDate string
The date and time (UTC) of creation of the user group.
DefaultVersionId string
The ID of a policy version that you want to make the default one (the active one).
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
PolicyId string
PolicyName string
policyOrn This property is required. String
creationDate String
The date and time (UTC) of creation of the user group.
defaultVersionId String
The ID of a policy version that you want to make the default one (the active one).
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
policyId String
policyName String
policyOrn This property is required. string
creationDate string
The date and time (UTC) of creation of the user group.
defaultVersionId string
The ID of a policy version that you want to make the default one (the active one).
lastModificationDate string
The date and time (UTC) of the last modification of the user group.
policyId string
policyName string
policy_orn This property is required. str
creation_date str
The date and time (UTC) of creation of the user group.
default_version_id str
The ID of a policy version that you want to make the default one (the active one).
last_modification_date str
The date and time (UTC) of the last modification of the user group.
policy_id str
policy_name str
policyOrn This property is required. String
creationDate String
The date and time (UTC) of creation of the user group.
defaultVersionId String
The ID of a policy version that you want to make the default one (the active one).
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
policyId String
policyName String

UserGroupUser
, UserGroupUserArgs

UserName This property is required. string
CreationDate string
The date and time (UTC) of creation of the user group.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Path string
The path to the group. If not specified, it is set to a slash (/).
UserId string
UserName This property is required. string
CreationDate string
The date and time (UTC) of creation of the user group.
LastModificationDate string
The date and time (UTC) of the last modification of the user group.
Path string
The path to the group. If not specified, it is set to a slash (/).
UserId string
userName This property is required. String
creationDate String
The date and time (UTC) of creation of the user group.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
path String
The path to the group. If not specified, it is set to a slash (/).
userId String
userName This property is required. string
creationDate string
The date and time (UTC) of creation of the user group.
lastModificationDate string
The date and time (UTC) of the last modification of the user group.
path string
The path to the group. If not specified, it is set to a slash (/).
userId string
user_name This property is required. str
creation_date str
The date and time (UTC) of creation of the user group.
last_modification_date str
The date and time (UTC) of the last modification of the user group.
path str
The path to the group. If not specified, it is set to a slash (/).
user_id str
userName This property is required. String
creationDate String
The date and time (UTC) of creation of the user group.
lastModificationDate String
The date and time (UTC) of the last modification of the user group.
path String
The path to the group. If not specified, it is set to a slash (/).
userId String

Import

A user group can be imported using its group ID. For example:

console

$ pulumi import outscale:index/userGroup:UserGroup group1 user_group_id
Copy

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

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.