1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getWedataResourceFiles
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

tencentcloud.getWedataResourceFiles

Get Started
tencentcloud logo
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack

    Use this data source to query detailed information of wedata wedata_resource_files

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const wedataResourceFiles = tencentcloud.getWedataResourceFiles({
        projectId: "2905622749543821312",
        resourceName: "tftest.txt",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    wedata_resource_files = tencentcloud.get_wedata_resource_files(project_id="2905622749543821312",
        resource_name="tftest.txt")
    
    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.GetWedataResourceFiles(ctx, &tencentcloud.GetWedataResourceFilesArgs{
    			ProjectId:    "2905622749543821312",
    			ResourceName: pulumi.StringRef("tftest.txt"),
    		}, 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 wedataResourceFiles = Tencentcloud.GetWedataResourceFiles.Invoke(new()
        {
            ProjectId = "2905622749543821312",
            ResourceName = "tftest.txt",
        });
    
    });
    
    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.GetWedataResourceFilesArgs;
    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 wedataResourceFiles = TencentcloudFunctions.getWedataResourceFiles(GetWedataResourceFilesArgs.builder()
                .projectId("2905622749543821312")
                .resourceName("tftest.txt")
                .build());
    
        }
    }
    
    variables:
      wedataResourceFiles:
        fn::invoke:
          function: tencentcloud:getWedataResourceFiles
          arguments:
            projectId: 2.9056227495438213e+18
            resourceName: tftest.txt
    

    Using getWedataResourceFiles

    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 getWedataResourceFiles(args: GetWedataResourceFilesArgs, opts?: InvokeOptions): Promise<GetWedataResourceFilesResult>
    function getWedataResourceFilesOutput(args: GetWedataResourceFilesOutputArgs, opts?: InvokeOptions): Output<GetWedataResourceFilesResult>
    def get_wedata_resource_files(create_time_end: Optional[str] = None,
                                  create_time_start: Optional[str] = None,
                                  create_user_uin: Optional[str] = None,
                                  id: Optional[str] = None,
                                  modify_time_end: Optional[str] = None,
                                  modify_time_start: Optional[str] = None,
                                  parent_folder_path: Optional[str] = None,
                                  project_id: Optional[str] = None,
                                  resource_name: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetWedataResourceFilesResult
    def get_wedata_resource_files_output(create_time_end: Optional[pulumi.Input[str]] = None,
                                  create_time_start: Optional[pulumi.Input[str]] = None,
                                  create_user_uin: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  modify_time_end: Optional[pulumi.Input[str]] = None,
                                  modify_time_start: Optional[pulumi.Input[str]] = None,
                                  parent_folder_path: Optional[pulumi.Input[str]] = None,
                                  project_id: Optional[pulumi.Input[str]] = None,
                                  resource_name: Optional[pulumi.Input[str]] = None,
                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetWedataResourceFilesResult]
    func GetWedataResourceFiles(ctx *Context, args *GetWedataResourceFilesArgs, opts ...InvokeOption) (*GetWedataResourceFilesResult, error)
    func GetWedataResourceFilesOutput(ctx *Context, args *GetWedataResourceFilesOutputArgs, opts ...InvokeOption) GetWedataResourceFilesResultOutput

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

    public static class GetWedataResourceFiles 
    {
        public static Task<GetWedataResourceFilesResult> InvokeAsync(GetWedataResourceFilesArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataResourceFilesResult> Invoke(GetWedataResourceFilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataResourceFilesResult> getWedataResourceFiles(GetWedataResourceFilesArgs args, InvokeOptions options)
    public static Output<GetWedataResourceFilesResult> getWedataResourceFiles(GetWedataResourceFilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataResourceFiles:getWedataResourceFiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    Project ID.
    CreateTimeEnd string
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    CreateTimeStart string
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    CreateUserUin string
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    Id string
    ModifyTimeEnd string
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    ModifyTimeStart string
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    ParentFolderPath string
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    ResourceName string
    Resource file name (fuzzy search keyword).
    ResultOutputFile string
    Used to save results.
    ProjectId string
    Project ID.
    CreateTimeEnd string
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    CreateTimeStart string
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    CreateUserUin string
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    Id string
    ModifyTimeEnd string
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    ModifyTimeStart string
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    ParentFolderPath string
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    ResourceName string
    Resource file name (fuzzy search keyword).
    ResultOutputFile string
    Used to save results.
    projectId String
    Project ID.
    createTimeEnd String
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    createTimeStart String
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    createUserUin String
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    id String
    modifyTimeEnd String
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    modifyTimeStart String
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    parentFolderPath String
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    resourceName String
    Resource file name (fuzzy search keyword).
    resultOutputFile String
    Used to save results.
    projectId string
    Project ID.
    createTimeEnd string
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    createTimeStart string
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    createUserUin string
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    id string
    modifyTimeEnd string
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    modifyTimeStart string
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    parentFolderPath string
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    resourceName string
    Resource file name (fuzzy search keyword).
    resultOutputFile string
    Used to save results.
    project_id str
    Project ID.
    create_time_end str
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    create_time_start str
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    create_user_uin str
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    id str
    modify_time_end str
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    modify_time_start str
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    parent_folder_path str
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    resource_name str
    Resource file name (fuzzy search keyword).
    result_output_file str
    Used to save results.
    projectId String
    Project ID.
    createTimeEnd String
    Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
    createTimeStart String
    Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    createUserUin String
    Creator ID. obtain through the DescribeCurrentUserInfo API.
    id String
    modifyTimeEnd String
    Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
    modifyTimeStart String
    Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
    parentFolderPath String
    Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
    resourceName String
    Resource file name (fuzzy search keyword).
    resultOutputFile String
    Used to save results.

    getWedataResourceFiles Result

    The following output properties are available:

    datas List<Property Map>
    Retrieve the resource file list.
    id String
    projectId String
    createTimeEnd String
    createTimeStart String
    createUserUin String
    modifyTimeEnd String
    modifyTimeStart String
    parentFolderPath String
    resourceName String
    resultOutputFile String

    Supporting Types

    GetWedataResourceFilesData

    FileExtensionType string
    LocalPath string
    ResourceId string
    ResourceName string
    Resource file name (fuzzy search keyword).
    FileExtensionType string
    LocalPath string
    ResourceId string
    ResourceName string
    Resource file name (fuzzy search keyword).
    fileExtensionType String
    localPath String
    resourceId String
    resourceName String
    Resource file name (fuzzy search keyword).
    fileExtensionType string
    localPath string
    resourceId string
    resourceName string
    Resource file name (fuzzy search keyword).
    file_extension_type str
    local_path str
    resource_id str
    resource_name str
    Resource file name (fuzzy search keyword).
    fileExtensionType String
    localPath String
    resourceId String
    resourceName String
    Resource file name (fuzzy search keyword).

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate