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

tencentcloud.getWedataProjects

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 projects

    Example Usage

    Query all projects

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getWedataProjects({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_wedata_projects()
    
    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.GetWedataProjects(ctx, &tencentcloud.GetWedataProjectsArgs{}, 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.GetWedataProjects.Invoke();
    
    });
    
    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.GetWedataProjectsArgs;
    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.getWedataProjects(GetWedataProjectsArgs.builder()
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getWedataProjects
          arguments: {}
    

    Query projects by filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getWedataProjects({
        projectIds: [
            "2982667120655491072",
            "2853989879663501312",
        ],
        projectName: "tf_example",
        status: 1,
        projectModel: "SIMPLE",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_wedata_projects(project_ids=[
            "2982667120655491072",
            "2853989879663501312",
        ],
        project_name="tf_example",
        status=1,
        project_model="SIMPLE")
    
    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.GetWedataProjects(ctx, &tencentcloud.GetWedataProjectsArgs{
    			ProjectIds: []string{
    				"2982667120655491072",
    				"2853989879663501312",
    			},
    			ProjectName:  pulumi.StringRef("tf_example"),
    			Status:       pulumi.Float64Ref(1),
    			ProjectModel: pulumi.StringRef("SIMPLE"),
    		}, 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.GetWedataProjects.Invoke(new()
        {
            ProjectIds = new[]
            {
                "2982667120655491072",
                "2853989879663501312",
            },
            ProjectName = "tf_example",
            Status = 1,
            ProjectModel = "SIMPLE",
        });
    
    });
    
    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.GetWedataProjectsArgs;
    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.getWedataProjects(GetWedataProjectsArgs.builder()
                .projectIds(            
                    "2982667120655491072",
                    "2853989879663501312")
                .projectName("tf_example")
                .status(1)
                .projectModel("SIMPLE")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getWedataProjects
          arguments:
            projectIds:
              - '2982667120655491072'
              - '2853989879663501312'
            projectName: tf_example
            status: 1
            projectModel: SIMPLE
    

    Using getWedataProjects

    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 getWedataProjects(args: GetWedataProjectsArgs, opts?: InvokeOptions): Promise<GetWedataProjectsResult>
    function getWedataProjectsOutput(args: GetWedataProjectsOutputArgs, opts?: InvokeOptions): Output<GetWedataProjectsResult>
    def get_wedata_projects(id: Optional[str] = None,
                            project_ids: Optional[Sequence[str]] = None,
                            project_model: Optional[str] = None,
                            project_name: Optional[str] = None,
                            result_output_file: Optional[str] = None,
                            status: Optional[float] = None,
                            opts: Optional[InvokeOptions] = None) -> GetWedataProjectsResult
    def get_wedata_projects_output(id: Optional[pulumi.Input[str]] = None,
                            project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            project_model: Optional[pulumi.Input[str]] = None,
                            project_name: Optional[pulumi.Input[str]] = None,
                            result_output_file: Optional[pulumi.Input[str]] = None,
                            status: Optional[pulumi.Input[float]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetWedataProjectsResult]
    func GetWedataProjects(ctx *Context, args *GetWedataProjectsArgs, opts ...InvokeOption) (*GetWedataProjectsResult, error)
    func GetWedataProjectsOutput(ctx *Context, args *GetWedataProjectsOutputArgs, opts ...InvokeOption) GetWedataProjectsResultOutput

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

    public static class GetWedataProjects 
    {
        public static Task<GetWedataProjectsResult> InvokeAsync(GetWedataProjectsArgs args, InvokeOptions? opts = null)
        public static Output<GetWedataProjectsResult> Invoke(GetWedataProjectsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWedataProjectsResult> getWedataProjects(GetWedataProjectsArgs args, InvokeOptions options)
    public static Output<GetWedataProjectsResult> getWedataProjects(GetWedataProjectsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getWedataProjects:getWedataProjects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ProjectIds List<string>
    List of project IDs.
    ProjectModel string
    Project model, optional values: SIMPLE, STANDARD.
    ProjectName string
    Project name or unique identifier name, supports fuzzy search.
    ResultOutputFile string
    Used to save results.
    Status double
    Project status, optional values: 0 (disabled), 1 (normal).
    Id string
    ProjectIds []string
    List of project IDs.
    ProjectModel string
    Project model, optional values: SIMPLE, STANDARD.
    ProjectName string
    Project name or unique identifier name, supports fuzzy search.
    ResultOutputFile string
    Used to save results.
    Status float64
    Project status, optional values: 0 (disabled), 1 (normal).
    id String
    projectIds List<String>
    List of project IDs.
    projectModel String
    Project model, optional values: SIMPLE, STANDARD.
    projectName String
    Project name or unique identifier name, supports fuzzy search.
    resultOutputFile String
    Used to save results.
    status Double
    Project status, optional values: 0 (disabled), 1 (normal).
    id string
    projectIds string[]
    List of project IDs.
    projectModel string
    Project model, optional values: SIMPLE, STANDARD.
    projectName string
    Project name or unique identifier name, supports fuzzy search.
    resultOutputFile string
    Used to save results.
    status number
    Project status, optional values: 0 (disabled), 1 (normal).
    id str
    project_ids Sequence[str]
    List of project IDs.
    project_model str
    Project model, optional values: SIMPLE, STANDARD.
    project_name str
    Project name or unique identifier name, supports fuzzy search.
    result_output_file str
    Used to save results.
    status float
    Project status, optional values: 0 (disabled), 1 (normal).
    id String
    projectIds List<String>
    List of project IDs.
    projectModel String
    Project model, optional values: SIMPLE, STANDARD.
    projectName String
    Project name or unique identifier name, supports fuzzy search.
    resultOutputFile String
    Used to save results.
    status Number
    Project status, optional values: 0 (disabled), 1 (normal).

    getWedataProjects Result

    The following output properties are available:

    Id string
    Items List<GetWedataProjectsItem>
    List of data sources.
    ProjectIds List<string>
    ProjectModel string
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    ProjectName string
    Project identifier, English name.
    ResultOutputFile string
    Status double
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.
    Id string
    Items []GetWedataProjectsItem
    List of data sources.
    ProjectIds []string
    ProjectModel string
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    ProjectName string
    Project identifier, English name.
    ResultOutputFile string
    Status float64
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.
    id String
    items List<GetWedataProjectsItem>
    List of data sources.
    projectIds List<String>
    projectModel String
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    projectName String
    Project identifier, English name.
    resultOutputFile String
    status Double
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.
    id string
    items GetWedataProjectsItem[]
    List of data sources.
    projectIds string[]
    projectModel string
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    projectName string
    Project identifier, English name.
    resultOutputFile string
    status number
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.
    id str
    items Sequence[GetWedataProjectsItem]
    List of data sources.
    project_ids Sequence[str]
    project_model str
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    project_name str
    Project identifier, English name.
    result_output_file str
    status float
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.
    id String
    items List<Property Map>
    List of data sources.
    projectIds List<String>
    projectModel String
    Project model, SIMPLE: simple mode, STANDARD: standard mode.
    projectName String
    Project identifier, English name.
    resultOutputFile String
    status Number
    Project status: 0: disabled, 1: enabled, -3: disabling, 2: enabling.

    Supporting Types

    GetWedataProjectsItem

    CreateTime string
    Creation time.
    CreatorUin string
    Project creator ID.
    Description string
    Remarks.
    DisplayName string
    Project display name, can be Chinese name.
    ProjectId string
    Project ID.
    ProjectModel string
    Project model, optional values: SIMPLE, STANDARD.
    ProjectName string
    Project name or unique identifier name, supports fuzzy search.
    ProjectOwnerUin string
    Project owner ID.
    Status double
    Project status, optional values: 0 (disabled), 1 (normal).
    CreateTime string
    Creation time.
    CreatorUin string
    Project creator ID.
    Description string
    Remarks.
    DisplayName string
    Project display name, can be Chinese name.
    ProjectId string
    Project ID.
    ProjectModel string
    Project model, optional values: SIMPLE, STANDARD.
    ProjectName string
    Project name or unique identifier name, supports fuzzy search.
    ProjectOwnerUin string
    Project owner ID.
    Status float64
    Project status, optional values: 0 (disabled), 1 (normal).
    createTime String
    Creation time.
    creatorUin String
    Project creator ID.
    description String
    Remarks.
    displayName String
    Project display name, can be Chinese name.
    projectId String
    Project ID.
    projectModel String
    Project model, optional values: SIMPLE, STANDARD.
    projectName String
    Project name or unique identifier name, supports fuzzy search.
    projectOwnerUin String
    Project owner ID.
    status Double
    Project status, optional values: 0 (disabled), 1 (normal).
    createTime string
    Creation time.
    creatorUin string
    Project creator ID.
    description string
    Remarks.
    displayName string
    Project display name, can be Chinese name.
    projectId string
    Project ID.
    projectModel string
    Project model, optional values: SIMPLE, STANDARD.
    projectName string
    Project name or unique identifier name, supports fuzzy search.
    projectOwnerUin string
    Project owner ID.
    status number
    Project status, optional values: 0 (disabled), 1 (normal).
    create_time str
    Creation time.
    creator_uin str
    Project creator ID.
    description str
    Remarks.
    display_name str
    Project display name, can be Chinese name.
    project_id str
    Project ID.
    project_model str
    Project model, optional values: SIMPLE, STANDARD.
    project_name str
    Project name or unique identifier name, supports fuzzy search.
    project_owner_uin str
    Project owner ID.
    status float
    Project status, optional values: 0 (disabled), 1 (normal).
    createTime String
    Creation time.
    creatorUin String
    Project creator ID.
    description String
    Remarks.
    displayName String
    Project display name, can be Chinese name.
    projectId String
    Project ID.
    projectModel String
    Project model, optional values: SIMPLE, STANDARD.
    projectName String
    Project name or unique identifier name, supports fuzzy search.
    projectOwnerUin String
    Project owner ID.
    status Number
    Project status, optional values: 0 (disabled), 1 (normal).

    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