UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

381 lines (380 loc) 20.5 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface NetworkLoadBalancerBackendSetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#id NetworkLoadBalancerBackendSet#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/network_load_balancer_backend_set#ip_version NetworkLoadBalancerBackendSet#ip_version} */ readonly ipVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#is_fail_open NetworkLoadBalancerBackendSet#is_fail_open} */ readonly isFailOpen?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#is_instant_failover_enabled NetworkLoadBalancerBackendSet#is_instant_failover_enabled} */ readonly isInstantFailoverEnabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#is_preserve_source NetworkLoadBalancerBackendSet#is_preserve_source} */ readonly isPreserveSource?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#name NetworkLoadBalancerBackendSet#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#network_load_balancer_id NetworkLoadBalancerBackendSet#network_load_balancer_id} */ readonly networkLoadBalancerId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#policy NetworkLoadBalancerBackendSet#policy} */ readonly policy: string; /** * health_checker block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#health_checker NetworkLoadBalancerBackendSet#health_checker} */ readonly healthChecker: NetworkLoadBalancerBackendSetHealthChecker; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#timeouts NetworkLoadBalancerBackendSet#timeouts} */ readonly timeouts?: NetworkLoadBalancerBackendSetTimeouts; } export interface NetworkLoadBalancerBackendSetBackends { } export declare function networkLoadBalancerBackendSetBackendsToTerraform(struct?: NetworkLoadBalancerBackendSetBackends): any; export declare function networkLoadBalancerBackendSetBackendsToHclTerraform(struct?: NetworkLoadBalancerBackendSetBackends): any; export declare class NetworkLoadBalancerBackendSetBackendsOutputReference 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(): NetworkLoadBalancerBackendSetBackends | undefined; set internalValue(value: NetworkLoadBalancerBackendSetBackends | undefined); get ipAddress(): string; get isBackup(): cdktf.IResolvable; get isDrain(): cdktf.IResolvable; get isOffline(): cdktf.IResolvable; get name(): string; get port(): number; get targetId(): string; get weight(): number; } export declare class NetworkLoadBalancerBackendSetBackendsList 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): NetworkLoadBalancerBackendSetBackendsOutputReference; } export interface NetworkLoadBalancerBackendSetHealthCheckerDns { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#domain_name NetworkLoadBalancerBackendSet#domain_name} */ readonly domainName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#query_class NetworkLoadBalancerBackendSet#query_class} */ readonly queryClass?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#query_type NetworkLoadBalancerBackendSet#query_type} */ readonly queryType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#rcodes NetworkLoadBalancerBackendSet#rcodes} */ readonly rcodes?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#transport_protocol NetworkLoadBalancerBackendSet#transport_protocol} */ readonly transportProtocol?: string; } export declare function networkLoadBalancerBackendSetHealthCheckerDnsToTerraform(struct?: NetworkLoadBalancerBackendSetHealthCheckerDnsOutputReference | NetworkLoadBalancerBackendSetHealthCheckerDns): any; export declare function networkLoadBalancerBackendSetHealthCheckerDnsToHclTerraform(struct?: NetworkLoadBalancerBackendSetHealthCheckerDnsOutputReference | NetworkLoadBalancerBackendSetHealthCheckerDns): any; export declare class NetworkLoadBalancerBackendSetHealthCheckerDnsOutputReference 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(): NetworkLoadBalancerBackendSetHealthCheckerDns | undefined; set internalValue(value: NetworkLoadBalancerBackendSetHealthCheckerDns | undefined); private _domainName?; get domainName(): string; set domainName(value: string); get domainNameInput(): string | undefined; private _queryClass?; get queryClass(): string; set queryClass(value: string); resetQueryClass(): void; get queryClassInput(): string | undefined; private _queryType?; get queryType(): string; set queryType(value: string); resetQueryType(): void; get queryTypeInput(): string | undefined; private _rcodes?; get rcodes(): string[]; set rcodes(value: string[]); resetRcodes(): void; get rcodesInput(): string[] | undefined; private _transportProtocol?; get transportProtocol(): string; set transportProtocol(value: string); resetTransportProtocol(): void; get transportProtocolInput(): string | undefined; } export interface NetworkLoadBalancerBackendSetHealthChecker { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#interval_in_millis NetworkLoadBalancerBackendSet#interval_in_millis} */ readonly intervalInMillis?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#port NetworkLoadBalancerBackendSet#port} */ readonly port?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#protocol NetworkLoadBalancerBackendSet#protocol} */ readonly protocol: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#request_data NetworkLoadBalancerBackendSet#request_data} */ readonly requestData?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#response_body_regex NetworkLoadBalancerBackendSet#response_body_regex} */ readonly responseBodyRegex?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#response_data NetworkLoadBalancerBackendSet#response_data} */ readonly responseData?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#retries NetworkLoadBalancerBackendSet#retries} */ readonly retries?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#return_code NetworkLoadBalancerBackendSet#return_code} */ readonly returnCode?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#timeout_in_millis NetworkLoadBalancerBackendSet#timeout_in_millis} */ readonly timeoutInMillis?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#url_path NetworkLoadBalancerBackendSet#url_path} */ readonly urlPath?: string; /** * dns block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#dns NetworkLoadBalancerBackendSet#dns} */ readonly dns?: NetworkLoadBalancerBackendSetHealthCheckerDns; } export declare function networkLoadBalancerBackendSetHealthCheckerToTerraform(struct?: NetworkLoadBalancerBackendSetHealthCheckerOutputReference | NetworkLoadBalancerBackendSetHealthChecker): any; export declare function networkLoadBalancerBackendSetHealthCheckerToHclTerraform(struct?: NetworkLoadBalancerBackendSetHealthCheckerOutputReference | NetworkLoadBalancerBackendSetHealthChecker): any; export declare class NetworkLoadBalancerBackendSetHealthCheckerOutputReference 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(): NetworkLoadBalancerBackendSetHealthChecker | undefined; set internalValue(value: NetworkLoadBalancerBackendSetHealthChecker | undefined); private _intervalInMillis?; get intervalInMillis(): number; set intervalInMillis(value: number); resetIntervalInMillis(): void; get intervalInMillisInput(): number | undefined; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number | undefined; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string | undefined; private _requestData?; get requestData(): string; set requestData(value: string); resetRequestData(): void; get requestDataInput(): string | undefined; private _responseBodyRegex?; get responseBodyRegex(): string; set responseBodyRegex(value: string); resetResponseBodyRegex(): void; get responseBodyRegexInput(): string | undefined; private _responseData?; get responseData(): string; set responseData(value: string); resetResponseData(): void; get responseDataInput(): string | undefined; private _retries?; get retries(): number; set retries(value: number); resetRetries(): void; get retriesInput(): number | undefined; private _returnCode?; get returnCode(): number; set returnCode(value: number); resetReturnCode(): void; get returnCodeInput(): number | undefined; private _timeoutInMillis?; get timeoutInMillis(): number; set timeoutInMillis(value: number); resetTimeoutInMillis(): void; get timeoutInMillisInput(): number | undefined; private _urlPath?; get urlPath(): string; set urlPath(value: string); resetUrlPath(): void; get urlPathInput(): string | undefined; private _dns; get dns(): NetworkLoadBalancerBackendSetHealthCheckerDnsOutputReference; putDns(value: NetworkLoadBalancerBackendSetHealthCheckerDns): void; resetDns(): void; get dnsInput(): NetworkLoadBalancerBackendSetHealthCheckerDns | undefined; } export interface NetworkLoadBalancerBackendSetTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#create NetworkLoadBalancerBackendSet#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#delete NetworkLoadBalancerBackendSet#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#update NetworkLoadBalancerBackendSet#update} */ readonly update?: string; } export declare function networkLoadBalancerBackendSetTimeoutsToTerraform(struct?: NetworkLoadBalancerBackendSetTimeouts | cdktf.IResolvable): any; export declare function networkLoadBalancerBackendSetTimeoutsToHclTerraform(struct?: NetworkLoadBalancerBackendSetTimeouts | cdktf.IResolvable): any; export declare class NetworkLoadBalancerBackendSetTimeoutsOutputReference 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(): NetworkLoadBalancerBackendSetTimeouts | cdktf.IResolvable | undefined; set internalValue(value: NetworkLoadBalancerBackendSetTimeouts | 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/network_load_balancer_backend_set oci_network_load_balancer_backend_set} */ export declare class NetworkLoadBalancerBackendSet extends cdktf.TerraformResource { static readonly tfResourceType = "oci_network_load_balancer_backend_set"; /** * Generates CDKTF code for importing a NetworkLoadBalancerBackendSet 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 NetworkLoadBalancerBackendSet to import * @param importFromId The id of the existing NetworkLoadBalancerBackendSet that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/network_load_balancer_backend_set#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the NetworkLoadBalancerBackendSet 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/network_load_balancer_backend_set oci_network_load_balancer_backend_set} 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 NetworkLoadBalancerBackendSetConfig */ constructor(scope: Construct, id: string, config: NetworkLoadBalancerBackendSetConfig); private _backends; get backends(): NetworkLoadBalancerBackendSetBackendsList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _ipVersion?; get ipVersion(): string; set ipVersion(value: string); resetIpVersion(): void; get ipVersionInput(): string | undefined; private _isFailOpen?; get isFailOpen(): boolean | cdktf.IResolvable; set isFailOpen(value: boolean | cdktf.IResolvable); resetIsFailOpen(): void; get isFailOpenInput(): boolean | cdktf.IResolvable | undefined; private _isInstantFailoverEnabled?; get isInstantFailoverEnabled(): boolean | cdktf.IResolvable; set isInstantFailoverEnabled(value: boolean | cdktf.IResolvable); resetIsInstantFailoverEnabled(): void; get isInstantFailoverEnabledInput(): boolean | cdktf.IResolvable | undefined; private _isPreserveSource?; get isPreserveSource(): boolean | cdktf.IResolvable; set isPreserveSource(value: boolean | cdktf.IResolvable); resetIsPreserveSource(): void; get isPreserveSourceInput(): boolean | cdktf.IResolvable | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _networkLoadBalancerId?; get networkLoadBalancerId(): string; set networkLoadBalancerId(value: string); get networkLoadBalancerIdInput(): string | undefined; private _policy?; get policy(): string; set policy(value: string); get policyInput(): string | undefined; private _healthChecker; get healthChecker(): NetworkLoadBalancerBackendSetHealthCheckerOutputReference; putHealthChecker(value: NetworkLoadBalancerBackendSetHealthChecker): void; get healthCheckerInput(): NetworkLoadBalancerBackendSetHealthChecker | undefined; private _timeouts; get timeouts(): NetworkLoadBalancerBackendSetTimeoutsOutputReference; putTimeouts(value: NetworkLoadBalancerBackendSetTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | NetworkLoadBalancerBackendSetTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }