tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getWedataTenantRoles
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of WeData tenant roles
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWedataTenantRoles({
roleDisplayName: "tf_example",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_wedata_tenant_roles(role_display_name="tf_example")
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.GetWedataTenantRoles(ctx, &tencentcloud.GetWedataTenantRolesArgs{
RoleDisplayName: pulumi.StringRef("tf_example"),
}, 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 example = Tencentcloud.GetWedataTenantRoles.Invoke(new()
{
RoleDisplayName = "tf_example",
});
});
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.GetWedataTenantRolesArgs;
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 example = TencentcloudFunctions.getWedataTenantRoles(GetWedataTenantRolesArgs.builder()
.roleDisplayName("tf_example")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWedataTenantRoles
arguments:
roleDisplayName: tf_example
Using getWedataTenantRoles
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 getWedataTenantRoles(args: GetWedataTenantRolesArgs, opts?: InvokeOptions): Promise<GetWedataTenantRolesResult>
function getWedataTenantRolesOutput(args: GetWedataTenantRolesOutputArgs, opts?: InvokeOptions): Output<GetWedataTenantRolesResult>def get_wedata_tenant_roles(id: Optional[str] = None,
result_output_file: Optional[str] = None,
role_display_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWedataTenantRolesResult
def get_wedata_tenant_roles_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
role_display_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWedataTenantRolesResult]func GetWedataTenantRoles(ctx *Context, args *GetWedataTenantRolesArgs, opts ...InvokeOption) (*GetWedataTenantRolesResult, error)
func GetWedataTenantRolesOutput(ctx *Context, args *GetWedataTenantRolesOutputArgs, opts ...InvokeOption) GetWedataTenantRolesResultOutput> Note: This function is named GetWedataTenantRoles in the Go SDK.
public static class GetWedataTenantRoles
{
public static Task<GetWedataTenantRolesResult> InvokeAsync(GetWedataTenantRolesArgs args, InvokeOptions? opts = null)
public static Output<GetWedataTenantRolesResult> Invoke(GetWedataTenantRolesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWedataTenantRolesResult> getWedataTenantRoles(GetWedataTenantRolesArgs args, InvokeOptions options)
public static Output<GetWedataTenantRolesResult> getWedataTenantRoles(GetWedataTenantRolesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getWedataTenantRoles:getWedataTenantRoles
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- Id string
- Result
Output stringFile - Used to save results.
- Role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- id String
- result
Output StringFile - Used to save results.
- role
Display StringName - Role Chinese display name fuzzy search, can only pass one value.
- id string
- result
Output stringFile - Used to save results.
- role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- id str
- result_
output_ strfile - Used to save results.
- role_
display_ strname - Role Chinese display name fuzzy search, can only pass one value.
- id String
- result
Output StringFile - Used to save results.
- role
Display StringName - Role Chinese display name fuzzy search, can only pass one value.
getWedataTenantRoles Result
The following output properties are available:
- Datas
List<Get
Wedata Tenant Roles Data> - Main account role list.
- Id string
- Result
Output stringFile - Role
Display stringName - Role display name.
- Datas
[]Get
Wedata Tenant Roles Data - Main account role list.
- Id string
- Result
Output stringFile - Role
Display stringName - Role display name.
- datas
List<Get
Wedata Tenant Roles Data> - Main account role list.
- id String
- result
Output StringFile - role
Display StringName - Role display name.
- datas
Get
Wedata Tenant Roles Data[] - Main account role list.
- id string
- result
Output stringFile - role
Display stringName - Role display name.
- datas
Sequence[Get
Wedata Tenant Roles Data] - Main account role list.
- id str
- result_
output_ strfile - role_
display_ strname - Role display name.
- datas List<Property Map>
- Main account role list.
- id String
- result
Output StringFile - role
Display StringName - Role display name.
Supporting Types
GetWedataTenantRolesData
- Description string
- Description.
- Role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- Role
Id string - Role ID.
- Role
Name string - Role name.
- Description string
- Description.
- Role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- Role
Id string - Role ID.
- Role
Name string - Role name.
- description String
- Description.
- role
Display StringName - Role Chinese display name fuzzy search, can only pass one value.
- role
Id String - Role ID.
- role
Name String - Role name.
- description string
- Description.
- role
Display stringName - Role Chinese display name fuzzy search, can only pass one value.
- role
Id string - Role ID.
- role
Name string - Role name.
- description str
- Description.
- role_
display_ strname - Role Chinese display name fuzzy search, can only pass one value.
- role_
id str - Role ID.
- role_
name str - Role name.
- description String
- Description.
- role
Display StringName - Role Chinese display name fuzzy search, can only pass one value.
- role
Id String - Role ID.
- role
Name String - Role name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
