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 Db Systems in Oracle Cloud Infrastructure Psql service. * * Returns a list of database systems. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbSystems = oci.psql.getDbSystems({ * compartmentId: compartmentId, * displayName: dbSystemDisplayName, * id: dbSystemId, * state: dbSystemState, * systemRole: dbSystemSystemRole, * }); * ``` */ export declare function getDbSystems(args?: GetDbSystemsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbSystems. */ export interface GetDbSystemsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Psql.GetDbSystemsFilter[]; /** * A unique identifier for the database system. */ id?: string; /** * A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`. */ state?: string; /** * A filter to return only DbSystem resources if their `systemRole` matches the given value. */ systemRole?: string; } /** * A collection of values returned by getDbSystems. */ export interface GetDbSystemsResult { /** * target compartment to place a new backup */ readonly compartmentId?: string; /** * The list of db_system_collection. */ readonly dbSystemCollections: outputs.Psql.GetDbSystemsDbSystemCollection[]; /** * A user-friendly display name for the database instance node. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Psql.GetDbSystemsFilter[]; /** * A unique identifier for the database instance node. Immutable on creation. */ readonly id?: string; /** * The current state of the database system. */ readonly state?: string; /** * Type of the database system. */ readonly systemRole?: string; } /** * This data source provides the list of Db Systems in Oracle Cloud Infrastructure Psql service. * * Returns a list of database systems. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbSystems = oci.psql.getDbSystems({ * compartmentId: compartmentId, * displayName: dbSystemDisplayName, * id: dbSystemId, * state: dbSystemState, * systemRole: dbSystemSystemRole, * }); * ``` */ export declare function getDbSystemsOutput(args?: GetDbSystemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbSystems. */ export interface GetDbSystemsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A unique identifier for the database system. */ id?: pulumi.Input; /** * A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`. */ state?: pulumi.Input; /** * A filter to return only DbSystem resources if their `systemRole` matches the given value. */ systemRole?: pulumi.Input; } //# sourceMappingURL=getDbSystems.d.ts.map