rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
179 lines (178 loc) • 9.8 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreInstancePoolInstanceConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#auto_terminate_instance_on_delete CoreInstancePoolInstance#auto_terminate_instance_on_delete}
*/
readonly autoTerminateInstanceOnDelete?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#decrement_size_on_delete CoreInstancePoolInstance#decrement_size_on_delete}
*/
readonly decrementSizeOnDelete?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#id CoreInstancePoolInstance#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_instance_pool_instance#instance_id CoreInstancePoolInstance#instance_id}
*/
readonly instanceId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#instance_pool_id CoreInstancePoolInstance#instance_pool_id}
*/
readonly instancePoolId: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#timeouts CoreInstancePoolInstance#timeouts}
*/
readonly timeouts?: CoreInstancePoolInstanceTimeouts;
}
export interface CoreInstancePoolInstanceLoadBalancerBackends {
}
export declare function coreInstancePoolInstanceLoadBalancerBackendsToTerraform(struct?: CoreInstancePoolInstanceLoadBalancerBackends): any;
export declare function coreInstancePoolInstanceLoadBalancerBackendsToHclTerraform(struct?: CoreInstancePoolInstanceLoadBalancerBackends): any;
export declare class CoreInstancePoolInstanceLoadBalancerBackendsOutputReference 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(): CoreInstancePoolInstanceLoadBalancerBackends | undefined;
set internalValue(value: CoreInstancePoolInstanceLoadBalancerBackends | undefined);
get backendHealthStatus(): string;
get backendName(): string;
get backendSetName(): string;
get loadBalancerId(): string;
get state(): string;
}
export declare class CoreInstancePoolInstanceLoadBalancerBackendsList 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): CoreInstancePoolInstanceLoadBalancerBackendsOutputReference;
}
export interface CoreInstancePoolInstanceTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#create CoreInstancePoolInstance#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#delete CoreInstancePoolInstance#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#update CoreInstancePoolInstance#update}
*/
readonly update?: string;
}
export declare function coreInstancePoolInstanceTimeoutsToTerraform(struct?: CoreInstancePoolInstanceTimeouts | cdktf.IResolvable): any;
export declare function coreInstancePoolInstanceTimeoutsToHclTerraform(struct?: CoreInstancePoolInstanceTimeouts | cdktf.IResolvable): any;
export declare class CoreInstancePoolInstanceTimeoutsOutputReference 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(): CoreInstancePoolInstanceTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreInstancePoolInstanceTimeouts | 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_instance_pool_instance oci_core_instance_pool_instance}
*/
export declare class CoreInstancePoolInstance extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_instance_pool_instance";
/**
* Generates CDKTF code for importing a CoreInstancePoolInstance 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 CoreInstancePoolInstance to import
* @param importFromId The id of the existing CoreInstancePoolInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_instance_pool_instance#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreInstancePoolInstance 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_instance_pool_instance oci_core_instance_pool_instance} 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 CoreInstancePoolInstanceConfig
*/
constructor(scope: Construct, id: string, config: CoreInstancePoolInstanceConfig);
private _autoTerminateInstanceOnDelete?;
get autoTerminateInstanceOnDelete(): boolean | cdktf.IResolvable;
set autoTerminateInstanceOnDelete(value: boolean | cdktf.IResolvable);
resetAutoTerminateInstanceOnDelete(): void;
get autoTerminateInstanceOnDeleteInput(): boolean | cdktf.IResolvable | undefined;
get availabilityDomain(): string;
get compartmentId(): string;
private _decrementSizeOnDelete?;
get decrementSizeOnDelete(): boolean | cdktf.IResolvable;
set decrementSizeOnDelete(value: boolean | cdktf.IResolvable);
resetDecrementSizeOnDelete(): void;
get decrementSizeOnDeleteInput(): boolean | cdktf.IResolvable | undefined;
get displayName(): string;
get faultDomain(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get instanceConfigurationId(): string;
private _instanceId?;
get instanceId(): string;
set instanceId(value: string);
get instanceIdInput(): string | undefined;
private _instancePoolId?;
get instancePoolId(): string;
set instancePoolId(value: string);
get instancePoolIdInput(): string | undefined;
private _loadBalancerBackends;
get loadBalancerBackends(): CoreInstancePoolInstanceLoadBalancerBackendsList;
get region(): string;
get shape(): string;
get state(): string;
get timeCreated(): string;
private _timeouts;
get timeouts(): CoreInstancePoolInstanceTimeoutsOutputReference;
putTimeouts(value: CoreInstancePoolInstanceTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreInstancePoolInstanceTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}