import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface StorageSftpConfig extends cdktf.TerraformMetaArguments { /** * An client id of new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#client_id StorageSftp#client_id} */ readonly clientId?: number; /** * A http sftp entry point for new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#generated_http_endpoint StorageSftp#generated_http_endpoint} */ readonly generatedHttpEndpoint?: string; /** * An auto generated sftp password for new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#generated_password StorageSftp#generated_password} */ readonly generatedPassword?: boolean | cdktf.IResolvable; /** * A ssh sftp entry point for new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#generated_sftp_endpoint StorageSftp#generated_sftp_endpoint} */ readonly generatedSftpEndpoint?: string; /** * A expires date of storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#http_expires_header_value StorageSftp#http_expires_header_value} */ readonly httpExpiresHeaderValue?: string; /** * An alias of storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#http_servername_alias StorageSftp#http_servername_alias} */ readonly httpServernameAlias?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#id StorageSftp#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; /** * A location of new storage resource. One of (ams, sin, fra, mia) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#location StorageSftp#location} */ readonly location: string; /** * A name of new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#name StorageSftp#name} */ readonly name: string; /** * A sftp password for new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#password StorageSftp#password} */ readonly password?: string; /** * An ssh keys IDs to link with new sftp storage resource only. https://storage.gcore.com/ssh-key/list * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#ssh_key_id StorageSftp#ssh_key_id} */ readonly sshKeyId?: number[]; /** * An id of new storage resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#storage_id StorageSftp#storage_id} */ readonly storageId?: number; /** * A temporary flag. An internal cheat, to skip update ssh keys. Skip it. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#update_after_create StorageSftp#update_after_create} */ readonly updateAfterCreate?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp gcore_storage_sftp} */ export declare class StorageSftp extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_storage_sftp"; /** * Generates CDKTF code for importing a StorageSftp 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 StorageSftp to import * @param importFromId The id of the existing StorageSftp that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/storage_sftp#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the StorageSftp 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/g-core/gcore/0.32.5/docs/resources/storage_sftp gcore_storage_sftp} 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 StorageSftpConfig */ constructor(scope: Construct, id: string, config: StorageSftpConfig); private _clientId?; get clientId(): number; set clientId(value: number); resetClientId(): void; get clientIdInput(): number; private _generatedHttpEndpoint?; get generatedHttpEndpoint(): string; set generatedHttpEndpoint(value: string); resetGeneratedHttpEndpoint(): void; get generatedHttpEndpointInput(): string; private _generatedPassword?; get generatedPassword(): boolean | cdktf.IResolvable; set generatedPassword(value: boolean | cdktf.IResolvable); resetGeneratedPassword(): void; get generatedPasswordInput(): any; private _generatedSftpEndpoint?; get generatedSftpEndpoint(): string; set generatedSftpEndpoint(value: string); resetGeneratedSftpEndpoint(): void; get generatedSftpEndpointInput(): string; private _httpExpiresHeaderValue?; get httpExpiresHeaderValue(): string; set httpExpiresHeaderValue(value: string); resetHttpExpiresHeaderValue(): void; get httpExpiresHeaderValueInput(): string; private _httpServernameAlias?; get httpServernameAlias(): string; set httpServernameAlias(value: string); resetHttpServernameAlias(): void; get httpServernameAliasInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _location?; get location(): string; set location(value: string); get locationInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string; private _sshKeyId?; get sshKeyId(): number[]; set sshKeyId(value: number[]); resetSshKeyId(): void; get sshKeyIdInput(): number[]; private _storageId?; get storageId(): number; set storageId(value: number); resetStorageId(): void; get storageIdInput(): number; private _updateAfterCreate?; get updateAfterCreate(): boolean | cdktf.IResolvable; set updateAfterCreate(value: boolean | cdktf.IResolvable); resetUpdateAfterCreate(): void; get updateAfterCreateInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }