rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
213 lines (212 loc) • 11.9 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciGenerativeAiModelConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_model#model_id DataOciGenerativeAiModel#model_id}
*/
readonly modelId: string;
}
export interface DataOciGenerativeAiModelFineTuneDetailsTrainingConfig {
}
export declare function dataOciGenerativeAiModelFineTuneDetailsTrainingConfigToTerraform(struct?: DataOciGenerativeAiModelFineTuneDetailsTrainingConfig): any;
export declare function dataOciGenerativeAiModelFineTuneDetailsTrainingConfigToHclTerraform(struct?: DataOciGenerativeAiModelFineTuneDetailsTrainingConfig): any;
export declare class DataOciGenerativeAiModelFineTuneDetailsTrainingConfigOutputReference 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(): DataOciGenerativeAiModelFineTuneDetailsTrainingConfig | undefined;
set internalValue(value: DataOciGenerativeAiModelFineTuneDetailsTrainingConfig | 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 DataOciGenerativeAiModelFineTuneDetailsTrainingConfigList 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): DataOciGenerativeAiModelFineTuneDetailsTrainingConfigOutputReference;
}
export interface DataOciGenerativeAiModelFineTuneDetailsTrainingDataset {
}
export declare function dataOciGenerativeAiModelFineTuneDetailsTrainingDatasetToTerraform(struct?: DataOciGenerativeAiModelFineTuneDetailsTrainingDataset): any;
export declare function dataOciGenerativeAiModelFineTuneDetailsTrainingDatasetToHclTerraform(struct?: DataOciGenerativeAiModelFineTuneDetailsTrainingDataset): any;
export declare class DataOciGenerativeAiModelFineTuneDetailsTrainingDatasetOutputReference 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(): DataOciGenerativeAiModelFineTuneDetailsTrainingDataset | undefined;
set internalValue(value: DataOciGenerativeAiModelFineTuneDetailsTrainingDataset | undefined);
get bucket(): string;
get datasetType(): string;
get namespace(): string;
get object(): string;
}
export declare class DataOciGenerativeAiModelFineTuneDetailsTrainingDatasetList 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): DataOciGenerativeAiModelFineTuneDetailsTrainingDatasetOutputReference;
}
export interface DataOciGenerativeAiModelFineTuneDetails {
}
export declare function dataOciGenerativeAiModelFineTuneDetailsToTerraform(struct?: DataOciGenerativeAiModelFineTuneDetails): any;
export declare function dataOciGenerativeAiModelFineTuneDetailsToHclTerraform(struct?: DataOciGenerativeAiModelFineTuneDetails): any;
export declare class DataOciGenerativeAiModelFineTuneDetailsOutputReference 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(): DataOciGenerativeAiModelFineTuneDetails | undefined;
set internalValue(value: DataOciGenerativeAiModelFineTuneDetails | undefined);
get dedicatedAiClusterId(): string;
private _trainingConfig;
get trainingConfig(): DataOciGenerativeAiModelFineTuneDetailsTrainingConfigList;
private _trainingDataset;
get trainingDataset(): DataOciGenerativeAiModelFineTuneDetailsTrainingDatasetList;
}
export declare class DataOciGenerativeAiModelFineTuneDetailsList 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): DataOciGenerativeAiModelFineTuneDetailsOutputReference;
}
export interface DataOciGenerativeAiModelModelMetrics {
}
export declare function dataOciGenerativeAiModelModelMetricsToTerraform(struct?: DataOciGenerativeAiModelModelMetrics): any;
export declare function dataOciGenerativeAiModelModelMetricsToHclTerraform(struct?: DataOciGenerativeAiModelModelMetrics): any;
export declare class DataOciGenerativeAiModelModelMetricsOutputReference 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(): DataOciGenerativeAiModelModelMetrics | undefined;
set internalValue(value: DataOciGenerativeAiModelModelMetrics | undefined);
get finalAccuracy(): number;
get finalLoss(): number;
get modelMetricsType(): string;
}
export declare class DataOciGenerativeAiModelModelMetricsList 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): DataOciGenerativeAiModelModelMetricsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_model oci_generative_ai_model}
*/
export declare class DataOciGenerativeAiModel extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_generative_ai_model";
/**
* Generates CDKTF code for importing a DataOciGenerativeAiModel 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 DataOciGenerativeAiModel to import
* @param importFromId The id of the existing DataOciGenerativeAiModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/generative_ai_model#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciGenerativeAiModel 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_model oci_generative_ai_model} 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 DataOciGenerativeAiModelConfig
*/
constructor(scope: Construct, id: string, config: DataOciGenerativeAiModelConfig);
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(): DataOciGenerativeAiModelFineTuneDetailsList;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isLongTermSupported(): cdktf.IResolvable;
get lifecycleDetails(): string;
private _modelId?;
get modelId(): string;
set modelId(value: string);
get modelIdInput(): string | undefined;
private _modelMetrics;
get modelMetrics(): DataOciGenerativeAiModelModelMetricsList;
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;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}