import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudImageConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#id DataTencentcloudImage#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; /** * A regex string to apply to the image list returned by TencentCloud. **NOTE**: it is not wildcard, should look like `image_name_regex = "^CentOS\s+6\.8\s+64\w*"`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#image_name_regex DataTencentcloudImage#image_name_regex} */ readonly imageNameRegex?: string; /** * A string to apply with fuzzy match to the os_name attribute on the image list returned by TencentCloud. **NOTE**: when os_name is provided, highest priority is applied in this field instead of `image_name_regex`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#os_name DataTencentcloudImage#os_name} */ readonly osName?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#result_output_file DataTencentcloudImage#result_output_file} */ readonly resultOutputFile?: string; /** * filter block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#filter DataTencentcloudImage#filter} */ readonly filter?: DataTencentcloudImageFilter[] | cdktf.IResolvable; } export interface DataTencentcloudImageFilter { /** * Key of the filter, valid keys: `image-id`, `image-type`, `image-name`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#name DataTencentcloudImage#name} */ readonly name: string; /** * Values of the filter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#values DataTencentcloudImage#values} */ readonly values: string[]; } export declare function dataTencentcloudImageFilterToTerraform(struct?: DataTencentcloudImageFilter | cdktf.IResolvable): any; export declare function dataTencentcloudImageFilterToHclTerraform(struct?: DataTencentcloudImageFilter | cdktf.IResolvable): any; export declare class DataTencentcloudImageFilterOutputReference 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(): DataTencentcloudImageFilter | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudImageFilter | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[]; } export declare class DataTencentcloudImageFilterList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudImageFilter[] | 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): DataTencentcloudImageFilterOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image tencentcloud_image} */ export declare class DataTencentcloudImage extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_image"; /** * Generates CDKTF code for importing a DataTencentcloudImage 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 DataTencentcloudImage to import * @param importFromId The id of the existing DataTencentcloudImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/image#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudImage 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/image tencentcloud_image} 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 DataTencentcloudImageConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudImageConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get imageId(): any; get imageName(): any; private _imageNameRegex?; get imageNameRegex(): string; set imageNameRegex(value: string); resetImageNameRegex(): void; get imageNameRegexInput(): string; private _osName?; get osName(): string; set osName(value: string); resetOsName(): void; get osNameInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _filter; get filter(): DataTencentcloudImageFilterList; putFilter(value: DataTencentcloudImageFilter[] | cdktf.IResolvable): void; resetFilter(): void; get filterInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }