rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
105 lines (104 loc) • 5.71 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOptimizerResourceActionConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_resource_action#include_resource_metadata DataOciOptimizerResourceAction#include_resource_metadata}
*/
readonly includeResourceMetadata?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_resource_action#resource_action_id DataOciOptimizerResourceAction#resource_action_id}
*/
readonly resourceActionId: string;
}
export interface DataOciOptimizerResourceActionAction {
}
export declare function dataOciOptimizerResourceActionActionToTerraform(struct?: DataOciOptimizerResourceActionAction): any;
export declare function dataOciOptimizerResourceActionActionToHclTerraform(struct?: DataOciOptimizerResourceActionAction): any;
export declare class DataOciOptimizerResourceActionActionOutputReference 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(): DataOciOptimizerResourceActionAction | undefined;
set internalValue(value: DataOciOptimizerResourceActionAction | undefined);
get description(): string;
get type(): string;
get url(): string;
}
export declare class DataOciOptimizerResourceActionActionList 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): DataOciOptimizerResourceActionActionOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_resource_action oci_optimizer_resource_action}
*/
export declare class DataOciOptimizerResourceAction extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_optimizer_resource_action";
/**
* Generates CDKTF code for importing a DataOciOptimizerResourceAction 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 DataOciOptimizerResourceAction to import
* @param importFromId The id of the existing DataOciOptimizerResourceAction that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/optimizer_resource_action#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOptimizerResourceAction 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_resource_action oci_optimizer_resource_action} 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 DataOciOptimizerResourceActionConfig
*/
constructor(scope: Construct, id: string, config: DataOciOptimizerResourceActionConfig);
private _action;
get action(): DataOciOptimizerResourceActionActionList;
get categoryId(): string;
get compartmentId(): string;
get compartmentName(): string;
get estimatedCostSaving(): number;
private _extendedMetadata;
get extendedMetadata(): cdktf.StringMap;
get id(): string;
private _includeResourceMetadata?;
get includeResourceMetadata(): boolean | cdktf.IResolvable;
set includeResourceMetadata(value: boolean | cdktf.IResolvable);
resetIncludeResourceMetadata(): void;
get includeResourceMetadataInput(): boolean | cdktf.IResolvable | undefined;
private _metadata;
get metadata(): cdktf.StringMap;
get name(): string;
get recommendationId(): string;
private _resourceActionId?;
get resourceActionId(): string;
set resourceActionId(value: string);
get resourceActionIdInput(): string | undefined;
get resourceId(): string;
get resourceType(): string;
get state(): string;
get status(): string;
get timeCreated(): string;
get timeStatusBegin(): string;
get timeStatusEnd(): string;
get timeUpdated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}