import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudRedisBackupDownloadInfoConfig extends cdktf.TerraformMetaArguments { /** * The backup ID, which can be accessed via [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) interface returns the parameter RedisBackupSet to get. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#backup_id DataTencentcloudRedisBackupDownloadInfo#backup_id} */ readonly backupId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#id DataTencentcloudRedisBackupDownloadInfo#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; /** * The ID of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#instance_id DataTencentcloudRedisBackupDownloadInfo#instance_id} */ readonly instanceId: string; /** * Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#ip_comparison_symbol DataTencentcloudRedisBackupDownloadInfo#ip_comparison_symbol} */ readonly ipComparisonSymbol?: string; /** * A custom VPC IP address for downloadable backup files.If the parameter LimitType is **Customize**, you need to configure this parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#limit_ip DataTencentcloudRedisBackupDownloadInfo#limit_ip} */ readonly limitIp?: string[]; /** * Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#limit_type DataTencentcloudRedisBackupDownloadInfo#limit_type} */ readonly limitType?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#result_output_file DataTencentcloudRedisBackupDownloadInfo#result_output_file} */ readonly resultOutputFile?: string; /** * This parameter only supports entering In, which means that the custom LimitVpc can download the backup file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#vpc_comparison_symbol DataTencentcloudRedisBackupDownloadInfo#vpc_comparison_symbol} */ readonly vpcComparisonSymbol?: string; /** * limit_vpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#limit_vpc DataTencentcloudRedisBackupDownloadInfo#limit_vpc} */ readonly limitVpc?: DataTencentcloudRedisBackupDownloadInfoLimitVpc[] | cdktf.IResolvable; } export interface DataTencentcloudRedisBackupDownloadInfoBackupInfos { } export declare function dataTencentcloudRedisBackupDownloadInfoBackupInfosToTerraform(struct?: DataTencentcloudRedisBackupDownloadInfoBackupInfos): any; export declare function dataTencentcloudRedisBackupDownloadInfoBackupInfosToHclTerraform(struct?: DataTencentcloudRedisBackupDownloadInfoBackupInfos): any; export declare class DataTencentcloudRedisBackupDownloadInfoBackupInfosOutputReference 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(): DataTencentcloudRedisBackupDownloadInfoBackupInfos | undefined; set internalValue(value: DataTencentcloudRedisBackupDownloadInfoBackupInfos | undefined); get downloadUrl(): any; get fileName(): any; get fileSize(): any; get innerDownloadUrl(): any; } export declare class DataTencentcloudRedisBackupDownloadInfoBackupInfosList 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): DataTencentcloudRedisBackupDownloadInfoBackupInfosOutputReference; } export interface DataTencentcloudRedisBackupDownloadInfoLimitVpc { /** * Customize the region of the VPC to which the backup file is downloaded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#region DataTencentcloudRedisBackupDownloadInfo#region} */ readonly region: string; /** * Customize the list of VPCs to download backup files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#vpc_list DataTencentcloudRedisBackupDownloadInfo#vpc_list} */ readonly vpcList: string[]; } export declare function dataTencentcloudRedisBackupDownloadInfoLimitVpcToTerraform(struct?: DataTencentcloudRedisBackupDownloadInfoLimitVpc | cdktf.IResolvable): any; export declare function dataTencentcloudRedisBackupDownloadInfoLimitVpcToHclTerraform(struct?: DataTencentcloudRedisBackupDownloadInfoLimitVpc | cdktf.IResolvable): any; export declare class DataTencentcloudRedisBackupDownloadInfoLimitVpcOutputReference 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(): DataTencentcloudRedisBackupDownloadInfoLimitVpc | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudRedisBackupDownloadInfoLimitVpc | cdktf.IResolvable | undefined); private _region?; get region(): string; set region(value: string); get regionInput(): string; private _vpcList?; get vpcList(): string[]; set vpcList(value: string[]); get vpcListInput(): string[]; } export declare class DataTencentcloudRedisBackupDownloadInfoLimitVpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudRedisBackupDownloadInfoLimitVpc[] | 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): DataTencentcloudRedisBackupDownloadInfoLimitVpcOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info tencentcloud_redis_backup_download_info} */ export declare class DataTencentcloudRedisBackupDownloadInfo extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_redis_backup_download_info"; /** * Generates CDKTF code for importing a DataTencentcloudRedisBackupDownloadInfo 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 DataTencentcloudRedisBackupDownloadInfo to import * @param importFromId The id of the existing DataTencentcloudRedisBackupDownloadInfo that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/redis_backup_download_info#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudRedisBackupDownloadInfo 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/redis_backup_download_info tencentcloud_redis_backup_download_info} 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 DataTencentcloudRedisBackupDownloadInfoConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudRedisBackupDownloadInfoConfig); private _backupId?; get backupId(): string; set backupId(value: string); get backupIdInput(): string; private _backupInfos; get backupInfos(): DataTencentcloudRedisBackupDownloadInfoBackupInfosList; 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 _ipComparisonSymbol?; get ipComparisonSymbol(): string; set ipComparisonSymbol(value: string); resetIpComparisonSymbol(): void; get ipComparisonSymbolInput(): string; private _limitIp?; get limitIp(): string[]; set limitIp(value: string[]); resetLimitIp(): void; get limitIpInput(): string[]; private _limitType?; get limitType(): string; set limitType(value: string); resetLimitType(): void; get limitTypeInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _vpcComparisonSymbol?; get vpcComparisonSymbol(): string; set vpcComparisonSymbol(value: string); resetVpcComparisonSymbol(): void; get vpcComparisonSymbolInput(): string; private _limitVpc; get limitVpc(): DataTencentcloudRedisBackupDownloadInfoLimitVpcList; putLimitVpc(value: DataTencentcloudRedisBackupDownloadInfoLimitVpc[] | cdktf.IResolvable): void; resetLimitVpc(): void; get limitVpcInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }