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",
});
import pulumi
import pulumi_outscale as outscale
group_1 = outscale.UserGroup("group-1",
    path="/terraform/",
    user_group_name="Group-TF-test-1")
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
	})
}
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",
    });
});
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());
    }
}
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      path: /terraform/
      userGroupName: Group-TF-test-1
Link a policy to a user group
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",
    }],
});
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",
    }])
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      userGroupName: Group-TF-test-1
      policies:
        - policyOrn: ${outscale_policy"policy-2"[%!s(MISSING)].orn}
          defaultVersionId: V2
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",
});
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")
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
	})
}
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",
    });
});
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());
    }
}
resources:
  group-1:
    type: outscale:UserGroup
    properties:
      users:
        - path: /terraform/
          userName: user-name-1
        - userName: user-name-2
      userGroupName: Group-TF-test-1
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());
    }
}
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
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 string
- The unique name of the resource.
- args UserGroupArgs
- 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 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 string
- The unique name of the resource.
- args UserGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
        },
    },
});
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"),
},
},
})
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());
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",
    }])
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",
    }],
});
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
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:
- UserGroup stringName 
- The name of the group.
- OutscaleUser stringGroup Id 
- Path string
- The path to the group. If not specified, it is set to a slash (/).
- Policies
List<UserGroup Policy> 
- Users
List<UserGroup User> 
- UserGroup stringName 
- The name of the group.
- OutscaleUser stringGroup Id 
- Path string
- The path to the group. If not specified, it is set to a slash (/).
- Policies
[]UserGroup Policy Args 
- Users
[]UserGroup User Args 
- userGroup StringName 
- The name of the group.
- outscaleUser StringGroup Id 
- path String
- The path to the group. If not specified, it is set to a slash (/).
- policies
List<UserGroup Policy> 
- users
List<UserGroup User> 
- userGroup stringName 
- The name of the group.
- outscaleUser stringGroup Id 
- path string
- The path to the group. If not specified, it is set to a slash (/).
- policies
UserGroup Policy[] 
- users
UserGroup User[] 
- user_group_ strname 
- The name of the group.
- outscale_user_ strgroup_ id 
- path str
- The path to the group. If not specified, it is set to a slash (/).
- policies
Sequence[UserGroup Policy Args] 
- users
Sequence[UserGroup User Args] 
- userGroup StringName 
- The name of the group.
- outscaleUser StringGroup Id 
- 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.
- LastModification stringDate 
- 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.
- UserGroup stringId 
- 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.
- LastModification stringDate 
- 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.
- UserGroup stringId 
- 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.
- lastModification StringDate 
- 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.
- userGroup StringId 
- 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.
- lastModification stringDate 
- 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.
- userGroup stringId 
- 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_ strdate 
- 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_ strid 
- 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.
- lastModification StringDate 
- 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.
- userGroup StringId 
- 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) -> UserGroupfunc 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
- 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.
- CreationDate string
- The date and time (UTC) of creation of the user group.
- LastModification stringDate 
- 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.
- OutscaleUser stringGroup Id 
- Path string
- The path to the group. If not specified, it is set to a slash (/).
- Policies
List<UserGroup Policy> 
- UserGroup stringId 
- The ID of the user group.
- UserGroup stringName 
- The name of the group.
- Users
List<UserGroup User> 
- CreationDate string
- The date and time (UTC) of creation of the user group.
- LastModification stringDate 
- 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.
- OutscaleUser stringGroup Id 
- Path string
- The path to the group. If not specified, it is set to a slash (/).
- Policies
[]UserGroup Policy Args 
- UserGroup stringId 
- The ID of the user group.
- UserGroup stringName 
- The name of the group.
- Users
[]UserGroup User Args 
- creationDate String
- The date and time (UTC) of creation of the user group.
- lastModification StringDate 
- 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.
- outscaleUser StringGroup Id 
- path String
- The path to the group. If not specified, it is set to a slash (/).
- policies
List<UserGroup Policy> 
- userGroup StringId 
- The ID of the user group.
- userGroup StringName 
- The name of the group.
- users
List<UserGroup User> 
- creationDate string
- The date and time (UTC) of creation of the user group.
- lastModification stringDate 
- 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.
- outscaleUser stringGroup Id 
- path string
- The path to the group. If not specified, it is set to a slash (/).
- policies
UserGroup Policy[] 
- userGroup stringId 
- The ID of the user group.
- userGroup stringName 
- The name of the group.
- users
UserGroup User[] 
- creation_date str
- The date and time (UTC) of creation of the user group.
- last_modification_ strdate 
- 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_ strgroup_ id 
- path str
- The path to the group. If not specified, it is set to a slash (/).
- policies
Sequence[UserGroup Policy Args] 
- user_group_ strid 
- The ID of the user group.
- user_group_ strname 
- The name of the group.
- users
Sequence[UserGroup User Args] 
- creationDate String
- The date and time (UTC) of creation of the user group.
- lastModification StringDate 
- 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.
- outscaleUser StringGroup Id 
- path String
- The path to the group. If not specified, it is set to a slash (/).
- policies List<Property Map>
- userGroup StringId 
- The ID of the user group.
- userGroup StringName 
- The name of the group.
- users List<Property Map>
Supporting Types
UserGroupPolicy, UserGroupPolicyArgs      
- PolicyOrn string
- CreationDate string
- The date and time (UTC) of creation of the user group.
- DefaultVersion stringId 
- The ID of a policy version that you want to make the default one (the active one).
- LastModification stringDate 
- The date and time (UTC) of the last modification of the user group.
- PolicyId string
- PolicyName string
- PolicyOrn string
- CreationDate string
- The date and time (UTC) of creation of the user group.
- DefaultVersion stringId 
- The ID of a policy version that you want to make the default one (the active one).
- LastModification stringDate 
- The date and time (UTC) of the last modification of the user group.
- PolicyId string
- PolicyName string
- policyOrn String
- creationDate String
- The date and time (UTC) of creation of the user group.
- defaultVersion StringId 
- The ID of a policy version that you want to make the default one (the active one).
- lastModification StringDate 
- The date and time (UTC) of the last modification of the user group.
- policyId String
- policyName String
- policyOrn string
- creationDate string
- The date and time (UTC) of creation of the user group.
- defaultVersion stringId 
- The ID of a policy version that you want to make the default one (the active one).
- lastModification stringDate 
- The date and time (UTC) of the last modification of the user group.
- policyId string
- policyName string
- policy_orn str
- creation_date str
- The date and time (UTC) of creation of the user group.
- default_version_ strid 
- The ID of a policy version that you want to make the default one (the active one).
- last_modification_ strdate 
- The date and time (UTC) of the last modification of the user group.
- policy_id str
- policy_name str
- policyOrn String
- creationDate String
- The date and time (UTC) of creation of the user group.
- defaultVersion StringId 
- The ID of a policy version that you want to make the default one (the active one).
- lastModification StringDate 
- The date and time (UTC) of the last modification of the user group.
- policyId String
- policyName String
UserGroupUser, UserGroupUserArgs      
- UserName string
- CreationDate string
- The date and time (UTC) of creation of the user group.
- LastModification stringDate 
- 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 string
- CreationDate string
- The date and time (UTC) of creation of the user group.
- LastModification stringDate 
- 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 String
- creationDate String
- The date and time (UTC) of creation of the user group.
- lastModification StringDate 
- 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 string
- creationDate string
- The date and time (UTC) of creation of the user group.
- lastModification stringDate 
- 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 str
- creation_date str
- The date and time (UTC) of creation of the user group.
- last_modification_ strdate 
- 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 String
- creationDate String
- The date and time (UTC) of creation of the user group.
- lastModification StringDate 
- 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
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 outscaleTerraform Provider.