UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

284 lines (283 loc) 14.5 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DatabaseBackupDestinationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#compartment_id DatabaseBackupDestination#compartment_id} */ readonly compartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#connection_string DatabaseBackupDestination#connection_string} */ readonly connectionString?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#defined_tags DatabaseBackupDestination#defined_tags} */ readonly definedTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#display_name DatabaseBackupDestination#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#freeform_tags DatabaseBackupDestination#freeform_tags} */ readonly freeformTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#id DatabaseBackupDestination#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#local_mount_point_path DatabaseBackupDestination#local_mount_point_path} */ readonly localMountPointPath?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#type DatabaseBackupDestination#type} */ readonly type: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#vpc_users DatabaseBackupDestination#vpc_users} */ readonly vpcUsers?: string[]; /** * mount_type_details block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#mount_type_details DatabaseBackupDestination#mount_type_details} */ readonly mountTypeDetails?: DatabaseBackupDestinationMountTypeDetails; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#timeouts DatabaseBackupDestination#timeouts} */ readonly timeouts?: DatabaseBackupDestinationTimeouts; } export interface DatabaseBackupDestinationAssociatedDatabases { } export declare function databaseBackupDestinationAssociatedDatabasesToTerraform(struct?: DatabaseBackupDestinationAssociatedDatabases): any; export declare function databaseBackupDestinationAssociatedDatabasesToHclTerraform(struct?: DatabaseBackupDestinationAssociatedDatabases): any; export declare class DatabaseBackupDestinationAssociatedDatabasesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DatabaseBackupDestinationAssociatedDatabases | undefined; set internalValue(value: DatabaseBackupDestinationAssociatedDatabases | undefined); get dbName(): string; get id(): string; } export declare class DatabaseBackupDestinationAssociatedDatabasesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DatabaseBackupDestinationAssociatedDatabasesOutputReference; } export interface DatabaseBackupDestinationMountTypeDetails { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#local_mount_point_path DatabaseBackupDestination#local_mount_point_path} */ readonly localMountPointPath?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#mount_type DatabaseBackupDestination#mount_type} */ readonly mountType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#nfs_server DatabaseBackupDestination#nfs_server} */ readonly nfsServer?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#nfs_server_export DatabaseBackupDestination#nfs_server_export} */ readonly nfsServerExport?: string; } export declare function databaseBackupDestinationMountTypeDetailsToTerraform(struct?: DatabaseBackupDestinationMountTypeDetailsOutputReference | DatabaseBackupDestinationMountTypeDetails): any; export declare function databaseBackupDestinationMountTypeDetailsToHclTerraform(struct?: DatabaseBackupDestinationMountTypeDetailsOutputReference | DatabaseBackupDestinationMountTypeDetails): any; export declare class DatabaseBackupDestinationMountTypeDetailsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DatabaseBackupDestinationMountTypeDetails | undefined; set internalValue(value: DatabaseBackupDestinationMountTypeDetails | undefined); private _localMountPointPath?; get localMountPointPath(): string; set localMountPointPath(value: string); resetLocalMountPointPath(): void; get localMountPointPathInput(): string | undefined; private _mountType?; get mountType(): string; set mountType(value: string); get mountTypeInput(): string | undefined; private _nfsServer?; get nfsServer(): string[]; set nfsServer(value: string[]); resetNfsServer(): void; get nfsServerInput(): string[] | undefined; private _nfsServerExport?; get nfsServerExport(): string; set nfsServerExport(value: string); resetNfsServerExport(): void; get nfsServerExportInput(): string | undefined; } export interface DatabaseBackupDestinationTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#create DatabaseBackupDestination#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#delete DatabaseBackupDestination#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#update DatabaseBackupDestination#update} */ readonly update?: string; } export declare function databaseBackupDestinationTimeoutsToTerraform(struct?: DatabaseBackupDestinationTimeouts | cdktf.IResolvable): any; export declare function databaseBackupDestinationTimeoutsToHclTerraform(struct?: DatabaseBackupDestinationTimeouts | cdktf.IResolvable): any; export declare class DatabaseBackupDestinationTimeoutsOutputReference 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(): DatabaseBackupDestinationTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DatabaseBackupDestinationTimeouts | 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_destination oci_database_backup_destination} */ export declare class DatabaseBackupDestination extends cdktf.TerraformResource { static readonly tfResourceType = "oci_database_backup_destination"; /** * Generates CDKTF code for importing a DatabaseBackupDestination 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 DatabaseBackupDestination to import * @param importFromId The id of the existing DatabaseBackupDestination that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_backup_destination#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DatabaseBackupDestination 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_destination oci_database_backup_destination} 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 DatabaseBackupDestinationConfig */ constructor(scope: Construct, id: string, config: DatabaseBackupDestinationConfig); private _associatedDatabases; get associatedDatabases(): DatabaseBackupDestinationAssociatedDatabasesList; private _compartmentId?; get compartmentId(): string; set compartmentId(value: string); get compartmentIdInput(): string | undefined; private _connectionString?; get connectionString(): string; set connectionString(value: string); resetConnectionString(): void; get connectionStringInput(): string | undefined; private _definedTags?; get definedTags(): { [key: string]: string; }; set definedTags(value: { [key: string]: string; }); resetDefinedTags(): void; get definedTagsInput(): { [key: string]: string; } | undefined; private _displayName?; get displayName(): string; set displayName(value: string); get displayNameInput(): string | undefined; private _freeformTags?; get freeformTags(): { [key: string]: string; }; set freeformTags(value: { [key: string]: string; }); resetFreeformTags(): void; get freeformTagsInput(): { [key: string]: string; } | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get lifecycleDetails(): string; private _localMountPointPath?; get localMountPointPath(): string; set localMountPointPath(value: string); resetLocalMountPointPath(): void; get localMountPointPathInput(): string | undefined; get nfsMountType(): string; get nfsServer(): string[]; get nfsServerExport(): string; get state(): string; get timeCreated(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; private _vpcUsers?; get vpcUsers(): string[]; set vpcUsers(value: string[]); resetVpcUsers(): void; get vpcUsersInput(): string[] | undefined; private _mountTypeDetails; get mountTypeDetails(): DatabaseBackupDestinationMountTypeDetailsOutputReference; putMountTypeDetails(value: DatabaseBackupDestinationMountTypeDetails): void; resetMountTypeDetails(): void; get mountTypeDetailsInput(): DatabaseBackupDestinationMountTypeDetails | undefined; private _timeouts; get timeouts(): DatabaseBackupDestinationTimeoutsOutputReference; putTimeouts(value: DatabaseBackupDestinationTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DatabaseBackupDestinationTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }