rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
396 lines (395 loc) • 22.9 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciGenerativeAiModelsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#capability DataOciGenerativeAiModels#capability}
*/
readonly capability?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#compartment_id DataOciGenerativeAiModels#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#display_name DataOciGenerativeAiModels#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#id DataOciGenerativeAiModels#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/data-sources/generative_ai_models#state DataOciGenerativeAiModels#state}
*/
readonly state?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#vendor DataOciGenerativeAiModels#vendor}
*/
readonly vendor?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#filter DataOciGenerativeAiModels#filter}
*/
readonly filter?: DataOciGenerativeAiModelsFilter[] | cdktf.IResolvable;
}
export interface DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfig {
}
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigToTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfig): any;
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfig): any;
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigOutputReference 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(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfig | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfig | undefined);
get earlyStoppingPatience(): number;
get earlyStoppingThreshold(): number;
get learningRate(): number;
get logModelMetricsIntervalInSteps(): number;
get loraAlpha(): number;
get loraDropout(): number;
get loraR(): number;
get numOfLastLayers(): number;
get totalTrainingEpochs(): number;
get trainingBatchSize(): number;
get trainingConfigType(): string;
}
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigList 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): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigOutputReference;
}
export interface DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDataset {
}
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetToTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDataset): any;
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDataset): any;
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetOutputReference 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(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDataset | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDataset | undefined);
get bucket(): string;
get datasetType(): string;
get namespace(): string;
get object(): string;
}
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetList 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): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetOutputReference;
}
export interface DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetails {
}
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsToTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetails): any;
export declare function dataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetails): any;
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsOutputReference 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(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetails | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetails | undefined);
get dedicatedAiClusterId(): string;
private _trainingConfig;
get trainingConfig(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingConfigList;
private _trainingDataset;
get trainingDataset(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsTrainingDatasetList;
}
export declare class DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsList 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): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsOutputReference;
}
export interface DataOciGenerativeAiModelsModelCollectionItemsModelMetrics {
}
export declare function dataOciGenerativeAiModelsModelCollectionItemsModelMetricsToTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsModelMetrics): any;
export declare function dataOciGenerativeAiModelsModelCollectionItemsModelMetricsToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItemsModelMetrics): any;
export declare class DataOciGenerativeAiModelsModelCollectionItemsModelMetricsOutputReference 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(): DataOciGenerativeAiModelsModelCollectionItemsModelMetrics | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollectionItemsModelMetrics | undefined);
get finalAccuracy(): number;
get finalLoss(): number;
get modelMetricsType(): string;
}
export declare class DataOciGenerativeAiModelsModelCollectionItemsModelMetricsList 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): DataOciGenerativeAiModelsModelCollectionItemsModelMetricsOutputReference;
}
export interface DataOciGenerativeAiModelsModelCollectionItems {
}
export declare function dataOciGenerativeAiModelsModelCollectionItemsToTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItems): any;
export declare function dataOciGenerativeAiModelsModelCollectionItemsToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollectionItems): any;
export declare class DataOciGenerativeAiModelsModelCollectionItemsOutputReference 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(): DataOciGenerativeAiModelsModelCollectionItems | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollectionItems | undefined);
get baseModelId(): string;
get capabilities(): string[];
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
get displayName(): string;
private _fineTuneDetails;
get fineTuneDetails(): DataOciGenerativeAiModelsModelCollectionItemsFineTuneDetailsList;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isLongTermSupported(): cdktf.IResolvable;
get lifecycleDetails(): string;
private _modelMetrics;
get modelMetrics(): DataOciGenerativeAiModelsModelCollectionItemsModelMetricsList;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeDeprecated(): string;
get timeUpdated(): string;
get type(): string;
get vendor(): string;
get version(): string;
}
export declare class DataOciGenerativeAiModelsModelCollectionItemsList 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): DataOciGenerativeAiModelsModelCollectionItemsOutputReference;
}
export interface DataOciGenerativeAiModelsModelCollection {
}
export declare function dataOciGenerativeAiModelsModelCollectionToTerraform(struct?: DataOciGenerativeAiModelsModelCollection): any;
export declare function dataOciGenerativeAiModelsModelCollectionToHclTerraform(struct?: DataOciGenerativeAiModelsModelCollection): any;
export declare class DataOciGenerativeAiModelsModelCollectionOutputReference 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(): DataOciGenerativeAiModelsModelCollection | undefined;
set internalValue(value: DataOciGenerativeAiModelsModelCollection | undefined);
private _items;
get items(): DataOciGenerativeAiModelsModelCollectionItemsList;
}
export declare class DataOciGenerativeAiModelsModelCollectionList 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): DataOciGenerativeAiModelsModelCollectionOutputReference;
}
export interface DataOciGenerativeAiModelsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#name DataOciGenerativeAiModels#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#regex DataOciGenerativeAiModels#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#values DataOciGenerativeAiModels#values}
*/
readonly values: string[];
}
export declare function dataOciGenerativeAiModelsFilterToTerraform(struct?: DataOciGenerativeAiModelsFilter | cdktf.IResolvable): any;
export declare function dataOciGenerativeAiModelsFilterToHclTerraform(struct?: DataOciGenerativeAiModelsFilter | cdktf.IResolvable): any;
export declare class DataOciGenerativeAiModelsFilterOutputReference 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(): DataOciGenerativeAiModelsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciGenerativeAiModelsFilter | 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 DataOciGenerativeAiModelsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciGenerativeAiModelsFilter[] | 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): DataOciGenerativeAiModelsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models oci_generative_ai_models}
*/
export declare class DataOciGenerativeAiModels extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_generative_ai_models";
/**
* Generates CDKTF code for importing a DataOciGenerativeAiModels 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 DataOciGenerativeAiModels to import
* @param importFromId The id of the existing DataOciGenerativeAiModels that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_models#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciGenerativeAiModels 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/generative_ai_models oci_generative_ai_models} 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 DataOciGenerativeAiModelsConfig
*/
constructor(scope: Construct, id: string, config: DataOciGenerativeAiModelsConfig);
private _capability?;
get capability(): string[];
set capability(value: string[]);
resetCapability(): void;
get capabilityInput(): string[] | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _modelCollection;
get modelCollection(): DataOciGenerativeAiModelsModelCollectionList;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _vendor?;
get vendor(): string;
set vendor(value: string);
resetVendor(): void;
get vendorInput(): string | undefined;
private _filter;
get filter(): DataOciGenerativeAiModelsFilterList;
putFilter(value: DataOciGenerativeAiModelsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciGenerativeAiModelsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}