import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Ipsec Connection Tunnel Routes in Oracle Cloud Infrastructure Core service. * * The routes advertised to the on-premises network and the routes received from the on-premises network. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpsecConnectionTunnelRoutes = oci.core.getIpsecConnectionTunnelRoutes({ * ipsecId: testIpsec.id, * tunnelId: testTunnel.id, * advertiser: ipsecConnectionTunnelRouteAdvertiser, * }); * ``` */ export declare function getIpsecConnectionTunnelRoutes(args: GetIpsecConnectionTunnelRoutesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIpsecConnectionTunnelRoutes. */ export interface GetIpsecConnectionTunnelRoutesArgs { /** * Specifies the advertiser of the routes. If set to `ORACLE`, this returns only the routes advertised by Oracle. When set to `CUSTOMER`, this returns only the routes advertised by the CPE. */ advertiser?: string; filters?: inputs.Core.GetIpsecConnectionTunnelRoutesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. */ ipsecId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. */ tunnelId: string; } /** * A collection of values returned by getIpsecConnectionTunnelRoutes. */ export interface GetIpsecConnectionTunnelRoutesResult { /** * The source of the route advertisement. */ readonly advertiser?: string; readonly filters?: outputs.Core.GetIpsecConnectionTunnelRoutesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipsecId: string; readonly tunnelId: string; /** * The list of tunnel_routes. */ readonly tunnelRoutes: outputs.Core.GetIpsecConnectionTunnelRoutesTunnelRoute[]; } /** * This data source provides the list of Ipsec Connection Tunnel Routes in Oracle Cloud Infrastructure Core service. * * The routes advertised to the on-premises network and the routes received from the on-premises network. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpsecConnectionTunnelRoutes = oci.core.getIpsecConnectionTunnelRoutes({ * ipsecId: testIpsec.id, * tunnelId: testTunnel.id, * advertiser: ipsecConnectionTunnelRouteAdvertiser, * }); * ``` */ export declare function getIpsecConnectionTunnelRoutesOutput(args: GetIpsecConnectionTunnelRoutesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIpsecConnectionTunnelRoutes. */ export interface GetIpsecConnectionTunnelRoutesOutputArgs { /** * Specifies the advertiser of the routes. If set to `ORACLE`, this returns only the routes advertised by Oracle. When set to `CUSTOMER`, this returns only the routes advertised by the CPE. */ advertiser?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. */ ipsecId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. */ tunnelId: pulumi.Input; } //# sourceMappingURL=getIpsecConnectionTunnelRoutes.d.ts.map