rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
437 lines (436 loc) • 21.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataflowPoolConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#compartment_id DataflowPool#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#defined_tags DataflowPool#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#description DataflowPool#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#display_name DataflowPool#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#freeform_tags DataflowPool#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#id DataflowPool#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/dataflow_pool#idle_timeout_in_minutes DataflowPool#idle_timeout_in_minutes}
*/
readonly idleTimeoutInMinutes?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#state DataflowPool#state}
*/
readonly state?: string;
/**
* configurations block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#configurations DataflowPool#configurations}
*/
readonly configurations: DataflowPoolConfigurations[] | cdktf.IResolvable;
/**
* schedules block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#schedules DataflowPool#schedules}
*/
readonly schedules?: DataflowPoolSchedules[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#timeouts DataflowPool#timeouts}
*/
readonly timeouts?: DataflowPoolTimeouts;
}
export interface DataflowPoolPoolMetricsActivelyUsedNodeCount {
}
export declare function dataflowPoolPoolMetricsActivelyUsedNodeCountToTerraform(struct?: DataflowPoolPoolMetricsActivelyUsedNodeCount): any;
export declare function dataflowPoolPoolMetricsActivelyUsedNodeCountToHclTerraform(struct?: DataflowPoolPoolMetricsActivelyUsedNodeCount): any;
export declare class DataflowPoolPoolMetricsActivelyUsedNodeCountOutputReference 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(): DataflowPoolPoolMetricsActivelyUsedNodeCount | undefined;
set internalValue(value: DataflowPoolPoolMetricsActivelyUsedNodeCount | undefined);
get logicalShape(): string;
get poolCount(): number;
}
export declare class DataflowPoolPoolMetricsActivelyUsedNodeCountList 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): DataflowPoolPoolMetricsActivelyUsedNodeCountOutputReference;
}
export interface DataflowPoolPoolMetrics {
}
export declare function dataflowPoolPoolMetricsToTerraform(struct?: DataflowPoolPoolMetrics): any;
export declare function dataflowPoolPoolMetricsToHclTerraform(struct?: DataflowPoolPoolMetrics): any;
export declare class DataflowPoolPoolMetricsOutputReference 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(): DataflowPoolPoolMetrics | undefined;
set internalValue(value: DataflowPoolPoolMetrics | undefined);
get activeRunsCount(): string;
private _activelyUsedNodeCount;
get activelyUsedNodeCount(): DataflowPoolPoolMetricsActivelyUsedNodeCountList;
get timeLastMetricsUpdated(): string;
get timeLastStarted(): string;
get timeLastStopped(): string;
get timeLastUsed(): string;
}
export declare class DataflowPoolPoolMetricsList 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): DataflowPoolPoolMetricsOutputReference;
}
export interface DataflowPoolConfigurationsShapeConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#memory_in_gbs DataflowPool#memory_in_gbs}
*/
readonly memoryInGbs?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#ocpus DataflowPool#ocpus}
*/
readonly ocpus?: number;
}
export declare function dataflowPoolConfigurationsShapeConfigToTerraform(struct?: DataflowPoolConfigurationsShapeConfigOutputReference | DataflowPoolConfigurationsShapeConfig): any;
export declare function dataflowPoolConfigurationsShapeConfigToHclTerraform(struct?: DataflowPoolConfigurationsShapeConfigOutputReference | DataflowPoolConfigurationsShapeConfig): any;
export declare class DataflowPoolConfigurationsShapeConfigOutputReference 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(): DataflowPoolConfigurationsShapeConfig | undefined;
set internalValue(value: DataflowPoolConfigurationsShapeConfig | 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 DataflowPoolConfigurations {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#max DataflowPool#max}
*/
readonly max?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#min DataflowPool#min}
*/
readonly min?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#shape DataflowPool#shape}
*/
readonly shape?: string;
/**
* shape_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#shape_config DataflowPool#shape_config}
*/
readonly shapeConfig?: DataflowPoolConfigurationsShapeConfig;
}
export declare function dataflowPoolConfigurationsToTerraform(struct?: DataflowPoolConfigurations | cdktf.IResolvable): any;
export declare function dataflowPoolConfigurationsToHclTerraform(struct?: DataflowPoolConfigurations | cdktf.IResolvable): any;
export declare class DataflowPoolConfigurationsOutputReference 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(): DataflowPoolConfigurations | cdktf.IResolvable | undefined;
set internalValue(value: DataflowPoolConfigurations | cdktf.IResolvable | undefined);
private _max?;
get max(): number;
set max(value: number);
resetMax(): void;
get maxInput(): number | undefined;
private _min?;
get min(): number;
set min(value: number);
resetMin(): void;
get minInput(): number | undefined;
private _shape?;
get shape(): string;
set shape(value: string);
resetShape(): void;
get shapeInput(): string | undefined;
private _shapeConfig;
get shapeConfig(): DataflowPoolConfigurationsShapeConfigOutputReference;
putShapeConfig(value: DataflowPoolConfigurationsShapeConfig): void;
resetShapeConfig(): void;
get shapeConfigInput(): DataflowPoolConfigurationsShapeConfig | undefined;
}
export declare class DataflowPoolConfigurationsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataflowPoolConfigurations[] | 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): DataflowPoolConfigurationsOutputReference;
}
export interface DataflowPoolSchedules {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#day_of_week DataflowPool#day_of_week}
*/
readonly dayOfWeek?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#start_time DataflowPool#start_time}
*/
readonly startTime?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#stop_time DataflowPool#stop_time}
*/
readonly stopTime?: number;
}
export declare function dataflowPoolSchedulesToTerraform(struct?: DataflowPoolSchedules | cdktf.IResolvable): any;
export declare function dataflowPoolSchedulesToHclTerraform(struct?: DataflowPoolSchedules | cdktf.IResolvable): any;
export declare class DataflowPoolSchedulesOutputReference 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(): DataflowPoolSchedules | cdktf.IResolvable | undefined;
set internalValue(value: DataflowPoolSchedules | cdktf.IResolvable | undefined);
private _dayOfWeek?;
get dayOfWeek(): string;
set dayOfWeek(value: string);
resetDayOfWeek(): void;
get dayOfWeekInput(): string | undefined;
private _startTime?;
get startTime(): number;
set startTime(value: number);
resetStartTime(): void;
get startTimeInput(): number | undefined;
private _stopTime?;
get stopTime(): number;
set stopTime(value: number);
resetStopTime(): void;
get stopTimeInput(): number | undefined;
}
export declare class DataflowPoolSchedulesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataflowPoolSchedules[] | 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): DataflowPoolSchedulesOutputReference;
}
export interface DataflowPoolTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#create DataflowPool#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#delete DataflowPool#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#update DataflowPool#update}
*/
readonly update?: string;
}
export declare function dataflowPoolTimeoutsToTerraform(struct?: DataflowPoolTimeouts | cdktf.IResolvable): any;
export declare function dataflowPoolTimeoutsToHclTerraform(struct?: DataflowPoolTimeouts | cdktf.IResolvable): any;
export declare class DataflowPoolTimeoutsOutputReference 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(): DataflowPoolTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: DataflowPoolTimeouts | 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/dataflow_pool oci_dataflow_pool}
*/
export declare class DataflowPool extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_dataflow_pool";
/**
* Generates CDKTF code for importing a DataflowPool 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 DataflowPool to import
* @param importFromId The id of the existing DataflowPool that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_pool#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataflowPool 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/dataflow_pool oci_dataflow_pool} 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 DataflowPoolConfig
*/
constructor(scope: Construct, id: string, config: DataflowPoolConfig);
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 _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
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 _idleTimeoutInMinutes?;
get idleTimeoutInMinutes(): number;
set idleTimeoutInMinutes(value: number);
resetIdleTimeoutInMinutes(): void;
get idleTimeoutInMinutesInput(): number | undefined;
get lifecycleDetails(): string;
get ownerPrincipalId(): string;
get ownerUserName(): string;
private _poolMetrics;
get poolMetrics(): DataflowPoolPoolMetricsList;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
get timeCreated(): string;
get timeUpdated(): string;
private _configurations;
get configurations(): DataflowPoolConfigurationsList;
putConfigurations(value: DataflowPoolConfigurations[] | cdktf.IResolvable): void;
get configurationsInput(): cdktf.IResolvable | DataflowPoolConfigurations[] | undefined;
private _schedules;
get schedules(): DataflowPoolSchedulesList;
putSchedules(value: DataflowPoolSchedules[] | cdktf.IResolvable): void;
resetSchedules(): void;
get schedulesInput(): cdktf.IResolvable | DataflowPoolSchedules[] | undefined;
private _timeouts;
get timeouts(): DataflowPoolTimeoutsOutputReference;
putTimeouts(value: DataflowPoolTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | DataflowPoolTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}