import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApmPrometheusRuleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#id ApmPrometheusRule#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Business system ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#instance_id ApmPrometheusRule#instance_id} */ readonly instanceId: string; /** * Match type: 0 - precision match, 1 - prefix match, 2 - suffix match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#metric_match_type ApmPrometheusRule#metric_match_type} */ readonly metricMatchType: number; /** * Specifies the rule for customer-defined metric names with cache hit. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#metric_name_rule ApmPrometheusRule#metric_name_rule} */ readonly metricNameRule: string; /** * Metric match rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#name ApmPrometheusRule#name} */ readonly name: string; /** * Applications where the rule takes effect. input an empty string for all applications. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#service_name ApmPrometheusRule#service_name} */ readonly serviceName: string; /** * Rule status. 1 - enabled, 2 - disabled. Default value: 1. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#status ApmPrometheusRule#status} */ readonly status?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule tencentcloud_apm_prometheus_rule} */ export declare class ApmPrometheusRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_apm_prometheus_rule"; /** * Generates CDKTF code for importing a ApmPrometheusRule resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the ApmPrometheusRule to import * @param importFromId The id of the existing ApmPrometheusRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApmPrometheusRule to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_prometheus_rule tencentcloud_apm_prometheus_rule} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options ApmPrometheusRuleConfig */ constructor(scope: Construct, id: string, config: ApmPrometheusRuleConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _metricMatchType?; get metricMatchType(): number; set metricMatchType(value: number); get metricMatchTypeInput(): number; private _metricNameRule?; get metricNameRule(): string; set metricNameRule(value: string); get metricNameRuleInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; get ruleId(): any; private _serviceName?; get serviceName(): string; set serviceName(value: string); get serviceNameInput(): string; private _status?; get status(): number; set status(value: number); resetStatus(): void; get statusInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }