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 Sql Endpoints in Oracle Cloud Infrastructure Data Flow service. * * Lists all Sql Endpoints in the specified compartment. * The query must include compartmentId or sqlEndpointId. * If the query does not include either compartmentId or sqlEndpointId, an error is returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlEndpoints = oci.dataflow.getSqlEndpoints({ * compartmentId: compartmentId, * displayName: sqlEndpointDisplayName, * sqlEndpointId: testSqlEndpoint.id, * state: sqlEndpointState, * }); * ``` */ export declare function getSqlEndpoints(args?: GetSqlEndpointsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSqlEndpoints. */ export interface GetSqlEndpointsArgs { /** * The OCID of the compartment in which to query resources. */ compartmentId?: string; /** * The query parameter for the Spark application name. */ displayName?: string; filters?: inputs.DataFlow.GetSqlEndpointsFilter[]; /** * The unique id of the SQL Endpoint. */ sqlEndpointId?: string; /** * A filter to return only those resources whose sqlEndpointLifecycleState matches the given sqlEndpointLifecycleState. */ state?: string; } /** * A collection of values returned by getSqlEndpoints. */ export interface GetSqlEndpointsResult { /** * The OCID of a compartment. */ readonly compartmentId?: string; /** * The SQL Endpoint name, which can be changed. */ readonly displayName?: string; readonly filters?: outputs.DataFlow.GetSqlEndpointsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of sql_endpoint_collection. */ readonly sqlEndpointCollections: outputs.DataFlow.GetSqlEndpointsSqlEndpointCollection[]; readonly sqlEndpointId?: string; /** * The current state of the Sql Endpoint. */ readonly state?: string; } /** * This data source provides the list of Sql Endpoints in Oracle Cloud Infrastructure Data Flow service. * * Lists all Sql Endpoints in the specified compartment. * The query must include compartmentId or sqlEndpointId. * If the query does not include either compartmentId or sqlEndpointId, an error is returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlEndpoints = oci.dataflow.getSqlEndpoints({ * compartmentId: compartmentId, * displayName: sqlEndpointDisplayName, * sqlEndpointId: testSqlEndpoint.id, * state: sqlEndpointState, * }); * ``` */ export declare function getSqlEndpointsOutput(args?: GetSqlEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSqlEndpoints. */ export interface GetSqlEndpointsOutputArgs { /** * The OCID of the compartment in which to query resources. */ compartmentId?: pulumi.Input; /** * The query parameter for the Spark application name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The unique id of the SQL Endpoint. */ sqlEndpointId?: pulumi.Input; /** * A filter to return only those resources whose sqlEndpointLifecycleState matches the given sqlEndpointLifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getSqlEndpoints.d.ts.map