tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getDlcDescribeUserRoles
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 dlc describe_user_roles
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const describeUserRoles = tencentcloud.getDlcDescribeUserRoles({
    fuzzy: "1",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
describe_user_roles = tencentcloud.get_dlc_describe_user_roles(fuzzy="1")
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.GetDlcDescribeUserRoles(ctx, &tencentcloud.GetDlcDescribeUserRolesArgs{
			Fuzzy: pulumi.StringRef("1"),
		}, 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 describeUserRoles = Tencentcloud.GetDlcDescribeUserRoles.Invoke(new()
    {
        Fuzzy = "1",
    });
});
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.GetDlcDescribeUserRolesArgs;
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 describeUserRoles = TencentcloudFunctions.getDlcDescribeUserRoles(GetDlcDescribeUserRolesArgs.builder()
            .fuzzy("1")
            .build());
    }
}
variables:
  describeUserRoles:
    fn::invoke:
      function: tencentcloud:getDlcDescribeUserRoles
      arguments:
        fuzzy: '1'
Using getDlcDescribeUserRoles
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 getDlcDescribeUserRoles(args: GetDlcDescribeUserRolesArgs, opts?: InvokeOptions): Promise<GetDlcDescribeUserRolesResult>
function getDlcDescribeUserRolesOutput(args: GetDlcDescribeUserRolesOutputArgs, opts?: InvokeOptions): Output<GetDlcDescribeUserRolesResult>def get_dlc_describe_user_roles(fuzzy: Optional[str] = None,
                                id: Optional[str] = None,
                                result_output_file: Optional[str] = None,
                                sort_by: Optional[str] = None,
                                sorting: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDlcDescribeUserRolesResult
def get_dlc_describe_user_roles_output(fuzzy: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                sort_by: Optional[pulumi.Input[str]] = None,
                                sorting: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDlcDescribeUserRolesResult]func GetDlcDescribeUserRoles(ctx *Context, args *GetDlcDescribeUserRolesArgs, opts ...InvokeOption) (*GetDlcDescribeUserRolesResult, error)
func GetDlcDescribeUserRolesOutput(ctx *Context, args *GetDlcDescribeUserRolesOutputArgs, opts ...InvokeOption) GetDlcDescribeUserRolesResultOutput> Note: This function is named GetDlcDescribeUserRoles in the Go SDK.
public static class GetDlcDescribeUserRoles 
{
    public static Task<GetDlcDescribeUserRolesResult> InvokeAsync(GetDlcDescribeUserRolesArgs args, InvokeOptions? opts = null)
    public static Output<GetDlcDescribeUserRolesResult> Invoke(GetDlcDescribeUserRolesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDlcDescribeUserRolesResult> getDlcDescribeUserRoles(GetDlcDescribeUserRolesArgs args, InvokeOptions options)
public static Output<GetDlcDescribeUserRolesResult> getDlcDescribeUserRoles(GetDlcDescribeUserRolesArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getDlcDescribeUserRoles:getDlcDescribeUserRoles
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Fuzzy string
- List according to ARN blur.
- Id string
- ResultOutput stringFile 
- Used to save results.
- SortBy string
- The return results are sorted according to this field.
- Sorting string
- Positive or inverted, such as DESC.
- Fuzzy string
- List according to ARN blur.
- Id string
- ResultOutput stringFile 
- Used to save results.
- SortBy string
- The return results are sorted according to this field.
- Sorting string
- Positive or inverted, such as DESC.
- fuzzy String
- List according to ARN blur.
- id String
- resultOutput StringFile 
- Used to save results.
- sortBy String
- The return results are sorted according to this field.
- sorting String
- Positive or inverted, such as DESC.
- fuzzy string
- List according to ARN blur.
- id string
- resultOutput stringFile 
- Used to save results.
- sortBy string
- The return results are sorted according to this field.
- sorting string
- Positive or inverted, such as DESC.
- fuzzy str
- List according to ARN blur.
- id str
- result_output_ strfile 
- Used to save results.
- sort_by str
- The return results are sorted according to this field.
- sorting str
- Positive or inverted, such as DESC.
- fuzzy String
- List according to ARN blur.
- id String
- resultOutput StringFile 
- Used to save results.
- sortBy String
- The return results are sorted according to this field.
- sorting String
- Positive or inverted, such as DESC.
getDlcDescribeUserRoles Result
The following output properties are available:
- Id string
- UserRoles List<GetDlc Describe User Roles User Role> 
- User role information.
- Fuzzy string
- ResultOutput stringFile 
- SortBy string
- Sorting string
- Id string
- UserRoles []GetDlc Describe User Roles User Role 
- User role information.
- Fuzzy string
- ResultOutput stringFile 
- SortBy string
- Sorting string
- id String
- userRoles List<GetDlc Describe User Roles User Role> 
- User role information.
- fuzzy String
- resultOutput StringFile 
- sortBy String
- sorting String
- id string
- userRoles GetDlc Describe User Roles User Role[] 
- User role information.
- fuzzy string
- resultOutput stringFile 
- sortBy string
- sorting string
- id str
- user_roles Sequence[GetDlc Describe User Roles User Role] 
- User role information.
- fuzzy str
- result_output_ strfile 
- sort_by str
- sorting str
- id String
- userRoles List<Property Map>
- User role information.
- fuzzy String
- resultOutput StringFile 
- sortBy String
- sorting String
Supporting Types
GetDlcDescribeUserRolesUserRole      
- AppId string
- User app ID.
- Arn string
- Role Permissions.
- CosPermission List<GetLists Dlc Describe User Roles User Role Cos Permission List> 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Creator string
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Desc string
- Character description information.
- ModifyTime double
- Recently modify the time stamp.
- PermissionJson string
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- RoleId double
- Character ID.
- RoleName string
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Uin string
- User ID.
- AppId string
- User app ID.
- Arn string
- Role Permissions.
- CosPermission []GetLists Dlc Describe User Roles User Role Cos Permission List 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Creator string
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Desc string
- Character description information.
- ModifyTime float64
- Recently modify the time stamp.
- PermissionJson string
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- RoleId float64
- Character ID.
- RoleName string
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Uin string
- User ID.
- appId String
- User app ID.
- arn String
- Role Permissions.
- cosPermission List<GetLists Dlc Describe User Roles User Role Cos Permission List> 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- creator String
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- desc String
- Character description information.
- modifyTime Double
- Recently modify the time stamp.
- permissionJson String
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- roleId Double
- Character ID.
- roleName String
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin String
- User ID.
- appId string
- User app ID.
- arn string
- Role Permissions.
- cosPermission GetLists Dlc Describe User Roles User Role Cos Permission List[] 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- creator string
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- desc string
- Character description information.
- modifyTime number
- Recently modify the time stamp.
- permissionJson string
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- roleId number
- Character ID.
- roleName string
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin string
- User ID.
- app_id str
- User app ID.
- arn str
- Role Permissions.
- cos_permission_ Sequence[Getlists Dlc Describe User Roles User Role Cos Permission List] 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- creator str
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- desc str
- Character description information.
- modify_time float
- Recently modify the time stamp.
- permission_json str
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- role_id float
- Character ID.
- role_name str
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin str
- User ID.
- appId String
- User app ID.
- arn String
- Role Permissions.
- cosPermission List<Property Map>Lists 
- COS authorization path listNote: This field may return NULL, indicating that the valid value cannot be obtained.
- creator String
- Creator UinNote: This field may return NULL, indicating that the valid value cannot be obtained.
- desc String
- Character description information.
- modifyTime Number
- Recently modify the time stamp.
- permissionJson String
- CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- roleId Number
- Character ID.
- roleName String
- Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin String
- User ID.
GetDlcDescribeUserRolesUserRoleCosPermissionList         
- CosPath string
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Permissions List<string>
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
- CosPath string
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Permissions []string
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
- cosPath String
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- permissions List<String>
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
- cosPath string
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- permissions string[]
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
- cos_path str
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- permissions Sequence[str]
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
- cosPath String
- COS pathNote: This field may return NULL, indicating that the valid value cannot be obtained.
- permissions List<String>
- Permissions [Read, WRITE]Note: This field may return NULL, indicating that the valid value cannot be obtained.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack