tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTsfApplication
Explore with Pulumi AI
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:
- Application
Id List<string>Lists - Id list.
- Application
Resource List<string>Type Lists - An array of application resource types.
- Application
Type string - The application type. V OR C, V means VM, C means container.
- Id string
- Microservice
Type string - The microservice type of the application.
- Result
Output stringFile - Used to save results.
- Application
Id []stringLists - Id list.
- Application
Resource []stringType Lists - An array of application resource types.
- Application
Type string - The application type. V OR C, V means VM, C means container.
- Id string
- Microservice
Type string - The microservice type of the application.
- Result
Output stringFile - Used to save results.
- application
Id List<String>Lists - Id list.
- application
Resource List<String>Type Lists - An array of application resource types.
- application
Type String - The application type. V OR C, V means VM, C means container.
- id String
- microservice
Type String - The microservice type of the application.
- result
Output StringFile - Used to save results.
- application
Id string[]Lists - Id list.
- application
Resource string[]Type Lists - An array of application resource types.
- application
Type string - The application type. V OR C, V means VM, C means container.
- id string
- microservice
Type string - The microservice type of the application.
- result
Output stringFile - Used to save results.
- application_
id_ Sequence[str]lists - Id list.
- application_
resource_ Sequence[str]type_ lists - 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_ strfile - Used to save results.
- application
Id List<String>Lists - Id list.
- application
Resource List<String>Type Lists - An array of application resource types.
- application
Type String - The application type. V OR C, V means VM, C means container.
- id String
- microservice
Type String - The microservice type of the application.
- result
Output StringFile - Used to save results.
getTsfApplication Result
The following output properties are available:
- Id string
- Results
List<Get
Tsf Application Result> - The application paging list information.
- Application
Id List<string>Lists - Application
Resource List<string>Type Lists - Application
Type string - The type of the application.
- Microservice
Type string - The microservice type of the application.
- Result
Output stringFile
- Id string
- Results
[]Get
Tsf Application Result - The application paging list information.
- Application
Id []stringLists - Application
Resource []stringType Lists - Application
Type string - The type of the application.
- Microservice
Type string - The microservice type of the application.
- Result
Output stringFile
- id String
- results
List<Get
Tsf Application Result> - The application paging list information.
- application
Id List<String>Lists - application
Resource List<String>Type Lists - application
Type String - The type of the application.
- microservice
Type String - The microservice type of the application.
- result
Output StringFile
- id string
- results
Get
Tsf Application Result[] - The application paging list information.
- application
Id string[]Lists - application
Resource string[]Type Lists - application
Type string - The type of the application.
- microservice
Type string - The microservice type of the application.
- result
Output stringFile
- id str
- results
Sequence[Get
Tsf Application Result] - The application paging list information.
- application_
id_ Sequence[str]lists - application_
resource_ Sequence[str]type_ lists - application_
type str - The type of the application.
- microservice_
type str - The microservice type of the application.
- result_
output_ strfile
- id String
- results List<Property Map>
- The application paging list information.
- application
Id List<String>Lists - application
Resource List<String>Type Lists - application
Type String - The type of the application.
- microservice
Type String - The microservice type of the application.
- result
Output StringFile
Supporting Types
GetTsfApplicationResult
- Contents
List<Get
Tsf Application Result Content> - The list of application information.
- Total
Count double - The total number of applications.
- Contents
[]Get
Tsf Application Result Content - The list of application information.
- Total
Count float64 - The total number of applications.
- contents
List<Get
Tsf Application Result Content> - The list of application information.
- total
Count Double - The total number of applications.
- contents
Get
Tsf Application Result Content[] - The list of application information.
- total
Count number - The total number of applications.
- contents
Sequence[Get
Tsf Application Result Content] - The list of application information.
- total_
count float - The total number of applications.
- contents List<Property Map>
- The list of application information.
- total
Count Number - The total number of applications.
GetTsfApplicationResultContent
- Apigateway
Service stringId - gateway service id.
- Application
Desc string - The description of the application.
- Application
Id string - The ID of the application.
- Application
Name string - The name of the application.
- Application
Remark stringName - remark name.
- Application
Resource stringType - application resource type.
- Application
Runtime stringType - application runtime type.
- Application
Type string - The application type. V OR C, V means VM, C means container.
- Create
Time string - create time.
- Ignore
Create boolImage Repository - whether ignore create image repository.
- Microservice
Type string - The microservice type of the application.
- Prog
Lang string - Programming language.
- Service
Config List<GetLists Tsf Application Result Content Service Config List> - service config list.
- Update
Time string - update time.
- Apigateway
Service stringId - gateway service id.
- Application
Desc string - The description of the application.
- Application
Id string - The ID of the application.
- Application
Name string - The name of the application.
- Application
Remark stringName - remark name.
- Application
Resource stringType - application resource type.
- Application
Runtime stringType - application runtime type.
- Application
Type string - The application type. V OR C, V means VM, C means container.
- Create
Time string - create time.
- Ignore
Create boolImage Repository - whether ignore create image repository.
- Microservice
Type string - The microservice type of the application.
- Prog
Lang string - Programming language.
- Service
Config []GetLists Tsf Application Result Content Service Config List - service config list.
- Update
Time string - update time.
- apigateway
Service StringId - gateway service id.
- application
Desc String - The description of the application.
- application
Id String - The ID of the application.
- application
Name String - The name of the application.
- application
Remark StringName - remark name.
- application
Resource StringType - application resource type.
- application
Runtime StringType - application runtime type.
- application
Type String - The application type. V OR C, V means VM, C means container.
- create
Time String - create time.
- ignore
Create BooleanImage Repository - whether ignore create image repository.
- microservice
Type String - The microservice type of the application.
- prog
Lang String - Programming language.
- service
Config List<GetLists Tsf Application Result Content Service Config List> - service config list.
- update
Time String - update time.
- apigateway
Service stringId - gateway service id.
- application
Desc string - The description of the application.
- application
Id string - The ID of the application.
- application
Name string - The name of the application.
- application
Remark stringName - remark name.
- application
Resource stringType - application resource type.
- application
Runtime stringType - application runtime type.
- application
Type string - The application type. V OR C, V means VM, C means container.
- create
Time string - create time.
- ignore
Create booleanImage Repository - whether ignore create image repository.
- microservice
Type string - The microservice type of the application.
- prog
Lang string - Programming language.
- service
Config GetLists Tsf Application Result Content Service Config List[] - service config list.
- update
Time string - update time.
- apigateway_
service_ strid - 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_ strname - remark name.
- application_
resource_ strtype - application resource type.
- application_
runtime_ strtype - 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_ boolimage_ repository - whether ignore create image repository.
- microservice_
type str - The microservice type of the application.
- prog_
lang str - Programming language.
- service_
config_ Sequence[Getlists Tsf Application Result Content Service Config List] - service config list.
- update_
time str - update time.
- apigateway
Service StringId - gateway service id.
- application
Desc String - The description of the application.
- application
Id String - The ID of the application.
- application
Name String - The name of the application.
- application
Remark StringName - remark name.
- application
Resource StringType - application resource type.
- application
Runtime StringType - application runtime type.
- application
Type String - The application type. V OR C, V means VM, C means container.
- create
Time String - create time.
- ignore
Create BooleanImage Repository - whether ignore create image repository.
- microservice
Type String - The microservice type of the application.
- prog
Lang String - Programming language.
- service
Config List<Property Map>Lists - service config list.
- update
Time String - update time.
GetTsfApplicationResultContentServiceConfigList
- Health
Checks List<GetTsf Application Result Content Service Config List Health Check> - health check setting.
- Name string
- serviceName.
- Ports
List<Get
Tsf Application Result Content Service Config List Port> - port list.
- Health
Checks []GetTsf Application Result Content Service Config List Health Check - health check setting.
- Name string
- serviceName.
- Ports
[]Get
Tsf Application Result Content Service Config List Port - port list.
- health
Checks List<GetTsf Application Result Content Service Config List Health Check> - health check setting.
- name String
- serviceName.
- ports
List<Get
Tsf Application Result Content Service Config List Port> - port list.
- health
Checks GetTsf Application Result Content Service Config List Health Check[] - health check setting.
- name string
- serviceName.
- ports
Get
Tsf Application Result Content Service Config List Port[] - port list.
- health_
checks Sequence[GetTsf Application Result Content Service Config List Health Check] - health check setting.
- name str
- serviceName.
- ports
Sequence[Get
Tsf Application Result Content Service Config List Port] - port list.
- health
Checks 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.
- Target
Port double - service port.
- Protocol string
- protocol.
- Target
Port float64 - service port.
- protocol String
- protocol.
- target
Port Double - service port.
- protocol string
- protocol.
- target
Port number - service port.
- protocol str
- protocol.
- target_
port float - service port.
- protocol String
- protocol.
- target
Port Number - service port.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack