rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
141 lines (140 loc) • 6.97 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface NosqlTableReplicaConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#compartment_id NosqlTableReplica#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#id NosqlTableReplica#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/nosql_table_replica#max_read_units NosqlTableReplica#max_read_units}
*/
readonly maxReadUnits?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#max_write_units NosqlTableReplica#max_write_units}
*/
readonly maxWriteUnits?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#region NosqlTableReplica#region}
*/
readonly region: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#table_name_or_id NosqlTableReplica#table_name_or_id}
*/
readonly tableNameOrId: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#timeouts NosqlTableReplica#timeouts}
*/
readonly timeouts?: NosqlTableReplicaTimeouts;
}
export interface NosqlTableReplicaTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#create NosqlTableReplica#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#delete NosqlTableReplica#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#update NosqlTableReplica#update}
*/
readonly update?: string;
}
export declare function nosqlTableReplicaTimeoutsToTerraform(struct?: NosqlTableReplicaTimeouts | cdktf.IResolvable): any;
export declare function nosqlTableReplicaTimeoutsToHclTerraform(struct?: NosqlTableReplicaTimeouts | cdktf.IResolvable): any;
export declare class NosqlTableReplicaTimeoutsOutputReference 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(): NosqlTableReplicaTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: NosqlTableReplicaTimeouts | 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/nosql_table_replica oci_nosql_table_replica}
*/
export declare class NosqlTableReplica extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_nosql_table_replica";
/**
* Generates CDKTF code for importing a NosqlTableReplica 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 NosqlTableReplica to import
* @param importFromId The id of the existing NosqlTableReplica that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_table_replica#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the NosqlTableReplica 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/nosql_table_replica oci_nosql_table_replica} 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 NosqlTableReplicaConfig
*/
constructor(scope: Construct, id: string, config: NosqlTableReplicaConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
resetCompartmentId(): void;
get compartmentIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _maxReadUnits?;
get maxReadUnits(): number;
set maxReadUnits(value: number);
resetMaxReadUnits(): void;
get maxReadUnitsInput(): number | undefined;
private _maxWriteUnits?;
get maxWriteUnits(): number;
set maxWriteUnits(value: number);
resetMaxWriteUnits(): void;
get maxWriteUnitsInput(): number | undefined;
private _region?;
get region(): string;
set region(value: string);
get regionInput(): string | undefined;
private _tableNameOrId?;
get tableNameOrId(): string;
set tableNameOrId(value: string);
get tableNameOrIdInput(): string | undefined;
private _timeouts;
get timeouts(): NosqlTableReplicaTimeoutsOutputReference;
putTimeouts(value: NosqlTableReplicaTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | NosqlTableReplicaTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}