tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTsfMsApiList
Start a Neo task
Explain and create a tencentcloud.getTsfMsApiList resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tsf ms_api_list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const msApiList = tencentcloud.getTsfMsApiList({
microserviceId: "ms-yq3jo6jd",
searchWord: "echo",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
ms_api_list = tencentcloud.get_tsf_ms_api_list(microservice_id="ms-yq3jo6jd",
search_word="echo")
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.LookupTsfMsApiList(ctx, &tencentcloud.LookupTsfMsApiListArgs{
MicroserviceId: "ms-yq3jo6jd",
SearchWord: pulumi.StringRef("echo"),
}, 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 msApiList = Tencentcloud.GetTsfMsApiList.Invoke(new()
{
MicroserviceId = "ms-yq3jo6jd",
SearchWord = "echo",
});
});
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.GetTsfMsApiListArgs;
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 msApiList = TencentcloudFunctions.getTsfMsApiList(GetTsfMsApiListArgs.builder()
.microserviceId("ms-yq3jo6jd")
.searchWord("echo")
.build());
}
}
variables:
msApiList:
fn::invoke:
function: tencentcloud:getTsfMsApiList
arguments:
microserviceId: ms-yq3jo6jd
searchWord: echo
Using getTsfMsApiList
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 getTsfMsApiList(args: GetTsfMsApiListArgs, opts?: InvokeOptions): Promise<GetTsfMsApiListResult>
function getTsfMsApiListOutput(args: GetTsfMsApiListOutputArgs, opts?: InvokeOptions): Output<GetTsfMsApiListResult>def get_tsf_ms_api_list(id: Optional[str] = None,
microservice_id: Optional[str] = None,
result_output_file: Optional[str] = None,
search_word: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTsfMsApiListResult
def get_tsf_ms_api_list_output(id: Optional[pulumi.Input[str]] = None,
microservice_id: 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[GetTsfMsApiListResult]func LookupTsfMsApiList(ctx *Context, args *LookupTsfMsApiListArgs, opts ...InvokeOption) (*LookupTsfMsApiListResult, error)
func LookupTsfMsApiListOutput(ctx *Context, args *LookupTsfMsApiListOutputArgs, opts ...InvokeOption) LookupTsfMsApiListResultOutput> Note: This function is named LookupTsfMsApiList in the Go SDK.
public static class GetTsfMsApiList
{
public static Task<GetTsfMsApiListResult> InvokeAsync(GetTsfMsApiListArgs args, InvokeOptions? opts = null)
public static Output<GetTsfMsApiListResult> Invoke(GetTsfMsApiListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTsfMsApiListResult> getTsfMsApiList(GetTsfMsApiListArgs args, InvokeOptions options)
public static Output<GetTsfMsApiListResult> getTsfMsApiList(GetTsfMsApiListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTsfMsApiList:getTsfMsApiList
arguments:
# arguments dictionaryThe following arguments are supported:
- Microservice
Id string - Microservice Id.
- Id string
- Result
Output stringFile - Used to save results.
- Search
Word string - search word, support service name.
- Microservice
Id string - Microservice Id.
- Id string
- Result
Output stringFile - Used to save results.
- Search
Word string - search word, support service name.
- microservice
Id String - Microservice Id.
- id String
- result
Output StringFile - Used to save results.
- search
Word String - search word, support service name.
- microservice
Id string - Microservice Id.
- id string
- result
Output stringFile - Used to save results.
- search
Word string - search word, support service name.
- microservice_
id str - Microservice Id.
- id str
- result_
output_ strfile - Used to save results.
- search_
word str - search word, support service name.
- microservice
Id String - Microservice Id.
- id String
- result
Output StringFile - Used to save results.
- search
Word String - search word, support service name.
getTsfMsApiList Result
The following output properties are available:
- Id string
- Microservice
Id string - Results
List<Get
Tsf Ms Api List Result> - result list.
- Result
Output stringFile - Search
Word string
- Id string
- Microservice
Id string - Results
[]Get
Tsf Ms Api List Result - result list.
- Result
Output stringFile - Search
Word string
- id String
- microservice
Id String - results
List<Get
Tsf Ms Api List Result> - result list.
- result
Output StringFile - search
Word String
- id string
- microservice
Id string - results
Get
Tsf Ms Api List Result[] - result list.
- result
Output stringFile - search
Word string
- id str
- microservice_
id str - results
Sequence[Get
Tsf Ms Api List Result] - result list.
- result_
output_ strfile - search_
word str
- id String
- microservice
Id String - results List<Property Map>
- result list.
- result
Output StringFile - search
Word String
Supporting Types
GetTsfMsApiListResult
- Contents
List<Get
Tsf Ms Api List Result Content> - api list.
- Total
Count double - Quantity.
- Contents
[]Get
Tsf Ms Api List Result Content - api list.
- Total
Count float64 - Quantity.
- contents
List<Get
Tsf Ms Api List Result Content> - api list.
- total
Count Double - Quantity.
- contents
Get
Tsf Ms Api List Result Content[] - api list.
- total
Count number - Quantity.
- contents
Sequence[Get
Tsf Ms Api List Result Content] - api list.
- total_
count float - Quantity.
- contents List<Property Map>
- api list.
- total
Count Number - Quantity.
GetTsfMsApiListResultContent
- Description string
- Method description. Note: This field may return null, indicating that no valid value was found.
- Method string
- api method.
- Path string
- api path.
- Status double
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
- Description string
- Method description. Note: This field may return null, indicating that no valid value was found.
- Method string
- api method.
- Path string
- api path.
- Status float64
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
- description String
- Method description. Note: This field may return null, indicating that no valid value was found.
- method String
- api method.
- path String
- api path.
- status Double
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
- description string
- Method description. Note: This field may return null, indicating that no valid value was found.
- method string
- api method.
- path string
- api path.
- status number
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
- description str
- Method description. Note: This field may return null, indicating that no valid value was found.
- method str
- api method.
- path str
- api path.
- status float
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
- description String
- Method description. Note: This field may return null, indicating that no valid value was found.
- method String
- api method.
- path String
- api path.
- status Number
- API status. 0: offline, 1: online.Note: This field may return null, indicating that no valid value was found.
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
