rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
229 lines (228 loc) • 13.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreComputeCapacityReportConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#availability_domain CoreComputeCapacityReport#availability_domain}
*/
readonly availabilityDomain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#compartment_id CoreComputeCapacityReport#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#id CoreComputeCapacityReport#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;
/**
* shape_availabilities block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#shape_availabilities CoreComputeCapacityReport#shape_availabilities}
*/
readonly shapeAvailabilities: CoreComputeCapacityReportShapeAvailabilities[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#timeouts CoreComputeCapacityReport#timeouts}
*/
readonly timeouts?: CoreComputeCapacityReportTimeouts;
}
export interface CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#memory_in_gbs CoreComputeCapacityReport#memory_in_gbs}
*/
readonly memoryInGbs?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#nvmes CoreComputeCapacityReport#nvmes}
*/
readonly nvmes?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#ocpus CoreComputeCapacityReport#ocpus}
*/
readonly ocpus?: number;
}
export declare function coreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigToTerraform(struct?: CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigOutputReference | CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig): any;
export declare function coreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigToHclTerraform(struct?: CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigOutputReference | CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig): any;
export declare class CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig | undefined;
set internalValue(value: CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig | undefined);
private _memoryInGbs?;
get memoryInGbs(): number;
set memoryInGbs(value: number);
resetMemoryInGbs(): void;
get memoryInGbsInput(): number | undefined;
private _nvmes?;
get nvmes(): number;
set nvmes(value: number);
resetNvmes(): void;
get nvmesInput(): number | undefined;
private _ocpus?;
get ocpus(): number;
set ocpus(value: number);
resetOcpus(): void;
get ocpusInput(): number | undefined;
}
export interface CoreComputeCapacityReportShapeAvailabilities {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#fault_domain CoreComputeCapacityReport#fault_domain}
*/
readonly faultDomain?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#instance_shape CoreComputeCapacityReport#instance_shape}
*/
readonly instanceShape: string;
/**
* instance_shape_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#instance_shape_config CoreComputeCapacityReport#instance_shape_config}
*/
readonly instanceShapeConfig?: CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig;
}
export declare function coreComputeCapacityReportShapeAvailabilitiesToTerraform(struct?: CoreComputeCapacityReportShapeAvailabilities | cdktf.IResolvable): any;
export declare function coreComputeCapacityReportShapeAvailabilitiesToHclTerraform(struct?: CoreComputeCapacityReportShapeAvailabilities | cdktf.IResolvable): any;
export declare class CoreComputeCapacityReportShapeAvailabilitiesOutputReference 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(): CoreComputeCapacityReportShapeAvailabilities | cdktf.IResolvable | undefined;
set internalValue(value: CoreComputeCapacityReportShapeAvailabilities | cdktf.IResolvable | undefined);
get availabilityStatus(): string;
get availableCount(): string;
private _faultDomain?;
get faultDomain(): string;
set faultDomain(value: string);
resetFaultDomain(): void;
get faultDomainInput(): string | undefined;
private _instanceShape?;
get instanceShape(): string;
set instanceShape(value: string);
get instanceShapeInput(): string | undefined;
private _instanceShapeConfig;
get instanceShapeConfig(): CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfigOutputReference;
putInstanceShapeConfig(value: CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig): void;
resetInstanceShapeConfig(): void;
get instanceShapeConfigInput(): CoreComputeCapacityReportShapeAvailabilitiesInstanceShapeConfig | undefined;
}
export declare class CoreComputeCapacityReportShapeAvailabilitiesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreComputeCapacityReportShapeAvailabilities[] | 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): CoreComputeCapacityReportShapeAvailabilitiesOutputReference;
}
export interface CoreComputeCapacityReportTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#create CoreComputeCapacityReport#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#delete CoreComputeCapacityReport#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#update CoreComputeCapacityReport#update}
*/
readonly update?: string;
}
export declare function coreComputeCapacityReportTimeoutsToTerraform(struct?: CoreComputeCapacityReportTimeouts | cdktf.IResolvable): any;
export declare function coreComputeCapacityReportTimeoutsToHclTerraform(struct?: CoreComputeCapacityReportTimeouts | cdktf.IResolvable): any;
export declare class CoreComputeCapacityReportTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): CoreComputeCapacityReportTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreComputeCapacityReportTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report oci_core_compute_capacity_report}
*/
export declare class CoreComputeCapacityReport extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_compute_capacity_report";
/**
* Generates CDKTF code for importing a CoreComputeCapacityReport 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 CoreComputeCapacityReport to import
* @param importFromId The id of the existing CoreComputeCapacityReport that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_report#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreComputeCapacityReport 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/resources/core_compute_capacity_report oci_core_compute_capacity_report} Resource
*
* @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 CoreComputeCapacityReportConfig
*/
constructor(scope: Construct, id: string, config: CoreComputeCapacityReportConfig);
private _availabilityDomain?;
get availabilityDomain(): string;
set availabilityDomain(value: string);
get availabilityDomainInput(): string | undefined;
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;
get timeCreated(): string;
private _shapeAvailabilities;
get shapeAvailabilities(): CoreComputeCapacityReportShapeAvailabilitiesList;
putShapeAvailabilities(value: CoreComputeCapacityReportShapeAvailabilities[] | cdktf.IResolvable): void;
get shapeAvailabilitiesInput(): cdktf.IResolvable | CoreComputeCapacityReportShapeAvailabilities[] | undefined;
private _timeouts;
get timeouts(): CoreComputeCapacityReportTimeoutsOutputReference;
putTimeouts(value: CoreComputeCapacityReportTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreComputeCapacityReportTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}