rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
213 lines (212 loc) • 10.6 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface GenerativeAiEndpointConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#compartment_id GenerativeAiEndpoint#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#dedicated_ai_cluster_id GenerativeAiEndpoint#dedicated_ai_cluster_id}
*/
readonly dedicatedAiClusterId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#defined_tags GenerativeAiEndpoint#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#description GenerativeAiEndpoint#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#display_name GenerativeAiEndpoint#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#freeform_tags GenerativeAiEndpoint#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#id GenerativeAiEndpoint#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/generative_ai_endpoint#model_id GenerativeAiEndpoint#model_id}
*/
readonly modelId: string;
/**
* content_moderation_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#content_moderation_config GenerativeAiEndpoint#content_moderation_config}
*/
readonly contentModerationConfig?: GenerativeAiEndpointContentModerationConfig;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#timeouts GenerativeAiEndpoint#timeouts}
*/
readonly timeouts?: GenerativeAiEndpointTimeouts;
}
export interface GenerativeAiEndpointContentModerationConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#is_enabled GenerativeAiEndpoint#is_enabled}
*/
readonly isEnabled: boolean | cdktf.IResolvable;
}
export declare function generativeAiEndpointContentModerationConfigToTerraform(struct?: GenerativeAiEndpointContentModerationConfigOutputReference | GenerativeAiEndpointContentModerationConfig): any;
export declare function generativeAiEndpointContentModerationConfigToHclTerraform(struct?: GenerativeAiEndpointContentModerationConfigOutputReference | GenerativeAiEndpointContentModerationConfig): any;
export declare class GenerativeAiEndpointContentModerationConfigOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): GenerativeAiEndpointContentModerationConfig | undefined;
set internalValue(value: GenerativeAiEndpointContentModerationConfig | undefined);
private _isEnabled?;
get isEnabled(): boolean | cdktf.IResolvable;
set isEnabled(value: boolean | cdktf.IResolvable);
get isEnabledInput(): boolean | cdktf.IResolvable | undefined;
}
export interface GenerativeAiEndpointTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#create GenerativeAiEndpoint#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#delete GenerativeAiEndpoint#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#update GenerativeAiEndpoint#update}
*/
readonly update?: string;
}
export declare function generativeAiEndpointTimeoutsToTerraform(struct?: GenerativeAiEndpointTimeouts | cdktf.IResolvable): any;
export declare function generativeAiEndpointTimeoutsToHclTerraform(struct?: GenerativeAiEndpointTimeouts | cdktf.IResolvable): any;
export declare class GenerativeAiEndpointTimeoutsOutputReference 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(): GenerativeAiEndpointTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: GenerativeAiEndpointTimeouts | 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/generative_ai_endpoint oci_generative_ai_endpoint}
*/
export declare class GenerativeAiEndpoint extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_generative_ai_endpoint";
/**
* Generates CDKTF code for importing a GenerativeAiEndpoint 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 GenerativeAiEndpoint to import
* @param importFromId The id of the existing GenerativeAiEndpoint that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/generative_ai_endpoint#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the GenerativeAiEndpoint 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/generative_ai_endpoint oci_generative_ai_endpoint} 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 GenerativeAiEndpointConfig
*/
constructor(scope: Construct, id: string, config: GenerativeAiEndpointConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _dedicatedAiClusterId?;
get dedicatedAiClusterId(): string;
set dedicatedAiClusterId(value: string);
get dedicatedAiClusterIdInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get lifecycleDetails(): string;
private _modelId?;
get modelId(): string;
set modelId(value: string);
get modelIdInput(): string | undefined;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
private _contentModerationConfig;
get contentModerationConfig(): GenerativeAiEndpointContentModerationConfigOutputReference;
putContentModerationConfig(value: GenerativeAiEndpointContentModerationConfig): void;
resetContentModerationConfig(): void;
get contentModerationConfigInput(): GenerativeAiEndpointContentModerationConfig | undefined;
private _timeouts;
get timeouts(): GenerativeAiEndpointTimeoutsOutputReference;
putTimeouts(value: GenerativeAiEndpointTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | GenerativeAiEndpointTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}