rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
268 lines (267 loc) • 15.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciCoreIpsecConnectionTunnelConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_ipsec_connection_tunnel#ipsec_id DataOciCoreIpsecConnectionTunnel#ipsec_id}
*/
readonly ipsecId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_ipsec_connection_tunnel#tunnel_id DataOciCoreIpsecConnectionTunnel#tunnel_id}
*/
readonly tunnelId: string;
}
export interface DataOciCoreIpsecConnectionTunnelBgpSessionInfo {
}
export declare function dataOciCoreIpsecConnectionTunnelBgpSessionInfoToTerraform(struct?: DataOciCoreIpsecConnectionTunnelBgpSessionInfo): any;
export declare function dataOciCoreIpsecConnectionTunnelBgpSessionInfoToHclTerraform(struct?: DataOciCoreIpsecConnectionTunnelBgpSessionInfo): any;
export declare class DataOciCoreIpsecConnectionTunnelBgpSessionInfoOutputReference 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(): DataOciCoreIpsecConnectionTunnelBgpSessionInfo | undefined;
set internalValue(value: DataOciCoreIpsecConnectionTunnelBgpSessionInfo | undefined);
get bgpIpv6State(): string;
get bgpState(): string;
get customerBgpAsn(): string;
get customerInterfaceIp(): string;
get customerInterfaceIpv6(): string;
get oracleBgpAsn(): string;
get oracleInterfaceIp(): string;
get oracleInterfaceIpv6(): string;
}
export declare class DataOciCoreIpsecConnectionTunnelBgpSessionInfoList 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): DataOciCoreIpsecConnectionTunnelBgpSessionInfoOutputReference;
}
export interface DataOciCoreIpsecConnectionTunnelDpdConfig {
}
export declare function dataOciCoreIpsecConnectionTunnelDpdConfigToTerraform(struct?: DataOciCoreIpsecConnectionTunnelDpdConfig): any;
export declare function dataOciCoreIpsecConnectionTunnelDpdConfigToHclTerraform(struct?: DataOciCoreIpsecConnectionTunnelDpdConfig): any;
export declare class DataOciCoreIpsecConnectionTunnelDpdConfigOutputReference 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(): DataOciCoreIpsecConnectionTunnelDpdConfig | undefined;
set internalValue(value: DataOciCoreIpsecConnectionTunnelDpdConfig | undefined);
get dpdMode(): string;
get dpdTimeoutInSec(): number;
}
export declare class DataOciCoreIpsecConnectionTunnelDpdConfigList 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): DataOciCoreIpsecConnectionTunnelDpdConfigOutputReference;
}
export interface DataOciCoreIpsecConnectionTunnelEncryptionDomainConfig {
}
export declare function dataOciCoreIpsecConnectionTunnelEncryptionDomainConfigToTerraform(struct?: DataOciCoreIpsecConnectionTunnelEncryptionDomainConfig): any;
export declare function dataOciCoreIpsecConnectionTunnelEncryptionDomainConfigToHclTerraform(struct?: DataOciCoreIpsecConnectionTunnelEncryptionDomainConfig): any;
export declare class DataOciCoreIpsecConnectionTunnelEncryptionDomainConfigOutputReference 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(): DataOciCoreIpsecConnectionTunnelEncryptionDomainConfig | undefined;
set internalValue(value: DataOciCoreIpsecConnectionTunnelEncryptionDomainConfig | undefined);
get cpeTrafficSelector(): string[];
get oracleTrafficSelector(): string[];
}
export declare class DataOciCoreIpsecConnectionTunnelEncryptionDomainConfigList 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): DataOciCoreIpsecConnectionTunnelEncryptionDomainConfigOutputReference;
}
export interface DataOciCoreIpsecConnectionTunnelPhaseOneDetails {
}
export declare function dataOciCoreIpsecConnectionTunnelPhaseOneDetailsToTerraform(struct?: DataOciCoreIpsecConnectionTunnelPhaseOneDetails): any;
export declare function dataOciCoreIpsecConnectionTunnelPhaseOneDetailsToHclTerraform(struct?: DataOciCoreIpsecConnectionTunnelPhaseOneDetails): any;
export declare class DataOciCoreIpsecConnectionTunnelPhaseOneDetailsOutputReference 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(): DataOciCoreIpsecConnectionTunnelPhaseOneDetails | undefined;
set internalValue(value: DataOciCoreIpsecConnectionTunnelPhaseOneDetails | undefined);
get customAuthenticationAlgorithm(): string;
get customDhGroup(): string;
get customEncryptionAlgorithm(): string;
get isCustomPhaseOneConfig(): cdktf.IResolvable;
get isIkeEstablished(): cdktf.IResolvable;
get lifetime(): number;
get negotiatedAuthenticationAlgorithm(): string;
get negotiatedDhGroup(): string;
get negotiatedEncryptionAlgorithm(): string;
get remainingLifetime(): string;
get remainingLifetimeInt(): number;
get remainingLifetimeLastRetrieved(): string;
}
export declare class DataOciCoreIpsecConnectionTunnelPhaseOneDetailsList 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): DataOciCoreIpsecConnectionTunnelPhaseOneDetailsOutputReference;
}
export interface DataOciCoreIpsecConnectionTunnelPhaseTwoDetails {
}
export declare function dataOciCoreIpsecConnectionTunnelPhaseTwoDetailsToTerraform(struct?: DataOciCoreIpsecConnectionTunnelPhaseTwoDetails): any;
export declare function dataOciCoreIpsecConnectionTunnelPhaseTwoDetailsToHclTerraform(struct?: DataOciCoreIpsecConnectionTunnelPhaseTwoDetails): any;
export declare class DataOciCoreIpsecConnectionTunnelPhaseTwoDetailsOutputReference 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(): DataOciCoreIpsecConnectionTunnelPhaseTwoDetails | undefined;
set internalValue(value: DataOciCoreIpsecConnectionTunnelPhaseTwoDetails | undefined);
get customAuthenticationAlgorithm(): string;
get customEncryptionAlgorithm(): string;
get dhGroup(): string;
get isCustomPhaseTwoConfig(): cdktf.IResolvable;
get isEspEstablished(): cdktf.IResolvable;
get isPfsEnabled(): cdktf.IResolvable;
get lifetime(): number;
get negotiatedAuthenticationAlgorithm(): string;
get negotiatedDhGroup(): string;
get negotiatedEncryptionAlgorithm(): string;
get remainingLifetime(): string;
get remainingLifetimeInt(): number;
get remainingLifetimeLastRetrieved(): string;
}
export declare class DataOciCoreIpsecConnectionTunnelPhaseTwoDetailsList 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): DataOciCoreIpsecConnectionTunnelPhaseTwoDetailsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_ipsec_connection_tunnel oci_core_ipsec_connection_tunnel}
*/
export declare class DataOciCoreIpsecConnectionTunnel extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_core_ipsec_connection_tunnel";
/**
* Generates CDKTF code for importing a DataOciCoreIpsecConnectionTunnel 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 DataOciCoreIpsecConnectionTunnel to import
* @param importFromId The id of the existing DataOciCoreIpsecConnectionTunnel that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/core_ipsec_connection_tunnel#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciCoreIpsecConnectionTunnel 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/data-sources/core_ipsec_connection_tunnel oci_core_ipsec_connection_tunnel} Data Source
*
* @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 DataOciCoreIpsecConnectionTunnelConfig
*/
constructor(scope: Construct, id: string, config: DataOciCoreIpsecConnectionTunnelConfig);
get associatedVirtualCircuits(): string[];
private _bgpSessionInfo;
get bgpSessionInfo(): DataOciCoreIpsecConnectionTunnelBgpSessionInfoList;
get compartmentId(): string;
get cpeIp(): string;
get displayName(): string;
private _dpdConfig;
get dpdConfig(): DataOciCoreIpsecConnectionTunnelDpdConfigList;
get dpdMode(): string;
get dpdTimeoutInSec(): number;
private _encryptionDomainConfig;
get encryptionDomainConfig(): DataOciCoreIpsecConnectionTunnelEncryptionDomainConfigList;
get id(): string;
get ikeVersion(): string;
private _ipsecId?;
get ipsecId(): string;
set ipsecId(value: string);
get ipsecIdInput(): string | undefined;
get natTranslationEnabled(): string;
get oracleCanInitiate(): string;
private _phaseOneDetails;
get phaseOneDetails(): DataOciCoreIpsecConnectionTunnelPhaseOneDetailsList;
private _phaseTwoDetails;
get phaseTwoDetails(): DataOciCoreIpsecConnectionTunnelPhaseTwoDetailsList;
get routing(): string;
get sharedSecret(): string;
get state(): string;
get status(): string;
get timeCreated(): string;
get timeStatusUpdated(): string;
private _tunnelId?;
get tunnelId(): string;
set tunnelId(value: string);
get tunnelIdInput(): string | undefined;
get vpnIp(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}