UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

389 lines (388 loc) 19.6 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LoadBalancerConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#compartment_id LoadBalancer#compartment_id} */ readonly compartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#defined_tags LoadBalancer#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#display_name LoadBalancer#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#freeform_tags LoadBalancer#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#id LoadBalancer#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#ip_mode LoadBalancer#ip_mode} */ readonly ipMode?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#is_delete_protection_enabled LoadBalancer#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#is_private LoadBalancer#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#is_request_id_enabled LoadBalancer#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#network_security_group_ids LoadBalancer#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#request_id_header LoadBalancer#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#shape LoadBalancer#shape} */ readonly shape: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#subnet_ids LoadBalancer#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#reserved_ips LoadBalancer#reserved_ips} */ readonly reservedIps?: LoadBalancerReservedIps[] | cdktf.IResolvable; /** * shape_details block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#shape_details LoadBalancer#shape_details} */ readonly shapeDetails?: LoadBalancerShapeDetails; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#timeouts LoadBalancer#timeouts} */ readonly timeouts?: LoadBalancerTimeouts; } export interface LoadBalancerIpAddressDetailsReservedIp { } export declare function loadBalancerIpAddressDetailsReservedIpToTerraform(struct?: LoadBalancerIpAddressDetailsReservedIp): any; export declare function loadBalancerIpAddressDetailsReservedIpToHclTerraform(struct?: LoadBalancerIpAddressDetailsReservedIp): any; export declare class LoadBalancerIpAddressDetailsReservedIpOutputReference 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(): LoadBalancerIpAddressDetailsReservedIp | undefined; set internalValue(value: LoadBalancerIpAddressDetailsReservedIp | undefined); get id(): string; } export declare class LoadBalancerIpAddressDetailsReservedIpList 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): LoadBalancerIpAddressDetailsReservedIpOutputReference; } export interface LoadBalancerIpAddressDetails { } export declare function loadBalancerIpAddressDetailsToTerraform(struct?: LoadBalancerIpAddressDetails): any; export declare function loadBalancerIpAddressDetailsToHclTerraform(struct?: LoadBalancerIpAddressDetails): any; export declare class LoadBalancerIpAddressDetailsOutputReference 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(): LoadBalancerIpAddressDetails | undefined; set internalValue(value: LoadBalancerIpAddressDetails | undefined); get ipAddress(): string; get isPublic(): cdktf.IResolvable; private _reservedIp; get reservedIp(): LoadBalancerIpAddressDetailsReservedIpList; } export declare class LoadBalancerIpAddressDetailsList 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): LoadBalancerIpAddressDetailsOutputReference; } export interface LoadBalancerReservedIps { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#id LoadBalancer#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 loadBalancerReservedIpsToTerraform(struct?: LoadBalancerReservedIps | cdktf.IResolvable): any; export declare function loadBalancerReservedIpsToHclTerraform(struct?: LoadBalancerReservedIps | cdktf.IResolvable): any; export declare class LoadBalancerReservedIpsOutputReference 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(): LoadBalancerReservedIps | cdktf.IResolvable | undefined; set internalValue(value: LoadBalancerReservedIps | cdktf.IResolvable | undefined); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; } export declare class LoadBalancerReservedIpsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: LoadBalancerReservedIps[] | 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): LoadBalancerReservedIpsOutputReference; } export interface LoadBalancerShapeDetails { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#maximum_bandwidth_in_mbps LoadBalancer#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#minimum_bandwidth_in_mbps LoadBalancer#minimum_bandwidth_in_mbps} */ readonly minimumBandwidthInMbps: number; } export declare function loadBalancerShapeDetailsToTerraform(struct?: LoadBalancerShapeDetailsOutputReference | LoadBalancerShapeDetails): any; export declare function loadBalancerShapeDetailsToHclTerraform(struct?: LoadBalancerShapeDetailsOutputReference | LoadBalancerShapeDetails): any; export declare class LoadBalancerShapeDetailsOutputReference 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(): LoadBalancerShapeDetails | undefined; set internalValue(value: LoadBalancerShapeDetails | 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 LoadBalancerTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#create LoadBalancer#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#delete LoadBalancer#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/load_balancer#update LoadBalancer#update} */ readonly update?: string; } export declare function loadBalancerTimeoutsToTerraform(struct?: LoadBalancerTimeouts | cdktf.IResolvable): any; export declare function loadBalancerTimeoutsToHclTerraform(struct?: LoadBalancerTimeouts | cdktf.IResolvable): any; export declare class LoadBalancerTimeoutsOutputReference 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(): LoadBalancerTimeouts | cdktf.IResolvable | undefined; set internalValue(value: LoadBalancerTimeouts | 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 oci_load_balancer} */ export declare class LoadBalancer extends cdktf.TerraformResource { static readonly tfResourceType = "oci_load_balancer"; /** * Generates CDKTF code for importing a LoadBalancer 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 LoadBalancer to import * @param importFromId The id of the existing LoadBalancer that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/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 LoadBalancer 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 oci_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 LoadBalancerConfig */ constructor(scope: Construct, id: string, config: LoadBalancerConfig); 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(): LoadBalancerIpAddressDetailsList; 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(): LoadBalancerReservedIpsList; putReservedIps(value: LoadBalancerReservedIps[] | cdktf.IResolvable): void; resetReservedIps(): void; get reservedIpsInput(): cdktf.IResolvable | LoadBalancerReservedIps[] | undefined; private _shapeDetails; get shapeDetails(): LoadBalancerShapeDetailsOutputReference; putShapeDetails(value: LoadBalancerShapeDetails): void; resetShapeDetails(): void; get shapeDetailsInput(): LoadBalancerShapeDetails | undefined; private _timeouts; get timeouts(): LoadBalancerTimeoutsOutputReference; putTimeouts(value: LoadBalancerTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | LoadBalancerTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }