rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
392 lines (391 loc) • 23.5 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOptimizerProfilesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#compartment_id DataOciOptimizerProfiles#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#id DataOciOptimizerProfiles#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/optimizer_profiles#name DataOciOptimizerProfiles#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#state DataOciOptimizerProfiles#state}
*/
readonly state?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#filter DataOciOptimizerProfiles#filter}
*/
readonly filter?: DataOciOptimizerProfilesFilter[] | cdktf.IResolvable;
}
export interface DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItems {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItems): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItems): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItems | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItems | undefined);
get level(): string;
get recommendationId(): string;
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsList 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): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollectionItemsLevelsConfiguration {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfiguration): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfiguration): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfiguration | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItemsLevelsConfiguration | undefined);
private _items;
get items(): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationItemsList;
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationList 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): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollectionItemsTargetCompartments {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetCompartments): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetCompartments): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItemsTargetCompartments | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItemsTargetCompartments | undefined);
get items(): string[];
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsList 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): DataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItems {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItems): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItems): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItems | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItems | undefined);
get tagDefinitionName(): string;
get tagNamespaceName(): string;
get tagValueType(): string;
get tagValues(): string[];
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsList 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): DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollectionItemsTargetTags {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetTagsToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetTags): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsTargetTagsToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItemsTargetTags): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetTagsOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItemsTargetTags | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItemsTargetTags | undefined);
private _items;
get items(): DataOciOptimizerProfilesProfileCollectionItemsTargetTagsItemsList;
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsTargetTagsList 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): DataOciOptimizerProfilesProfileCollectionItemsTargetTagsOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollectionItems {
}
export declare function dataOciOptimizerProfilesProfileCollectionItemsToTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItems): any;
export declare function dataOciOptimizerProfilesProfileCollectionItemsToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollectionItems): any;
export declare class DataOciOptimizerProfilesProfileCollectionItemsOutputReference 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(): DataOciOptimizerProfilesProfileCollectionItems | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollectionItems | undefined);
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(): DataOciOptimizerProfilesProfileCollectionItemsLevelsConfigurationList;
get name(): string;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
private _targetCompartments;
get targetCompartments(): DataOciOptimizerProfilesProfileCollectionItemsTargetCompartmentsList;
private _targetTags;
get targetTags(): DataOciOptimizerProfilesProfileCollectionItemsTargetTagsList;
get timeCreated(): string;
get timeUpdated(): string;
}
export declare class DataOciOptimizerProfilesProfileCollectionItemsList 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): DataOciOptimizerProfilesProfileCollectionItemsOutputReference;
}
export interface DataOciOptimizerProfilesProfileCollection {
}
export declare function dataOciOptimizerProfilesProfileCollectionToTerraform(struct?: DataOciOptimizerProfilesProfileCollection): any;
export declare function dataOciOptimizerProfilesProfileCollectionToHclTerraform(struct?: DataOciOptimizerProfilesProfileCollection): any;
export declare class DataOciOptimizerProfilesProfileCollectionOutputReference 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(): DataOciOptimizerProfilesProfileCollection | undefined;
set internalValue(value: DataOciOptimizerProfilesProfileCollection | undefined);
private _items;
get items(): DataOciOptimizerProfilesProfileCollectionItemsList;
}
export declare class DataOciOptimizerProfilesProfileCollectionList 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): DataOciOptimizerProfilesProfileCollectionOutputReference;
}
export interface DataOciOptimizerProfilesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#name DataOciOptimizerProfiles#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#regex DataOciOptimizerProfiles#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#values DataOciOptimizerProfiles#values}
*/
readonly values: string[];
}
export declare function dataOciOptimizerProfilesFilterToTerraform(struct?: DataOciOptimizerProfilesFilter | cdktf.IResolvable): any;
export declare function dataOciOptimizerProfilesFilterToHclTerraform(struct?: DataOciOptimizerProfilesFilter | cdktf.IResolvable): any;
export declare class DataOciOptimizerProfilesFilterOutputReference 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(): DataOciOptimizerProfilesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciOptimizerProfilesFilter | 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 DataOciOptimizerProfilesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciOptimizerProfilesFilter[] | 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): DataOciOptimizerProfilesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles oci_optimizer_profiles}
*/
export declare class DataOciOptimizerProfiles extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_optimizer_profiles";
/**
* Generates CDKTF code for importing a DataOciOptimizerProfiles 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 DataOciOptimizerProfiles to import
* @param importFromId The id of the existing DataOciOptimizerProfiles that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_profiles#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOptimizerProfiles 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_profiles oci_optimizer_profiles} 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 DataOciOptimizerProfilesConfig
*/
constructor(scope: Construct, id: string, config: DataOciOptimizerProfilesConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _profileCollection;
get profileCollection(): DataOciOptimizerProfilesProfileCollectionList;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _filter;
get filter(): DataOciOptimizerProfilesFilterList;
putFilter(value: DataOciOptimizerProfilesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciOptimizerProfilesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}