rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
334 lines (333 loc) • 19.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreComputeCapacityReservationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#availability_domain CoreComputeCapacityReservation#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_reservation#compartment_id CoreComputeCapacityReservation#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_reservation#defined_tags CoreComputeCapacityReservation#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#display_name CoreComputeCapacityReservation#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#freeform_tags CoreComputeCapacityReservation#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#id CoreComputeCapacityReservation#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/resources/core_compute_capacity_reservation#is_default_reservation CoreComputeCapacityReservation#is_default_reservation}
*/
readonly isDefaultReservation?: boolean | cdktf.IResolvable;
/**
* instance_reservation_configs block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#instance_reservation_configs CoreComputeCapacityReservation#instance_reservation_configs}
*/
readonly instanceReservationConfigs: CoreComputeCapacityReservationInstanceReservationConfigs[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#timeouts CoreComputeCapacityReservation#timeouts}
*/
readonly timeouts?: CoreComputeCapacityReservationTimeouts;
}
export interface CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#hpc_island_id CoreComputeCapacityReservation#hpc_island_id}
*/
readonly hpcIslandId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#network_block_ids CoreComputeCapacityReservation#network_block_ids}
*/
readonly networkBlockIds?: string[];
}
export declare function coreComputeCapacityReservationInstanceReservationConfigsClusterConfigToTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference | CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig): any;
export declare function coreComputeCapacityReservationInstanceReservationConfigsClusterConfigToHclTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference | CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig): any;
export declare class CoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference 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(): CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig | undefined;
set internalValue(value: CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig | undefined);
private _hpcIslandId?;
get hpcIslandId(): string;
set hpcIslandId(value: string);
get hpcIslandIdInput(): string | undefined;
private _networkBlockIds?;
get networkBlockIds(): string[];
set networkBlockIds(value: string[]);
resetNetworkBlockIds(): void;
get networkBlockIdsInput(): string[] | undefined;
}
export interface CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#memory_in_gbs CoreComputeCapacityReservation#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_reservation#ocpus CoreComputeCapacityReservation#ocpus}
*/
readonly ocpus?: number;
}
export declare function coreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigToTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference | CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig): any;
export declare function coreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigToHclTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference | CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig): any;
export declare class CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference 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(): CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig | undefined;
set internalValue(value: CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig | undefined);
private _memoryInGbs?;
get memoryInGbs(): number;
set memoryInGbs(value: number);
resetMemoryInGbs(): void;
get memoryInGbsInput(): number | undefined;
private _ocpus?;
get ocpus(): number;
set ocpus(value: number);
resetOcpus(): void;
get ocpusInput(): number | undefined;
}
export interface CoreComputeCapacityReservationInstanceReservationConfigs {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#cluster_placement_group_id CoreComputeCapacityReservation#cluster_placement_group_id}
*/
readonly clusterPlacementGroupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#fault_domain CoreComputeCapacityReservation#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_reservation#instance_shape CoreComputeCapacityReservation#instance_shape}
*/
readonly instanceShape: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#reserved_count CoreComputeCapacityReservation#reserved_count}
*/
readonly reservedCount: string;
/**
* cluster_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#cluster_config CoreComputeCapacityReservation#cluster_config}
*/
readonly clusterConfig?: CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig;
/**
* instance_shape_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#instance_shape_config CoreComputeCapacityReservation#instance_shape_config}
*/
readonly instanceShapeConfig?: CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig;
}
export declare function coreComputeCapacityReservationInstanceReservationConfigsToTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigs | cdktf.IResolvable): any;
export declare function coreComputeCapacityReservationInstanceReservationConfigsToHclTerraform(struct?: CoreComputeCapacityReservationInstanceReservationConfigs | cdktf.IResolvable): any;
export declare class CoreComputeCapacityReservationInstanceReservationConfigsOutputReference 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(): CoreComputeCapacityReservationInstanceReservationConfigs | cdktf.IResolvable | undefined;
set internalValue(value: CoreComputeCapacityReservationInstanceReservationConfigs | cdktf.IResolvable | undefined);
private _clusterPlacementGroupId?;
get clusterPlacementGroupId(): string;
set clusterPlacementGroupId(value: string);
resetClusterPlacementGroupId(): void;
get clusterPlacementGroupIdInput(): string | undefined;
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 _reservedCount?;
get reservedCount(): string;
set reservedCount(value: string);
get reservedCountInput(): string | undefined;
get usedCount(): string;
private _clusterConfig;
get clusterConfig(): CoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference;
putClusterConfig(value: CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig): void;
resetClusterConfig(): void;
get clusterConfigInput(): CoreComputeCapacityReservationInstanceReservationConfigsClusterConfig | undefined;
private _instanceShapeConfig;
get instanceShapeConfig(): CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference;
putInstanceShapeConfig(value: CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig): void;
resetInstanceShapeConfig(): void;
get instanceShapeConfigInput(): CoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig | undefined;
}
export declare class CoreComputeCapacityReservationInstanceReservationConfigsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreComputeCapacityReservationInstanceReservationConfigs[] | 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): CoreComputeCapacityReservationInstanceReservationConfigsOutputReference;
}
export interface CoreComputeCapacityReservationTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#create CoreComputeCapacityReservation#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#delete CoreComputeCapacityReservation#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#update CoreComputeCapacityReservation#update}
*/
readonly update?: string;
}
export declare function coreComputeCapacityReservationTimeoutsToTerraform(struct?: CoreComputeCapacityReservationTimeouts | cdktf.IResolvable): any;
export declare function coreComputeCapacityReservationTimeoutsToHclTerraform(struct?: CoreComputeCapacityReservationTimeouts | cdktf.IResolvable): any;
export declare class CoreComputeCapacityReservationTimeoutsOutputReference 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(): CoreComputeCapacityReservationTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreComputeCapacityReservationTimeouts | 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_reservation oci_core_compute_capacity_reservation}
*/
export declare class CoreComputeCapacityReservation extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_compute_capacity_reservation";
/**
* Generates CDKTF code for importing a CoreComputeCapacityReservation 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 CoreComputeCapacityReservation to import
* @param importFromId The id of the existing CoreComputeCapacityReservation that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_compute_capacity_reservation#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreComputeCapacityReservation 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_reservation oci_core_compute_capacity_reservation} 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 CoreComputeCapacityReservationConfig
*/
constructor(scope: Construct, id: string, config: CoreComputeCapacityReservationConfig);
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 _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _isDefaultReservation?;
get isDefaultReservation(): boolean | cdktf.IResolvable;
set isDefaultReservation(value: boolean | cdktf.IResolvable);
resetIsDefaultReservation(): void;
get isDefaultReservationInput(): boolean | cdktf.IResolvable | undefined;
get reservedInstanceCount(): string;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
get usedInstanceCount(): string;
private _instanceReservationConfigs;
get instanceReservationConfigs(): CoreComputeCapacityReservationInstanceReservationConfigsList;
putInstanceReservationConfigs(value: CoreComputeCapacityReservationInstanceReservationConfigs[] | cdktf.IResolvable): void;
get instanceReservationConfigsInput(): cdktf.IResolvable | CoreComputeCapacityReservationInstanceReservationConfigs[] | undefined;
private _timeouts;
get timeouts(): CoreComputeCapacityReservationTimeoutsOutputReference;
putTimeouts(value: CoreComputeCapacityReservationTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreComputeCapacityReservationTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}