1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getIdentityCenterRoleConfigurations
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getIdentityCenterRoleConfigurations

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of identity center role configurations

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const identityCenterRoleConfigurations = tencentcloud.getIdentityCenterRoleConfigurations({
        zoneId: "z-xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    identity_center_role_configurations = tencentcloud.get_identity_center_role_configurations(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.GetIdentityCenterRoleConfigurations(ctx, &tencentcloud.GetIdentityCenterRoleConfigurationsArgs{
    			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 identityCenterRoleConfigurations = Tencentcloud.GetIdentityCenterRoleConfigurations.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.GetIdentityCenterRoleConfigurationsArgs;
    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 identityCenterRoleConfigurations = TencentcloudFunctions.getIdentityCenterRoleConfigurations(GetIdentityCenterRoleConfigurationsArgs.builder()
                .zoneId("z-xxxxxx")
                .build());
    
        }
    }
    
    variables:
      identityCenterRoleConfigurations:
        fn::invoke:
          function: tencentcloud:getIdentityCenterRoleConfigurations
          arguments:
            zoneId: z-xxxxxx
    

    Using getIdentityCenterRoleConfigurations

    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 getIdentityCenterRoleConfigurations(args: GetIdentityCenterRoleConfigurationsArgs, opts?: InvokeOptions): Promise<GetIdentityCenterRoleConfigurationsResult>
    function getIdentityCenterRoleConfigurationsOutput(args: GetIdentityCenterRoleConfigurationsOutputArgs, opts?: InvokeOptions): Output<GetIdentityCenterRoleConfigurationsResult>
    def get_identity_center_role_configurations(filter: Optional[str] = None,
                                                filter_targets: Optional[Sequence[float]] = None,
                                                id: Optional[str] = None,
                                                principal_id: Optional[str] = None,
                                                result_output_file: Optional[str] = None,
                                                zone_id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetIdentityCenterRoleConfigurationsResult
    def get_identity_center_role_configurations_output(filter: Optional[pulumi.Input[str]] = None,
                                                filter_targets: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                                                id: Optional[pulumi.Input[str]] = None,
                                                principal_id: Optional[pulumi.Input[str]] = None,
                                                result_output_file: Optional[pulumi.Input[str]] = None,
                                                zone_id: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetIdentityCenterRoleConfigurationsResult]
    func GetIdentityCenterRoleConfigurations(ctx *Context, args *GetIdentityCenterRoleConfigurationsArgs, opts ...InvokeOption) (*GetIdentityCenterRoleConfigurationsResult, error)
    func GetIdentityCenterRoleConfigurationsOutput(ctx *Context, args *GetIdentityCenterRoleConfigurationsOutputArgs, opts ...InvokeOption) GetIdentityCenterRoleConfigurationsResultOutput

    > Note: This function is named GetIdentityCenterRoleConfigurations in the Go SDK.

    public static class GetIdentityCenterRoleConfigurations 
    {
        public static Task<GetIdentityCenterRoleConfigurationsResult> InvokeAsync(GetIdentityCenterRoleConfigurationsArgs args, InvokeOptions? opts = null)
        public static Output<GetIdentityCenterRoleConfigurationsResult> Invoke(GetIdentityCenterRoleConfigurationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityCenterRoleConfigurationsResult> getIdentityCenterRoleConfigurations(GetIdentityCenterRoleConfigurationsArgs args, InvokeOptions options)
    public static Output<GetIdentityCenterRoleConfigurationsResult> getIdentityCenterRoleConfigurations(GetIdentityCenterRoleConfigurationsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getIdentityCenterRoleConfigurations:getIdentityCenterRoleConfigurations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Space ID.
    Filter string
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    FilterTargets List<double>
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    Id string
    PrincipalId string
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    ResultOutputFile string
    Used to save results.
    ZoneId string
    Space ID.
    Filter string
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    FilterTargets []float64
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    Id string
    PrincipalId string
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    ResultOutputFile string
    Used to save results.
    zoneId String
    Space ID.
    filter String
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    filterTargets List<Double>
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    id String
    principalId String
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    resultOutputFile String
    Used to save results.
    zoneId string
    Space ID.
    filter string
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    filterTargets number[]
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    id string
    principalId string
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    resultOutputFile string
    Used to save results.
    zone_id str
    Space ID.
    filter str
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    filter_targets Sequence[float]
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    id str
    principal_id str
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    result_output_file str
    Used to save results.
    zoneId String
    Space ID.
    filter String
    Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration.
    filterTargets List<Number>
    Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false.
    id String
    principalId String
    UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets.
    resultOutputFile String
    Used to save results.

    getIdentityCenterRoleConfigurations Result

    The following output properties are available:

    id String
    roleConfigurations List<Property Map>
    Permission configuration list.
    zoneId String
    filter String
    filterTargets List<Number>
    principalId String
    resultOutputFile String

    Supporting Types

    GetIdentityCenterRoleConfigurationsRoleConfiguration

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack