tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getIdentityCenterGroups
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of identity center groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const identityCenterGroups = tencentcloud.getIdentityCenterGroups({
zoneId: "z-xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
identity_center_groups = tencentcloud.get_identity_center_groups(zone_id="z-xxxxxx")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetIdentityCenterGroups(ctx, &tencentcloud.GetIdentityCenterGroupsArgs{
ZoneId: "z-xxxxxx",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var identityCenterGroups = Tencentcloud.GetIdentityCenterGroups.Invoke(new()
{
ZoneId = "z-xxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetIdentityCenterGroupsArgs;
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 identityCenterGroups = TencentcloudFunctions.getIdentityCenterGroups(GetIdentityCenterGroupsArgs.builder()
.zoneId("z-xxxxxx")
.build());
}
}
variables:
identityCenterGroups:
fn::invoke:
function: tencentcloud:getIdentityCenterGroups
arguments:
zoneId: z-xxxxxx
Using getIdentityCenterGroups
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 getIdentityCenterGroups(args: GetIdentityCenterGroupsArgs, opts?: InvokeOptions): Promise<GetIdentityCenterGroupsResult>
function getIdentityCenterGroupsOutput(args: GetIdentityCenterGroupsOutputArgs, opts?: InvokeOptions): Output<GetIdentityCenterGroupsResult>
def get_identity_center_groups(filter: Optional[str] = None,
filter_users: Optional[Sequence[str]] = None,
group_type: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
sort_field: Optional[str] = None,
sort_type: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityCenterGroupsResult
def get_identity_center_groups_output(filter: Optional[pulumi.Input[str]] = None,
filter_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
group_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
sort_field: Optional[pulumi.Input[str]] = None,
sort_type: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityCenterGroupsResult]
func GetIdentityCenterGroups(ctx *Context, args *GetIdentityCenterGroupsArgs, opts ...InvokeOption) (*GetIdentityCenterGroupsResult, error)
func GetIdentityCenterGroupsOutput(ctx *Context, args *GetIdentityCenterGroupsOutputArgs, opts ...InvokeOption) GetIdentityCenterGroupsResultOutput
> Note: This function is named GetIdentityCenterGroups
in the Go SDK.
public static class GetIdentityCenterGroups
{
public static Task<GetIdentityCenterGroupsResult> InvokeAsync(GetIdentityCenterGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetIdentityCenterGroupsResult> Invoke(GetIdentityCenterGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIdentityCenterGroupsResult> getIdentityCenterGroups(GetIdentityCenterGroupsArgs args, InvokeOptions options)
public static Output<GetIdentityCenterGroupsResult> getIdentityCenterGroups(GetIdentityCenterGroupsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getIdentityCenterGroups:getIdentityCenterGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Zone
Id string - Space ID.
- Filter string
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- Filter
Users List<string> - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- Group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- Id string
- Result
Output stringFile - Used to save results.
- Sort
Field string - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- Sort
Type string - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
- Zone
Id string - Space ID.
- Filter string
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- Filter
Users []string - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- Group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- Id string
- Result
Output stringFile - Used to save results.
- Sort
Field string - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- Sort
Type string - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
- zone
Id String - Space ID.
- filter String
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- filter
Users List<String> - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- group
Type String - User group type. Manual: manually created; Synchronized: externally imported.
- id String
- result
Output StringFile - Used to save results.
- sort
Field String - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- sort
Type String - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
- zone
Id string - Space ID.
- filter string
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- filter
Users string[] - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- id string
- result
Output stringFile - Used to save results.
- sort
Field string - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- sort
Type string - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
- zone_
id str - Space ID.
- filter str
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- filter_
users Sequence[str] - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- group_
type str - User group type. Manual: manually created; Synchronized: externally imported.
- id str
- result_
output_ strfile - Used to save results.
- sort_
field str - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- sort_
type str - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
- zone
Id String - Space ID.
- filter String
- Filter criterion. Format: , case-insensitive. Currently, supports only GroupName, and supports only eq (Equals) and sw (Start With). For example, Filter = "GroupName sw test" indicates querying all user groups with names starting with test; Filter = "GroupName eq testgroup" indicates querying the user group with the name testgroup.
- filter
Users List<String> - Filtered user. IsSelected=1 will be returned for the user group associated with this user.
- group
Type String - User group type. Manual: manually created; Synchronized: externally imported.
- id String
- result
Output StringFile - Used to save results.
- sort
Field String - Sorting field, which currently only supports CreateTime. The default is the CreateTime field.
- sort
Type String - Sorting type. Desc: descending order; Asc: ascending order. It should be set along with SortField.
getIdentityCenterGroups Result
The following output properties are available:
- Groups
List<Get
Identity Center Groups Group> - User group list.
- Id string
- Zone
Id string - Filter string
- Filter
Users List<string> - Group
Type string - Result
Output stringFile - Sort
Field string - Sort
Type string
- Groups
[]Get
Identity Center Groups Group - User group list.
- Id string
- Zone
Id string - Filter string
- Filter
Users []string - Group
Type string - Result
Output stringFile - Sort
Field string - Sort
Type string
- groups
List<Get
Identity Center Groups Group> - User group list.
- id String
- zone
Id String - filter String
- filter
Users List<String> - group
Type String - result
Output StringFile - sort
Field String - sort
Type String
- groups
Get
Identity Center Groups Group[] - User group list.
- id string
- zone
Id string - filter string
- filter
Users string[] - group
Type string - result
Output stringFile - sort
Field string - sort
Type string
- groups
Sequence[Get
Identity Center Groups Group] - User group list.
- id str
- zone_
id str - filter str
- filter_
users Sequence[str] - group_
type str - result_
output_ strfile - sort_
field str - sort_
type str
- groups List<Property Map>
- User group list.
- id String
- zone
Id String - filter String
- filter
Users List<String> - group
Type String - result
Output StringFile - sort
Field String - sort
Type String
Supporting Types
GetIdentityCenterGroupsGroup
- Create
Time string - Description string
- Group
Id string - Group
Name string - Group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- Is
Selected bool - Member
Count double - Update
Time string
- Create
Time string - Description string
- Group
Id string - Group
Name string - Group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- Is
Selected bool - Member
Count float64 - Update
Time string
- create
Time String - description String
- group
Id String - group
Name String - group
Type String - User group type. Manual: manually created; Synchronized: externally imported.
- is
Selected Boolean - member
Count Double - update
Time String
- create
Time string - description string
- group
Id string - group
Name string - group
Type string - User group type. Manual: manually created; Synchronized: externally imported.
- is
Selected boolean - member
Count number - update
Time string
- create_
time str - description str
- group_
id str - group_
name str - group_
type str - User group type. Manual: manually created; Synchronized: externally imported.
- is_
selected bool - member_
count float - update_
time str
- create
Time String - description String
- group
Id String - group
Name String - group
Type String - User group type. Manual: manually created; Synchronized: externally imported.
- is
Selected Boolean - member
Count Number - update
Time String
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack