import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlBackupDownloadRestrictionConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#id MysqlBackupDownloadRestriction#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; /** * In: The specified ip can be downloaded; NotIn: The specified ip cannot be downloaded. The default is In. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#ip_comparison_symbol MysqlBackupDownloadRestriction#ip_comparison_symbol} */ readonly ipComparisonSymbol?: string; /** * ip settings to limit downloads. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#limit_ip MysqlBackupDownloadRestriction#limit_ip} */ readonly limitIp?: string[]; /** * NoLimit No limit, both internal and external networks can be downloaded; LimitOnlyIntranet Only intranet can be downloaded; Customize user-defined vpc:ip can be downloaded. LimitVpc and LimitIp can be set only when the value is Customize. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#limit_type MysqlBackupDownloadRestriction#limit_type} */ readonly limitType: string; /** * This parameter only supports In, which means that the vpc specified by LimitVpc can be downloaded. The default is In. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#vpc_comparison_symbol MysqlBackupDownloadRestriction#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/resources/mysql_backup_download_restriction#limit_vpc MysqlBackupDownloadRestriction#limit_vpc} */ readonly limitVpc?: MysqlBackupDownloadRestrictionLimitVpc[] | cdktf.IResolvable; } export interface MysqlBackupDownloadRestrictionLimitVpc { /** * Restrict downloads from regions. Currently only the current region is supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#region MysqlBackupDownloadRestriction#region} */ readonly region: string; /** * List of vpcs to limit downloads. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#vpc_list MysqlBackupDownloadRestriction#vpc_list} */ readonly vpcList: string[]; } export declare function mysqlBackupDownloadRestrictionLimitVpcToTerraform(struct?: MysqlBackupDownloadRestrictionLimitVpc | cdktf.IResolvable): any; export declare function mysqlBackupDownloadRestrictionLimitVpcToHclTerraform(struct?: MysqlBackupDownloadRestrictionLimitVpc | cdktf.IResolvable): any; export declare class MysqlBackupDownloadRestrictionLimitVpcOutputReference 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(): MysqlBackupDownloadRestrictionLimitVpc | cdktf.IResolvable | undefined; set internalValue(value: MysqlBackupDownloadRestrictionLimitVpc | 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 MysqlBackupDownloadRestrictionLimitVpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MysqlBackupDownloadRestrictionLimitVpc[] | 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): MysqlBackupDownloadRestrictionLimitVpcOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction tencentcloud_mysql_backup_download_restriction} */ export declare class MysqlBackupDownloadRestriction extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_backup_download_restriction"; /** * Generates CDKTF code for importing a MysqlBackupDownloadRestriction 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 MysqlBackupDownloadRestriction to import * @param importFromId The id of the existing MysqlBackupDownloadRestriction that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_backup_download_restriction#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlBackupDownloadRestriction 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/mysql_backup_download_restriction tencentcloud_mysql_backup_download_restriction} 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 MysqlBackupDownloadRestrictionConfig */ constructor(scope: Construct, id: string, config: MysqlBackupDownloadRestrictionConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): 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); get limitTypeInput(): string; private _vpcComparisonSymbol?; get vpcComparisonSymbol(): string; set vpcComparisonSymbol(value: string); resetVpcComparisonSymbol(): void; get vpcComparisonSymbolInput(): string; private _limitVpc; get limitVpc(): MysqlBackupDownloadRestrictionLimitVpcList; putLimitVpc(value: MysqlBackupDownloadRestrictionLimitVpc[] | cdktf.IResolvable): void; resetLimitVpc(): void; get limitVpcInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }