import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudVpcSubnetsConfig extends cdktf.TerraformMetaArguments { /** * Zone of the subnet to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#availability_zone DataTencentcloudVpcSubnets#availability_zone} */ readonly availabilityZone?: string; /** * ID of CDC instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#cdc_id DataTencentcloudVpcSubnets#cdc_id} */ readonly cdcId?: string; /** * Filter subnet with this CIDR. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#cidr_block DataTencentcloudVpcSubnets#cidr_block} */ readonly cidrBlock?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#id DataTencentcloudVpcSubnets#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; /** * Filter default or no default subnets. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#is_default DataTencentcloudVpcSubnets#is_default} */ readonly isDefault?: boolean | cdktf.IResolvable; /** * Filter the VPC SNAT address pool subnet. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#is_remote_vpc_snat DataTencentcloudVpcSubnets#is_remote_vpc_snat} */ readonly isRemoteVpcSnat?: boolean | cdktf.IResolvable; /** * Name of the subnet to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#name DataTencentcloudVpcSubnets#name} */ readonly name?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#result_output_file DataTencentcloudVpcSubnets#result_output_file} */ readonly resultOutputFile?: string; /** * ID of the subnet to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#subnet_id DataTencentcloudVpcSubnets#subnet_id} */ readonly subnetId?: string; /** * Filter if subnet has this tag. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#tag_key DataTencentcloudVpcSubnets#tag_key} */ readonly tagKey?: string; /** * Tags of the subnet to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#tags DataTencentcloudVpcSubnets#tags} */ readonly tags?: { [key: string]: string; }; /** * ID of the VPC to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#vpc_id DataTencentcloudVpcSubnets#vpc_id} */ readonly vpcId?: string; } export interface DataTencentcloudVpcSubnetsInstanceListStruct { } export declare function dataTencentcloudVpcSubnetsInstanceListStructToTerraform(struct?: DataTencentcloudVpcSubnetsInstanceListStruct): any; export declare function dataTencentcloudVpcSubnetsInstanceListStructToHclTerraform(struct?: DataTencentcloudVpcSubnetsInstanceListStruct): any; export declare class DataTencentcloudVpcSubnetsInstanceListStructOutputReference 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(): DataTencentcloudVpcSubnetsInstanceListStruct | undefined; set internalValue(value: DataTencentcloudVpcSubnetsInstanceListStruct | undefined); get availabilityZone(): any; get availableIpCount(): any; get cdcId(): any; get cidrBlock(): any; get createTime(): any; get isDefault(): any; get isMulticast(): any; get name(): any; get routeTableId(): any; get subnetId(): any; private _tags; get tags(): any; get vpcId(): any; } export declare class DataTencentcloudVpcSubnetsInstanceListStructList 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): DataTencentcloudVpcSubnetsInstanceListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets tencentcloud_vpc_subnets} */ export declare class DataTencentcloudVpcSubnets extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_vpc_subnets"; /** * Generates CDKTF code for importing a DataTencentcloudVpcSubnets 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 DataTencentcloudVpcSubnets to import * @param importFromId The id of the existing DataTencentcloudVpcSubnets that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/vpc_subnets#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudVpcSubnets 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_subnets tencentcloud_vpc_subnets} 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 DataTencentcloudVpcSubnetsConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudVpcSubnetsConfig); private _availabilityZone?; get availabilityZone(): string; set availabilityZone(value: string); resetAvailabilityZone(): void; get availabilityZoneInput(): string; private _cdcId?; get cdcId(): string; set cdcId(value: string); resetCdcId(): void; get cdcIdInput(): string; private _cidrBlock?; get cidrBlock(): string; set cidrBlock(value: string); resetCidrBlock(): void; get cidrBlockInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceList; get instanceList(): DataTencentcloudVpcSubnetsInstanceListStructList; private _isDefault?; get isDefault(): boolean | cdktf.IResolvable; set isDefault(value: boolean | cdktf.IResolvable); resetIsDefault(): void; get isDefaultInput(): any; private _isRemoteVpcSnat?; get isRemoteVpcSnat(): boolean | cdktf.IResolvable; set isRemoteVpcSnat(value: boolean | cdktf.IResolvable); resetIsRemoteVpcSnat(): void; get isRemoteVpcSnatInput(): any; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): 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 _tagKey?; get tagKey(): string; set tagKey(value: string); resetTagKey(): void; get tagKeyInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: 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; }; }