rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
304 lines (303 loc) • 19.8 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciCoreComputeCapacityReservationsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#availability_domain DataOciCoreComputeCapacityReservations#availability_domain}
*/
readonly availabilityDomain?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#compartment_id DataOciCoreComputeCapacityReservations#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#display_name DataOciCoreComputeCapacityReservations#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#id DataOciCoreComputeCapacityReservations#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/core_compute_capacity_reservations#state DataOciCoreComputeCapacityReservations#state}
*/
readonly state?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#filter DataOciCoreComputeCapacityReservations#filter}
*/
readonly filter?: DataOciCoreComputeCapacityReservationsFilter[] | cdktf.IResolvable;
}
export interface DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfig {
}
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigToTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfig): any;
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigToHclTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfig): any;
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigOutputReference 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(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfig | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfig | undefined);
get hpcIslandId(): string;
get networkBlockIds(): string[];
}
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigList 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): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigOutputReference;
}
export interface DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfig {
}
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigToTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfig): any;
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigToHclTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfig): any;
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigOutputReference 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(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfig | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfig | undefined);
get memoryInGbs(): number;
get ocpus(): number;
}
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigList 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): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigOutputReference;
}
export interface DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigs {
}
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsToTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigs): any;
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsToHclTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigs): any;
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsOutputReference 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(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigs | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigs | undefined);
private _clusterConfig;
get clusterConfig(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsClusterConfigList;
get clusterPlacementGroupId(): string;
get faultDomain(): string;
get instanceShape(): string;
private _instanceShapeConfig;
get instanceShapeConfig(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsInstanceShapeConfigList;
get reservedCount(): string;
get usedCount(): string;
}
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsList 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): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsOutputReference;
}
export interface DataOciCoreComputeCapacityReservationsComputeCapacityReservations {
}
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsToTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservations): any;
export declare function dataOciCoreComputeCapacityReservationsComputeCapacityReservationsToHclTerraform(struct?: DataOciCoreComputeCapacityReservationsComputeCapacityReservations): any;
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsOutputReference 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(): DataOciCoreComputeCapacityReservationsComputeCapacityReservations | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationsComputeCapacityReservations | undefined);
get availabilityDomain(): string;
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(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsInstanceReservationConfigsList;
get isDefaultReservation(): cdktf.IResolvable;
get reservedInstanceCount(): string;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
get usedInstanceCount(): string;
}
export declare class DataOciCoreComputeCapacityReservationsComputeCapacityReservationsList 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): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsOutputReference;
}
export interface DataOciCoreComputeCapacityReservationsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#name DataOciCoreComputeCapacityReservations#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#regex DataOciCoreComputeCapacityReservations#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#values DataOciCoreComputeCapacityReservations#values}
*/
readonly values: string[];
}
export declare function dataOciCoreComputeCapacityReservationsFilterToTerraform(struct?: DataOciCoreComputeCapacityReservationsFilter | cdktf.IResolvable): any;
export declare function dataOciCoreComputeCapacityReservationsFilterToHclTerraform(struct?: DataOciCoreComputeCapacityReservationsFilter | cdktf.IResolvable): any;
export declare class DataOciCoreComputeCapacityReservationsFilterOutputReference 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(): DataOciCoreComputeCapacityReservationsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciCoreComputeCapacityReservationsFilter | 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 DataOciCoreComputeCapacityReservationsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciCoreComputeCapacityReservationsFilter[] | 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): DataOciCoreComputeCapacityReservationsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations oci_core_compute_capacity_reservations}
*/
export declare class DataOciCoreComputeCapacityReservations extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_core_compute_capacity_reservations";
/**
* Generates CDKTF code for importing a DataOciCoreComputeCapacityReservations 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 DataOciCoreComputeCapacityReservations to import
* @param importFromId The id of the existing DataOciCoreComputeCapacityReservations that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_compute_capacity_reservations#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciCoreComputeCapacityReservations 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_reservations oci_core_compute_capacity_reservations} 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 DataOciCoreComputeCapacityReservationsConfig
*/
constructor(scope: Construct, id: string, config: DataOciCoreComputeCapacityReservationsConfig);
private _availabilityDomain?;
get availabilityDomain(): string;
set availabilityDomain(value: string);
resetAvailabilityDomain(): void;
get availabilityDomainInput(): string | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _computeCapacityReservations;
get computeCapacityReservations(): DataOciCoreComputeCapacityReservationsComputeCapacityReservationsList;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _filter;
get filter(): DataOciCoreComputeCapacityReservationsFilterList;
putFilter(value: DataOciCoreComputeCapacityReservationsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciCoreComputeCapacityReservationsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}