import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMariadbPriceConfig extends cdktf.TerraformMetaArguments { /** * Price unit. Valid values: `* pent` (cent), `* microPent` (microcent). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#amount_unit DataTencentcloudMariadbPrice#amount_unit} */ readonly amountUnit?: string; /** * The quantity you want to purchase is queried by default for the price of purchasing 1 instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#buy_count DataTencentcloudMariadbPrice#buy_count} */ readonly buyCount: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#id DataTencentcloudMariadbPrice#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; /** * Memory size in GB, which can be obtained by querying the instance specification through the `DescribeDBInstanceSpecs` API. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#memory DataTencentcloudMariadbPrice#memory} */ readonly memory: number; /** * Number of instance nodes, which can be obtained by querying the instance specification through the `DescribeDBInstanceSpecs` API. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#node_count DataTencentcloudMariadbPrice#node_count} */ readonly nodeCount: number; /** * Billing type. Valid values: `postpaid` (pay-as-you-go), `prepaid` (monthly subscription). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#paymode DataTencentcloudMariadbPrice#paymode} */ readonly paymode?: string; /** * Purchase period in months. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#period DataTencentcloudMariadbPrice#period} */ readonly period?: number; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#result_output_file DataTencentcloudMariadbPrice#result_output_file} */ readonly resultOutputFile?: string; /** * Storage capacity in GB. The maximum and minimum storage space can be obtained by querying instance specification through the `DescribeDBInstanceSpecs` API. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#storage DataTencentcloudMariadbPrice#storage} */ readonly storage: number; /** * AZ ID of the purchased instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#zone DataTencentcloudMariadbPrice#zone} */ readonly zone: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price tencentcloud_mariadb_price} */ export declare class DataTencentcloudMariadbPrice extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mariadb_price"; /** * Generates CDKTF code for importing a DataTencentcloudMariadbPrice 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 DataTencentcloudMariadbPrice to import * @param importFromId The id of the existing DataTencentcloudMariadbPrice that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mariadb_price#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMariadbPrice 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/mariadb_price tencentcloud_mariadb_price} 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 DataTencentcloudMariadbPriceConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudMariadbPriceConfig); private _amountUnit?; get amountUnit(): string; set amountUnit(value: string); resetAmountUnit(): void; get amountUnitInput(): string; private _buyCount?; get buyCount(): number; set buyCount(value: number); get buyCountInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _memory?; get memory(): number; set memory(value: number); get memoryInput(): number; private _nodeCount?; get nodeCount(): number; set nodeCount(value: number); get nodeCountInput(): number; get originalPrice(): any; private _paymode?; get paymode(): string; set paymode(value: string); resetPaymode(): void; get paymodeInput(): string; private _period?; get period(): number; set period(value: number); resetPeriod(): void; get periodInput(): number; get price(): any; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _storage?; get storage(): number; set storage(value: number); get storageInput(): number; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }