tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getTsfRepository
Start a Neo task
Explain and create a tencentcloud.getTsfRepository resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of tsf repository
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const repository = tencentcloud.getTsfRepository({
searchWord: "test",
repositoryType: "default",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
repository = tencentcloud.get_tsf_repository(search_word="test",
repository_type="default")
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.LookupTsfRepository(ctx, &tencentcloud.LookupTsfRepositoryArgs{
SearchWord: pulumi.StringRef("test"),
RepositoryType: pulumi.StringRef("default"),
}, 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 repository = Tencentcloud.GetTsfRepository.Invoke(new()
{
SearchWord = "test",
RepositoryType = "default",
});
});
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.GetTsfRepositoryArgs;
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 repository = TencentcloudFunctions.getTsfRepository(GetTsfRepositoryArgs.builder()
.searchWord("test")
.repositoryType("default")
.build());
}
}
variables:
repository:
fn::invoke:
function: tencentcloud:getTsfRepository
arguments:
searchWord: test
repositoryType: default
Using getTsfRepository
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 getTsfRepository(args: GetTsfRepositoryArgs, opts?: InvokeOptions): Promise<GetTsfRepositoryResult>
function getTsfRepositoryOutput(args: GetTsfRepositoryOutputArgs, opts?: InvokeOptions): Output<GetTsfRepositoryResult>def get_tsf_repository(id: Optional[str] = None,
repository_type: Optional[str] = None,
result_output_file: Optional[str] = None,
search_word: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTsfRepositoryResult
def get_tsf_repository_output(id: Optional[pulumi.Input[str]] = None,
repository_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
search_word: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTsfRepositoryResult]func LookupTsfRepository(ctx *Context, args *LookupTsfRepositoryArgs, opts ...InvokeOption) (*LookupTsfRepositoryResult, error)
func LookupTsfRepositoryOutput(ctx *Context, args *LookupTsfRepositoryOutputArgs, opts ...InvokeOption) LookupTsfRepositoryResultOutput> Note: This function is named LookupTsfRepository in the Go SDK.
public static class GetTsfRepository
{
public static Task<GetTsfRepositoryResult> InvokeAsync(GetTsfRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetTsfRepositoryResult> Invoke(GetTsfRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTsfRepositoryResult> getTsfRepository(GetTsfRepositoryArgs args, InvokeOptions options)
public static Output<GetTsfRepositoryResult> getTsfRepository(GetTsfRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTsfRepository:getTsfRepository
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- Result
Output stringFile - Used to save results.
- Search
Word string - Query keywords (search by Repository name).
- Id string
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- Result
Output stringFile - Used to save results.
- Search
Word string - Query keywords (search by Repository name).
- id String
- repository
Type String - Repository type (default Repository: default, private Repository: private).
- result
Output StringFile - Used to save results.
- search
Word String - Query keywords (search by Repository name).
- id string
- repository
Type string - Repository type (default Repository: default, private Repository: private).
- result
Output stringFile - Used to save results.
- search
Word string - Query keywords (search by Repository name).
- id str
- repository_
type str - Repository type (default Repository: default, private Repository: private).
- result_
output_ strfile - Used to save results.
- search_
word str - Query keywords (search by Repository name).
- id String
- repository
Type String - Repository type (default Repository: default, private Repository: private).
- result
Output StringFile - Used to save results.
- search
Word String - Query keywords (search by Repository name).
getTsfRepository Result
The following output properties are available:
- Id string
- Results
List<Get
Tsf Repository Result> - A list of Repository information that meets the query criteria.
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- Result
Output stringFile - Search
Word string
- Id string
- Results
[]Get
Tsf Repository Result - A list of Repository information that meets the query criteria.
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- Result
Output stringFile - Search
Word string
- id String
- results
List<Get
Tsf Repository Result> - A list of Repository information that meets the query criteria.
- repository
Type String - Repository type (default Repository: default, private Repository: private).
- result
Output StringFile - search
Word String
- id string
- results
Get
Tsf Repository Result[] - A list of Repository information that meets the query criteria.
- repository
Type string - Repository type (default Repository: default, private Repository: private).
- result
Output stringFile - search
Word string
- id str
- results
Sequence[Get
Tsf Repository Result] - A list of Repository information that meets the query criteria.
- repository_
type str - Repository type (default Repository: default, private Repository: private).
- result_
output_ strfile - search_
word str
- id String
- results List<Property Map>
- A list of Repository information that meets the query criteria.
- repository
Type String - Repository type (default Repository: default, private Repository: private).
- result
Output StringFile - search
Word String
Supporting Types
GetTsfRepositoryResult
- Contents
List<Get
Tsf Repository Result Content> - Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- Total
Count double - Total Repository.
- Contents
[]Get
Tsf Repository Result Content - Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- Total
Count float64 - Total Repository.
- contents
List<Get
Tsf Repository Result Content> - Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- total
Count Double - Total Repository.
- contents
Get
Tsf Repository Result Content[] - Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- total
Count number - Total Repository.
- contents
Sequence[Get
Tsf Repository Result Content] - Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- total_
count float - Total Repository.
- contents List<Property Map>
- Repository information list. Note: This field may return null, indicating that no valid value can be obtained.
- total
Count Number - Total Repository.
GetTsfRepositoryResultContent
- Bucket
Name string - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- Bucket
Region string - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- Create
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- Directory string
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- Is
Used bool - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- Repository
Desc string - Repository description (default warehouse: default, private warehouse: private).
- Repository
Id string - repository Id.
- Repository
Name string - Repository Name.
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- Bucket
Name string - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- Bucket
Region string - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- Create
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- Directory string
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- Is
Used bool - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- Repository
Desc string - Repository description (default warehouse: default, private warehouse: private).
- Repository
Id string - repository Id.
- Repository
Name string - Repository Name.
- Repository
Type string - Repository type (default Repository: default, private Repository: private).
- bucket
Name String - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- bucket
Region String - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- create
Time String - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- directory String
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- is
Used Boolean - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- repository
Desc String - Repository description (default warehouse: default, private warehouse: private).
- repository
Id String - repository Id.
- repository
Name String - Repository Name.
- repository
Type String - Repository type (default Repository: default, private Repository: private).
- bucket
Name string - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- bucket
Region string - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- create
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- directory string
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- is
Used boolean - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- repository
Desc string - Repository description (default warehouse: default, private warehouse: private).
- repository
Id string - repository Id.
- repository
Name string - Repository Name.
- repository
Type string - Repository type (default Repository: default, private Repository: private).
- bucket_
name str - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- bucket_
region str - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- create_
time str - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- directory str
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- is_
used bool - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- repository_
desc str - Repository description (default warehouse: default, private warehouse: private).
- repository_
id str - repository Id.
- repository_
name str - Repository Name.
- repository_
type str - Repository type (default Repository: default, private Repository: private).
- bucket
Name String - Repository bucket name. Note: This field may return null, indicating that no valid value can be obtained.
- bucket
Region String - Repository region. Note: This field may return null, indicating that no valid value can be obtained.
- create
Time String - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- directory String
- Repository Directory. Note: This field may return null, indicating that no valid value can be obtained.
- is
Used Boolean - Whether the repository is being used. Note: This field may return null, indicating that no valid value can be obtained.
- repository
Desc String - Repository description (default warehouse: default, private warehouse: private).
- repository
Id String - repository Id.
- repository
Name String - Repository Name.
- repository
Type String - Repository type (default Repository: default, private Repository: private).
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
