rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
313 lines (312 loc) • 18.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOptimizerCategoriesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#child_tenancy_ids DataOciOptimizerCategories#child_tenancy_ids}
*/
readonly childTenancyIds?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#compartment_id DataOciOptimizerCategories#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#compartment_id_in_subtree DataOciOptimizerCategories#compartment_id_in_subtree}
*/
readonly compartmentIdInSubtree: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#id DataOciOptimizerCategories#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_categories#include_organization DataOciOptimizerCategories#include_organization}
*/
readonly includeOrganization?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#name DataOciOptimizerCategories#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#state DataOciOptimizerCategories#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_categories#filter DataOciOptimizerCategories#filter}
*/
readonly filter?: DataOciOptimizerCategoriesFilter[] | cdktf.IResolvable;
}
export interface DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCounts {
}
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsToTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCounts): any;
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsToHclTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCounts): any;
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsOutputReference 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(): DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCounts | undefined;
set internalValue(value: DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCounts | undefined);
get count(): number;
get importance(): string;
}
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsList 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): DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsOutputReference;
}
export interface DataOciOptimizerCategoriesCategoryCollectionItemsResourceCounts {
}
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsToTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItemsResourceCounts): any;
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsToHclTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItemsResourceCounts): any;
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsOutputReference 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(): DataOciOptimizerCategoriesCategoryCollectionItemsResourceCounts | undefined;
set internalValue(value: DataOciOptimizerCategoriesCategoryCollectionItemsResourceCounts | undefined);
get count(): number;
get status(): string;
}
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsList 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): DataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsOutputReference;
}
export interface DataOciOptimizerCategoriesCategoryCollectionItems {
}
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsToTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItems): any;
export declare function dataOciOptimizerCategoriesCategoryCollectionItemsToHclTerraform(struct?: DataOciOptimizerCategoriesCategoryCollectionItems): any;
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsOutputReference 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(): DataOciOptimizerCategoriesCategoryCollectionItems | undefined;
set internalValue(value: DataOciOptimizerCategoriesCategoryCollectionItems | undefined);
get compartmentId(): string;
get compartmentName(): string;
get description(): string;
get estimatedCostSaving(): number;
private _extendedMetadata;
get extendedMetadata(): cdktf.StringMap;
get id(): string;
get name(): string;
private _recommendationCounts;
get recommendationCounts(): DataOciOptimizerCategoriesCategoryCollectionItemsRecommendationCountsList;
private _resourceCounts;
get resourceCounts(): DataOciOptimizerCategoriesCategoryCollectionItemsResourceCountsList;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
}
export declare class DataOciOptimizerCategoriesCategoryCollectionItemsList 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): DataOciOptimizerCategoriesCategoryCollectionItemsOutputReference;
}
export interface DataOciOptimizerCategoriesCategoryCollection {
}
export declare function dataOciOptimizerCategoriesCategoryCollectionToTerraform(struct?: DataOciOptimizerCategoriesCategoryCollection): any;
export declare function dataOciOptimizerCategoriesCategoryCollectionToHclTerraform(struct?: DataOciOptimizerCategoriesCategoryCollection): any;
export declare class DataOciOptimizerCategoriesCategoryCollectionOutputReference 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(): DataOciOptimizerCategoriesCategoryCollection | undefined;
set internalValue(value: DataOciOptimizerCategoriesCategoryCollection | undefined);
private _items;
get items(): DataOciOptimizerCategoriesCategoryCollectionItemsList;
}
export declare class DataOciOptimizerCategoriesCategoryCollectionList 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): DataOciOptimizerCategoriesCategoryCollectionOutputReference;
}
export interface DataOciOptimizerCategoriesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#name DataOciOptimizerCategories#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#regex DataOciOptimizerCategories#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_categories#values DataOciOptimizerCategories#values}
*/
readonly values: string[];
}
export declare function dataOciOptimizerCategoriesFilterToTerraform(struct?: DataOciOptimizerCategoriesFilter | cdktf.IResolvable): any;
export declare function dataOciOptimizerCategoriesFilterToHclTerraform(struct?: DataOciOptimizerCategoriesFilter | cdktf.IResolvable): any;
export declare class DataOciOptimizerCategoriesFilterOutputReference 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(): DataOciOptimizerCategoriesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciOptimizerCategoriesFilter | 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 DataOciOptimizerCategoriesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciOptimizerCategoriesFilter[] | 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): DataOciOptimizerCategoriesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories oci_optimizer_categories}
*/
export declare class DataOciOptimizerCategories extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_optimizer_categories";
/**
* Generates CDKTF code for importing a DataOciOptimizerCategories 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 DataOciOptimizerCategories to import
* @param importFromId The id of the existing DataOciOptimizerCategories that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_categories#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOptimizerCategories 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_categories oci_optimizer_categories} 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 DataOciOptimizerCategoriesConfig
*/
constructor(scope: Construct, id: string, config: DataOciOptimizerCategoriesConfig);
private _categoryCollection;
get categoryCollection(): DataOciOptimizerCategoriesCategoryCollectionList;
private _childTenancyIds?;
get childTenancyIds(): string[];
set childTenancyIds(value: string[]);
resetChildTenancyIds(): void;
get childTenancyIdsInput(): string[] | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _compartmentIdInSubtree?;
get compartmentIdInSubtree(): boolean | cdktf.IResolvable;
set compartmentIdInSubtree(value: boolean | cdktf.IResolvable);
get compartmentIdInSubtreeInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _includeOrganization?;
get includeOrganization(): boolean | cdktf.IResolvable;
set includeOrganization(value: boolean | cdktf.IResolvable);
resetIncludeOrganization(): void;
get includeOrganizationInput(): boolean | cdktf.IResolvable | undefined;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _filter;
get filter(): DataOciOptimizerCategoriesFilterList;
putFilter(value: DataOciOptimizerCategoriesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciOptimizerCategoriesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}