published on Friday, Mar 6, 2026 by tencentcloudstack
published on Friday, Mar 6, 2026 by tencentcloudstack
Provides a resource to create a APM instance
NOTE: To use the field
pay_mode, you need to contact official customer service to join the whitelist.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApmInstance("example", {
name: "tf-example",
description: "desc.",
traceDuration: 7,
spanDailyCounters: 0,
tags: {
createdBy: "Terraform",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApmInstance("example",
name="tf-example",
description="desc.",
trace_duration=7,
span_daily_counters=0,
tags={
"createdBy": "Terraform",
})
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.NewApmInstance(ctx, "example", &tencentcloud.ApmInstanceArgs{
Name: pulumi.String("tf-example"),
Description: pulumi.String("desc."),
TraceDuration: pulumi.Float64(7),
SpanDailyCounters: pulumi.Float64(0),
Tags: pulumi.StringMap{
"createdBy": pulumi.String("Terraform"),
},
})
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.ApmInstance("example", new()
{
Name = "tf-example",
Description = "desc.",
TraceDuration = 7,
SpanDailyCounters = 0,
Tags =
{
{ "createdBy", "Terraform" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApmInstance;
import com.pulumi.tencentcloud.ApmInstanceArgs;
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 ApmInstance("example", ApmInstanceArgs.builder()
.name("tf-example")
.description("desc.")
.traceDuration(7.0)
.spanDailyCounters(0.0)
.tags(Map.of("createdBy", "Terraform"))
.build());
}
}
resources:
example:
type: tencentcloud:ApmInstance
properties:
name: tf-example
description: desc.
traceDuration: 7
spanDailyCounters: 0
tags:
createdBy: Terraform
Create ApmInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApmInstance(name: string, args?: ApmInstanceArgs, opts?: CustomResourceOptions);@overload
def ApmInstance(resource_name: str,
args: Optional[ApmInstanceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ApmInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
apm_instance_id: Optional[str] = None,
custom_show_tags: Optional[Sequence[str]] = None,
dashboard_topic_id: Optional[str] = None,
description: Optional[str] = None,
err_rate_threshold: Optional[float] = None,
error_sample: Optional[float] = None,
free: Optional[float] = 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,
name: Optional[str] = None,
open_billing: Optional[bool] = None,
pay_mode: Optional[float] = None,
response_duration_warning_threshold: Optional[float] = None,
sample_rate: Optional[float] = None,
slow_request_saved_threshold: Optional[float] = None,
span_daily_counters: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
trace_duration: Optional[float] = None,
url_long_segment_threshold: Optional[float] = None,
url_number_segment_threshold: Optional[float] = None)func NewApmInstance(ctx *Context, name string, args *ApmInstanceArgs, opts ...ResourceOption) (*ApmInstance, error)public ApmInstance(string name, ApmInstanceArgs? args = null, CustomResourceOptions? opts = null)
public ApmInstance(String name, ApmInstanceArgs args)
public ApmInstance(String name, ApmInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:ApmInstance
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 ApmInstanceArgs
- 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 ApmInstanceArgs
- 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 ApmInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApmInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApmInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApmInstance 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 ApmInstance resource accepts the following input properties:
- Apm
Instance stringId - ID of the resource.
- List<string>
- List of custom display tags.
- Dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- Description string
- Description Of Instance.
- Err
Rate doubleThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- Error
Sample double - Error sampling switch (0: off, 1: on).
- Free double
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- double
- Log feature switch (0: off; 1: on).
- Is
Remote doubleCommand Execution Analysis - Whether to enable detection of the remote command attack.
- Is
Script doubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- Is
Sql doubleInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- Log
Set string - Logset, which takes effect only after the log feature is enabled.
- Log
Source string - Log source, which takes effect only after the log feature is enabled.
- Log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Name string
- Name Of Instance.
- Open
Billing bool - Billing switch.
- Pay
Mode double - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - Response
Duration doubleWarning Threshold - Response time warning line.
- Sample
Rate double - Sampling rate (unit: %).
- Slow
Request doubleSaved Threshold - Sampling slow call saving threshold (unit: ms).
- Span
Daily doubleCounters - Quota Of Instance Reporting.
- Dictionary<string, string>
- Tag description list.
- Trace
Duration double - Duration Of Trace Data.
- Url
Long doubleSegment Threshold - Convergence threshold for URL long segments.
- Url
Number doubleSegment Threshold - Convergence threshold for URL numerical segments.
- Apm
Instance stringId - ID of the resource.
- []string
- List of custom display tags.
- Dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- Description string
- Description Of Instance.
- Err
Rate float64Threshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- Error
Sample float64 - Error sampling switch (0: off, 1: on).
- Free float64
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- float64
- Log feature switch (0: off; 1: on).
- Is
Remote float64Command Execution Analysis - Whether to enable detection of the remote command attack.
- Is
Script float64Engine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- Is
Sql float64Injection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- Log
Set string - Logset, which takes effect only after the log feature is enabled.
- Log
Source string - Log source, which takes effect only after the log feature is enabled.
- Log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Name string
- Name Of Instance.
- Open
Billing bool - Billing switch.
- Pay
Mode float64 - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - Response
Duration float64Warning Threshold - Response time warning line.
- Sample
Rate float64 - Sampling rate (unit: %).
- Slow
Request float64Saved Threshold - Sampling slow call saving threshold (unit: ms).
- Span
Daily float64Counters - Quota Of Instance Reporting.
- map[string]string
- Tag description list.
- Trace
Duration float64 - Duration Of Trace Data.
- Url
Long float64Segment Threshold - Convergence threshold for URL long segments.
- Url
Number float64Segment Threshold - Convergence threshold for URL numerical segments.
- apm
Instance StringId - ID of the resource.
- List<String>
- List of custom display tags.
- dashboard
Topic StringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description String
- Description Of Instance.
- err
Rate DoubleThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample Double - Error sampling switch (0: off, 1: on).
- free Double
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- Double
- Log feature switch (0: off; 1: on).
- is
Remote DoubleCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script DoubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql DoubleInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set String - Logset, which takes effect only after the log feature is enabled.
- log
Source String - Log source, which takes effect only after the log feature is enabled.
- log
Topic StringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name String
- Name Of Instance.
- open
Billing Boolean - Billing switch.
- pay
Mode Double - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - response
Duration DoubleWarning Threshold - Response time warning line.
- sample
Rate Double - Sampling rate (unit: %).
- slow
Request DoubleSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily DoubleCounters - Quota Of Instance Reporting.
- Map<String,String>
- Tag description list.
- trace
Duration Double - Duration Of Trace Data.
- url
Long DoubleSegment Threshold - Convergence threshold for URL long segments.
- url
Number DoubleSegment Threshold - Convergence threshold for URL numerical segments.
- apm
Instance stringId - ID of the resource.
- string[]
- List of custom display tags.
- dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description string
- Description Of Instance.
- err
Rate numberThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample number - Error sampling switch (0: off, 1: on).
- free number
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- number
- Log feature switch (0: off; 1: on).
- is
Remote numberCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script numberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql numberInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set string - Logset, which takes effect only after the log feature is enabled.
- log
Source string - Log source, which takes effect only after the log feature is enabled.
- log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name string
- Name Of Instance.
- open
Billing boolean - Billing switch.
- pay
Mode number - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - response
Duration numberWarning Threshold - Response time warning line.
- sample
Rate number - Sampling rate (unit: %).
- slow
Request numberSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily numberCounters - Quota Of Instance Reporting.
- {[key: string]: string}
- Tag description list.
- trace
Duration number - Duration Of Trace Data.
- url
Long numberSegment Threshold - Convergence threshold for URL long segments.
- url
Number numberSegment Threshold - Convergence threshold for URL numerical segments.
- apm_
instance_ strid - ID of the resource.
- Sequence[str]
- List of custom display tags.
- dashboard_
topic_ strid - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description str
- Description Of Instance.
- err_
rate_ floatthreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error_
sample float - Error sampling switch (0: off, 1: on).
- free float
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- float
- Log feature switch (0: off; 1: on).
- is_
remote_ floatcommand_ execution_ analysis - Whether to enable detection of the remote command attack.
- is_
script_ floatengine_ injection_ analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is_
sql_ floatinjection_ analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log_
set str - Logset, which takes effect only after the log feature is enabled.
- log_
source str - Log source, which takes effect only after the log feature is enabled.
- log_
topic_ strid - CLS log topic id, which takes effect after the log feature is enabled.
- log_
trace_ strid_ key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name str
- Name Of Instance.
- open_
billing bool - Billing switch.
- pay_
mode float - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - response_
duration_ floatwarning_ threshold - Response time warning line.
- sample_
rate float - Sampling rate (unit: %).
- slow_
request_ floatsaved_ threshold - Sampling slow call saving threshold (unit: ms).
- span_
daily_ floatcounters - Quota Of Instance Reporting.
- Mapping[str, str]
- Tag description list.
- trace_
duration float - Duration Of Trace Data.
- url_
long_ floatsegment_ threshold - Convergence threshold for URL long segments.
- url_
number_ floatsegment_ threshold - Convergence threshold for URL numerical segments.
- apm
Instance StringId - ID of the resource.
- List<String>
- List of custom display tags.
- dashboard
Topic StringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description String
- Description Of Instance.
- err
Rate NumberThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample Number - Error sampling switch (0: off, 1: on).
- free Number
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- Number
- Log feature switch (0: off; 1: on).
- is
Remote NumberCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script NumberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql NumberInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set String - Logset, which takes effect only after the log feature is enabled.
- log
Source String - Log source, which takes effect only after the log feature is enabled.
- log
Topic StringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name String
- Name Of Instance.
- open
Billing Boolean - Billing switch.
- pay
Mode Number - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - response
Duration NumberWarning Threshold - Response time warning line.
- sample
Rate Number - Sampling rate (unit: %).
- slow
Request NumberSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily NumberCounters - Quota Of Instance Reporting.
- Map<String>
- Tag description list.
- trace
Duration Number - Duration Of Trace Data.
- 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 ApmInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - APM instance ID.
- Public
Collector stringUrl - External Network Reporting Address.
- Token string
- Business system authentication token.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - APM instance ID.
- Public
Collector stringUrl - External Network Reporting Address.
- Token string
- Business system authentication token.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - APM instance ID.
- public
Collector StringUrl - External Network Reporting Address.
- token String
- Business system authentication token.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - APM instance ID.
- public
Collector stringUrl - External Network Reporting Address.
- token string
- Business system authentication token.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - APM instance ID.
- public_
collector_ strurl - External Network Reporting Address.
- token str
- Business system authentication token.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - APM instance ID.
- public
Collector StringUrl - External Network Reporting Address.
- token String
- Business system authentication token.
Look up Existing ApmInstance Resource
Get an existing ApmInstance 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?: ApmInstanceState, opts?: CustomResourceOptions): ApmInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apm_instance_id: Optional[str] = None,
custom_show_tags: Optional[Sequence[str]] = None,
dashboard_topic_id: Optional[str] = None,
description: Optional[str] = None,
err_rate_threshold: Optional[float] = None,
error_sample: Optional[float] = None,
free: Optional[float] = None,
instance_id: Optional[str] = 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,
name: Optional[str] = None,
open_billing: Optional[bool] = None,
pay_mode: Optional[float] = None,
public_collector_url: Optional[str] = None,
response_duration_warning_threshold: Optional[float] = None,
sample_rate: Optional[float] = None,
slow_request_saved_threshold: Optional[float] = None,
span_daily_counters: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
token: Optional[str] = None,
trace_duration: Optional[float] = None,
url_long_segment_threshold: Optional[float] = None,
url_number_segment_threshold: Optional[float] = None) -> ApmInstancefunc GetApmInstance(ctx *Context, name string, id IDInput, state *ApmInstanceState, opts ...ResourceOption) (*ApmInstance, error)public static ApmInstance Get(string name, Input<string> id, ApmInstanceState? state, CustomResourceOptions? opts = null)public static ApmInstance get(String name, Output<String> id, ApmInstanceState state, CustomResourceOptions options)resources: _: type: tencentcloud:ApmInstance 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.
- Apm
Instance stringId - ID of the resource.
- List<string>
- List of custom display tags.
- Dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- Description string
- Description Of Instance.
- Err
Rate doubleThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- Error
Sample double - Error sampling switch (0: off, 1: on).
- Free double
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- Instance
Id string - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- double
- Log feature switch (0: off; 1: on).
- Is
Remote doubleCommand Execution Analysis - Whether to enable detection of the remote command attack.
- Is
Script doubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- Is
Sql doubleInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- Log
Set string - Logset, which takes effect only after the log feature is enabled.
- Log
Source string - Log source, which takes effect only after the log feature is enabled.
- Log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Name string
- Name Of Instance.
- Open
Billing bool - Billing switch.
- Pay
Mode double - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - Public
Collector stringUrl - External Network Reporting Address.
- Response
Duration doubleWarning Threshold - Response time warning line.
- Sample
Rate double - Sampling rate (unit: %).
- Slow
Request doubleSaved Threshold - Sampling slow call saving threshold (unit: ms).
- Span
Daily doubleCounters - Quota Of Instance Reporting.
- Dictionary<string, string>
- Tag description list.
- Token string
- Business system authentication token.
- Trace
Duration double - Duration Of Trace Data.
- Url
Long doubleSegment Threshold - Convergence threshold for URL long segments.
- Url
Number doubleSegment Threshold - Convergence threshold for URL numerical segments.
- Apm
Instance stringId - ID of the resource.
- []string
- List of custom display tags.
- Dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- Description string
- Description Of Instance.
- Err
Rate float64Threshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- Error
Sample float64 - Error sampling switch (0: off, 1: on).
- Free float64
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- Instance
Id string - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- float64
- Log feature switch (0: off; 1: on).
- Is
Remote float64Command Execution Analysis - Whether to enable detection of the remote command attack.
- Is
Script float64Engine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- Is
Sql float64Injection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- Log
Set string - Logset, which takes effect only after the log feature is enabled.
- Log
Source string - Log source, which takes effect only after the log feature is enabled.
- Log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- Log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- Name string
- Name Of Instance.
- Open
Billing bool - Billing switch.
- Pay
Mode float64 - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - Public
Collector stringUrl - External Network Reporting Address.
- Response
Duration float64Warning Threshold - Response time warning line.
- Sample
Rate float64 - Sampling rate (unit: %).
- Slow
Request float64Saved Threshold - Sampling slow call saving threshold (unit: ms).
- Span
Daily float64Counters - Quota Of Instance Reporting.
- map[string]string
- Tag description list.
- Token string
- Business system authentication token.
- Trace
Duration float64 - Duration Of Trace Data.
- Url
Long float64Segment Threshold - Convergence threshold for URL long segments.
- Url
Number float64Segment Threshold - Convergence threshold for URL numerical segments.
- apm
Instance StringId - ID of the resource.
- List<String>
- List of custom display tags.
- dashboard
Topic StringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description String
- Description Of Instance.
- err
Rate DoubleThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample Double - Error sampling switch (0: off, 1: on).
- free Double
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- instance
Id String - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- Double
- Log feature switch (0: off; 1: on).
- is
Remote DoubleCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script DoubleEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql DoubleInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set String - Logset, which takes effect only after the log feature is enabled.
- log
Source String - Log source, which takes effect only after the log feature is enabled.
- log
Topic StringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name String
- Name Of Instance.
- open
Billing Boolean - Billing switch.
- pay
Mode Double - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - public
Collector StringUrl - External Network Reporting Address.
- response
Duration DoubleWarning Threshold - Response time warning line.
- sample
Rate Double - Sampling rate (unit: %).
- slow
Request DoubleSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily DoubleCounters - Quota Of Instance Reporting.
- Map<String,String>
- Tag description list.
- token String
- Business system authentication token.
- trace
Duration Double - Duration Of Trace Data.
- url
Long DoubleSegment Threshold - Convergence threshold for URL long segments.
- url
Number DoubleSegment Threshold - Convergence threshold for URL numerical segments.
- apm
Instance stringId - ID of the resource.
- string[]
- List of custom display tags.
- dashboard
Topic stringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description string
- Description Of Instance.
- err
Rate numberThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample number - Error sampling switch (0: off, 1: on).
- free number
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- instance
Id string - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- number
- Log feature switch (0: off; 1: on).
- is
Remote numberCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script numberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql numberInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set string - Logset, which takes effect only after the log feature is enabled.
- log
Source string - Log source, which takes effect only after the log feature is enabled.
- log
Topic stringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace stringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name string
- Name Of Instance.
- open
Billing boolean - Billing switch.
- pay
Mode number - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - public
Collector stringUrl - External Network Reporting Address.
- response
Duration numberWarning Threshold - Response time warning line.
- sample
Rate number - Sampling rate (unit: %).
- slow
Request numberSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily numberCounters - Quota Of Instance Reporting.
- {[key: string]: string}
- Tag description list.
- token string
- Business system authentication token.
- trace
Duration number - Duration Of Trace Data.
- url
Long numberSegment Threshold - Convergence threshold for URL long segments.
- url
Number numberSegment Threshold - Convergence threshold for URL numerical segments.
- apm_
instance_ strid - ID of the resource.
- Sequence[str]
- List of custom display tags.
- dashboard_
topic_ strid - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description str
- Description Of Instance.
- err_
rate_ floatthreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error_
sample float - Error sampling switch (0: off, 1: on).
- free float
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- instance_
id str - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- float
- Log feature switch (0: off; 1: on).
- is_
remote_ floatcommand_ execution_ analysis - Whether to enable detection of the remote command attack.
- is_
script_ floatengine_ injection_ analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is_
sql_ floatinjection_ analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log_
set str - Logset, which takes effect only after the log feature is enabled.
- log_
source str - Log source, which takes effect only after the log feature is enabled.
- log_
topic_ strid - CLS log topic id, which takes effect after the log feature is enabled.
- log_
trace_ strid_ key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name str
- Name Of Instance.
- open_
billing bool - Billing switch.
- pay_
mode float - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - public_
collector_ strurl - External Network Reporting Address.
- response_
duration_ floatwarning_ threshold - Response time warning line.
- sample_
rate float - Sampling rate (unit: %).
- slow_
request_ floatsaved_ threshold - Sampling slow call saving threshold (unit: ms).
- span_
daily_ floatcounters - Quota Of Instance Reporting.
- Mapping[str, str]
- Tag description list.
- token str
- Business system authentication token.
- trace_
duration float - Duration Of Trace Data.
- url_
long_ floatsegment_ threshold - Convergence threshold for URL long segments.
- url_
number_ floatsegment_ threshold - Convergence threshold for URL numerical segments.
- apm
Instance StringId - ID of the resource.
- List<String>
- List of custom display tags.
- dashboard
Topic StringId - Associated dashboard id, which takes effect after the associated dashboard is enabled.
- description String
- Description Of Instance.
- err
Rate NumberThreshold - Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
- error
Sample Number - Error sampling switch (0: off, 1: on).
- free Number
- Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0.
- instance
Id String - APM instance ID.
- 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 component vulnerability detection (0 = no, 1 = yes).
- 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 the dashboard (0 = off, 1 = on).
- Number
- Log feature switch (0: off; 1: on).
- is
Remote NumberCommand Execution Analysis - Whether to enable detection of the remote command attack.
- is
Script NumberEngine Injection Analysis - Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
- is
Sql NumberInjection Analysis - SQL injection detection switch (0: off, 1: on).
- 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, which takes effect after the log feature is enabled.
- log
Set String - Logset, which takes effect only after the log feature is enabled.
- log
Source String - Log source, which takes effect only after the log feature is enabled.
- log
Topic StringId - CLS log topic id, which takes effect after the log feature is enabled.
- log
Trace StringId Key - Index key of traceId. It is valid when the CLS index type is key-value index.
- name String
- Name Of Instance.
- open
Billing Boolean - Billing switch.
- pay
Mode Number - Modify the billing mode:
1means prepaid,0means pay-as-you-go, the default value is0. - public
Collector StringUrl - External Network Reporting Address.
- response
Duration NumberWarning Threshold - Response time warning line.
- sample
Rate Number - Sampling rate (unit: %).
- slow
Request NumberSaved Threshold - Sampling slow call saving threshold (unit: ms).
- span
Daily NumberCounters - Quota Of Instance Reporting.
- Map<String>
- Tag description list.
- token String
- Business system authentication token.
- trace
Duration Number - Duration Of Trace Data.
- url
Long NumberSegment Threshold - Convergence threshold for URL long segments.
- url
Number NumberSegment Threshold - Convergence threshold for URL numerical segments.
Import
APM instance can be imported using the id, e.g.
$ pulumi import tencentcloud:index/apmInstance:ApmInstance example apm-IMVrxXl1K
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.
published on Friday, Mar 6, 2026 by tencentcloudstack
