tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getProjects
Start a Neo task
Explain and create a tencentcloud.getProjects resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tag project
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const project = tencentcloud.getProjects({
allList: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
project = tencentcloud.get_projects(all_list=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.GetProjects(ctx, &tencentcloud.GetProjectsArgs{
AllList: 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 project = Tencentcloud.GetProjects.Invoke(new()
{
AllList = 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.GetProjectsArgs;
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 project = TencentcloudFunctions.getProjects(GetProjectsArgs.builder()
.allList(1)
.build());
}
}
variables:
project:
fn::invoke:
function: tencentcloud:getProjects
arguments:
allList: 1
Using getProjects
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 getProjects(args: GetProjectsArgs, opts?: InvokeOptions): Promise<GetProjectsResult>
function getProjectsOutput(args: GetProjectsOutputArgs, opts?: InvokeOptions): Output<GetProjectsResult>def get_projects(all_list: Optional[float] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectsResult
def get_projects_output(all_list: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectsResult]func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput> Note: This function is named GetProjects in the Go SDK.
public static class GetProjects
{
public static Task<GetProjectsResult> InvokeAsync(GetProjectsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectsResult> Invoke(GetProjectsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getProjects:getProjects
arguments:
# arguments dictionaryThe following arguments are supported:
- All
List double - 1 means to list all project, 0 means to list visible project.
- Id string
- Result
Output stringFile - Used to save results.
- All
List float64 - 1 means to list all project, 0 means to list visible project.
- Id string
- Result
Output stringFile - Used to save results.
- all
List Double - 1 means to list all project, 0 means to list visible project.
- id String
- result
Output StringFile - Used to save results.
- all
List number - 1 means to list all project, 0 means to list visible project.
- id string
- result
Output stringFile - Used to save results.
- all_
list float - 1 means to list all project, 0 means to list visible project.
- id str
- result_
output_ strfile - Used to save results.
- all
List Number - 1 means to list all project, 0 means to list visible project.
- id String
- result
Output StringFile - Used to save results.
getProjects Result
The following output properties are available:
- All
List double - Id string
- Projects
List<Get
Projects Project> - List of projects.
- Result
Output stringFile
- All
List float64 - Id string
- Projects
[]Get
Projects Project - List of projects.
- Result
Output stringFile
- all
List Double - id String
- projects
List<Get
Projects Project> - List of projects.
- result
Output StringFile
- all
List number - id string
- projects
Get
Projects Project[] - List of projects.
- result
Output stringFile
- all_
list float - id str
- projects
Sequence[Get
Projects Project] - List of projects.
- result_
output_ strfile
- all
List Number - id String
- projects List<Property Map>
- List of projects.
- result
Output StringFile
Supporting Types
GetProjectsProject
- Create
Time string - Create time.
- Creator
Uin double - Uin of Creator.
- Project
Id double - ID of Project.
- Project
Info string - Description of project.
- Project
Name string - Name of Project.
- Create
Time string - Create time.
- Creator
Uin float64 - Uin of Creator.
- Project
Id float64 - ID of Project.
- Project
Info string - Description of project.
- Project
Name string - Name of Project.
- create
Time String - Create time.
- creator
Uin Double - Uin of Creator.
- project
Id Double - ID of Project.
- project
Info String - Description of project.
- project
Name String - Name of Project.
- create
Time string - Create time.
- creator
Uin number - Uin of Creator.
- project
Id number - ID of Project.
- project
Info string - Description of project.
- project
Name string - Name of Project.
- create_
time str - Create time.
- creator_
uin float - Uin of Creator.
- project_
id float - ID of Project.
- project_
info str - Description of project.
- project_
name str - Name of Project.
- create
Time String - Create time.
- creator
Uin Number - Uin of Creator.
- project
Id Number - ID of Project.
- project
Info String - Description of project.
- project
Name String - Name of Project.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
