import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApmSampleConfigConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#id ApmSampleConfig#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_sample_config#instance_id ApmSampleConfig#instance_id} */ readonly instanceId: string; /** * API name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#operation_name ApmSampleConfig#operation_name} */ readonly operationName?: string; /** * 0: exact match (default); 1: prefix match; 2: suffix match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#operation_type ApmSampleConfig#operation_type} */ readonly operationType?: number; /** * Sampling rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#sample_name ApmSampleConfig#sample_name} */ readonly sampleName: string; /** * Sampling rate. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#sample_rate ApmSampleConfig#sample_rate} */ readonly sampleRate: number; /** * Application name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#service_name ApmSampleConfig#service_name} */ readonly serviceName: string; /** * tags block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#tags ApmSampleConfig#tags} */ readonly tags?: ApmSampleConfigTags[] | cdktf.IResolvable; } export interface ApmSampleConfigTags { /** * Key value definition. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#key ApmSampleConfig#key} */ readonly key: string; /** * Value definition. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#value ApmSampleConfig#value} */ readonly value: string; } export declare function apmSampleConfigTagsToTerraform(struct?: ApmSampleConfigTags | cdktf.IResolvable): any; export declare function apmSampleConfigTagsToHclTerraform(struct?: ApmSampleConfigTags | cdktf.IResolvable): any; export declare class ApmSampleConfigTagsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ApmSampleConfigTags | cdktf.IResolvable | undefined; set internalValue(value: ApmSampleConfigTags | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class ApmSampleConfigTagsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ApmSampleConfigTags[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ApmSampleConfigTagsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config tencentcloud_apm_sample_config} */ export declare class ApmSampleConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_apm_sample_config"; /** * Generates CDKTF code for importing a ApmSampleConfig 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 ApmSampleConfig to import * @param importFromId The id of the existing ApmSampleConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/apm_sample_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApmSampleConfig 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_sample_config tencentcloud_apm_sample_config} 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 ApmSampleConfigConfig */ constructor(scope: Construct, id: string, config: ApmSampleConfigConfig); 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 _operationName?; get operationName(): string; set operationName(value: string); resetOperationName(): void; get operationNameInput(): string; private _operationType?; get operationType(): number; set operationType(value: number); resetOperationType(): void; get operationTypeInput(): number; private _sampleName?; get sampleName(): string; set sampleName(value: string); get sampleNameInput(): string; private _sampleRate?; get sampleRate(): number; set sampleRate(value: number); get sampleRateInput(): number; private _serviceName?; get serviceName(): string; set serviceName(value: string); get serviceNameInput(): string; private _tags; get tags(): ApmSampleConfigTagsList; putTags(value: ApmSampleConfigTags[] | cdktf.IResolvable): void; resetTags(): void; get tagsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }