UNPKG

@cdktf/provider-upcloud

Version:

Prebuilt upcloud Provider for Terraform CDK (cdktf)

91 lines (90 loc) 4.68 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ManagedDatabaseLogicalDatabaseConfig extends cdktf.TerraformMetaArguments { /** * Default character set for the database (LC_CTYPE) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#character_set ManagedDatabaseLogicalDatabase#character_set} */ readonly characterSet?: string; /** * Default collation for the database (LC_COLLATE) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#collation ManagedDatabaseLogicalDatabase#collation} */ readonly collation?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#id ManagedDatabaseLogicalDatabase#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; /** * Name of the logical database * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#name ManagedDatabaseLogicalDatabase#name} */ readonly name: string; /** * Service's UUID for which this user belongs to * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#service ManagedDatabaseLogicalDatabase#service} */ readonly service: string; } /** * Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database upcloud_managed_database_logical_database} */ export declare class ManagedDatabaseLogicalDatabase extends cdktf.TerraformResource { static readonly tfResourceType = "upcloud_managed_database_logical_database"; /** * Generates CDKTF code for importing a ManagedDatabaseLogicalDatabase resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the ManagedDatabaseLogicalDatabase to import * @param importFromId The id of the existing ManagedDatabaseLogicalDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ManagedDatabaseLogicalDatabase to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_database_logical_database upcloud_managed_database_logical_database} 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 ManagedDatabaseLogicalDatabaseConfig */ constructor(scope: Construct, id: string, config: ManagedDatabaseLogicalDatabaseConfig); private _characterSet?; get characterSet(): string; set characterSet(value: string); resetCharacterSet(): void; get characterSetInput(): string | undefined; private _collation?; get collation(): string; set collation(value: string); resetCollation(): void; get collationInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _service?; get service(): string; set service(value: string); get serviceInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }