outscale 1.0.1 published on Thursday, Mar 13, 2025 by outscale
outscale.getUserGroup
Explore with Pulumi AI
Provides information about 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
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const userGroup01 = outscale.getUserGroup({
    path: "/",
    userGroupName: "user_group_name",
});
import pulumi
import pulumi_outscale as outscale
user_group01 = outscale.get_user_group(path="/",
    user_group_name="user_group_name")
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.LookupUserGroup(ctx, &outscale.LookupUserGroupArgs{
			Path:          pulumi.StringRef("/"),
			UserGroupName: "user_group_name",
		}, nil)
		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 userGroup01 = Outscale.GetUserGroup.Invoke(new()
    {
        Path = "/",
        UserGroupName = "user_group_name",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetUserGroupArgs;
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) {
        final var userGroup01 = OutscaleFunctions.getUserGroup(GetUserGroupArgs.builder()
            .path("/")
            .userGroupName("user_group_name")
            .build());
    }
}
variables:
  userGroup01:
    fn::invoke:
      function: outscale:getUserGroup
      arguments:
        path: /
        userGroupName: user_group_name
Using getUserGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUserGroup(args: GetUserGroupArgs, opts?: InvokeOptions): Promise<GetUserGroupResult>
function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: InvokeOptions): Output<GetUserGroupResult>def get_user_group(id: Optional[str] = None,
                   path: Optional[str] = None,
                   user_group_name: Optional[str] = None,
                   users: Optional[Sequence[GetUserGroupUser]] = None,
                   opts: Optional[InvokeOptions] = None) -> GetUserGroupResult
def get_user_group_output(id: Optional[pulumi.Input[str]] = None,
                   path: Optional[pulumi.Input[str]] = None,
                   user_group_name: Optional[pulumi.Input[str]] = None,
                   users: Optional[pulumi.Input[Sequence[pulumi.Input[GetUserGroupUserArgs]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetUserGroupResult]func LookupUserGroup(ctx *Context, args *LookupUserGroupArgs, opts ...InvokeOption) (*LookupUserGroupResult, error)
func LookupUserGroupOutput(ctx *Context, args *LookupUserGroupOutputArgs, opts ...InvokeOption) LookupUserGroupResultOutput> Note: This function is named LookupUserGroup in the Go SDK.
public static class GetUserGroup 
{
    public static Task<GetUserGroupResult> InvokeAsync(GetUserGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetUserGroupResult> Invoke(GetUserGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserGroupResult> getUserGroup(GetUserGroupArgs args, InvokeOptions options)
public static Output<GetUserGroupResult> getUserGroup(GetUserGroupArgs args, InvokeOptions options)
fn::invoke:
  function: outscale:index/getUserGroup:getUserGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- User
Group stringName  - The name of the group.
 - Id string
 - Path string
 - The path to the group. If not specified, it is set to a slash (
/). - Users
List<Get
User Group User>  
- User
Group stringName  - The name of the group.
 - Id string
 - Path string
 - The path to the group. If not specified, it is set to a slash (
/). - Users
[]Get
User Group User  
- user
Group StringName  - The name of the group.
 - id String
 - path String
 - The path to the group. If not specified, it is set to a slash (
/). - users
List<Get
User Group User>  
- user
Group stringName  - The name of the group.
 - id string
 - path string
 - The path to the group. If not specified, it is set to a slash (
/). - users
Get
User Group User[]  
- user_
group_ strname  - The name of the group.
 - id str
 - path str
 - The path to the group. If not specified, it is set to a slash (
/). - users
Sequence[Get
User Group User]  
- user
Group StringName  - The name of the group.
 - id String
 - path String
 - The path to the group. If not specified, it is set to a slash (
/). - users List<Property Map>
 
getUserGroup Result
The following output properties are available:
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
 - Id string
 - Last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - Orn string
 - The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
 - User
Group stringId  - The ID of the user group.
 - User
Group stringName  - Path string
 - The path to the EIM user.
 - Users
List<Get
User Group User>  
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
 - Id string
 - Last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - Orn string
 - The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
 - User
Group stringId  - The ID of the user group.
 - User
Group stringName  - Path string
 - The path to the EIM user.
 - Users
[]Get
User Group User  
- creation
Date String - The date and time (UTC) of creation of the EIM user.
 - id String
 - last
Modification StringDate  - The date and time (UTC) of the last modification of the EIM user.
 - orn String
 - The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
 - user
Group StringId  - The ID of the user group.
 - user
Group StringName  - path String
 - The path to the EIM user.
 - users
List<Get
User Group User>  
- creation
Date string - The date and time (UTC) of creation of the EIM user.
 - id string
 - last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - orn string
 - The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
 - user
Group stringId  - The ID of the user group.
 - user
Group stringName  - path string
 - The path to the EIM user.
 - users
Get
User Group User[]  
- creation_
date str - The date and time (UTC) of creation of the EIM user.
 - id str
 - last_
modification_ strdate  - The date and time (UTC) of the last modification of the EIM user.
 - 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.
 - user_
group_ strname  - path str
 - The path to the EIM user.
 - users
Sequence[Get
User Group User]  
- creation
Date String - The date and time (UTC) of creation of the EIM user.
 - id String
 - last
Modification StringDate  - The date and time (UTC) of the last modification of the EIM user.
 - orn String
 - The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
 - user
Group StringId  - The ID of the user group.
 - user
Group StringName  - path String
 - The path to the EIM user.
 - users List<Property Map>
 
Supporting Types
GetUserGroupUser   
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
 - Last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - Path string
 - The path to the group. If not specified, it is set to a slash (
/). - User
Email string - The email address of the EIM user.
 - User
Id string - The ID of the EIM user.
 - User
Name string - The name of the EIM user.
 
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
 - Last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - Path string
 - The path to the group. If not specified, it is set to a slash (
/). - User
Email string - The email address of the EIM user.
 - User
Id string - The ID of the EIM user.
 - User
Name string - The name of the EIM user.
 
- creation
Date String - The date and time (UTC) of creation of the EIM user.
 - last
Modification StringDate  - The date and time (UTC) of the last modification of the EIM user.
 - path String
 - The path to the group. If not specified, it is set to a slash (
/). - user
Email String - The email address of the EIM user.
 - user
Id String - The ID of the EIM user.
 - user
Name String - The name of the EIM user.
 
- creation
Date string - The date and time (UTC) of creation of the EIM user.
 - last
Modification stringDate  - The date and time (UTC) of the last modification of the EIM user.
 - path string
 - The path to the group. If not specified, it is set to a slash (
/). - user
Email string - The email address of the EIM user.
 - user
Id string - The ID of the EIM user.
 - user
Name string - The name of the EIM user.
 
- creation_
date str - The date and time (UTC) of creation of the EIM user.
 - last_
modification_ strdate  - The date and time (UTC) of the last modification of the EIM user.
 - path str
 - The path to the group. If not specified, it is set to a slash (
/). - user_
email str - The email address of the EIM user.
 - user_
id str - The ID of the EIM user.
 - user_
name str - The name of the EIM user.
 
- creation
Date String - The date and time (UTC) of creation of the EIM user.
 - last
Modification StringDate  - The date and time (UTC) of the last modification of the EIM user.
 - path String
 - The path to the group. If not specified, it is set to a slash (
/). - user
Email String - The email address of the EIM user.
 - user
Id String - The ID of the EIM user.
 - user
Name String - The name of the EIM user.
 
Package Details
- Repository
 - outscale outscale/terraform-provider-outscale
 - License
 - Notes
 - This Pulumi package is based on the 
outscaleTerraform Provider.