rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
187 lines (186 loc) • 8.85 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface HealthChecksHttpProbeConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#compartment_id HealthChecksHttpProbe#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#headers HealthChecksHttpProbe#headers}
*/
readonly headers?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#id HealthChecksHttpProbe#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/health_checks_http_probe#method HealthChecksHttpProbe#method}
*/
readonly method?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#path HealthChecksHttpProbe#path}
*/
readonly path?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#port HealthChecksHttpProbe#port}
*/
readonly port?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#protocol HealthChecksHttpProbe#protocol}
*/
readonly protocol: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#targets HealthChecksHttpProbe#targets}
*/
readonly targets: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#timeout_in_seconds HealthChecksHttpProbe#timeout_in_seconds}
*/
readonly timeoutInSeconds?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#vantage_point_names HealthChecksHttpProbe#vantage_point_names}
*/
readonly vantagePointNames?: string[];
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#timeouts HealthChecksHttpProbe#timeouts}
*/
readonly timeouts?: HealthChecksHttpProbeTimeouts;
}
export interface HealthChecksHttpProbeTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#create HealthChecksHttpProbe#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#delete HealthChecksHttpProbe#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#update HealthChecksHttpProbe#update}
*/
readonly update?: string;
}
export declare function healthChecksHttpProbeTimeoutsToTerraform(struct?: HealthChecksHttpProbeTimeouts | cdktf.IResolvable): any;
export declare function healthChecksHttpProbeTimeoutsToHclTerraform(struct?: HealthChecksHttpProbeTimeouts | cdktf.IResolvable): any;
export declare class HealthChecksHttpProbeTimeoutsOutputReference 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(): HealthChecksHttpProbeTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: HealthChecksHttpProbeTimeouts | 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/health_checks_http_probe oci_health_checks_http_probe}
*/
export declare class HealthChecksHttpProbe extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_health_checks_http_probe";
/**
* Generates CDKTF code for importing a HealthChecksHttpProbe 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 HealthChecksHttpProbe to import
* @param importFromId The id of the existing HealthChecksHttpProbe that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_http_probe#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the HealthChecksHttpProbe 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/health_checks_http_probe oci_health_checks_http_probe} 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 HealthChecksHttpProbeConfig
*/
constructor(scope: Construct, id: string, config: HealthChecksHttpProbeConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _headers?;
get headers(): {
[key: string]: string;
};
set headers(value: {
[key: string]: string;
});
resetHeaders(): void;
get headersInput(): {
[key: string]: string;
} | undefined;
get homeRegion(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _method?;
get method(): string;
set method(value: string);
resetMethod(): void;
get methodInput(): string | undefined;
private _path?;
get path(): string;
set path(value: string);
resetPath(): void;
get pathInput(): string | 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;
get resultsUrl(): string;
private _targets?;
get targets(): string[];
set targets(value: string[]);
get targetsInput(): string[] | undefined;
get timeCreated(): string;
private _timeoutInSeconds?;
get timeoutInSeconds(): number;
set timeoutInSeconds(value: number);
resetTimeoutInSeconds(): void;
get timeoutInSecondsInput(): number | undefined;
private _vantagePointNames?;
get vantagePointNames(): string[];
set vantagePointNames(value: string[]);
resetVantagePointNames(): void;
get vantagePointNamesInput(): string[] | undefined;
private _timeouts;
get timeouts(): HealthChecksHttpProbeTimeoutsOutputReference;
putTimeouts(value: HealthChecksHttpProbeTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | HealthChecksHttpProbeTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}