rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
152 lines (151 loc) • 7.62 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface HealthChecksPingProbeConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#compartment_id HealthChecksPingProbe#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#id HealthChecksPingProbe#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_ping_probe#port HealthChecksPingProbe#port}
*/
readonly port?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#protocol HealthChecksPingProbe#protocol}
*/
readonly protocol: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#targets HealthChecksPingProbe#targets}
*/
readonly targets: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#timeout_in_seconds HealthChecksPingProbe#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_ping_probe#vantage_point_names HealthChecksPingProbe#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_ping_probe#timeouts HealthChecksPingProbe#timeouts}
*/
readonly timeouts?: HealthChecksPingProbeTimeouts;
}
export interface HealthChecksPingProbeTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#create HealthChecksPingProbe#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#delete HealthChecksPingProbe#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#update HealthChecksPingProbe#update}
*/
readonly update?: string;
}
export declare function healthChecksPingProbeTimeoutsToTerraform(struct?: HealthChecksPingProbeTimeouts | cdktf.IResolvable): any;
export declare function healthChecksPingProbeTimeoutsToHclTerraform(struct?: HealthChecksPingProbeTimeouts | cdktf.IResolvable): any;
export declare class HealthChecksPingProbeTimeoutsOutputReference 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(): HealthChecksPingProbeTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: HealthChecksPingProbeTimeouts | 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_ping_probe oci_health_checks_ping_probe}
*/
export declare class HealthChecksPingProbe extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_health_checks_ping_probe";
/**
* Generates CDKTF code for importing a HealthChecksPingProbe 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 HealthChecksPingProbe to import
* @param importFromId The id of the existing HealthChecksPingProbe that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/health_checks_ping_probe#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the HealthChecksPingProbe 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_ping_probe oci_health_checks_ping_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 HealthChecksPingProbeConfig
*/
constructor(scope: Construct, id: string, config: HealthChecksPingProbeConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
get homeRegion(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): 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(): HealthChecksPingProbeTimeoutsOutputReference;
putTimeouts(value: HealthChecksPingProbeTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | HealthChecksPingProbeTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}