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 Ip Sec Connections in Oracle Cloud Infrastructure Core service. * * Lists the IPSec connections for the specified compartment. You can filter the * results by DRG or CPE. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpSecConnections = oci.core.getIpsecConnections({ * compartmentId: compartmentId, * cpeId: testCpe.id, * drgId: testDrg.id, * }); * ``` */ export declare function getIpsecConnections(args: GetIpsecConnectionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIpsecConnections. */ export interface GetIpsecConnectionsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. */ cpeId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId?: string; filters?: inputs.Core.GetIpsecConnectionsFilter[]; } /** * A collection of values returned by getIpsecConnections. */ export interface GetIpsecConnectionsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. */ readonly compartmentId: string; /** * The list of connections. */ readonly connections: outputs.Core.GetIpsecConnectionsConnection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [Cpe](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Cpe/) object. */ readonly cpeId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ readonly drgId?: string; readonly filters?: outputs.Core.GetIpsecConnectionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Ip Sec Connections in Oracle Cloud Infrastructure Core service. * * Lists the IPSec connections for the specified compartment. You can filter the * results by DRG or CPE. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIpSecConnections = oci.core.getIpsecConnections({ * compartmentId: compartmentId, * cpeId: testCpe.id, * drgId: testDrg.id, * }); * ``` */ export declare function getIpsecConnectionsOutput(args: GetIpsecConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIpsecConnections. */ export interface GetIpsecConnectionsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. */ cpeId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getIpsecConnections.d.ts.map