Provides a resource to create a APM application config
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApmApplicationConfig("example", {
instanceId: exampleTencentcloudApmInstance.id,
serviceName: "java-order-serive",
urlConvergenceSwitch: 1,
agentEnable: true,
disableCpuUsed: 90,
disableMemoryUsed: 90,
enableDashboardConfig: false,
enableLogConfig: false,
enableSecurityConfig: false,
enableSnapshot: false,
eventEnable: false,
isDeleteAnyFileAnalysis: 0,
isDeserializationAnalysis: 0,
isDirectoryTraversalAnalysis: 0,
isExpressionInjectionAnalysis: 0,
isIncludeAnyFileAnalysis: 0,
isInstrumentationVulnerabilityScan: 1,
isJndiInjectionAnalysis: 0,
isJniInjectionAnalysis: 0,
isMemoryHijackingAnalysis: 0,
isReadAnyFileAnalysis: 0,
isRelatedDashboard: 0,
isRelatedLog: 0,
isRemoteCommandExecutionAnalysis: 0,
isScriptEngineInjectionAnalysis: 0,
isSqlInjectionAnalysis: 0,
isTemplateEngineInjectionAnalysis: 0,
isUploadAnyFileAnalysis: 0,
isWebshellBackdoorAnalysis: 0,
logIndexType: 0,
logSource: "CLS",
snapshotTimeout: 2000,
traceSquash: true,
urlAutoConvergenceEnable: false,
urlConvergenceThreshold: 1000,
urlLongSegmentThreshold: 40,
urlNumberSegmentThreshold: 5,
agentOperationConfigView: {
retentionValid: false,
},
instrumentLists: [
{
enable: true,
name: "apm-spring-annotations",
},
{
enable: true,
name: "dubbo",
},
{
enable: true,
name: "googlehttpclient",
},
{
enable: true,
name: "grpc",
},
{
enable: true,
name: "httpclient3",
},
{
enable: true,
name: "httpclient4",
},
{
enable: true,
name: "hystrix",
},
{
enable: true,
name: "lettuce",
},
{
enable: true,
name: "mongodb",
},
{
enable: true,
name: "mybatis",
},
{
enable: true,
name: "mysql",
},
{
enable: true,
name: "okhttp",
},
{
enable: true,
name: "redis",
},
{
enable: true,
name: "rxjava",
},
{
enable: true,
name: "spring-webmvc",
},
{
enable: true,
name: "tomcat",
},
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApmApplicationConfig("example",
instance_id=example_tencentcloud_apm_instance["id"],
service_name="java-order-serive",
url_convergence_switch=1,
agent_enable=True,
disable_cpu_used=90,
disable_memory_used=90,
enable_dashboard_config=False,
enable_log_config=False,
enable_security_config=False,
enable_snapshot=False,
event_enable=False,
is_delete_any_file_analysis=0,
is_deserialization_analysis=0,
is_directory_traversal_analysis=0,
is_expression_injection_analysis=0,
is_include_any_file_analysis=0,
is_instrumentation_vulnerability_scan=1,
is_jndi_injection_analysis=0,
is_jni_injection_analysis=0,
is_memory_hijacking_analysis=0,
is_read_any_file_analysis=0,
is_related_dashboard=0,
is_related_log=0,
is_remote_command_execution_analysis=0,
is_script_engine_injection_analysis=0,
is_sql_injection_analysis=0,
is_template_engine_injection_analysis=0,
is_upload_any_file_analysis=0,
is_webshell_backdoor_analysis=0,
log_index_type=0,
log_source="CLS",
snapshot_timeout=2000,
trace_squash=True,
url_auto_convergence_enable=False,
url_convergence_threshold=1000,
url_long_segment_threshold=40,
url_number_segment_threshold=5,
agent_operation_config_view={
"retention_valid": False,
},
instrument_lists=[
{
"enable": True,
"name": "apm-spring-annotations",
},
{
"enable": True,
"name": "dubbo",
},
{
"enable": True,
"name": "googlehttpclient",
},
{
"enable": True,
"name": "grpc",
},
{
"enable": True,
"name": "httpclient3",
},
{
"enable": True,
"name": "httpclient4",
},
{
"enable": True,
"name": "hystrix",
},
{
"enable": True,
"name": "lettuce",
},
{
"enable": True,
"name": "mongodb",
},
{
"enable": True,
"name": "mybatis",
},
{
"enable": True,
"name": "mysql",
},
{
"enable": True,
"name": "okhttp",
},
{
"enable": True,
"name": "redis",
},
{
"enable": True,
"name": "rxjava",
},
{
"enable": True,
"name": "spring-webmvc",
},
{
"enable": True,
"name": "tomcat",
},
])
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.NewApmApplicationConfig(ctx, "example", &tencentcloud.ApmApplicationConfigArgs{
InstanceId: pulumi.Any(exampleTencentcloudApmInstance.Id),
ServiceName: pulumi.String("java-order-serive"),
UrlConvergenceSwitch: pulumi.Float64(1),
AgentEnable: pulumi.Bool(true),
DisableCpuUsed: pulumi.Float64(90),
DisableMemoryUsed: pulumi.Float64(90),
EnableDashboardConfig: pulumi.Bool(false),
EnableLogConfig: pulumi.Bool(false),
EnableSecurityConfig: pulumi.Bool(false),
EnableSnapshot: pulumi.Bool(false),
EventEnable: pulumi.Bool(false),
IsDeleteAnyFileAnalysis: pulumi.Float64(0),
IsDeserializationAnalysis: pulumi.Float64(0),
IsDirectoryTraversalAnalysis: pulumi.Float64(0),
IsExpressionInjectionAnalysis: pulumi.Float64(0),
IsIncludeAnyFileAnalysis: pulumi.Float64(0),
IsInstrumentationVulnerabilityScan: pulumi.Float64(1),
IsJndiInjectionAnalysis: pulumi.Float64(0),
IsJniInjectionAnalysis: pulumi.Float64(0),
IsMemoryHijackingAnalysis: pulumi.Float64(0),
IsReadAnyFileAnalysis: pulumi.Float64(0),
IsRelatedDashboard: pulumi.Float64(0),
IsRelatedLog: pulumi.Float64(0),
IsRemoteCommandExecutionAnalysis: pulumi.Float64(0),
IsScriptEngineInjectionAnalysis: pulumi.Float64(0),
IsSqlInjectionAnalysis: pulumi.Float64(0),
IsTemplateEngineInjectionAnalysis: pulumi.Float64(0),
IsUploadAnyFileAnalysis: pulumi.Float64(0),
IsWebshellBackdoorAnalysis: pulumi.Float64(0),
LogIndexType: pulumi.Float64(0),
LogSource: pulumi.String("CLS"),
SnapshotTimeout: pulumi.Float64(2000),
TraceSquash: pulumi.Bool(true),
UrlAutoConvergenceEnable: pulumi.Bool(false),
UrlConvergenceThreshold: pulumi.Float64(1000),
UrlLongSegmentThreshold: pulumi.Float64(40),
UrlNumberSegmentThreshold: pulumi.Float64(5),
AgentOperationConfigView: &tencentcloud.ApmApplicationConfigAgentOperationConfigViewArgs{
RetentionValid: pulumi.Bool(false),
},
InstrumentLists: tencentcloud.ApmApplicationConfigInstrumentListArray{
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("apm-spring-annotations"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("dubbo"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("googlehttpclient"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("grpc"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("httpclient3"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("httpclient4"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("hystrix"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("lettuce"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("mongodb"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("mybatis"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("mysql"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("okhttp"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("redis"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("rxjava"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("spring-webmvc"),
},
&tencentcloud.ApmApplicationConfigInstrumentListArgs{
Enable: pulumi.Bool(true),
Name: pulumi.String("tomcat"),
},
},
})
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 example = new Tencentcloud.ApmApplicationConfig("example", new()
{
InstanceId = exampleTencentcloudApmInstance.Id,
ServiceName = "java-order-serive",
UrlConvergenceSwitch = 1,
AgentEnable = true,
DisableCpuUsed = 90,
DisableMemoryUsed = 90,
EnableDashboardConfig = false,
EnableLogConfig = false,
EnableSecurityConfig = false,
EnableSnapshot = false,
EventEnable = false,
IsDeleteAnyFileAnalysis = 0,
IsDeserializationAnalysis = 0,
IsDirectoryTraversalAnalysis = 0,
IsExpressionInjectionAnalysis = 0,
IsIncludeAnyFileAnalysis = 0,
IsInstrumentationVulnerabilityScan = 1,
IsJndiInjectionAnalysis = 0,
IsJniInjectionAnalysis = 0,
IsMemoryHijackingAnalysis = 0,
IsReadAnyFileAnalysis = 0,
IsRelatedDashboard = 0,
IsRelatedLog = 0,
IsRemoteCommandExecutionAnalysis = 0,
IsScriptEngineInjectionAnalysis = 0,
IsSqlInjectionAnalysis = 0,
IsTemplateEngineInjectionAnalysis = 0,
IsUploadAnyFileAnalysis = 0,
IsWebshellBackdoorAnalysis = 0,
LogIndexType = 0,
LogSource = "CLS",
SnapshotTimeout = 2000,
TraceSquash = true,
UrlAutoConvergenceEnable = false,
UrlConvergenceThreshold = 1000,
UrlLongSegmentThreshold = 40,
UrlNumberSegmentThreshold = 5,
AgentOperationConfigView = new Tencentcloud.Inputs.ApmApplicationConfigAgentOperationConfigViewArgs
{
RetentionValid = false,
},
InstrumentLists = new[]
{
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "apm-spring-annotations",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "dubbo",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "googlehttpclient",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "grpc",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "httpclient3",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "httpclient4",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "hystrix",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "lettuce",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "mongodb",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "mybatis",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "mysql",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "okhttp",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "redis",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "rxjava",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "spring-webmvc",
},
new Tencentcloud.Inputs.ApmApplicationConfigInstrumentListArgs
{
Enable = true,
Name = "tomcat",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApmApplicationConfig;
import com.pulumi.tencentcloud.ApmApplicationConfigArgs;
import com.pulumi.tencentcloud.inputs.ApmApplicationConfigAgentOperationConfigViewArgs;
import com.pulumi.tencentcloud.inputs.ApmApplicationConfigInstrumentListArgs;
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) {
var example = new ApmApplicationConfig("example", ApmApplicationConfigArgs.builder()
.instanceId(exampleTencentcloudApmInstance.id())
.serviceName("java-order-serive")
.urlConvergenceSwitch(1.0)
.agentEnable(true)
.disableCpuUsed(90.0)
.disableMemoryUsed(90.0)
.enableDashboardConfig(false)
.enableLogConfig(false)
.enableSecurityConfig(false)
.enableSnapshot(false)
.eventEnable(false)
.isDeleteAnyFileAnalysis(0.0)
.isDeserializationAnalysis(0.0)
.isDirectoryTraversalAnalysis(0.0)
.isExpressionInjectionAnalysis(0.0)
.isIncludeAnyFileAnalysis(0.0)
.isInstrumentationVulnerabilityScan(1.0)
.isJndiInjectionAnalysis(0.0)
.isJniInjectionAnalysis(0.0)
.isMemoryHijackingAnalysis(0.0)
.isReadAnyFileAnalysis(0.0)
.isRelatedDashboard(0.0)
.isRelatedLog(0.0)
.isRemoteCommandExecutionAnalysis(0.0)
.isScriptEngineInjectionAnalysis(0.0)
.isSqlInjectionAnalysis(0.0)
.isTemplateEngineInjectionAnalysis(0.0)
.isUploadAnyFileAnalysis(0.0)
.isWebshellBackdoorAnalysis(0.0)
.logIndexType(0.0)
.logSource("CLS")
.snapshotTimeout(2000.0)
.traceSquash(true)
.urlAutoConvergenceEnable(false)
.urlConvergenceThreshold(1000.0)
.urlLongSegmentThreshold(40.0)
.urlNumberSegmentThreshold(5.0)
.agentOperationConfigView(ApmApplicationConfigAgentOperationConfigViewArgs.builder()
.retentionValid(false)
.build())
.instrumentLists(
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("apm-spring-annotations")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("dubbo")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("googlehttpclient")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("grpc")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("httpclient3")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("httpclient4")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("hystrix")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("lettuce")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("mongodb")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("mybatis")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("mysql")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("okhttp")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("redis")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("rxjava")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("spring-webmvc")
.build(),
ApmApplicationConfigInstrumentListArgs.builder()
.enable(true)
.name("tomcat")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:ApmApplicationConfig
properties:
instanceId: ${exampleTencentcloudApmInstance.id}
serviceName: java-order-serive
urlConvergenceSwitch: 1
agentEnable: true
disableCpuUsed: 90
disableMemoryUsed: 90
enableDashboardConfig: false
enableLogConfig: false
enableSecurityConfig: false
enableSnapshot: false
eventEnable: false
isDeleteAnyFileAnalysis: 0
isDeserializationAnalysis: 0
isDirectoryTraversalAnalysis: 0
isExpressionInjectionAnalysis: 0
isIncludeAnyFileAnalysis: 0
isInstrumentationVulnerabilityScan: 1
isJndiInjectionAnalysis: 0
isJniInjectionAnalysis: 0
isMemoryHijackingAnalysis: 0
isReadAnyFileAnalysis: 0
isRelatedDashboard: 0
isRelatedLog: 0
isRemoteCommandExecutionAnalysis: 0
isScriptEngineInjectionAnalysis: 0
isSqlInjectionAnalysis: 0
isTemplateEngineInjectionAnalysis: 0
isUploadAnyFileAnalysis: 0
isWebshellBackdoorAnalysis: 0
logIndexType: 0
logSource: CLS
snapshotTimeout: 2000
traceSquash: true
urlAutoConvergenceEnable: false
urlConvergenceThreshold: 1000
urlLongSegmentThreshold: 40
urlNumberSegmentThreshold: 5
agentOperationConfigView:
retentionValid: false
instrumentLists:
- enable: true
name: apm-spring-annotations
- enable: true
name: dubbo
- enable: true
name: googlehttpclient
- enable: true
name: grpc
- enable: true
name: httpclient3
- enable: true
name: httpclient4
- enable: true
name: hystrix
- enable: true
name: lettuce
- enable: true
name: mongodb
- enable: true
name: mybatis
- enable: true
name: mysql
- enable: true
name: okhttp
- enable: true
name: redis
- enable: true
name: rxjava
- enable: true
name: spring-webmvc
- enable: true
name: tomcat
Create ApmApplicationConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApmApplicationConfig(name: string, args: ApmApplicationConfigArgs, opts?: CustomResourceOptions);@overload
def ApmApplicationConfig(resource_name: str,
args: ApmApplicationConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApmApplicationConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
service_name: Optional[str] = None,
url_convergence_switch: Optional[float] = None,
agent_enable: Optional[bool] = None,
agent_operation_config_view: Optional[ApmApplicationConfigAgentOperationConfigViewArgs] = None,
apm_application_config_id: Optional[str] = None,
dashboard_topic_id: Optional[str] = None,
disable_cpu_used: Optional[float] = None,
disable_memory_used: Optional[float] = None,
enable_dashboard_config: Optional[bool] = None,
enable_log_config: Optional[bool] = None,
enable_security_config: Optional[bool] = None,
enable_snapshot: Optional[bool] = None,
error_code_filter: Optional[str] = None,
event_enable: Optional[bool] = None,
exception_filter: Optional[str] = None,
ignore_operation_name: Optional[str] = None,
instrument_lists: Optional[Sequence[ApmApplicationConfigInstrumentListArgs]] = None,
is_delete_any_file_analysis: Optional[float] = None,
is_deserialization_analysis: Optional[float] = None,
is_directory_traversal_analysis: Optional[float] = None,
is_expression_injection_analysis: Optional[float] = None,
is_include_any_file_analysis: Optional[float] = None,
is_instrumentation_vulnerability_scan: Optional[float] = None,
is_jndi_injection_analysis: Optional[float] = None,
is_jni_injection_analysis: Optional[float] = None,
is_memory_hijacking_analysis: Optional[float] = None,
is_read_any_file_analysis: Optional[float] = None,
is_related_dashboard: Optional[float] = None,
is_related_log: Optional[float] = None,
is_remote_command_execution_analysis: Optional[float] = None,
is_script_engine_injection_analysis: Optional[float] = None,
is_sql_injection_analysis: Optional[float] = None,
is_template_engine_injection_analysis: Optional[float] = None,
is_upload_any_file_analysis: Optional[float] = None,
is_webshell_backdoor_analysis: Optional[float] = None,
log_index_type: Optional[float] = None,
log_region: Optional[str] = None,
log_set: Optional[str] = None,
log_source: Optional[str] = None,
log_topic_id: Optional[str] = None,
log_trace_id_key: Optional[str] = None,
snapshot_timeout: Optional[float] = None,
trace_squash: Optional[bool] = None,
url_auto_convergence_enable: Optional[bool] = None,
url_convergence: Optional[str] = None,
url_convergence_threshold: Optional[float] = None,
url_exclude: Optional[str] = None,
url_long_segment_threshold: Optional[float] = None,
url_number_segment_threshold: Optional[float] = None)func NewApmApplicationConfig(ctx *Context, name string, args ApmApplicationConfigArgs, opts ...ResourceOption) (*ApmApplicationConfig, error)public ApmApplicationConfig(string name, ApmApplicationConfigArgs args, CustomResourceOptions? opts = null)
public ApmApplicationConfig(String name, ApmApplicationConfigArgs args)
public ApmApplicationConfig(String name, ApmApplicationConfigArgs args, CustomResourceOptions options)
type: tencentcloud:ApmApplicationConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApmApplicationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApmApplicationConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApmApplicationConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApmApplicationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApmApplicationConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApmApplicationConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApmApplicationConfig resource accepts the following input properties:
- Instance
Id string - Business system ID.
- Service
Name string - Application name.
- Url
Convergence doubleSwitch - URL convergence switch. 0: Off; 1: On.
- Agent
Enable bool - Whether agent is enabled.
- Agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- Apm
Application stringConfig Id - ID of the resource.
- Dashboard
Topic stringId - dashboard ID.
- Disable
Cpu doubleUsed - Specifies the CPU threshold for probe fusing.
- Disable
Memory doubleUsed - Specifies the memory threshold for probe fusing.
- Enable
Dashboard boolConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- Enable
Log boolConfig - Whether to enable application log configuration.
- Enable
Security boolConfig - Whether to enable application security configuration.
- Enable
Snapshot bool - Whether thread profiling is enabled.
- Error
Code stringFilter - Error code filtering, separated by commas.
- Event
Enable bool - Switch for enabling application diagnosis.
- Exception
Filter string - Regex rules for exception filtering, separated by commas.
- Ignore
Operation stringName - APIs to be filtered.
- Instrument
Lists List<ApmApplication Config Instrument List> - Component List.
- Is
Delete doubleAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- Is
Deserialization doubleAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- Is
Directory doubleTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- Is
Expression doubleInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- Is
Include doubleAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- Is
Instrumentation doubleVulnerability Scan - Whether to enable detection of component vulnerability.
- Is
Jndi doubleInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- Is
Jni doubleInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- Is
Memory doubleHijacking Analysis - Whether to enable detection of Java webshell.
- Is
Read doubleAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- double
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- double
- Log switch. 0: Off; 1: On.
- Is
Remote doubleCommand Execution Analysis - Whether remote command detection is enabled.
- Is
Script doubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- Is
Sql doubleInjection Analysis - Whether to enable SQL injection analysis.
- Is
Template doubleEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- Is
Upload doubleAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- Is
Webshell doubleBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- Log
Index doubleType - CLS index type. (0 = full-text index; 1 = key-value index).
- Log
Region string - Log region.
- Log
Set string - CLS log set/ES cluster ID.
- Log
Source string - Log source: CLS or ES.
- Log
Topic stringId - Log topic ID.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Snapshot
Timeout double - Timeout threshold for thread profiling.
- Trace
Squash bool - Whether link compression is enabled.
- Url
Auto boolConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- Url
Convergence string - Regex rules for URL convergence, separated by commas.
- Url
Convergence doubleThreshold - URL convergence threshold.
- Url
Exclude string - Regex rules for URL exclusion, separated by commas.
- Url
Long doubleSegment Threshold - Convergence threshold for URL long segments.
- Url
Number doubleSegment Threshold - Convergence threshold for URL numerical segments.
- Instance
Id string - Business system ID.
- Service
Name string - Application name.
- Url
Convergence float64Switch - URL convergence switch. 0: Off; 1: On.
- Agent
Enable bool - Whether agent is enabled.
- Agent
Operation ApmConfig View Application Config Agent Operation Config View Args - Related configurations of the probe APIs.
- Apm
Application stringConfig Id - ID of the resource.
- Dashboard
Topic stringId - dashboard ID.
- Disable
Cpu float64Used - Specifies the CPU threshold for probe fusing.
- Disable
Memory float64Used - Specifies the memory threshold for probe fusing.
- Enable
Dashboard boolConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- Enable
Log boolConfig - Whether to enable application log configuration.
- Enable
Security boolConfig - Whether to enable application security configuration.
- Enable
Snapshot bool - Whether thread profiling is enabled.
- Error
Code stringFilter - Error code filtering, separated by commas.
- Event
Enable bool - Switch for enabling application diagnosis.
- Exception
Filter string - Regex rules for exception filtering, separated by commas.
- Ignore
Operation stringName - APIs to be filtered.
- Instrument
Lists []ApmApplication Config Instrument List Args - Component List.
- Is
Delete float64Any File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- Is
Deserialization float64Analysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- Is
Directory float64Traversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- Is
Expression float64Injection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- Is
Include float64Any File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- Is
Instrumentation float64Vulnerability Scan - Whether to enable detection of component vulnerability.
- Is
Jndi float64Injection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- Is
Jni float64Injection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- Is
Memory float64Hijacking Analysis - Whether to enable detection of Java webshell.
- Is
Read float64Any File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- float64
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- float64
- Log switch. 0: Off; 1: On.
- Is
Remote float64Command Execution Analysis - Whether remote command detection is enabled.
- Is
Script float64Engine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- Is
Sql float64Injection Analysis - Whether to enable SQL injection analysis.
- Is
Template float64Engine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- Is
Upload float64Any File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- Is
Webshell float64Backdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- Log
Index float64Type - CLS index type. (0 = full-text index; 1 = key-value index).
- Log
Region string - Log region.
- Log
Set string - CLS log set/ES cluster ID.
- Log
Source string - Log source: CLS or ES.
- Log
Topic stringId - Log topic ID.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Snapshot
Timeout float64 - Timeout threshold for thread profiling.
- Trace
Squash bool - Whether link compression is enabled.
- Url
Auto boolConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- Url
Convergence string - Regex rules for URL convergence, separated by commas.
- Url
Convergence float64Threshold - URL convergence threshold.
- Url
Exclude string - Regex rules for URL exclusion, separated by commas.
- Url
Long float64Segment Threshold - Convergence threshold for URL long segments.
- Url
Number float64Segment Threshold - Convergence threshold for URL numerical segments.
- instance
Id String - Business system ID.
- service
Name String - Application name.
- url
Convergence DoubleSwitch - URL convergence switch. 0: Off; 1: On.
- agent
Enable Boolean - Whether agent is enabled.
- agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- apm
Application StringConfig Id - ID of the resource.
- dashboard
Topic StringId - dashboard ID.
- disable
Cpu DoubleUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory DoubleUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard BooleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log BooleanConfig - Whether to enable application log configuration.
- enable
Security BooleanConfig - Whether to enable application security configuration.
- enable
Snapshot Boolean - Whether thread profiling is enabled.
- error
Code StringFilter - Error code filtering, separated by commas.
- event
Enable Boolean - Switch for enabling application diagnosis.
- exception
Filter String - Regex rules for exception filtering, separated by commas.
- ignore
Operation StringName - APIs to be filtered.
- instrument
Lists List<ApmApplication Config Instrument List> - Component List.
- is
Delete DoubleAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization DoubleAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory DoubleTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression DoubleInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include DoubleAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation DoubleVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi DoubleInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni DoubleInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory DoubleHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read DoubleAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- Double
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- Double
- Log switch. 0: Off; 1: On.
- is
Remote DoubleCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script DoubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql DoubleInjection Analysis - Whether to enable SQL injection analysis.
- is
Template DoubleEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload DoubleAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell DoubleBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index DoubleType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region String - Log region.
- log
Set String - CLS log set/ES cluster ID.
- log
Source String - Log source: CLS or ES.
- log
Topic StringId - Log topic ID.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- snapshot
Timeout Double - Timeout threshold for thread profiling.
- trace
Squash Boolean - Whether link compression is enabled.
- url
Auto BooleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence String - Regex rules for URL convergence, separated by commas.
- url
Convergence DoubleThreshold - URL convergence threshold.
- url
Exclude String - Regex rules for URL exclusion, separated by commas.
- url
Long DoubleSegment Threshold - Convergence threshold for URL long segments.
- url
Number DoubleSegment Threshold - Convergence threshold for URL numerical segments.
- instance
Id string - Business system ID.
- service
Name string - Application name.
- url
Convergence numberSwitch - URL convergence switch. 0: Off; 1: On.
- agent
Enable boolean - Whether agent is enabled.
- agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- apm
Application stringConfig Id - ID of the resource.
- dashboard
Topic stringId - dashboard ID.
- disable
Cpu numberUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory numberUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard booleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log booleanConfig - Whether to enable application log configuration.
- enable
Security booleanConfig - Whether to enable application security configuration.
- enable
Snapshot boolean - Whether thread profiling is enabled.
- error
Code stringFilter - Error code filtering, separated by commas.
- event
Enable boolean - Switch for enabling application diagnosis.
- exception
Filter string - Regex rules for exception filtering, separated by commas.
- ignore
Operation stringName - APIs to be filtered.
- instrument
Lists ApmApplication Config Instrument List[] - Component List.
- is
Delete numberAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization numberAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory numberTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression numberInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include numberAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation numberVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi numberInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni numberInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory numberHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read numberAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- number
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- number
- Log switch. 0: Off; 1: On.
- is
Remote numberCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script numberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql numberInjection Analysis - Whether to enable SQL injection analysis.
- is
Template numberEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload numberAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell numberBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index numberType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region string - Log region.
- log
Set string - CLS log set/ES cluster ID.
- log
Source string - Log source: CLS or ES.
- log
Topic stringId - Log topic ID.
- log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- snapshot
Timeout number - Timeout threshold for thread profiling.
- trace
Squash boolean - Whether link compression is enabled.
- url
Auto booleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence string - Regex rules for URL convergence, separated by commas.
- url
Convergence numberThreshold - URL convergence threshold.
- url
Exclude string - Regex rules for URL exclusion, separated by commas.
- url
Long numberSegment Threshold - Convergence threshold for URL long segments.
- url
Number numberSegment Threshold - Convergence threshold for URL numerical segments.
- instance_
id str - Business system ID.
- service_
name str - Application name.
- url_
convergence_ floatswitch - URL convergence switch. 0: Off; 1: On.
- agent_
enable bool - Whether agent is enabled.
- agent_
operation_ Apmconfig_ view Application Config Agent Operation Config View Args - Related configurations of the probe APIs.
- apm_
application_ strconfig_ id - ID of the resource.
- dashboard_
topic_ strid - dashboard ID.
- disable_
cpu_ floatused - Specifies the CPU threshold for probe fusing.
- disable_
memory_ floatused - Specifies the memory threshold for probe fusing.
- enable_
dashboard_ boolconfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable_
log_ boolconfig - Whether to enable application log configuration.
- enable_
security_ boolconfig - Whether to enable application security configuration.
- enable_
snapshot bool - Whether thread profiling is enabled.
- error_
code_ strfilter - Error code filtering, separated by commas.
- event_
enable bool - Switch for enabling application diagnosis.
- exception_
filter str - Regex rules for exception filtering, separated by commas.
- ignore_
operation_ strname - APIs to be filtered.
- instrument_
lists Sequence[ApmApplication Config Instrument List Args] - Component List.
- is_
delete_ floatany_ file_ analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is_
deserialization_ floatanalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is_
directory_ floattraversal_ analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is_
expression_ floatinjection_ analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is_
include_ floatany_ file_ analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is_
instrumentation_ floatvulnerability_ scan - Whether to enable detection of component vulnerability.
- is_
jndi_ floatinjection_ analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is_
jni_ floatinjection_ analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is_
memory_ floathijacking_ analysis - Whether to enable detection of Java webshell.
- is_
read_ floatany_ file_ analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- float
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- float
- Log switch. 0: Off; 1: On.
- is_
remote_ floatcommand_ execution_ analysis - Whether remote command detection is enabled.
- is_
script_ floatengine_ injection_ analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is_
sql_ floatinjection_ analysis - Whether to enable SQL injection analysis.
- is_
template_ floatengine_ injection_ analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is_
upload_ floatany_ file_ analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is_
webshell_ floatbackdoor_ analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log_
index_ floattype - CLS index type. (0 = full-text index; 1 = key-value index).
- log_
region str - Log region.
- log_
set str - CLS log set/ES cluster ID.
- log_
source str - Log source: CLS or ES.
- log_
topic_ strid - Log topic ID.
- log_
trace_ strid_ key - Index key of traceId. It is valid when the CLS index type is key-value index.
- snapshot_
timeout float - Timeout threshold for thread profiling.
- trace_
squash bool - Whether link compression is enabled.
- url_
auto_ boolconvergence_ enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url_
convergence str - Regex rules for URL convergence, separated by commas.
- url_
convergence_ floatthreshold - URL convergence threshold.
- url_
exclude str - Regex rules for URL exclusion, separated by commas.
- url_
long_ floatsegment_ threshold - Convergence threshold for URL long segments.
- url_
number_ floatsegment_ threshold - Convergence threshold for URL numerical segments.
- instance
Id String - Business system ID.
- service
Name String - Application name.
- url
Convergence NumberSwitch - URL convergence switch. 0: Off; 1: On.
- agent
Enable Boolean - Whether agent is enabled.
- agent
Operation Property MapConfig View - Related configurations of the probe APIs.
- apm
Application StringConfig Id - ID of the resource.
- dashboard
Topic StringId - dashboard ID.
- disable
Cpu NumberUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory NumberUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard BooleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log BooleanConfig - Whether to enable application log configuration.
- enable
Security BooleanConfig - Whether to enable application security configuration.
- enable
Snapshot Boolean - Whether thread profiling is enabled.
- error
Code StringFilter - Error code filtering, separated by commas.
- event
Enable Boolean - Switch for enabling application diagnosis.
- exception
Filter String - Regex rules for exception filtering, separated by commas.
- ignore
Operation StringName - APIs to be filtered.
- instrument
Lists List<Property Map> - Component List.
- is
Delete NumberAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization NumberAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory NumberTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression NumberInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include NumberAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation NumberVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi NumberInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni NumberInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory NumberHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read NumberAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- Number
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- Number
- Log switch. 0: Off; 1: On.
- is
Remote NumberCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script NumberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql NumberInjection Analysis - Whether to enable SQL injection analysis.
- is
Template NumberEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload NumberAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell NumberBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index NumberType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region String - Log region.
- log
Set String - CLS log set/ES cluster ID.
- log
Source String - Log source: CLS or ES.
- log
Topic StringId - Log topic ID.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- snapshot
Timeout Number - Timeout threshold for thread profiling.
- trace
Squash Boolean - Whether link compression is enabled.
- url
Auto BooleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence String - Regex rules for URL convergence, separated by commas.
- url
Convergence NumberThreshold - URL convergence threshold.
- url
Exclude String - Regex rules for URL exclusion, separated by commas.
- url
Long NumberSegment Threshold - Convergence threshold for URL long segments.
- url
Number NumberSegment Threshold - Convergence threshold for URL numerical segments.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApmApplicationConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApmApplicationConfig Resource
Get an existing ApmApplicationConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApmApplicationConfigState, opts?: CustomResourceOptions): ApmApplicationConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_enable: Optional[bool] = None,
agent_operation_config_view: Optional[ApmApplicationConfigAgentOperationConfigViewArgs] = None,
apm_application_config_id: Optional[str] = None,
dashboard_topic_id: Optional[str] = None,
disable_cpu_used: Optional[float] = None,
disable_memory_used: Optional[float] = None,
enable_dashboard_config: Optional[bool] = None,
enable_log_config: Optional[bool] = None,
enable_security_config: Optional[bool] = None,
enable_snapshot: Optional[bool] = None,
error_code_filter: Optional[str] = None,
event_enable: Optional[bool] = None,
exception_filter: Optional[str] = None,
ignore_operation_name: Optional[str] = None,
instance_id: Optional[str] = None,
instrument_lists: Optional[Sequence[ApmApplicationConfigInstrumentListArgs]] = None,
is_delete_any_file_analysis: Optional[float] = None,
is_deserialization_analysis: Optional[float] = None,
is_directory_traversal_analysis: Optional[float] = None,
is_expression_injection_analysis: Optional[float] = None,
is_include_any_file_analysis: Optional[float] = None,
is_instrumentation_vulnerability_scan: Optional[float] = None,
is_jndi_injection_analysis: Optional[float] = None,
is_jni_injection_analysis: Optional[float] = None,
is_memory_hijacking_analysis: Optional[float] = None,
is_read_any_file_analysis: Optional[float] = None,
is_related_dashboard: Optional[float] = None,
is_related_log: Optional[float] = None,
is_remote_command_execution_analysis: Optional[float] = None,
is_script_engine_injection_analysis: Optional[float] = None,
is_sql_injection_analysis: Optional[float] = None,
is_template_engine_injection_analysis: Optional[float] = None,
is_upload_any_file_analysis: Optional[float] = None,
is_webshell_backdoor_analysis: Optional[float] = None,
log_index_type: Optional[float] = None,
log_region: Optional[str] = None,
log_set: Optional[str] = None,
log_source: Optional[str] = None,
log_topic_id: Optional[str] = None,
log_trace_id_key: Optional[str] = None,
service_name: Optional[str] = None,
snapshot_timeout: Optional[float] = None,
trace_squash: Optional[bool] = None,
url_auto_convergence_enable: Optional[bool] = None,
url_convergence: Optional[str] = None,
url_convergence_switch: Optional[float] = None,
url_convergence_threshold: Optional[float] = None,
url_exclude: Optional[str] = None,
url_long_segment_threshold: Optional[float] = None,
url_number_segment_threshold: Optional[float] = None) -> ApmApplicationConfigfunc GetApmApplicationConfig(ctx *Context, name string, id IDInput, state *ApmApplicationConfigState, opts ...ResourceOption) (*ApmApplicationConfig, error)public static ApmApplicationConfig Get(string name, Input<string> id, ApmApplicationConfigState? state, CustomResourceOptions? opts = null)public static ApmApplicationConfig get(String name, Output<String> id, ApmApplicationConfigState state, CustomResourceOptions options)resources: _: type: tencentcloud:ApmApplicationConfig get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Enable bool - Whether agent is enabled.
- Agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- Apm
Application stringConfig Id - ID of the resource.
- Dashboard
Topic stringId - dashboard ID.
- Disable
Cpu doubleUsed - Specifies the CPU threshold for probe fusing.
- Disable
Memory doubleUsed - Specifies the memory threshold for probe fusing.
- Enable
Dashboard boolConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- Enable
Log boolConfig - Whether to enable application log configuration.
- Enable
Security boolConfig - Whether to enable application security configuration.
- Enable
Snapshot bool - Whether thread profiling is enabled.
- Error
Code stringFilter - Error code filtering, separated by commas.
- Event
Enable bool - Switch for enabling application diagnosis.
- Exception
Filter string - Regex rules for exception filtering, separated by commas.
- Ignore
Operation stringName - APIs to be filtered.
- Instance
Id string - Business system ID.
- Instrument
Lists List<ApmApplication Config Instrument List> - Component List.
- Is
Delete doubleAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- Is
Deserialization doubleAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- Is
Directory doubleTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- Is
Expression doubleInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- Is
Include doubleAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- Is
Instrumentation doubleVulnerability Scan - Whether to enable detection of component vulnerability.
- Is
Jndi doubleInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- Is
Jni doubleInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- Is
Memory doubleHijacking Analysis - Whether to enable detection of Java webshell.
- Is
Read doubleAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- double
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- double
- Log switch. 0: Off; 1: On.
- Is
Remote doubleCommand Execution Analysis - Whether remote command detection is enabled.
- Is
Script doubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- Is
Sql doubleInjection Analysis - Whether to enable SQL injection analysis.
- Is
Template doubleEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- Is
Upload doubleAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- Is
Webshell doubleBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- Log
Index doubleType - CLS index type. (0 = full-text index; 1 = key-value index).
- Log
Region string - Log region.
- Log
Set string - CLS log set/ES cluster ID.
- Log
Source string - Log source: CLS or ES.
- Log
Topic stringId - Log topic ID.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Service
Name string - Application name.
- Snapshot
Timeout double - Timeout threshold for thread profiling.
- Trace
Squash bool - Whether link compression is enabled.
- Url
Auto boolConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- Url
Convergence string - Regex rules for URL convergence, separated by commas.
- Url
Convergence doubleSwitch - URL convergence switch. 0: Off; 1: On.
- Url
Convergence doubleThreshold - URL convergence threshold.
- Url
Exclude string - Regex rules for URL exclusion, separated by commas.
- Url
Long doubleSegment Threshold - Convergence threshold for URL long segments.
- Url
Number doubleSegment Threshold - Convergence threshold for URL numerical segments.
- Agent
Enable bool - Whether agent is enabled.
- Agent
Operation ApmConfig View Application Config Agent Operation Config View Args - Related configurations of the probe APIs.
- Apm
Application stringConfig Id - ID of the resource.
- Dashboard
Topic stringId - dashboard ID.
- Disable
Cpu float64Used - Specifies the CPU threshold for probe fusing.
- Disable
Memory float64Used - Specifies the memory threshold for probe fusing.
- Enable
Dashboard boolConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- Enable
Log boolConfig - Whether to enable application log configuration.
- Enable
Security boolConfig - Whether to enable application security configuration.
- Enable
Snapshot bool - Whether thread profiling is enabled.
- Error
Code stringFilter - Error code filtering, separated by commas.
- Event
Enable bool - Switch for enabling application diagnosis.
- Exception
Filter string - Regex rules for exception filtering, separated by commas.
- Ignore
Operation stringName - APIs to be filtered.
- Instance
Id string - Business system ID.
- Instrument
Lists []ApmApplication Config Instrument List Args - Component List.
- Is
Delete float64Any File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- Is
Deserialization float64Analysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- Is
Directory float64Traversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- Is
Expression float64Injection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- Is
Include float64Any File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- Is
Instrumentation float64Vulnerability Scan - Whether to enable detection of component vulnerability.
- Is
Jndi float64Injection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- Is
Jni float64Injection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- Is
Memory float64Hijacking Analysis - Whether to enable detection of Java webshell.
- Is
Read float64Any File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- float64
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- float64
- Log switch. 0: Off; 1: On.
- Is
Remote float64Command Execution Analysis - Whether remote command detection is enabled.
- Is
Script float64Engine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- Is
Sql float64Injection Analysis - Whether to enable SQL injection analysis.
- Is
Template float64Engine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- Is
Upload float64Any File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- Is
Webshell float64Backdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- Log
Index float64Type - CLS index type. (0 = full-text index; 1 = key-value index).
- Log
Region string - Log region.
- Log
Set string - CLS log set/ES cluster ID.
- Log
Source string - Log source: CLS or ES.
- Log
Topic stringId - Log topic ID.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Service
Name string - Application name.
- Snapshot
Timeout float64 - Timeout threshold for thread profiling.
- Trace
Squash bool - Whether link compression is enabled.
- Url
Auto boolConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- Url
Convergence string - Regex rules for URL convergence, separated by commas.
- Url
Convergence float64Switch - URL convergence switch. 0: Off; 1: On.
- Url
Convergence float64Threshold - URL convergence threshold.
- Url
Exclude string - Regex rules for URL exclusion, separated by commas.
- Url
Long float64Segment Threshold - Convergence threshold for URL long segments.
- Url
Number float64Segment Threshold - Convergence threshold for URL numerical segments.
- agent
Enable Boolean - Whether agent is enabled.
- agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- apm
Application StringConfig Id - ID of the resource.
- dashboard
Topic StringId - dashboard ID.
- disable
Cpu DoubleUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory DoubleUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard BooleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log BooleanConfig - Whether to enable application log configuration.
- enable
Security BooleanConfig - Whether to enable application security configuration.
- enable
Snapshot Boolean - Whether thread profiling is enabled.
- error
Code StringFilter - Error code filtering, separated by commas.
- event
Enable Boolean - Switch for enabling application diagnosis.
- exception
Filter String - Regex rules for exception filtering, separated by commas.
- ignore
Operation StringName - APIs to be filtered.
- instance
Id String - Business system ID.
- instrument
Lists List<ApmApplication Config Instrument List> - Component List.
- is
Delete DoubleAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization DoubleAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory DoubleTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression DoubleInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include DoubleAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation DoubleVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi DoubleInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni DoubleInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory DoubleHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read DoubleAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- Double
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- Double
- Log switch. 0: Off; 1: On.
- is
Remote DoubleCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script DoubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql DoubleInjection Analysis - Whether to enable SQL injection analysis.
- is
Template DoubleEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload DoubleAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell DoubleBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index DoubleType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region String - Log region.
- log
Set String - CLS log set/ES cluster ID.
- log
Source String - Log source: CLS or ES.
- log
Topic StringId - Log topic ID.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- service
Name String - Application name.
- snapshot
Timeout Double - Timeout threshold for thread profiling.
- trace
Squash Boolean - Whether link compression is enabled.
- url
Auto BooleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence String - Regex rules for URL convergence, separated by commas.
- url
Convergence DoubleSwitch - URL convergence switch. 0: Off; 1: On.
- url
Convergence DoubleThreshold - URL convergence threshold.
- url
Exclude String - Regex rules for URL exclusion, separated by commas.
- url
Long DoubleSegment Threshold - Convergence threshold for URL long segments.
- url
Number DoubleSegment Threshold - Convergence threshold for URL numerical segments.
- agent
Enable boolean - Whether agent is enabled.
- agent
Operation ApmConfig View Application Config Agent Operation Config View - Related configurations of the probe APIs.
- apm
Application stringConfig Id - ID of the resource.
- dashboard
Topic stringId - dashboard ID.
- disable
Cpu numberUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory numberUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard booleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log booleanConfig - Whether to enable application log configuration.
- enable
Security booleanConfig - Whether to enable application security configuration.
- enable
Snapshot boolean - Whether thread profiling is enabled.
- error
Code stringFilter - Error code filtering, separated by commas.
- event
Enable boolean - Switch for enabling application diagnosis.
- exception
Filter string - Regex rules for exception filtering, separated by commas.
- ignore
Operation stringName - APIs to be filtered.
- instance
Id string - Business system ID.
- instrument
Lists ApmApplication Config Instrument List[] - Component List.
- is
Delete numberAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization numberAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory numberTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression numberInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include numberAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation numberVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi numberInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni numberInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory numberHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read numberAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- number
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- number
- Log switch. 0: Off; 1: On.
- is
Remote numberCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script numberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql numberInjection Analysis - Whether to enable SQL injection analysis.
- is
Template numberEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload numberAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell numberBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index numberType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region string - Log region.
- log
Set string - CLS log set/ES cluster ID.
- log
Source string - Log source: CLS or ES.
- log
Topic stringId - Log topic ID.
- log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- service
Name string - Application name.
- snapshot
Timeout number - Timeout threshold for thread profiling.
- trace
Squash boolean - Whether link compression is enabled.
- url
Auto booleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence string - Regex rules for URL convergence, separated by commas.
- url
Convergence numberSwitch - URL convergence switch. 0: Off; 1: On.
- url
Convergence numberThreshold - URL convergence threshold.
- url
Exclude string - Regex rules for URL exclusion, separated by commas.
- url
Long numberSegment Threshold - Convergence threshold for URL long segments.
- url
Number numberSegment Threshold - Convergence threshold for URL numerical segments.
- agent_
enable bool - Whether agent is enabled.
- agent_
operation_ Apmconfig_ view Application Config Agent Operation Config View Args - Related configurations of the probe APIs.
- apm_
application_ strconfig_ id - ID of the resource.
- dashboard_
topic_ strid - dashboard ID.
- disable_
cpu_ floatused - Specifies the CPU threshold for probe fusing.
- disable_
memory_ floatused - Specifies the memory threshold for probe fusing.
- enable_
dashboard_ boolconfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable_
log_ boolconfig - Whether to enable application log configuration.
- enable_
security_ boolconfig - Whether to enable application security configuration.
- enable_
snapshot bool - Whether thread profiling is enabled.
- error_
code_ strfilter - Error code filtering, separated by commas.
- event_
enable bool - Switch for enabling application diagnosis.
- exception_
filter str - Regex rules for exception filtering, separated by commas.
- ignore_
operation_ strname - APIs to be filtered.
- instance_
id str - Business system ID.
- instrument_
lists Sequence[ApmApplication Config Instrument List Args] - Component List.
- is_
delete_ floatany_ file_ analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is_
deserialization_ floatanalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is_
directory_ floattraversal_ analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is_
expression_ floatinjection_ analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is_
include_ floatany_ file_ analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is_
instrumentation_ floatvulnerability_ scan - Whether to enable detection of component vulnerability.
- is_
jndi_ floatinjection_ analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is_
jni_ floatinjection_ analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is_
memory_ floathijacking_ analysis - Whether to enable detection of Java webshell.
- is_
read_ floatany_ file_ analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- float
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- float
- Log switch. 0: Off; 1: On.
- is_
remote_ floatcommand_ execution_ analysis - Whether remote command detection is enabled.
- is_
script_ floatengine_ injection_ analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is_
sql_ floatinjection_ analysis - Whether to enable SQL injection analysis.
- is_
template_ floatengine_ injection_ analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is_
upload_ floatany_ file_ analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is_
webshell_ floatbackdoor_ analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log_
index_ floattype - CLS index type. (0 = full-text index; 1 = key-value index).
- log_
region str - Log region.
- log_
set str - CLS log set/ES cluster ID.
- log_
source str - Log source: CLS or ES.
- log_
topic_ strid - Log topic ID.
- log_
trace_ strid_ key - Index key of traceId. It is valid when the CLS index type is key-value index.
- service_
name str - Application name.
- snapshot_
timeout float - Timeout threshold for thread profiling.
- trace_
squash bool - Whether link compression is enabled.
- url_
auto_ boolconvergence_ enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url_
convergence str - Regex rules for URL convergence, separated by commas.
- url_
convergence_ floatswitch - URL convergence switch. 0: Off; 1: On.
- url_
convergence_ floatthreshold - URL convergence threshold.
- url_
exclude str - Regex rules for URL exclusion, separated by commas.
- url_
long_ floatsegment_ threshold - Convergence threshold for URL long segments.
- url_
number_ floatsegment_ threshold - Convergence threshold for URL numerical segments.
- agent
Enable Boolean - Whether agent is enabled.
- agent
Operation Property MapConfig View - Related configurations of the probe APIs.
- apm
Application StringConfig Id - ID of the resource.
- dashboard
Topic StringId - dashboard ID.
- disable
Cpu NumberUsed - Specifies the CPU threshold for probe fusing.
- disable
Memory NumberUsed - Specifies the memory threshold for probe fusing.
- enable
Dashboard BooleanConfig - Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
- enable
Log BooleanConfig - Whether to enable application log configuration.
- enable
Security BooleanConfig - Whether to enable application security configuration.
- enable
Snapshot Boolean - Whether thread profiling is enabled.
- error
Code StringFilter - Error code filtering, separated by commas.
- event
Enable Boolean - Switch for enabling application diagnosis.
- exception
Filter String - Regex rules for exception filtering, separated by commas.
- ignore
Operation StringName - APIs to be filtered.
- instance
Id String - Business system ID.
- instrument
Lists List<Property Map> - Component List.
- is
Delete NumberAny File Analysis - Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.).
- is
Deserialization NumberAnalysis - Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
- is
Directory NumberTraversal Analysis - Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
- is
Expression NumberInjection Analysis - Whether to enable expression injection detection. (0 - disabled; 1 - enabled.).
- is
Include NumberAny File Analysis - Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.).
- is
Instrumentation NumberVulnerability Scan - Whether to enable detection of component vulnerability.
- is
Jndi NumberInjection Analysis - Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.).
- is
Jni NumberInjection Analysis - Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
- is
Memory NumberHijacking Analysis - Whether to enable detection of Java webshell.
- is
Read NumberAny File Analysis - Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.).
- Number
- Whether to associate with Dashboard. 0: disabled; 1: enabled.
- Number
- Log switch. 0: Off; 1: On.
- is
Remote NumberCommand Execution Analysis - Whether remote command detection is enabled.
- is
Script NumberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.).
- is
Sql NumberInjection Analysis - Whether to enable SQL injection analysis.
- is
Template NumberEngine Injection Analysis - Whether to enable template engine injection detection. (0: disabled; 1: enabled.).
- is
Upload NumberAny File Analysis - Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.).
- is
Webshell NumberBackdoor Analysis - Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
- log
Index NumberType - CLS index type. (0 = full-text index; 1 = key-value index).
- log
Region String - Log region.
- log
Set String - CLS log set/ES cluster ID.
- log
Source String - Log source: CLS or ES.
- log
Topic StringId - Log topic ID.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- service
Name String - Application name.
- snapshot
Timeout Number - Timeout threshold for thread profiling.
- trace
Squash Boolean - Whether link compression is enabled.
- url
Auto BooleanConvergence Enable - Automatic convergence switch for APIs. 0: disabled | 1: enabled.
- url
Convergence String - Regex rules for URL convergence, separated by commas.
- url
Convergence NumberSwitch - URL convergence switch. 0: Off; 1: On.
- url
Convergence NumberThreshold - URL convergence threshold.
- url
Exclude String - Regex rules for URL exclusion, separated by commas.
- url
Long NumberSegment Threshold - Convergence threshold for URL long segments.
- url
Number NumberSegment Threshold - Convergence threshold for URL numerical segments.
Supporting Types
ApmApplicationConfigAgentOperationConfigView, ApmApplicationConfigAgentOperationConfigViewArgs
- Ignore
Operation string - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- Retention
Operation string - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- Retention
Valid bool - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
- Ignore
Operation string - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- Retention
Operation string - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- Retention
Valid bool - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
- ignore
Operation String - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Operation String - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Valid Boolean - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
- ignore
Operation string - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Operation string - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Valid boolean - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
- ignore_
operation str - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention_
operation str - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention_
valid bool - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
- ignore
Operation String - Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Operation String - Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection. Note: This field may return null, indicating that no valid values can be obtained.
- retention
Valid Boolean - Whether allowlist configuration is enabled for the current API. Note: This field may return null, indicating that no valid values can be obtained.
ApmApplicationConfigInstrumentList, ApmApplicationConfigInstrumentListArgs
Import
APM application config can be imported using the instanceId#serviceName, e.g.
$ pulumi import tencentcloud:index/apmApplicationConfig:ApmApplicationConfig example apm-jPr5iQL77#java-order-serive
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
