rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
205 lines (204 loc) • 9.79 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface NosqlIndexConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#compartment_id NosqlIndex#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#id NosqlIndex#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_index#is_if_not_exists NosqlIndex#is_if_not_exists}
*/
readonly isIfNotExists?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#name NosqlIndex#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#table_name_or_id NosqlIndex#table_name_or_id}
*/
readonly tableNameOrId: string;
/**
* keys block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#keys NosqlIndex#keys}
*/
readonly keys: NosqlIndexKeys[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#timeouts NosqlIndex#timeouts}
*/
readonly timeouts?: NosqlIndexTimeouts;
}
export interface NosqlIndexKeys {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#column_name NosqlIndex#column_name}
*/
readonly columnName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#json_field_type NosqlIndex#json_field_type}
*/
readonly jsonFieldType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#json_path NosqlIndex#json_path}
*/
readonly jsonPath?: string;
}
export declare function nosqlIndexKeysToTerraform(struct?: NosqlIndexKeys | cdktf.IResolvable): any;
export declare function nosqlIndexKeysToHclTerraform(struct?: NosqlIndexKeys | cdktf.IResolvable): any;
export declare class NosqlIndexKeysOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @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(): NosqlIndexKeys | cdktf.IResolvable | undefined;
set internalValue(value: NosqlIndexKeys | cdktf.IResolvable | undefined);
private _columnName?;
get columnName(): string;
set columnName(value: string);
get columnNameInput(): string | undefined;
private _jsonFieldType?;
get jsonFieldType(): string;
set jsonFieldType(value: string);
resetJsonFieldType(): void;
get jsonFieldTypeInput(): string | undefined;
private _jsonPath?;
get jsonPath(): string;
set jsonPath(value: string);
resetJsonPath(): void;
get jsonPathInput(): string | undefined;
}
export declare class NosqlIndexKeysList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: NosqlIndexKeys[] | cdktf.IResolvable;
/**
* @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): NosqlIndexKeysOutputReference;
}
export interface NosqlIndexTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#create NosqlIndex#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#delete NosqlIndex#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#update NosqlIndex#update}
*/
readonly update?: string;
}
export declare function nosqlIndexTimeoutsToTerraform(struct?: NosqlIndexTimeouts | cdktf.IResolvable): any;
export declare function nosqlIndexTimeoutsToHclTerraform(struct?: NosqlIndexTimeouts | cdktf.IResolvable): any;
export declare class NosqlIndexTimeoutsOutputReference 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(): NosqlIndexTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: NosqlIndexTimeouts | 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_index oci_nosql_index}
*/
export declare class NosqlIndex extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_nosql_index";
/**
* Generates CDKTF code for importing a NosqlIndex 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 NosqlIndex to import
* @param importFromId The id of the existing NosqlIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/nosql_index#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the NosqlIndex 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_index oci_nosql_index} 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 NosqlIndexConfig
*/
constructor(scope: Construct, id: string, config: NosqlIndexConfig);
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 _isIfNotExists?;
get isIfNotExists(): boolean | cdktf.IResolvable;
set isIfNotExists(value: boolean | cdktf.IResolvable);
resetIsIfNotExists(): void;
get isIfNotExistsInput(): boolean | cdktf.IResolvable | undefined;
get lifecycleDetails(): string;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
get state(): string;
get tableId(): string;
get tableName(): string;
private _tableNameOrId?;
get tableNameOrId(): string;
set tableNameOrId(value: string);
get tableNameOrIdInput(): string | undefined;
private _keys;
get keys(): NosqlIndexKeysList;
putKeys(value: NosqlIndexKeys[] | cdktf.IResolvable): void;
get keysInput(): cdktf.IResolvable | NosqlIndexKeys[] | undefined;
private _timeouts;
get timeouts(): NosqlIndexTimeoutsOutputReference;
putTimeouts(value: NosqlIndexTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | NosqlIndexTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}