rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
227 lines (226 loc) • 13 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOptimizerProfileConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profile#profile_id DataOciOptimizerProfile#profile_id}
*/
readonly profileId: string;
}
export interface DataOciOptimizerProfileLevelsConfigurationItems {
}
export declare function dataOciOptimizerProfileLevelsConfigurationItemsToTerraform(struct?: DataOciOptimizerProfileLevelsConfigurationItems): any;
export declare function dataOciOptimizerProfileLevelsConfigurationItemsToHclTerraform(struct?: DataOciOptimizerProfileLevelsConfigurationItems): any;
export declare class DataOciOptimizerProfileLevelsConfigurationItemsOutputReference 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(): DataOciOptimizerProfileLevelsConfigurationItems | undefined;
set internalValue(value: DataOciOptimizerProfileLevelsConfigurationItems | undefined);
get level(): string;
get recommendationId(): string;
}
export declare class DataOciOptimizerProfileLevelsConfigurationItemsList 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): DataOciOptimizerProfileLevelsConfigurationItemsOutputReference;
}
export interface DataOciOptimizerProfileLevelsConfiguration {
}
export declare function dataOciOptimizerProfileLevelsConfigurationToTerraform(struct?: DataOciOptimizerProfileLevelsConfiguration): any;
export declare function dataOciOptimizerProfileLevelsConfigurationToHclTerraform(struct?: DataOciOptimizerProfileLevelsConfiguration): any;
export declare class DataOciOptimizerProfileLevelsConfigurationOutputReference 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(): DataOciOptimizerProfileLevelsConfiguration | undefined;
set internalValue(value: DataOciOptimizerProfileLevelsConfiguration | undefined);
private _items;
get items(): DataOciOptimizerProfileLevelsConfigurationItemsList;
}
export declare class DataOciOptimizerProfileLevelsConfigurationList 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): DataOciOptimizerProfileLevelsConfigurationOutputReference;
}
export interface DataOciOptimizerProfileTargetCompartments {
}
export declare function dataOciOptimizerProfileTargetCompartmentsToTerraform(struct?: DataOciOptimizerProfileTargetCompartments): any;
export declare function dataOciOptimizerProfileTargetCompartmentsToHclTerraform(struct?: DataOciOptimizerProfileTargetCompartments): any;
export declare class DataOciOptimizerProfileTargetCompartmentsOutputReference 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(): DataOciOptimizerProfileTargetCompartments | undefined;
set internalValue(value: DataOciOptimizerProfileTargetCompartments | undefined);
get items(): string[];
}
export declare class DataOciOptimizerProfileTargetCompartmentsList 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): DataOciOptimizerProfileTargetCompartmentsOutputReference;
}
export interface DataOciOptimizerProfileTargetTagsItems {
}
export declare function dataOciOptimizerProfileTargetTagsItemsToTerraform(struct?: DataOciOptimizerProfileTargetTagsItems): any;
export declare function dataOciOptimizerProfileTargetTagsItemsToHclTerraform(struct?: DataOciOptimizerProfileTargetTagsItems): any;
export declare class DataOciOptimizerProfileTargetTagsItemsOutputReference 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(): DataOciOptimizerProfileTargetTagsItems | undefined;
set internalValue(value: DataOciOptimizerProfileTargetTagsItems | undefined);
get tagDefinitionName(): string;
get tagNamespaceName(): string;
get tagValueType(): string;
get tagValues(): string[];
}
export declare class DataOciOptimizerProfileTargetTagsItemsList 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): DataOciOptimizerProfileTargetTagsItemsOutputReference;
}
export interface DataOciOptimizerProfileTargetTags {
}
export declare function dataOciOptimizerProfileTargetTagsToTerraform(struct?: DataOciOptimizerProfileTargetTags): any;
export declare function dataOciOptimizerProfileTargetTagsToHclTerraform(struct?: DataOciOptimizerProfileTargetTags): any;
export declare class DataOciOptimizerProfileTargetTagsOutputReference 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(): DataOciOptimizerProfileTargetTags | undefined;
set internalValue(value: DataOciOptimizerProfileTargetTags | undefined);
private _items;
get items(): DataOciOptimizerProfileTargetTagsItemsList;
}
export declare class DataOciOptimizerProfileTargetTagsList 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): DataOciOptimizerProfileTargetTagsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profile oci_optimizer_profile}
*/
export declare class DataOciOptimizerProfile extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_optimizer_profile";
/**
* Generates CDKTF code for importing a DataOciOptimizerProfile 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 DataOciOptimizerProfile to import
* @param importFromId The id of the existing DataOciOptimizerProfile that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profile#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOptimizerProfile 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_profile oci_optimizer_profile} 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 DataOciOptimizerProfileConfig
*/
constructor(scope: Construct, id: string, config: DataOciOptimizerProfileConfig);
get aggregationIntervalInDays(): number;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
private _levelsConfiguration;
get levelsConfiguration(): DataOciOptimizerProfileLevelsConfigurationList;
get name(): string;
private _profileId?;
get profileId(): string;
set profileId(value: string);
get profileIdInput(): string | undefined;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
private _targetCompartments;
get targetCompartments(): DataOciOptimizerProfileTargetCompartmentsList;
private _targetTags;
get targetTags(): DataOciOptimizerProfileTargetTagsList;
get timeCreated(): string;
get timeUpdated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}