rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
163 lines (162 loc) • 10.6 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciCoreComputeCapacityReservationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservation#capacity_reservation_id DataOciCoreComputeCapacityReservation#capacity_reservation_id}
*/
readonly capacityReservationId: string;
}
export interface DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfig {
}
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigToTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfig): any;
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigToHclTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfig): any;
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference 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(): DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfig | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfig | undefined);
get hpcIslandId(): string;
get networkBlockIds(): string[];
}
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigList 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): DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigOutputReference;
}
export interface DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig {
}
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigToTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig): any;
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigToHclTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig): any;
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference 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(): DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfig | undefined);
get memoryInGbs(): number;
get ocpus(): number;
}
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigList 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): DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigOutputReference;
}
export interface DataOciCoreComputeCapacityReservationInstanceReservationConfigs {
}
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsToTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigs): any;
export declare function dataOciCoreComputeCapacityReservationInstanceReservationConfigsToHclTerraform(struct?: DataOciCoreComputeCapacityReservationInstanceReservationConfigs): any;
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsOutputReference 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(): DataOciCoreComputeCapacityReservationInstanceReservationConfigs | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationInstanceReservationConfigs | undefined);
private _clusterConfig;
get clusterConfig(): DataOciCoreComputeCapacityReservationInstanceReservationConfigsClusterConfigList;
get clusterPlacementGroupId(): string;
get faultDomain(): string;
get instanceShape(): string;
private _instanceShapeConfig;
get instanceShapeConfig(): DataOciCoreComputeCapacityReservationInstanceReservationConfigsInstanceShapeConfigList;
get reservedCount(): string;
get usedCount(): string;
}
export declare class DataOciCoreComputeCapacityReservationInstanceReservationConfigsList 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): DataOciCoreComputeCapacityReservationInstanceReservationConfigsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservation oci_core_compute_capacity_reservation}
*/
export declare class DataOciCoreComputeCapacityReservation extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_core_compute_capacity_reservation";
/**
* Generates CDKTF code for importing a DataOciCoreComputeCapacityReservation 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 DataOciCoreComputeCapacityReservation to import
* @param importFromId The id of the existing DataOciCoreComputeCapacityReservation that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/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 DataOciCoreComputeCapacityReservation 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/core_compute_capacity_reservation oci_core_compute_capacity_reservation} 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 DataOciCoreComputeCapacityReservationConfig
*/
constructor(scope: Construct, id: string, config: DataOciCoreComputeCapacityReservationConfig);
get availabilityDomain(): string;
private _capacityReservationId?;
get capacityReservationId(): string;
set capacityReservationId(value: string);
get capacityReservationIdInput(): string | undefined;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
private _instanceReservationConfigs;
get instanceReservationConfigs(): DataOciCoreComputeCapacityReservationInstanceReservationConfigsList;
get isDefaultReservation(): cdktf.IResolvable;
get reservedInstanceCount(): string;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
get usedInstanceCount(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}