rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
389 lines (388 loc) • 21.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface LoadBalancerLoadBalancerConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#compartment_id LoadBalancerLoadBalancer#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#defined_tags LoadBalancerLoadBalancer#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#display_name LoadBalancerLoadBalancer#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#freeform_tags LoadBalancerLoadBalancer#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#id LoadBalancerLoadBalancer#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/load_balancer_load_balancer#ip_mode LoadBalancerLoadBalancer#ip_mode}
*/
readonly ipMode?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#is_delete_protection_enabled LoadBalancerLoadBalancer#is_delete_protection_enabled}
*/
readonly isDeleteProtectionEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#is_private LoadBalancerLoadBalancer#is_private}
*/
readonly isPrivate?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#is_request_id_enabled LoadBalancerLoadBalancer#is_request_id_enabled}
*/
readonly isRequestIdEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#network_security_group_ids LoadBalancerLoadBalancer#network_security_group_ids}
*/
readonly networkSecurityGroupIds?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#request_id_header LoadBalancerLoadBalancer#request_id_header}
*/
readonly requestIdHeader?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#shape LoadBalancerLoadBalancer#shape}
*/
readonly shape: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#subnet_ids LoadBalancerLoadBalancer#subnet_ids}
*/
readonly subnetIds: string[];
/**
* reserved_ips block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#reserved_ips LoadBalancerLoadBalancer#reserved_ips}
*/
readonly reservedIps?: LoadBalancerLoadBalancerReservedIps[] | cdktf.IResolvable;
/**
* shape_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#shape_details LoadBalancerLoadBalancer#shape_details}
*/
readonly shapeDetails?: LoadBalancerLoadBalancerShapeDetails;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#timeouts LoadBalancerLoadBalancer#timeouts}
*/
readonly timeouts?: LoadBalancerLoadBalancerTimeouts;
}
export interface LoadBalancerLoadBalancerIpAddressDetailsReservedIp {
}
export declare function loadBalancerLoadBalancerIpAddressDetailsReservedIpToTerraform(struct?: LoadBalancerLoadBalancerIpAddressDetailsReservedIp): any;
export declare function loadBalancerLoadBalancerIpAddressDetailsReservedIpToHclTerraform(struct?: LoadBalancerLoadBalancerIpAddressDetailsReservedIp): any;
export declare class LoadBalancerLoadBalancerIpAddressDetailsReservedIpOutputReference 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(): LoadBalancerLoadBalancerIpAddressDetailsReservedIp | undefined;
set internalValue(value: LoadBalancerLoadBalancerIpAddressDetailsReservedIp | undefined);
get id(): string;
}
export declare class LoadBalancerLoadBalancerIpAddressDetailsReservedIpList 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): LoadBalancerLoadBalancerIpAddressDetailsReservedIpOutputReference;
}
export interface LoadBalancerLoadBalancerIpAddressDetails {
}
export declare function loadBalancerLoadBalancerIpAddressDetailsToTerraform(struct?: LoadBalancerLoadBalancerIpAddressDetails): any;
export declare function loadBalancerLoadBalancerIpAddressDetailsToHclTerraform(struct?: LoadBalancerLoadBalancerIpAddressDetails): any;
export declare class LoadBalancerLoadBalancerIpAddressDetailsOutputReference 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(): LoadBalancerLoadBalancerIpAddressDetails | undefined;
set internalValue(value: LoadBalancerLoadBalancerIpAddressDetails | undefined);
get ipAddress(): string;
get isPublic(): cdktf.IResolvable;
private _reservedIp;
get reservedIp(): LoadBalancerLoadBalancerIpAddressDetailsReservedIpList;
}
export declare class LoadBalancerLoadBalancerIpAddressDetailsList 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): LoadBalancerLoadBalancerIpAddressDetailsOutputReference;
}
export interface LoadBalancerLoadBalancerReservedIps {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#id LoadBalancerLoadBalancer#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;
}
export declare function loadBalancerLoadBalancerReservedIpsToTerraform(struct?: LoadBalancerLoadBalancerReservedIps | cdktf.IResolvable): any;
export declare function loadBalancerLoadBalancerReservedIpsToHclTerraform(struct?: LoadBalancerLoadBalancerReservedIps | cdktf.IResolvable): any;
export declare class LoadBalancerLoadBalancerReservedIpsOutputReference 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(): LoadBalancerLoadBalancerReservedIps | cdktf.IResolvable | undefined;
set internalValue(value: LoadBalancerLoadBalancerReservedIps | cdktf.IResolvable | undefined);
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
}
export declare class LoadBalancerLoadBalancerReservedIpsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadBalancerLoadBalancerReservedIps[] | 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): LoadBalancerLoadBalancerReservedIpsOutputReference;
}
export interface LoadBalancerLoadBalancerShapeDetails {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#maximum_bandwidth_in_mbps LoadBalancerLoadBalancer#maximum_bandwidth_in_mbps}
*/
readonly maximumBandwidthInMbps: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#minimum_bandwidth_in_mbps LoadBalancerLoadBalancer#minimum_bandwidth_in_mbps}
*/
readonly minimumBandwidthInMbps: number;
}
export declare function loadBalancerLoadBalancerShapeDetailsToTerraform(struct?: LoadBalancerLoadBalancerShapeDetailsOutputReference | LoadBalancerLoadBalancerShapeDetails): any;
export declare function loadBalancerLoadBalancerShapeDetailsToHclTerraform(struct?: LoadBalancerLoadBalancerShapeDetailsOutputReference | LoadBalancerLoadBalancerShapeDetails): any;
export declare class LoadBalancerLoadBalancerShapeDetailsOutputReference 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(): LoadBalancerLoadBalancerShapeDetails | undefined;
set internalValue(value: LoadBalancerLoadBalancerShapeDetails | undefined);
private _maximumBandwidthInMbps?;
get maximumBandwidthInMbps(): number;
set maximumBandwidthInMbps(value: number);
get maximumBandwidthInMbpsInput(): number | undefined;
private _minimumBandwidthInMbps?;
get minimumBandwidthInMbps(): number;
set minimumBandwidthInMbps(value: number);
get minimumBandwidthInMbpsInput(): number | undefined;
}
export interface LoadBalancerLoadBalancerTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#create LoadBalancerLoadBalancer#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#delete LoadBalancerLoadBalancer#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#update LoadBalancerLoadBalancer#update}
*/
readonly update?: string;
}
export declare function loadBalancerLoadBalancerTimeoutsToTerraform(struct?: LoadBalancerLoadBalancerTimeouts | cdktf.IResolvable): any;
export declare function loadBalancerLoadBalancerTimeoutsToHclTerraform(struct?: LoadBalancerLoadBalancerTimeouts | cdktf.IResolvable): any;
export declare class LoadBalancerLoadBalancerTimeoutsOutputReference 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(): LoadBalancerLoadBalancerTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: LoadBalancerLoadBalancerTimeouts | 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/load_balancer_load_balancer oci_load_balancer_load_balancer}
*/
export declare class LoadBalancerLoadBalancer extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_load_balancer_load_balancer";
/**
* Generates CDKTF code for importing a LoadBalancerLoadBalancer 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 LoadBalancerLoadBalancer to import
* @param importFromId The id of the existing LoadBalancerLoadBalancer that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer_load_balancer#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the LoadBalancerLoadBalancer 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/load_balancer_load_balancer oci_load_balancer_load_balancer} 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 LoadBalancerLoadBalancerConfig
*/
constructor(scope: Construct, id: string, config: LoadBalancerLoadBalancerConfig);
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);
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 _ipAddressDetails;
get ipAddressDetails(): LoadBalancerLoadBalancerIpAddressDetailsList;
get ipAddresses(): string[];
private _ipMode?;
get ipMode(): string;
set ipMode(value: string);
resetIpMode(): void;
get ipModeInput(): string | undefined;
private _isDeleteProtectionEnabled?;
get isDeleteProtectionEnabled(): boolean | cdktf.IResolvable;
set isDeleteProtectionEnabled(value: boolean | cdktf.IResolvable);
resetIsDeleteProtectionEnabled(): void;
get isDeleteProtectionEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _isPrivate?;
get isPrivate(): boolean | cdktf.IResolvable;
set isPrivate(value: boolean | cdktf.IResolvable);
resetIsPrivate(): void;
get isPrivateInput(): boolean | cdktf.IResolvable | undefined;
private _isRequestIdEnabled?;
get isRequestIdEnabled(): boolean | cdktf.IResolvable;
set isRequestIdEnabled(value: boolean | cdktf.IResolvable);
resetIsRequestIdEnabled(): void;
get isRequestIdEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _networkSecurityGroupIds?;
get networkSecurityGroupIds(): string[];
set networkSecurityGroupIds(value: string[]);
resetNetworkSecurityGroupIds(): void;
get networkSecurityGroupIdsInput(): string[] | undefined;
private _requestIdHeader?;
get requestIdHeader(): string;
set requestIdHeader(value: string);
resetRequestIdHeader(): void;
get requestIdHeaderInput(): string | undefined;
private _shape?;
get shape(): string;
set shape(value: string);
get shapeInput(): string | undefined;
get state(): string;
private _subnetIds?;
get subnetIds(): string[];
set subnetIds(value: string[]);
get subnetIdsInput(): string[] | undefined;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
private _reservedIps;
get reservedIps(): LoadBalancerLoadBalancerReservedIpsList;
putReservedIps(value: LoadBalancerLoadBalancerReservedIps[] | cdktf.IResolvable): void;
resetReservedIps(): void;
get reservedIpsInput(): cdktf.IResolvable | LoadBalancerLoadBalancerReservedIps[] | undefined;
private _shapeDetails;
get shapeDetails(): LoadBalancerLoadBalancerShapeDetailsOutputReference;
putShapeDetails(value: LoadBalancerLoadBalancerShapeDetails): void;
resetShapeDetails(): void;
get shapeDetailsInput(): LoadBalancerLoadBalancerShapeDetails | undefined;
private _timeouts;
get timeouts(): LoadBalancerLoadBalancerTimeoutsOutputReference;
putTimeouts(value: LoadBalancerLoadBalancerTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | LoadBalancerLoadBalancerTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}