rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
267 lines (266 loc) • 15 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciPsqlShapesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#compartment_id DataOciPsqlShapes#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#id DataOciPsqlShapes#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;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#filter DataOciPsqlShapes#filter}
*/
readonly filter?: DataOciPsqlShapesFilter[] | cdktf.IResolvable;
}
export interface DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptions {
}
export declare function dataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsToTerraform(struct?: DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptions): any;
export declare function dataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsToHclTerraform(struct?: DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptions): any;
export declare class DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsOutputReference 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(): DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptions | undefined;
set internalValue(value: DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptions | undefined);
get defaultPerOcpuInGbs(): number;
get maxInGbs(): number;
get maxPerOcpuInGbs(): number;
get minInGbs(): number;
get minPerOcpuInGbs(): number;
}
export declare class DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsList 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): DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsOutputReference;
}
export interface DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptions {
}
export declare function dataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsToTerraform(struct?: DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptions): any;
export declare function dataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsToHclTerraform(struct?: DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptions): any;
export declare class DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsOutputReference 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(): DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptions | undefined;
set internalValue(value: DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptions | undefined);
get max(): number;
get min(): number;
}
export declare class DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsList 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): DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsOutputReference;
}
export interface DataOciPsqlShapesShapeCollectionItems {
}
export declare function dataOciPsqlShapesShapeCollectionItemsToTerraform(struct?: DataOciPsqlShapesShapeCollectionItems): any;
export declare function dataOciPsqlShapesShapeCollectionItemsToHclTerraform(struct?: DataOciPsqlShapesShapeCollectionItems): any;
export declare class DataOciPsqlShapesShapeCollectionItemsOutputReference 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(): DataOciPsqlShapesShapeCollectionItems | undefined;
set internalValue(value: DataOciPsqlShapesShapeCollectionItems | undefined);
get id(): string;
get isFlexible(): cdktf.IResolvable;
get memorySizeInGbs(): number;
get ocpuCount(): number;
get shape(): string;
private _shapeMemoryOptions;
get shapeMemoryOptions(): DataOciPsqlShapesShapeCollectionItemsShapeMemoryOptionsList;
private _shapeOcpuOptions;
get shapeOcpuOptions(): DataOciPsqlShapesShapeCollectionItemsShapeOcpuOptionsList;
}
export declare class DataOciPsqlShapesShapeCollectionItemsList 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): DataOciPsqlShapesShapeCollectionItemsOutputReference;
}
export interface DataOciPsqlShapesShapeCollection {
}
export declare function dataOciPsqlShapesShapeCollectionToTerraform(struct?: DataOciPsqlShapesShapeCollection): any;
export declare function dataOciPsqlShapesShapeCollectionToHclTerraform(struct?: DataOciPsqlShapesShapeCollection): any;
export declare class DataOciPsqlShapesShapeCollectionOutputReference 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(): DataOciPsqlShapesShapeCollection | undefined;
set internalValue(value: DataOciPsqlShapesShapeCollection | undefined);
private _items;
get items(): DataOciPsqlShapesShapeCollectionItemsList;
}
export declare class DataOciPsqlShapesShapeCollectionList 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): DataOciPsqlShapesShapeCollectionOutputReference;
}
export interface DataOciPsqlShapesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#name DataOciPsqlShapes#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#regex DataOciPsqlShapes#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#values DataOciPsqlShapes#values}
*/
readonly values: string[];
}
export declare function dataOciPsqlShapesFilterToTerraform(struct?: DataOciPsqlShapesFilter | cdktf.IResolvable): any;
export declare function dataOciPsqlShapesFilterToHclTerraform(struct?: DataOciPsqlShapesFilter | cdktf.IResolvable): any;
export declare class DataOciPsqlShapesFilterOutputReference 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(): DataOciPsqlShapesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciPsqlShapesFilter | cdktf.IResolvable | undefined);
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _regex?;
get regex(): boolean | cdktf.IResolvable;
set regex(value: boolean | cdktf.IResolvable);
resetRegex(): void;
get regexInput(): boolean | cdktf.IResolvable | undefined;
private _values?;
get values(): string[];
set values(value: string[]);
get valuesInput(): string[] | undefined;
}
export declare class DataOciPsqlShapesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciPsqlShapesFilter[] | 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): DataOciPsqlShapesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes oci_psql_shapes}
*/
export declare class DataOciPsqlShapes extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_psql_shapes";
/**
* Generates CDKTF code for importing a DataOciPsqlShapes 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 DataOciPsqlShapes to import
* @param importFromId The id of the existing DataOciPsqlShapes that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/psql_shapes#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciPsqlShapes 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/data-sources/psql_shapes oci_psql_shapes} Data Source
*
* @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 DataOciPsqlShapesConfig = {}
*/
constructor(scope: Construct, id: string, config?: DataOciPsqlShapesConfig);
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 _shapeCollection;
get shapeCollection(): DataOciPsqlShapesShapeCollectionList;
private _filter;
get filter(): DataOciPsqlShapesFilterList;
putFilter(value: DataOciPsqlShapesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciPsqlShapesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}