tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDlcDescribeUserRoles
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 dictionary
The following arguments are supported:
- Fuzzy string
- List according to ARN blur.
- Id string
- Result
Output stringFile - Used to save results.
- Sort
By 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
- Result
Output stringFile - Used to save results.
- Sort
By 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
- result
Output StringFile - Used to save results.
- sort
By 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
- result
Output stringFile - Used to save results.
- sort
By 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
- result
Output StringFile - Used to save results.
- sort
By 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
- User
Roles List<GetDlc Describe User Roles User Role> - User role information.
- Fuzzy string
- Result
Output stringFile - Sort
By string - Sorting string
- Id string
- User
Roles []GetDlc Describe User Roles User Role - User role information.
- Fuzzy string
- Result
Output stringFile - Sort
By string - Sorting string
- id String
- user
Roles List<GetDlc Describe User Roles User Role> - User role information.
- fuzzy String
- result
Output StringFile - sort
By String - sorting String
- id string
- user
Roles GetDlc Describe User Roles User Role[] - User role information.
- fuzzy string
- result
Output stringFile - sort
By 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
- user
Roles List<Property Map> - User role information.
- fuzzy String
- result
Output StringFile - sort
By String - sorting String
Supporting Types
GetDlcDescribeUserRolesUserRole
- App
Id string - User app ID.
- Arn string
- Role Permissions.
- Cos
Permission 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.
- Modify
Time double - Recently modify the time stamp.
- Permission
Json string - CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Role
Id double - Character ID.
- Role
Name string - Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Uin string
- User ID.
- App
Id string - User app ID.
- Arn string
- Role Permissions.
- Cos
Permission []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.
- Modify
Time float64 - Recently modify the time stamp.
- Permission
Json string - CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Role
Id float64 - Character ID.
- Role
Name string - Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Uin string
- User ID.
- app
Id String - User app ID.
- arn String
- Role Permissions.
- cos
Permission 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.
- modify
Time Double - Recently modify the time stamp.
- permission
Json String - CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- role
Id Double - Character ID.
- role
Name String - Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin String
- User ID.
- app
Id string - User app ID.
- arn string
- Role Permissions.
- cos
Permission 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.
- modify
Time number - Recently modify the time stamp.
- permission
Json string - CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- role
Id number - Character ID.
- role
Name 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.
- app
Id String - User app ID.
- arn String
- Role Permissions.
- cos
Permission 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.
- modify
Time Number - Recently modify the time stamp.
- permission
Json String - CAM strategy jsonNote: This field may return NULL, indicating that the valid value cannot be obtained.
- role
Id Number - Character ID.
- role
Name String - Role NameNote: This field may return NULL, indicating that the valid value cannot be obtained.
- uin String
- User ID.
GetDlcDescribeUserRolesUserRoleCosPermissionList
- Cos
Path 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.
- Cos
Path 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 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.
- cos
Path 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.
- cos
Path 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack