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 Database Registrations in Oracle Cloud Infrastructure Golden Gate service. * * Note: Deprecated. Use the /connections API instead. * Lists the DatabaseRegistrations in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseRegistrations = oci.goldengate.getDatabaseRegistrations({ * compartmentId: compartmentId, * displayName: databaseRegistrationDisplayName, * state: databaseRegistrationState, * }); * ``` */ export declare function getDatabaseRegistrations(args: GetDatabaseRegistrationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseRegistrations. */ export interface GetDatabaseRegistrationsArgs { /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: string; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: string; filters?: inputs.GoldenGate.GetDatabaseRegistrationsFilter[]; /** * A filter to return only the resources that match the 'lifecycleState' given. */ state?: string; } /** * A collection of values returned by getDatabaseRegistrations. */ export interface GetDatabaseRegistrationsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: string; /** * The list of database_registration_collection. */ readonly databaseRegistrationCollections: outputs.GoldenGate.GetDatabaseRegistrationsDatabaseRegistrationCollection[]; /** * An object's Display Name. */ readonly displayName?: string; readonly filters?: outputs.GoldenGate.GetDatabaseRegistrationsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Possible lifecycle states. */ readonly state?: string; } /** * This data source provides the list of Database Registrations in Oracle Cloud Infrastructure Golden Gate service. * * Note: Deprecated. Use the /connections API instead. * Lists the DatabaseRegistrations in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseRegistrations = oci.goldengate.getDatabaseRegistrations({ * compartmentId: compartmentId, * displayName: databaseRegistrationDisplayName, * state: databaseRegistrationState, * }); * ``` */ export declare function getDatabaseRegistrationsOutput(args: GetDatabaseRegistrationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseRegistrations. */ export interface GetDatabaseRegistrationsOutputArgs { /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: pulumi.Input; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the 'lifecycleState' given. */ state?: pulumi.Input; } //# sourceMappingURL=getDatabaseRegistrations.d.ts.map