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 Connections in Oracle Cloud Infrastructure Database Migration service. * * List all Database Connections. * * Note: If you wish to use the DMS deprecated API version /20210929 it is necessary to pin the Terraform Provider version to v5.47.0. Newer Terraform provider versions will not support the DMS deprecated API version /20210929 * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.databasemigration.getConnections({ * compartmentId: compartmentId, * connectionTypes: connectionConnectionType, * displayName: connectionDisplayName, * sourceConnectionId: testConnection.id, * state: connectionState, * technologySubType: connectionTechnologySubType, * technologyTypes: connectionTechnologyType, * }); * ``` */ export declare function getConnections(args: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * The array of connection types. */ connectionTypes?: string[]; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.DatabaseMigration.GetConnectionsFilter[]; /** * The OCID of the source database connection. */ sourceConnectionId?: string; /** * The current state of the Database Migration Deployment. */ state?: string; /** * The database technology sub-type. */ technologySubType?: string; /** * The array of technology types. */ technologyTypes?: string[]; } /** * A collection of values returned by getConnections. */ export interface GetConnectionsResult { /** * The OCID of the compartment. */ readonly compartmentId: string; /** * The list of connection_collection. */ readonly connectionCollections: outputs.DatabaseMigration.GetConnectionsConnectionCollection[]; /** * Defines the type of connection. For example, ORACLE. */ readonly connectionTypes?: string[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DatabaseMigration.GetConnectionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly sourceConnectionId?: string; /** * The Connection's current lifecycle state. */ readonly state?: string; readonly technologySubType?: string; /** * The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service */ readonly technologyTypes?: string[]; } /** * This data source provides the list of Connections in Oracle Cloud Infrastructure Database Migration service. * * List all Database Connections. * * Note: If you wish to use the DMS deprecated API version /20210929 it is necessary to pin the Terraform Provider version to v5.47.0. Newer Terraform provider versions will not support the DMS deprecated API version /20210929 * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.databasemigration.getConnections({ * compartmentId: compartmentId, * connectionTypes: connectionConnectionType, * displayName: connectionDisplayName, * sourceConnectionId: testConnection.id, * state: connectionState, * technologySubType: connectionTechnologySubType, * technologyTypes: connectionTechnologyType, * }); * ``` */ export declare function getConnectionsOutput(args: GetConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The array of connection types. */ connectionTypes?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the source database connection. */ sourceConnectionId?: pulumi.Input; /** * The current state of the Database Migration Deployment. */ state?: pulumi.Input; /** * The database technology sub-type. */ technologySubType?: pulumi.Input; /** * The array of technology types. */ technologyTypes?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getConnections.d.ts.map