1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getTsfApplication
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getTsfApplication

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of tsf application

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const application = tencentcloud.getTsfApplication({
        applicationIdLists: ["application-a24x29xv"],
        applicationType: "V",
        microserviceType: "N",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    application = tencentcloud.get_tsf_application(application_id_lists=["application-a24x29xv"],
        application_type="V",
        microservice_type="N")
    
    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.LookupTsfApplication(ctx, &tencentcloud.LookupTsfApplicationArgs{
    			ApplicationIdLists: []string{
    				"application-a24x29xv",
    			},
    			ApplicationType:  pulumi.StringRef("V"),
    			MicroserviceType: pulumi.StringRef("N"),
    		}, 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 application = Tencentcloud.GetTsfApplication.Invoke(new()
        {
            ApplicationIdLists = new[]
            {
                "application-a24x29xv",
            },
            ApplicationType = "V",
            MicroserviceType = "N",
        });
    
    });
    
    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.GetTsfApplicationArgs;
    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 application = TencentcloudFunctions.getTsfApplication(GetTsfApplicationArgs.builder()
                .applicationIdLists("application-a24x29xv")
                .applicationType("V")
                .microserviceType("N")
                .build());
    
        }
    }
    
    variables:
      application:
        fn::invoke:
          function: tencentcloud:getTsfApplication
          arguments:
            applicationIdLists:
              - application-a24x29xv
            applicationType: V
            microserviceType: N
    

    Using getTsfApplication

    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 getTsfApplication(args: GetTsfApplicationArgs, opts?: InvokeOptions): Promise<GetTsfApplicationResult>
    function getTsfApplicationOutput(args: GetTsfApplicationOutputArgs, opts?: InvokeOptions): Output<GetTsfApplicationResult>
    def get_tsf_application(application_id_lists: Optional[Sequence[str]] = None,
                            application_resource_type_lists: Optional[Sequence[str]] = None,
                            application_type: Optional[str] = None,
                            id: Optional[str] = None,
                            microservice_type: Optional[str] = None,
                            result_output_file: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetTsfApplicationResult
    def get_tsf_application_output(application_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            application_resource_type_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            application_type: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            microservice_type: Optional[pulumi.Input[str]] = None,
                            result_output_file: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetTsfApplicationResult]
    func LookupTsfApplication(ctx *Context, args *LookupTsfApplicationArgs, opts ...InvokeOption) (*LookupTsfApplicationResult, error)
    func LookupTsfApplicationOutput(ctx *Context, args *LookupTsfApplicationOutputArgs, opts ...InvokeOption) LookupTsfApplicationResultOutput

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

    public static class GetTsfApplication 
    {
        public static Task<GetTsfApplicationResult> InvokeAsync(GetTsfApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetTsfApplicationResult> Invoke(GetTsfApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTsfApplicationResult> getTsfApplication(GetTsfApplicationArgs args, InvokeOptions options)
    public static Output<GetTsfApplicationResult> getTsfApplication(GetTsfApplicationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTsfApplication:getTsfApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationIdLists List<string>
    Id list.
    ApplicationResourceTypeLists List<string>
    An array of application resource types.
    ApplicationType string
    The application type. V OR C, V means VM, C means container.
    Id string
    MicroserviceType string
    The microservice type of the application.
    ResultOutputFile string
    Used to save results.
    ApplicationIdLists []string
    Id list.
    ApplicationResourceTypeLists []string
    An array of application resource types.
    ApplicationType string
    The application type. V OR C, V means VM, C means container.
    Id string
    MicroserviceType string
    The microservice type of the application.
    ResultOutputFile string
    Used to save results.
    applicationIdLists List<String>
    Id list.
    applicationResourceTypeLists List<String>
    An array of application resource types.
    applicationType String
    The application type. V OR C, V means VM, C means container.
    id String
    microserviceType String
    The microservice type of the application.
    resultOutputFile String
    Used to save results.
    applicationIdLists string[]
    Id list.
    applicationResourceTypeLists string[]
    An array of application resource types.
    applicationType string
    The application type. V OR C, V means VM, C means container.
    id string
    microserviceType string
    The microservice type of the application.
    resultOutputFile string
    Used to save results.
    application_id_lists Sequence[str]
    Id list.
    application_resource_type_lists Sequence[str]
    An array of application resource types.
    application_type str
    The application type. V OR C, V means VM, C means container.
    id str
    microservice_type str
    The microservice type of the application.
    result_output_file str
    Used to save results.
    applicationIdLists List<String>
    Id list.
    applicationResourceTypeLists List<String>
    An array of application resource types.
    applicationType String
    The application type. V OR C, V means VM, C means container.
    id String
    microserviceType String
    The microservice type of the application.
    resultOutputFile String
    Used to save results.

    getTsfApplication Result

    The following output properties are available:

    Id string
    Results List<GetTsfApplicationResult>
    The application paging list information.
    ApplicationIdLists List<string>
    ApplicationResourceTypeLists List<string>
    ApplicationType string
    The type of the application.
    MicroserviceType string
    The microservice type of the application.
    ResultOutputFile string
    Id string
    Results []GetTsfApplicationResult
    The application paging list information.
    ApplicationIdLists []string
    ApplicationResourceTypeLists []string
    ApplicationType string
    The type of the application.
    MicroserviceType string
    The microservice type of the application.
    ResultOutputFile string
    id String
    results List<GetTsfApplicationResult>
    The application paging list information.
    applicationIdLists List<String>
    applicationResourceTypeLists List<String>
    applicationType String
    The type of the application.
    microserviceType String
    The microservice type of the application.
    resultOutputFile String
    id string
    results GetTsfApplicationResult[]
    The application paging list information.
    applicationIdLists string[]
    applicationResourceTypeLists string[]
    applicationType string
    The type of the application.
    microserviceType string
    The microservice type of the application.
    resultOutputFile string
    id str
    results Sequence[GetTsfApplicationResult]
    The application paging list information.
    application_id_lists Sequence[str]
    application_resource_type_lists Sequence[str]
    application_type str
    The type of the application.
    microservice_type str
    The microservice type of the application.
    result_output_file str
    id String
    results List<Property Map>
    The application paging list information.
    applicationIdLists List<String>
    applicationResourceTypeLists List<String>
    applicationType String
    The type of the application.
    microserviceType String
    The microservice type of the application.
    resultOutputFile String

    Supporting Types

    GetTsfApplicationResult

    Contents List<GetTsfApplicationResultContent>
    The list of application information.
    TotalCount double
    The total number of applications.
    Contents []GetTsfApplicationResultContent
    The list of application information.
    TotalCount float64
    The total number of applications.
    contents List<GetTsfApplicationResultContent>
    The list of application information.
    totalCount Double
    The total number of applications.
    contents GetTsfApplicationResultContent[]
    The list of application information.
    totalCount number
    The total number of applications.
    contents Sequence[GetTsfApplicationResultContent]
    The list of application information.
    total_count float
    The total number of applications.
    contents List<Property Map>
    The list of application information.
    totalCount Number
    The total number of applications.

    GetTsfApplicationResultContent

    ApigatewayServiceId string
    gateway service id.
    ApplicationDesc string
    The description of the application.
    ApplicationId string
    The ID of the application.
    ApplicationName string
    The name of the application.
    ApplicationRemarkName string
    remark name.
    ApplicationResourceType string
    application resource type.
    ApplicationRuntimeType string
    application runtime type.
    ApplicationType string
    The application type. V OR C, V means VM, C means container.
    CreateTime string
    create time.
    IgnoreCreateImageRepository bool
    whether ignore create image repository.
    MicroserviceType string
    The microservice type of the application.
    ProgLang string
    Programming language.
    ServiceConfigLists List<GetTsfApplicationResultContentServiceConfigList>
    service config list.
    UpdateTime string
    update time.
    ApigatewayServiceId string
    gateway service id.
    ApplicationDesc string
    The description of the application.
    ApplicationId string
    The ID of the application.
    ApplicationName string
    The name of the application.
    ApplicationRemarkName string
    remark name.
    ApplicationResourceType string
    application resource type.
    ApplicationRuntimeType string
    application runtime type.
    ApplicationType string
    The application type. V OR C, V means VM, C means container.
    CreateTime string
    create time.
    IgnoreCreateImageRepository bool
    whether ignore create image repository.
    MicroserviceType string
    The microservice type of the application.
    ProgLang string
    Programming language.
    ServiceConfigLists []GetTsfApplicationResultContentServiceConfigList
    service config list.
    UpdateTime string
    update time.
    apigatewayServiceId String
    gateway service id.
    applicationDesc String
    The description of the application.
    applicationId String
    The ID of the application.
    applicationName String
    The name of the application.
    applicationRemarkName String
    remark name.
    applicationResourceType String
    application resource type.
    applicationRuntimeType String
    application runtime type.
    applicationType String
    The application type. V OR C, V means VM, C means container.
    createTime String
    create time.
    ignoreCreateImageRepository Boolean
    whether ignore create image repository.
    microserviceType String
    The microservice type of the application.
    progLang String
    Programming language.
    serviceConfigLists List<GetTsfApplicationResultContentServiceConfigList>
    service config list.
    updateTime String
    update time.
    apigatewayServiceId string
    gateway service id.
    applicationDesc string
    The description of the application.
    applicationId string
    The ID of the application.
    applicationName string
    The name of the application.
    applicationRemarkName string
    remark name.
    applicationResourceType string
    application resource type.
    applicationRuntimeType string
    application runtime type.
    applicationType string
    The application type. V OR C, V means VM, C means container.
    createTime string
    create time.
    ignoreCreateImageRepository boolean
    whether ignore create image repository.
    microserviceType string
    The microservice type of the application.
    progLang string
    Programming language.
    serviceConfigLists GetTsfApplicationResultContentServiceConfigList[]
    service config list.
    updateTime string
    update time.
    apigateway_service_id str
    gateway service id.
    application_desc str
    The description of the application.
    application_id str
    The ID of the application.
    application_name str
    The name of the application.
    application_remark_name str
    remark name.
    application_resource_type str
    application resource type.
    application_runtime_type str
    application runtime type.
    application_type str
    The application type. V OR C, V means VM, C means container.
    create_time str
    create time.
    ignore_create_image_repository bool
    whether ignore create image repository.
    microservice_type str
    The microservice type of the application.
    prog_lang str
    Programming language.
    service_config_lists Sequence[GetTsfApplicationResultContentServiceConfigList]
    service config list.
    update_time str
    update time.
    apigatewayServiceId String
    gateway service id.
    applicationDesc String
    The description of the application.
    applicationId String
    The ID of the application.
    applicationName String
    The name of the application.
    applicationRemarkName String
    remark name.
    applicationResourceType String
    application resource type.
    applicationRuntimeType String
    application runtime type.
    applicationType String
    The application type. V OR C, V means VM, C means container.
    createTime String
    create time.
    ignoreCreateImageRepository Boolean
    whether ignore create image repository.
    microserviceType String
    The microservice type of the application.
    progLang String
    Programming language.
    serviceConfigLists List<Property Map>
    service config list.
    updateTime String
    update time.

    GetTsfApplicationResultContentServiceConfigList

    healthChecks List<Property Map>
    health check setting.
    name String
    serviceName.
    ports List<Property Map>
    port list.

    GetTsfApplicationResultContentServiceConfigListHealthCheck

    Path string
    health check path.
    Path string
    health check path.
    path String
    health check path.
    path string
    health check path.
    path str
    health check path.
    path String
    health check path.

    GetTsfApplicationResultContentServiceConfigListPort

    Protocol string
    protocol.
    TargetPort double
    service port.
    Protocol string
    protocol.
    TargetPort float64
    service port.
    protocol String
    protocol.
    targetPort Double
    service port.
    protocol string
    protocol.
    targetPort number
    service port.
    protocol str
    protocol.
    target_port float
    service port.
    protocol String
    protocol.
    targetPort Number
    service port.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack