UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

158 lines (157 loc) 9.24 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataOciOptimizerRecommendationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_recommendation#recommendation_id DataOciOptimizerRecommendation#recommendation_id} */ readonly recommendationId: string; } export interface DataOciOptimizerRecommendationResourceCounts { } export declare function dataOciOptimizerRecommendationResourceCountsToTerraform(struct?: DataOciOptimizerRecommendationResourceCounts): any; export declare function dataOciOptimizerRecommendationResourceCountsToHclTerraform(struct?: DataOciOptimizerRecommendationResourceCounts): any; export declare class DataOciOptimizerRecommendationResourceCountsOutputReference 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(): DataOciOptimizerRecommendationResourceCounts | undefined; set internalValue(value: DataOciOptimizerRecommendationResourceCounts | undefined); get count(): number; get status(): string; } export declare class DataOciOptimizerRecommendationResourceCountsList 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): DataOciOptimizerRecommendationResourceCountsOutputReference; } export interface DataOciOptimizerRecommendationSupportedLevelsItems { } export declare function dataOciOptimizerRecommendationSupportedLevelsItemsToTerraform(struct?: DataOciOptimizerRecommendationSupportedLevelsItems): any; export declare function dataOciOptimizerRecommendationSupportedLevelsItemsToHclTerraform(struct?: DataOciOptimizerRecommendationSupportedLevelsItems): any; export declare class DataOciOptimizerRecommendationSupportedLevelsItemsOutputReference 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(): DataOciOptimizerRecommendationSupportedLevelsItems | undefined; set internalValue(value: DataOciOptimizerRecommendationSupportedLevelsItems | undefined); get name(): string; } export declare class DataOciOptimizerRecommendationSupportedLevelsItemsList 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): DataOciOptimizerRecommendationSupportedLevelsItemsOutputReference; } export interface DataOciOptimizerRecommendationSupportedLevels { } export declare function dataOciOptimizerRecommendationSupportedLevelsToTerraform(struct?: DataOciOptimizerRecommendationSupportedLevels): any; export declare function dataOciOptimizerRecommendationSupportedLevelsToHclTerraform(struct?: DataOciOptimizerRecommendationSupportedLevels): any; export declare class DataOciOptimizerRecommendationSupportedLevelsOutputReference 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(): DataOciOptimizerRecommendationSupportedLevels | undefined; set internalValue(value: DataOciOptimizerRecommendationSupportedLevels | undefined); private _items; get items(): DataOciOptimizerRecommendationSupportedLevelsItemsList; } export declare class DataOciOptimizerRecommendationSupportedLevelsList 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): DataOciOptimizerRecommendationSupportedLevelsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_recommendation oci_optimizer_recommendation} */ export declare class DataOciOptimizerRecommendation extends cdktf.TerraformDataSource { static readonly tfResourceType = "oci_optimizer_recommendation"; /** * Generates CDKTF code for importing a DataOciOptimizerRecommendation 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 DataOciOptimizerRecommendation to import * @param importFromId The id of the existing DataOciOptimizerRecommendation that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_recommendation#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciOptimizerRecommendation 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/optimizer_recommendation oci_optimizer_recommendation} 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 DataOciOptimizerRecommendationConfig */ constructor(scope: Construct, id: string, config: DataOciOptimizerRecommendationConfig); get categoryId(): string; get compartmentId(): string; get description(): string; get estimatedCostSaving(): number; private _extendedMetadata; get extendedMetadata(): cdktf.StringMap; get id(): string; get importance(): string; get name(): string; private _recommendationId?; get recommendationId(): string; set recommendationId(value: string); get recommendationIdInput(): string | undefined; private _resourceCounts; get resourceCounts(): DataOciOptimizerRecommendationResourceCountsList; get state(): string; get status(): string; private _supportedLevels; get supportedLevels(): DataOciOptimizerRecommendationSupportedLevelsList; get timeCreated(): string; get timeStatusBegin(): string; get timeStatusEnd(): string; get timeUpdated(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }