import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SqlserverAccountDbAttachmentConfig extends cdktf.TerraformMetaArguments { /** * SQL Server account name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#account_name SqlserverAccountDbAttachment#account_name} */ readonly accountName: string; /** * SQL Server DB name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#db_name SqlserverAccountDbAttachment#db_name} */ readonly dbName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#id SqlserverAccountDbAttachment#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; /** * SQL Server instance ID that the account belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#instance_id SqlserverAccountDbAttachment#instance_id} */ readonly instanceId: string; /** * Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#privilege SqlserverAccountDbAttachment#privilege} */ readonly privilege: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment tencentcloud_sqlserver_account_db_attachment} */ export declare class SqlserverAccountDbAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_sqlserver_account_db_attachment"; /** * Generates CDKTF code for importing a SqlserverAccountDbAttachment 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 SqlserverAccountDbAttachment to import * @param importFromId The id of the existing SqlserverAccountDbAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/sqlserver_account_db_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SqlserverAccountDbAttachment 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/sqlserver_account_db_attachment tencentcloud_sqlserver_account_db_attachment} 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 SqlserverAccountDbAttachmentConfig */ constructor(scope: Construct, id: string, config: SqlserverAccountDbAttachmentConfig); private _accountName?; get accountName(): string; set accountName(value: string); get accountNameInput(): string; private _dbName?; get dbName(): string; set dbName(value: string); get dbNameInput(): string; 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 _privilege?; get privilege(): string; set privilege(value: string); get privilegeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }