import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudVpcNetDetectStateCheckConfig extends cdktf.TerraformMetaArguments { /** * The array of detection destination IPv4 addresses, which contains at most two IP addresses. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#detect_destination_ip DataTencentcloudVpcNetDetectStateCheck#detect_destination_ip} */ readonly detectDestinationIp: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#id DataTencentcloudVpcNetDetectStateCheck#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; /** * ID of a network inspector instance, e.g. netd-12345678. Enter at least one of this parameter, VpcId, SubnetId, and NetDetectName. Use NetDetectId if it is present. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#net_detect_id DataTencentcloudVpcNetDetectStateCheck#net_detect_id} */ readonly netDetectId?: string; /** * The name of a network inspector, up to 60 bytes in length. It is used together with VpcId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#net_detect_name DataTencentcloudVpcNetDetectStateCheck#net_detect_name} */ readonly netDetectName?: string; /** * The next-hop destination gateway. The value is related to NextHopType.If NextHopType is set to VPN, the value of this parameter is the VPN gateway ID, such as vpngw-12345678.If NextHopType is set to DIRECTCONNECT, the value of this parameter is the direct connect gateway ID, such as dcg-12345678.If NextHopType is set to PEERCONNECTION, the value of this parameter is the peering connection ID, such as pcx-12345678.If NextHopType is set to NAT, the value of this parameter is the NAT gateway ID, such as nat-12345678.If NextHopType is set to NORMAL_CVM, the value of this parameter is the IPv4 address of the CVM, such as 10.0.0.12. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#next_hop_destination DataTencentcloudVpcNetDetectStateCheck#next_hop_destination} */ readonly nextHopDestination: string; /** * The type of the next hop. Currently supported types are:VPN: VPN gateway;DIRECTCONNECT: direct connect gateway;PEERCONNECTION: peering connection;NAT: NAT gateway;NORMAL_CVM: normal CVM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#next_hop_type DataTencentcloudVpcNetDetectStateCheck#next_hop_type} */ readonly nextHopType: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#result_output_file DataTencentcloudVpcNetDetectStateCheck#result_output_file} */ readonly resultOutputFile?: string; /** * ID of a subnet instance, e.g. `subnet-12345678`, which is used together with VpcId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#subnet_id DataTencentcloudVpcNetDetectStateCheck#subnet_id} */ readonly subnetId?: string; /** * ID of a `VPC` instance, e.g. `vpc-12345678`, which is used together with SubnetId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#vpc_id DataTencentcloudVpcNetDetectStateCheck#vpc_id} */ readonly vpcId?: string; } export interface DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSet { } export declare function dataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetToTerraform(struct?: DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSet): any; export declare function dataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetToHclTerraform(struct?: DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSet): any; export declare class DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSet | undefined; set internalValue(value: DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSet | undefined); get delay(): any; get detectDestinationIp(): any; get packetLossRate(): any; get state(): any; } export declare class DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check tencentcloud_vpc_net_detect_state_check} */ export declare class DataTencentcloudVpcNetDetectStateCheck extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_vpc_net_detect_state_check"; /** * Generates CDKTF code for importing a DataTencentcloudVpcNetDetectStateCheck 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 DataTencentcloudVpcNetDetectStateCheck to import * @param importFromId The id of the existing DataTencentcloudVpcNetDetectStateCheck that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_net_detect_state_check#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudVpcNetDetectStateCheck 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/data-sources/vpc_net_detect_state_check tencentcloud_vpc_net_detect_state_check} Data Source * * @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 DataTencentcloudVpcNetDetectStateCheckConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudVpcNetDetectStateCheckConfig); private _detectDestinationIp?; get detectDestinationIp(): string[]; set detectDestinationIp(value: string[]); get detectDestinationIpInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _netDetectId?; get netDetectId(): string; set netDetectId(value: string); resetNetDetectId(): void; get netDetectIdInput(): string; private _netDetectIpStateSet; get netDetectIpStateSet(): DataTencentcloudVpcNetDetectStateCheckNetDetectIpStateSetList; private _netDetectName?; get netDetectName(): string; set netDetectName(value: string); resetNetDetectName(): void; get netDetectNameInput(): string; private _nextHopDestination?; get nextHopDestination(): string; set nextHopDestination(value: string); get nextHopDestinationInput(): string; private _nextHopType?; get nextHopType(): string; set nextHopType(value: string); get nextHopTypeInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }