Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Gets information about an existing user group in an organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getOrganizationUserGroup({
organizationId: "org1a23f456789",
groupId: "foo",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_organization_user_group(organization_id="org1a23f456789",
group_id="foo")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetOrganizationUserGroup(ctx, &aiven.LookupOrganizationUserGroupArgs{
OrganizationId: "org1a23f456789",
GroupId: pulumi.StringRef("foo"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetOrganizationUserGroup.Invoke(new()
{
OrganizationId = "org1a23f456789",
GroupId = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetOrganizationUserGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = AivenFunctions.getOrganizationUserGroup(GetOrganizationUserGroupArgs.builder()
.organizationId("org1a23f456789")
.groupId("foo")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getOrganizationUserGroup
arguments:
organizationId: org1a23f456789
groupId: foo
pulumi {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_getorganizationusergroup" "example" {
organization_id = "org1a23f456789"
group_id = "foo"
}
Using getOrganizationUserGroup
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 getOrganizationUserGroup(args: GetOrganizationUserGroupArgs, opts?: InvokeOptions): Promise<GetOrganizationUserGroupResult>
function getOrganizationUserGroupOutput(args: GetOrganizationUserGroupOutputArgs, opts?: InvokeOutputOptions): Output<GetOrganizationUserGroupResult>def get_organization_user_group(group_id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
timeouts: Optional[GetOrganizationUserGroupTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationUserGroupResult
def get_organization_user_group_output(group_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
organization_id: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetOrganizationUserGroupTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrganizationUserGroupResult]func LookupOrganizationUserGroup(ctx *Context, args *LookupOrganizationUserGroupArgs, opts ...InvokeOption) (*LookupOrganizationUserGroupResult, error)
func LookupOrganizationUserGroupOutput(ctx *Context, args *LookupOrganizationUserGroupOutputArgs, opts ...InvokeOption) LookupOrganizationUserGroupResultOutput> Note: This function is named LookupOrganizationUserGroup in the Go SDK.
public static class GetOrganizationUserGroup
{
public static Task<GetOrganizationUserGroupResult> InvokeAsync(GetOrganizationUserGroupArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationUserGroupResult> Invoke(GetOrganizationUserGroupInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationUserGroupResult> Invoke(GetOrganizationUserGroupInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrganizationUserGroupResult> getOrganizationUserGroup(GetOrganizationUserGroupArgs args, InvokeOptions options)
public static Output<GetOrganizationUserGroupResult> getOrganizationUserGroup(GetOrganizationUserGroupArgs args, InvokeOptions options)
public static Output<GetOrganizationUserGroupResult> getOrganizationUserGroup(GetOrganizationUserGroupArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getOrganizationUserGroup:getOrganizationUserGroup
arguments:
# arguments dictionarydata "aiven_get_organization_user_group" "name" {
# arguments
}The following arguments are supported:
- Organization
Id string - ID of an organization.
- Group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - Name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - Timeouts
Get
Organization User Group Timeouts
- Organization
Id string - ID of an organization.
- Group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - Name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - Timeouts
Get
Organization User Group Timeouts
- organization_
id string - ID of an organization.
- group_
id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - timeouts object
- organization
Id String - ID of an organization.
- group
Id String - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - name String
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - timeouts
Get
Organization User Group Timeouts
- organization
Id string - ID of an organization.
- group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - timeouts
Get
Organization User Group Timeouts
- organization_
id str - ID of an organization.
- group_
id str - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - name str
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - timeouts
Get
Organization User Group Timeouts
- organization
Id String - ID of an organization.
- group
Id String - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - name String
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - timeouts Property Map
getOrganizationUserGroup Result
The following output properties are available:
- Create
Time string - User group creation time.
- Description string
- Description.
- Group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - Id string
- Resource ID composed as:
organization_id/group_id. - Managed
By boolScim - Managed By Scim.
- Name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - Organization
Id string - ID of an organization.
- Update
Time string - User group last update time.
- Timeouts
Get
Organization User Group Timeouts
- Create
Time string - User group creation time.
- Description string
- Description.
- Group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - Id string
- Resource ID composed as:
organization_id/group_id. - Managed
By boolScim - Managed By Scim.
- Name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - Organization
Id string - ID of an organization.
- Update
Time string - User group last update time.
- Timeouts
Get
Organization User Group Timeouts
- create_
time string - User group creation time.
- description string
- Description.
- group_
id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - id string
- Resource ID composed as:
organization_id/group_id. - managed_
by_ boolscim - Managed By Scim.
- name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - organization_
id string - ID of an organization.
- update_
time string - User group last update time.
- timeouts object
- create
Time String - User group creation time.
- description String
- Description.
- group
Id String - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - id String
- Resource ID composed as:
organization_id/group_id. - managed
By BooleanScim - Managed By Scim.
- name String
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - organization
Id String - ID of an organization.
- update
Time String - User group last update time.
- timeouts
Get
Organization User Group Timeouts
- create
Time string - User group creation time.
- description string
- Description.
- group
Id string - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - id string
- Resource ID composed as:
organization_id/group_id. - managed
By booleanScim - Managed By Scim.
- name string
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - organization
Id string - ID of an organization.
- update
Time string - User group last update time.
- timeouts
Get
Organization User Group Timeouts
- create_
time str - User group creation time.
- description str
- Description.
- group_
id str - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - id str
- Resource ID composed as:
organization_id/group_id. - managed_
by_ boolscim - Managed By Scim.
- name str
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - organization_
id str - ID of an organization.
- update_
time str - User group last update time.
- timeouts
Get
Organization User Group Timeouts
- create
Time String - User group creation time.
- description String
- Description.
- group
Id String - ID of the user group. Exactly one of the fields must be specified:
groupIdorname. - id String
- Resource ID composed as:
organization_id/group_id. - managed
By BooleanScim - Managed By Scim.
- name String
- User Group Name. Exactly one of the fields must be specified:
groupIdorname. - organization
Id String - ID of an organization.
- update
Time String - User group last update time.
- timeouts Property Map
Supporting Types
GetOrganizationUserGroupTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi