tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTsfApplicationFileConfig
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_file_config
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const applicationFileConfig = tencentcloud.getTsfApplicationFileConfig({
applicationId: "application-2vzk6n3v",
configId: "dcfg-f-4y4ekzqv",
configName: "file-log1",
configVersion: "1.2",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
application_file_config = tencentcloud.get_tsf_application_file_config(application_id="application-2vzk6n3v",
config_id="dcfg-f-4y4ekzqv",
config_name="file-log1",
config_version="1.2")
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.LookupTsfApplicationFileConfig(ctx, &tencentcloud.LookupTsfApplicationFileConfigArgs{
ApplicationId: pulumi.StringRef("application-2vzk6n3v"),
ConfigId: pulumi.StringRef("dcfg-f-4y4ekzqv"),
ConfigName: pulumi.StringRef("file-log1"),
ConfigVersion: pulumi.StringRef("1.2"),
}, 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 applicationFileConfig = Tencentcloud.GetTsfApplicationFileConfig.Invoke(new()
{
ApplicationId = "application-2vzk6n3v",
ConfigId = "dcfg-f-4y4ekzqv",
ConfigName = "file-log1",
ConfigVersion = "1.2",
});
});
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.GetTsfApplicationFileConfigArgs;
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 applicationFileConfig = TencentcloudFunctions.getTsfApplicationFileConfig(GetTsfApplicationFileConfigArgs.builder()
.applicationId("application-2vzk6n3v")
.configId("dcfg-f-4y4ekzqv")
.configName("file-log1")
.configVersion("1.2")
.build());
}
}
variables:
applicationFileConfig:
fn::invoke:
function: tencentcloud:getTsfApplicationFileConfig
arguments:
applicationId: application-2vzk6n3v
configId: dcfg-f-4y4ekzqv
configName: file-log1
configVersion: '1.2'
Using getTsfApplicationFileConfig
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 getTsfApplicationFileConfig(args: GetTsfApplicationFileConfigArgs, opts?: InvokeOptions): Promise<GetTsfApplicationFileConfigResult>
function getTsfApplicationFileConfigOutput(args: GetTsfApplicationFileConfigOutputArgs, opts?: InvokeOptions): Output<GetTsfApplicationFileConfigResult>
def get_tsf_application_file_config(application_id: Optional[str] = None,
config_id: Optional[str] = None,
config_id_lists: Optional[Sequence[str]] = None,
config_name: Optional[str] = None,
config_version: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTsfApplicationFileConfigResult
def get_tsf_application_file_config_output(application_id: Optional[pulumi.Input[str]] = None,
config_id: Optional[pulumi.Input[str]] = None,
config_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
config_name: Optional[pulumi.Input[str]] = None,
config_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTsfApplicationFileConfigResult]
func LookupTsfApplicationFileConfig(ctx *Context, args *LookupTsfApplicationFileConfigArgs, opts ...InvokeOption) (*LookupTsfApplicationFileConfigResult, error)
func LookupTsfApplicationFileConfigOutput(ctx *Context, args *LookupTsfApplicationFileConfigOutputArgs, opts ...InvokeOption) LookupTsfApplicationFileConfigResultOutput
> Note: This function is named LookupTsfApplicationFileConfig
in the Go SDK.
public static class GetTsfApplicationFileConfig
{
public static Task<GetTsfApplicationFileConfigResult> InvokeAsync(GetTsfApplicationFileConfigArgs args, InvokeOptions? opts = null)
public static Output<GetTsfApplicationFileConfigResult> Invoke(GetTsfApplicationFileConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTsfApplicationFileConfigResult> getTsfApplicationFileConfig(GetTsfApplicationFileConfigArgs args, InvokeOptions options)
public static Output<GetTsfApplicationFileConfigResult> getTsfApplicationFileConfig(GetTsfApplicationFileConfigArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTsfApplicationFileConfig:getTsfApplicationFileConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Application
Id string - Application ID.
- Config
Id string - Configuration ID.
- Config
Id List<string>Lists - List of configuration item ID.
- Config
Name string - Configuration item name.
- Config
Version string - Configuration item version.
- Id string
- Result
Output stringFile - Used to save results.
- Application
Id string - Application ID.
- Config
Id string - Configuration ID.
- Config
Id []stringLists - List of configuration item ID.
- Config
Name string - Configuration item name.
- Config
Version string - Configuration item version.
- Id string
- Result
Output stringFile - Used to save results.
- application
Id String - Application ID.
- config
Id String - Configuration ID.
- config
Id List<String>Lists - List of configuration item ID.
- config
Name String - Configuration item name.
- config
Version String - Configuration item version.
- id String
- result
Output StringFile - Used to save results.
- application
Id string - Application ID.
- config
Id string - Configuration ID.
- config
Id string[]Lists - List of configuration item ID.
- config
Name string - Configuration item name.
- config
Version string - Configuration item version.
- id string
- result
Output stringFile - Used to save results.
- application_
id str - Application ID.
- config_
id str - Configuration ID.
- config_
id_ Sequence[str]lists - List of configuration item ID.
- config_
name str - Configuration item name.
- config_
version str - Configuration item version.
- id str
- result_
output_ strfile - Used to save results.
- application
Id String - Application ID.
- config
Id String - Configuration ID.
- config
Id List<String>Lists - List of configuration item ID.
- config
Name String - Configuration item name.
- config
Version String - Configuration item version.
- id String
- result
Output StringFile - Used to save results.
getTsfApplicationFileConfig Result
The following output properties are available:
- Id string
- Results
List<Get
Tsf Application File Config Result> - File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- Application
Id string - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id string - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id List<string>Lists - Config
Name string - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version string - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- Result
Output stringFile
- Id string
- Results
[]Get
Tsf Application File Config Result - File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- Application
Id string - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id string - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id []stringLists - Config
Name string - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version string - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- Result
Output stringFile
- id String
- results
List<Get
Tsf Application File Config Result> - File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id String - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id String - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id List<String>Lists - config
Name String - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version String - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- result
Output StringFile
- id string
- results
Get
Tsf Application File Config Result[] - File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id string - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id string - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id string[]Lists - config
Name string - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version string - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- result
Output stringFile
- id str
- results
Sequence[Get
Tsf Application File Config Result] - File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- application_
id str - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- config_
id str - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- config_
id_ Sequence[str]lists - config_
name str - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- config_
version str - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- result_
output_ strfile
- id String
- results List<Property Map>
- File configuration item list. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id String - application Id. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id String - Config ID. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id List<String>Lists - config
Name String - Configuration item name. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version String - Configuration version. Note: This field may return null, indicating that no valid values can be obtained.
- result
Output StringFile
Supporting Types
GetTsfApplicationFileConfigResult
- Contents
List<Get
Tsf Application File Config Result Content> - File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- Total
Count double - total count.
- Contents
[]Get
Tsf Application File Config Result Content - File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- Total
Count float64 - total count.
- contents
List<Get
Tsf Application File Config Result Content> - File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- total
Count Double - total count.
- contents
Get
Tsf Application File Config Result Content[] - File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- total
Count number - total count.
- contents
Sequence[Get
Tsf Application File Config Result Content] - File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- total_
count float - total count.
- contents List<Property Map>
- File configuration array. Note: This field may return null, indicating that no valid values can be obtained.
- total
Count Number - total count.
GetTsfApplicationFileConfigResultContent
- Application
Id string - Application ID.
- Application
Name string - application name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringCode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringName - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringPath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringValue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File doubleValue Length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id string - Configuration ID.
- Config
Name string - Configuration item name.
- Config
Post stringCmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version string - Configuration item version.
- Config
Version doubleCount - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version stringDesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- Creation
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- Delete
Flag bool - delete flag, true: allow delete; false: delete prohibit.
- Last
Update stringTime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- Application
Id string - Application ID.
- Application
Name string - application name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringCode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringName - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringPath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File stringValue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- Config
File float64Value Length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Id string - Configuration ID.
- Config
Name string - Configuration item name.
- Config
Post stringCmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version string - Configuration item version.
- Config
Version float64Count - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- Config
Version stringDesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- Creation
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- Delete
Flag bool - delete flag, true: allow delete; false: delete prohibit.
- Last
Update stringTime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id String - Application ID.
- application
Name String - application name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringCode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringName - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringPath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringValue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- config
File DoubleValue Length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id String - Configuration ID.
- config
Name String - Configuration item name.
- config
Post StringCmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version String - Configuration item version.
- config
Version DoubleCount - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version StringDesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- creation
Time String - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- delete
Flag Boolean - delete flag, true: allow delete; false: delete prohibit.
- last
Update StringTime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id string - Application ID.
- application
Name string - application name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File stringCode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- config
File stringName - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File stringPath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- config
File stringValue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- config
File numberValue Length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id string - Configuration ID.
- config
Name string - Configuration item name.
- config
Post stringCmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version string - Configuration item version.
- config
Version numberCount - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version stringDesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- creation
Time string - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- delete
Flag boolean - delete flag, true: allow delete; false: delete prohibit.
- last
Update stringTime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- application_
id str - Application ID.
- application_
name str - application name. Note: This field may return null, indicating that no valid values can be obtained.
- config_
file_ strcode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- config_
file_ strname - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- config_
file_ strpath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- config_
file_ strvalue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- config_
file_ floatvalue_ length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- config_
id str - Configuration ID.
- config_
name str - Configuration item name.
- config_
post_ strcmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- config_
version str - Configuration item version.
- config_
version_ floatcount - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- config_
version_ strdesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- creation_
time str - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- delete_
flag bool - delete flag, true: allow delete; false: delete prohibit.
- last_
update_ strtime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- application
Id String - Application ID.
- application
Name String - application name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringCode - Configuration file code. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringName - Configuration item file name. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringPath - file config path. Note: This field may return null, indicating that no valid values can be obtained.
- config
File StringValue - Configuration file content. Note: This field may return null, indicating that no valid values can be obtained.
- config
File NumberValue Length - config item content length. Note: This field may return null, indicating that no valid values can be obtained.
- config
Id String - Configuration ID.
- config
Name String - Configuration item name.
- config
Post StringCmd - last update time. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version String - Configuration item version.
- config
Version NumberCount - config version count. Note: This field may return null, indicating that no valid values can be obtained.
- config
Version StringDesc - Configuration item version description. Note: This field may return null, indicating that no valid values can be obtained.
- creation
Time String - CreationTime. Note: This field may return null, indicating that no valid values can be obtained.
- delete
Flag Boolean - delete flag, true: allow delete; false: delete prohibit.
- last
Update StringTime - last update time. Note: This field may return null, indicating that no valid values can be obtained.
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