1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. ApmInstance
Viewing docs for tencentcloud 1.82.73
published on Friday, Mar 6, 2026 by tencentcloudstack
tencentcloud logo
Viewing docs for tencentcloud 1.82.73
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:

    ApmInstanceId string
    ID of the resource.
    CustomShowTags List<string>
    List of custom display tags.
    DashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    Description string
    Description Of Instance.
    ErrRateThreshold double
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    ErrorSample 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.
    IsDeleteAnyFileAnalysis double
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    IsDeserializationAnalysis double
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    IsDirectoryTraversalAnalysis double
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    IsExpressionInjectionAnalysis double
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    IsIncludeAnyFileAnalysis double
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    IsInstrumentationVulnerabilityScan double
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    IsJndiInjectionAnalysis double
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    IsJniInjectionAnalysis double
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    IsMemoryHijackingAnalysis double
    Whether to enable detection of Java webshell.
    IsReadAnyFileAnalysis double
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    IsRelatedDashboard double
    Whether to associate the dashboard (0 = off, 1 = on).
    IsRelatedLog double
    Log feature switch (0: off; 1: on).
    IsRemoteCommandExecutionAnalysis double
    Whether to enable detection of the remote command attack.
    IsScriptEngineInjectionAnalysis double
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    IsSqlInjectionAnalysis double
    SQL injection detection switch (0: off, 1: on).
    IsTemplateEngineInjectionAnalysis double
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    IsUploadAnyFileAnalysis double
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    IsWebshellBackdoorAnalysis double
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    LogIndexType double
    CLS index type. (0 = full-text index; 1 = key-value index).
    LogRegion string
    Log region, which takes effect after the log feature is enabled.
    LogSet string
    Logset, which takes effect only after the log feature is enabled.
    LogSource string
    Log source, which takes effect only after the log feature is enabled.
    LogTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    LogTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    Name string
    Name Of Instance.
    OpenBilling bool
    Billing switch.
    PayMode double
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    ResponseDurationWarningThreshold double
    Response time warning line.
    SampleRate double
    Sampling rate (unit: %).
    SlowRequestSavedThreshold double
    Sampling slow call saving threshold (unit: ms).
    SpanDailyCounters double
    Quota Of Instance Reporting.
    Tags Dictionary<string, string>
    Tag description list.
    TraceDuration double
    Duration Of Trace Data.
    UrlLongSegmentThreshold double
    Convergence threshold for URL long segments.
    UrlNumberSegmentThreshold double
    Convergence threshold for URL numerical segments.
    ApmInstanceId string
    ID of the resource.
    CustomShowTags []string
    List of custom display tags.
    DashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    Description string
    Description Of Instance.
    ErrRateThreshold float64
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    ErrorSample 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.
    IsDeleteAnyFileAnalysis float64
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    IsDeserializationAnalysis float64
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    IsDirectoryTraversalAnalysis float64
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    IsExpressionInjectionAnalysis float64
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    IsIncludeAnyFileAnalysis float64
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    IsInstrumentationVulnerabilityScan float64
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    IsJndiInjectionAnalysis float64
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    IsJniInjectionAnalysis float64
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    IsMemoryHijackingAnalysis float64
    Whether to enable detection of Java webshell.
    IsReadAnyFileAnalysis float64
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    IsRelatedDashboard float64
    Whether to associate the dashboard (0 = off, 1 = on).
    IsRelatedLog float64
    Log feature switch (0: off; 1: on).
    IsRemoteCommandExecutionAnalysis float64
    Whether to enable detection of the remote command attack.
    IsScriptEngineInjectionAnalysis float64
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    IsSqlInjectionAnalysis float64
    SQL injection detection switch (0: off, 1: on).
    IsTemplateEngineInjectionAnalysis float64
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    IsUploadAnyFileAnalysis float64
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    IsWebshellBackdoorAnalysis float64
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    LogIndexType float64
    CLS index type. (0 = full-text index; 1 = key-value index).
    LogRegion string
    Log region, which takes effect after the log feature is enabled.
    LogSet string
    Logset, which takes effect only after the log feature is enabled.
    LogSource string
    Log source, which takes effect only after the log feature is enabled.
    LogTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    LogTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    Name string
    Name Of Instance.
    OpenBilling bool
    Billing switch.
    PayMode float64
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    ResponseDurationWarningThreshold float64
    Response time warning line.
    SampleRate float64
    Sampling rate (unit: %).
    SlowRequestSavedThreshold float64
    Sampling slow call saving threshold (unit: ms).
    SpanDailyCounters float64
    Quota Of Instance Reporting.
    Tags map[string]string
    Tag description list.
    TraceDuration float64
    Duration Of Trace Data.
    UrlLongSegmentThreshold float64
    Convergence threshold for URL long segments.
    UrlNumberSegmentThreshold float64
    Convergence threshold for URL numerical segments.
    apmInstanceId String
    ID of the resource.
    customShowTags List<String>
    List of custom display tags.
    dashboardTopicId String
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description String
    Description Of Instance.
    errRateThreshold Double
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    isDeleteAnyFileAnalysis Double
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis Double
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis Double
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis Double
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis Double
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan Double
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis Double
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis Double
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis Double
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis Double
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard Double
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog Double
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis Double
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis Double
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis Double
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis Double
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis Double
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis Double
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType Double
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion String
    Log region, which takes effect after the log feature is enabled.
    logSet String
    Logset, which takes effect only after the log feature is enabled.
    logSource String
    Log source, which takes effect only after the log feature is enabled.
    logTopicId String
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey String
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name String
    Name Of Instance.
    openBilling Boolean
    Billing switch.
    payMode Double
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    responseDurationWarningThreshold Double
    Response time warning line.
    sampleRate Double
    Sampling rate (unit: %).
    slowRequestSavedThreshold Double
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters Double
    Quota Of Instance Reporting.
    tags Map<String,String>
    Tag description list.
    traceDuration Double
    Duration Of Trace Data.
    urlLongSegmentThreshold Double
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold Double
    Convergence threshold for URL numerical segments.
    apmInstanceId string
    ID of the resource.
    customShowTags string[]
    List of custom display tags.
    dashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description string
    Description Of Instance.
    errRateThreshold number
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    isDeleteAnyFileAnalysis number
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis number
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis number
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis number
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis number
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan number
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis number
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis number
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis number
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis number
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard number
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog number
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis number
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis number
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis number
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis number
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis number
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis number
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType number
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion string
    Log region, which takes effect after the log feature is enabled.
    logSet string
    Logset, which takes effect only after the log feature is enabled.
    logSource string
    Log source, which takes effect only after the log feature is enabled.
    logTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name string
    Name Of Instance.
    openBilling boolean
    Billing switch.
    payMode number
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    responseDurationWarningThreshold number
    Response time warning line.
    sampleRate number
    Sampling rate (unit: %).
    slowRequestSavedThreshold number
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters number
    Quota Of Instance Reporting.
    tags {[key: string]: string}
    Tag description list.
    traceDuration number
    Duration Of Trace Data.
    urlLongSegmentThreshold number
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold number
    Convergence threshold for URL numerical segments.
    apm_instance_id str
    ID of the resource.
    custom_show_tags Sequence[str]
    List of custom display tags.
    dashboard_topic_id str
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description str
    Description Of Instance.
    err_rate_threshold float
    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_any_file_analysis float
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    is_deserialization_analysis float
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    is_directory_traversal_analysis float
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    is_expression_injection_analysis float
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    is_include_any_file_analysis float
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    is_instrumentation_vulnerability_scan float
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    is_jndi_injection_analysis float
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    is_jni_injection_analysis float
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    is_memory_hijacking_analysis float
    Whether to enable detection of Java webshell.
    is_read_any_file_analysis float
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    is_related_dashboard float
    Whether to associate the dashboard (0 = off, 1 = on).
    is_related_log float
    Log feature switch (0: off; 1: on).
    is_remote_command_execution_analysis float
    Whether to enable detection of the remote command attack.
    is_script_engine_injection_analysis float
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    is_sql_injection_analysis float
    SQL injection detection switch (0: off, 1: on).
    is_template_engine_injection_analysis float
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    is_upload_any_file_analysis float
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    is_webshell_backdoor_analysis float
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    log_index_type float
    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_id str
    CLS log topic id, which takes effect after the log feature is enabled.
    log_trace_id_key str
    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: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    response_duration_warning_threshold float
    Response time warning line.
    sample_rate float
    Sampling rate (unit: %).
    slow_request_saved_threshold float
    Sampling slow call saving threshold (unit: ms).
    span_daily_counters float
    Quota Of Instance Reporting.
    tags Mapping[str, str]
    Tag description list.
    trace_duration float
    Duration Of Trace Data.
    url_long_segment_threshold float
    Convergence threshold for URL long segments.
    url_number_segment_threshold float
    Convergence threshold for URL numerical segments.
    apmInstanceId String
    ID of the resource.
    customShowTags List<String>
    List of custom display tags.
    dashboardTopicId String
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description String
    Description Of Instance.
    errRateThreshold Number
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    isDeleteAnyFileAnalysis Number
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis Number
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis Number
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis Number
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis Number
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan Number
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis Number
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis Number
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis Number
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis Number
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard Number
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog Number
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis Number
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis Number
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis Number
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis Number
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis Number
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis Number
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType Number
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion String
    Log region, which takes effect after the log feature is enabled.
    logSet String
    Logset, which takes effect only after the log feature is enabled.
    logSource String
    Log source, which takes effect only after the log feature is enabled.
    logTopicId String
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey String
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name String
    Name Of Instance.
    openBilling Boolean
    Billing switch.
    payMode Number
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    responseDurationWarningThreshold Number
    Response time warning line.
    sampleRate Number
    Sampling rate (unit: %).
    slowRequestSavedThreshold Number
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters Number
    Quota Of Instance Reporting.
    tags Map<String>
    Tag description list.
    traceDuration Number
    Duration Of Trace Data.
    urlLongSegmentThreshold Number
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold Number
    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.
    InstanceId string
    APM instance ID.
    PublicCollectorUrl string
    External Network Reporting Address.
    Token string
    Business system authentication token.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    APM instance ID.
    PublicCollectorUrl string
    External Network Reporting Address.
    Token string
    Business system authentication token.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    APM instance ID.
    publicCollectorUrl String
    External Network Reporting Address.
    token String
    Business system authentication token.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    APM instance ID.
    publicCollectorUrl string
    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_url str
    External Network Reporting Address.
    token str
    Business system authentication token.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    APM instance ID.
    publicCollectorUrl String
    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) -> ApmInstance
    func 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.
    The following state arguments are supported:
    ApmInstanceId string
    ID of the resource.
    CustomShowTags List<string>
    List of custom display tags.
    DashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    Description string
    Description Of Instance.
    ErrRateThreshold double
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    ErrorSample 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.
    InstanceId string
    APM instance ID.
    IsDeleteAnyFileAnalysis double
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    IsDeserializationAnalysis double
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    IsDirectoryTraversalAnalysis double
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    IsExpressionInjectionAnalysis double
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    IsIncludeAnyFileAnalysis double
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    IsInstrumentationVulnerabilityScan double
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    IsJndiInjectionAnalysis double
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    IsJniInjectionAnalysis double
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    IsMemoryHijackingAnalysis double
    Whether to enable detection of Java webshell.
    IsReadAnyFileAnalysis double
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    IsRelatedDashboard double
    Whether to associate the dashboard (0 = off, 1 = on).
    IsRelatedLog double
    Log feature switch (0: off; 1: on).
    IsRemoteCommandExecutionAnalysis double
    Whether to enable detection of the remote command attack.
    IsScriptEngineInjectionAnalysis double
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    IsSqlInjectionAnalysis double
    SQL injection detection switch (0: off, 1: on).
    IsTemplateEngineInjectionAnalysis double
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    IsUploadAnyFileAnalysis double
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    IsWebshellBackdoorAnalysis double
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    LogIndexType double
    CLS index type. (0 = full-text index; 1 = key-value index).
    LogRegion string
    Log region, which takes effect after the log feature is enabled.
    LogSet string
    Logset, which takes effect only after the log feature is enabled.
    LogSource string
    Log source, which takes effect only after the log feature is enabled.
    LogTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    LogTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    Name string
    Name Of Instance.
    OpenBilling bool
    Billing switch.
    PayMode double
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    PublicCollectorUrl string
    External Network Reporting Address.
    ResponseDurationWarningThreshold double
    Response time warning line.
    SampleRate double
    Sampling rate (unit: %).
    SlowRequestSavedThreshold double
    Sampling slow call saving threshold (unit: ms).
    SpanDailyCounters double
    Quota Of Instance Reporting.
    Tags Dictionary<string, string>
    Tag description list.
    Token string
    Business system authentication token.
    TraceDuration double
    Duration Of Trace Data.
    UrlLongSegmentThreshold double
    Convergence threshold for URL long segments.
    UrlNumberSegmentThreshold double
    Convergence threshold for URL numerical segments.
    ApmInstanceId string
    ID of the resource.
    CustomShowTags []string
    List of custom display tags.
    DashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    Description string
    Description Of Instance.
    ErrRateThreshold float64
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    ErrorSample 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.
    InstanceId string
    APM instance ID.
    IsDeleteAnyFileAnalysis float64
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    IsDeserializationAnalysis float64
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    IsDirectoryTraversalAnalysis float64
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    IsExpressionInjectionAnalysis float64
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    IsIncludeAnyFileAnalysis float64
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    IsInstrumentationVulnerabilityScan float64
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    IsJndiInjectionAnalysis float64
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    IsJniInjectionAnalysis float64
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    IsMemoryHijackingAnalysis float64
    Whether to enable detection of Java webshell.
    IsReadAnyFileAnalysis float64
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    IsRelatedDashboard float64
    Whether to associate the dashboard (0 = off, 1 = on).
    IsRelatedLog float64
    Log feature switch (0: off; 1: on).
    IsRemoteCommandExecutionAnalysis float64
    Whether to enable detection of the remote command attack.
    IsScriptEngineInjectionAnalysis float64
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    IsSqlInjectionAnalysis float64
    SQL injection detection switch (0: off, 1: on).
    IsTemplateEngineInjectionAnalysis float64
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    IsUploadAnyFileAnalysis float64
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    IsWebshellBackdoorAnalysis float64
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    LogIndexType float64
    CLS index type. (0 = full-text index; 1 = key-value index).
    LogRegion string
    Log region, which takes effect after the log feature is enabled.
    LogSet string
    Logset, which takes effect only after the log feature is enabled.
    LogSource string
    Log source, which takes effect only after the log feature is enabled.
    LogTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    LogTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    Name string
    Name Of Instance.
    OpenBilling bool
    Billing switch.
    PayMode float64
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    PublicCollectorUrl string
    External Network Reporting Address.
    ResponseDurationWarningThreshold float64
    Response time warning line.
    SampleRate float64
    Sampling rate (unit: %).
    SlowRequestSavedThreshold float64
    Sampling slow call saving threshold (unit: ms).
    SpanDailyCounters float64
    Quota Of Instance Reporting.
    Tags map[string]string
    Tag description list.
    Token string
    Business system authentication token.
    TraceDuration float64
    Duration Of Trace Data.
    UrlLongSegmentThreshold float64
    Convergence threshold for URL long segments.
    UrlNumberSegmentThreshold float64
    Convergence threshold for URL numerical segments.
    apmInstanceId String
    ID of the resource.
    customShowTags List<String>
    List of custom display tags.
    dashboardTopicId String
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description String
    Description Of Instance.
    errRateThreshold Double
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    instanceId String
    APM instance ID.
    isDeleteAnyFileAnalysis Double
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis Double
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis Double
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis Double
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis Double
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan Double
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis Double
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis Double
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis Double
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis Double
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard Double
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog Double
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis Double
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis Double
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis Double
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis Double
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis Double
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis Double
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType Double
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion String
    Log region, which takes effect after the log feature is enabled.
    logSet String
    Logset, which takes effect only after the log feature is enabled.
    logSource String
    Log source, which takes effect only after the log feature is enabled.
    logTopicId String
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey String
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name String
    Name Of Instance.
    openBilling Boolean
    Billing switch.
    payMode Double
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    publicCollectorUrl String
    External Network Reporting Address.
    responseDurationWarningThreshold Double
    Response time warning line.
    sampleRate Double
    Sampling rate (unit: %).
    slowRequestSavedThreshold Double
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters Double
    Quota Of Instance Reporting.
    tags Map<String,String>
    Tag description list.
    token String
    Business system authentication token.
    traceDuration Double
    Duration Of Trace Data.
    urlLongSegmentThreshold Double
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold Double
    Convergence threshold for URL numerical segments.
    apmInstanceId string
    ID of the resource.
    customShowTags string[]
    List of custom display tags.
    dashboardTopicId string
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description string
    Description Of Instance.
    errRateThreshold number
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    instanceId string
    APM instance ID.
    isDeleteAnyFileAnalysis number
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis number
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis number
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis number
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis number
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan number
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis number
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis number
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis number
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis number
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard number
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog number
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis number
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis number
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis number
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis number
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis number
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis number
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType number
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion string
    Log region, which takes effect after the log feature is enabled.
    logSet string
    Logset, which takes effect only after the log feature is enabled.
    logSource string
    Log source, which takes effect only after the log feature is enabled.
    logTopicId string
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey string
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name string
    Name Of Instance.
    openBilling boolean
    Billing switch.
    payMode number
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    publicCollectorUrl string
    External Network Reporting Address.
    responseDurationWarningThreshold number
    Response time warning line.
    sampleRate number
    Sampling rate (unit: %).
    slowRequestSavedThreshold number
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters number
    Quota Of Instance Reporting.
    tags {[key: string]: string}
    Tag description list.
    token string
    Business system authentication token.
    traceDuration number
    Duration Of Trace Data.
    urlLongSegmentThreshold number
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold number
    Convergence threshold for URL numerical segments.
    apm_instance_id str
    ID of the resource.
    custom_show_tags Sequence[str]
    List of custom display tags.
    dashboard_topic_id str
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description str
    Description Of Instance.
    err_rate_threshold float
    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_any_file_analysis float
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    is_deserialization_analysis float
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    is_directory_traversal_analysis float
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    is_expression_injection_analysis float
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    is_include_any_file_analysis float
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    is_instrumentation_vulnerability_scan float
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    is_jndi_injection_analysis float
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    is_jni_injection_analysis float
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    is_memory_hijacking_analysis float
    Whether to enable detection of Java webshell.
    is_read_any_file_analysis float
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    is_related_dashboard float
    Whether to associate the dashboard (0 = off, 1 = on).
    is_related_log float
    Log feature switch (0: off; 1: on).
    is_remote_command_execution_analysis float
    Whether to enable detection of the remote command attack.
    is_script_engine_injection_analysis float
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    is_sql_injection_analysis float
    SQL injection detection switch (0: off, 1: on).
    is_template_engine_injection_analysis float
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    is_upload_any_file_analysis float
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    is_webshell_backdoor_analysis float
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    log_index_type float
    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_id str
    CLS log topic id, which takes effect after the log feature is enabled.
    log_trace_id_key str
    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: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    public_collector_url str
    External Network Reporting Address.
    response_duration_warning_threshold float
    Response time warning line.
    sample_rate float
    Sampling rate (unit: %).
    slow_request_saved_threshold float
    Sampling slow call saving threshold (unit: ms).
    span_daily_counters float
    Quota Of Instance Reporting.
    tags Mapping[str, str]
    Tag description list.
    token str
    Business system authentication token.
    trace_duration float
    Duration Of Trace Data.
    url_long_segment_threshold float
    Convergence threshold for URL long segments.
    url_number_segment_threshold float
    Convergence threshold for URL numerical segments.
    apmInstanceId String
    ID of the resource.
    customShowTags List<String>
    List of custom display tags.
    dashboardTopicId String
    Associated dashboard id, which takes effect after the associated dashboard is enabled.
    description String
    Description Of Instance.
    errRateThreshold Number
    Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note.
    errorSample 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.
    instanceId String
    APM instance ID.
    isDeleteAnyFileAnalysis Number
    Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled).
    isDeserializationAnalysis Number
    Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
    isDirectoryTraversalAnalysis Number
    Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
    isExpressionInjectionAnalysis Number
    Whether to enable expression injection detection. (0 - disabled; 1 - enabled).
    isIncludeAnyFileAnalysis Number
    Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled).
    isInstrumentationVulnerabilityScan Number
    Whether to enable component vulnerability detection (0 = no, 1 = yes).
    isJndiInjectionAnalysis Number
    Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled).
    isJniInjectionAnalysis Number
    Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
    isMemoryHijackingAnalysis Number
    Whether to enable detection of Java webshell.
    isReadAnyFileAnalysis Number
    Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled).
    isRelatedDashboard Number
    Whether to associate the dashboard (0 = off, 1 = on).
    isRelatedLog Number
    Log feature switch (0: off; 1: on).
    isRemoteCommandExecutionAnalysis Number
    Whether to enable detection of the remote command attack.
    isScriptEngineInjectionAnalysis Number
    Whether to enable script engine injection detection. (0 - disabled; 1 - enabled).
    isSqlInjectionAnalysis Number
    SQL injection detection switch (0: off, 1: on).
    isTemplateEngineInjectionAnalysis Number
    Whether to enable template engine injection detection. (0: disabled; 1: enabled).
    isUploadAnyFileAnalysis Number
    Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled).
    isWebshellBackdoorAnalysis Number
    Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
    logIndexType Number
    CLS index type. (0 = full-text index; 1 = key-value index).
    logRegion String
    Log region, which takes effect after the log feature is enabled.
    logSet String
    Logset, which takes effect only after the log feature is enabled.
    logSource String
    Log source, which takes effect only after the log feature is enabled.
    logTopicId String
    CLS log topic id, which takes effect after the log feature is enabled.
    logTraceIdKey String
    Index key of traceId. It is valid when the CLS index type is key-value index.
    name String
    Name Of Instance.
    openBilling Boolean
    Billing switch.
    payMode Number
    Modify the billing mode: 1 means prepaid, 0 means pay-as-you-go, the default value is 0.
    publicCollectorUrl String
    External Network Reporting Address.
    responseDurationWarningThreshold Number
    Response time warning line.
    sampleRate Number
    Sampling rate (unit: %).
    slowRequestSavedThreshold Number
    Sampling slow call saving threshold (unit: ms).
    spanDailyCounters Number
    Quota Of Instance Reporting.
    tags Map<String>
    Tag description list.
    token String
    Business system authentication token.
    traceDuration Number
    Duration Of Trace Data.
    urlLongSegmentThreshold Number
    Convergence threshold for URL long segments.
    urlNumberSegmentThreshold Number
    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 tencentcloud Terraform Provider.
    tencentcloud logo
    Viewing docs for tencentcloud 1.82.73
    published on Friday, Mar 6, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.