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:
- UserGroup 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<GetUser Group User> 
- UserGroup 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
[]GetUser Group User 
- userGroup 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<GetUser Group User> 
- userGroup 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
GetUser 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[GetUser Group User] 
- userGroup 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:
- CreationDate string
- The date and time (UTC) of creation of the EIM user.
- Id string
- LastModification 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.
- UserGroup stringId 
- The ID of the user group.
- UserGroup stringName 
- Path string
- The path to the EIM user.
- Users
List<GetUser Group User> 
- CreationDate string
- The date and time (UTC) of creation of the EIM user.
- Id string
- LastModification 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.
- UserGroup stringId 
- The ID of the user group.
- UserGroup stringName 
- Path string
- The path to the EIM user.
- Users
[]GetUser Group User 
- creationDate String
- The date and time (UTC) of creation of the EIM user.
- id String
- lastModification 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.
- userGroup StringId 
- The ID of the user group.
- userGroup StringName 
- path String
- The path to the EIM user.
- users
List<GetUser Group User> 
- creationDate string
- The date and time (UTC) of creation of the EIM user.
- id string
- lastModification 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.
- userGroup stringId 
- The ID of the user group.
- userGroup stringName 
- path string
- The path to the EIM user.
- users
GetUser 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[GetUser Group User] 
- creationDate String
- The date and time (UTC) of creation of the EIM user.
- id String
- lastModification 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.
- userGroup StringId 
- The ID of the user group.
- userGroup StringName 
- path String
- The path to the EIM user.
- users List<Property Map>
Supporting Types
GetUserGroupUser   
- CreationDate string
- The date and time (UTC) of creation of the EIM user.
- LastModification 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 (/).
- UserEmail string
- The email address of the EIM user.
- UserId string
- The ID of the EIM user.
- UserName string
- The name of the EIM user.
- CreationDate string
- The date and time (UTC) of creation of the EIM user.
- LastModification 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 (/).
- UserEmail string
- The email address of the EIM user.
- UserId string
- The ID of the EIM user.
- UserName string
- The name of the EIM user.
- creationDate String
- The date and time (UTC) of creation of the EIM user.
- lastModification 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 (/).
- userEmail String
- The email address of the EIM user.
- userId String
- The ID of the EIM user.
- userName String
- The name of the EIM user.
- creationDate string
- The date and time (UTC) of creation of the EIM user.
- lastModification 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 (/).
- userEmail string
- The email address of the EIM user.
- userId string
- The ID of the EIM user.
- userName 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.
- creationDate String
- The date and time (UTC) of creation of the EIM user.
- lastModification 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 (/).
- userEmail String
- The email address of the EIM user.
- userId String
- The ID of the EIM user.
- userName 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.