UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

130 lines (129 loc) 6.1 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DatabaseBackupConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#database_id DatabaseBackup#database_id} */ readonly databaseId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#display_name DatabaseBackup#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#id DatabaseBackup#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; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#timeouts DatabaseBackup#timeouts} */ readonly timeouts?: DatabaseBackupTimeouts; } export interface DatabaseBackupTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#create DatabaseBackup#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#delete DatabaseBackup#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#update DatabaseBackup#update} */ readonly update?: string; } export declare function databaseBackupTimeoutsToTerraform(struct?: DatabaseBackupTimeouts | cdktf.IResolvable): any; export declare function databaseBackupTimeoutsToHclTerraform(struct?: DatabaseBackupTimeouts | cdktf.IResolvable): any; export declare class DatabaseBackupTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DatabaseBackupTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DatabaseBackupTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string | undefined; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string | undefined; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup oci_database_backup} */ export declare class DatabaseBackup extends cdktf.TerraformResource { static readonly tfResourceType = "oci_database_backup"; /** * Generates CDKTF code for importing a DatabaseBackup 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 DatabaseBackup to import * @param importFromId The id of the existing DatabaseBackup that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DatabaseBackup 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/oracle/oci/6.18.0/docs/resources/database_backup oci_database_backup} 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 DatabaseBackupConfig */ constructor(scope: Construct, id: string, config: DatabaseBackupConfig); get availabilityDomain(): string; get compartmentId(): string; get databaseEdition(): string; private _databaseId?; get databaseId(): string; set databaseId(value: string); get databaseIdInput(): string | undefined; get databaseSizeInGbs(): number; private _displayName?; get displayName(): string; set displayName(value: string); get displayNameInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get keyStoreId(): string; get keyStoreWalletName(): string; get kmsKeyId(): string; get kmsKeyVersionId(): string; get lifecycleDetails(): string; get shape(): string; get state(): string; get timeEnded(): string; get timeStarted(): string; get type(): string; get vaultId(): string; get version(): string; private _timeouts; get timeouts(): DatabaseBackupTimeoutsOutputReference; putTimeouts(value: DatabaseBackupTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DatabaseBackupTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }