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 Mysql Db Systems in Oracle Cloud Infrastructure MySQL Database service. * * Get a list of DB Systems in the specified compartment. * The default sort order is by timeUpdated, descending. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlDbSystems = oci.mysql.getMysqlDbSystems({ * compartmentId: compartmentId, * configurationId: mysqlConfigurationId, * databaseManagements: mysqlDbSystemDatabaseManagement, * dbSystemId: testDbSystem.id, * displayName: mysqlDbSystemDisplayName, * isHeatWaveClusterAttached: mysqlDbSystemIsHeatWaveClusterAttached === "true", * isUpToDate: mysqlDbSystemIsUpToDate === "true", * state: mysqlDbSystemState, * }); * ``` */ export declare function getMysqlDbSystems(args: GetMysqlDbSystemsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMysqlDbSystems. */ export interface GetMysqlDbSystemsArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * The requested Configuration instance. */ configurationId?: string; /** * Filter DB Systems by their Database Management configuration. */ databaseManagements?: string[]; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId?: string; /** * A filter to return only the resource matching the given display name exactly. */ displayName?: string; filters?: inputs.Mysql.GetMysqlDbSystemsFilter[]; /** * If true, return only DB Systems with a HeatWave cluster attached, if false return only DB Systems with no HeatWave cluster attached. If not present, return all DB Systems. */ isHeatWaveClusterAttached?: boolean; /** * Filter instances if they are using the latest revision of the Configuration they are associated with. */ isUpToDate?: boolean; /** * DbSystem Lifecycle State */ state?: string; } /** * A collection of values returned by getMysqlDbSystems. */ export interface GetMysqlDbSystemsResult { /** * The OCID of the compartment the DB System belongs in. */ readonly compartmentId: string; /** * The OCID of the Configuration to be used for Instances in this DB System. */ readonly configurationId?: string; /** * Whether to enable monitoring via the Database Management service. */ readonly databaseManagements?: string[]; /** * The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System. Use this together with recovery point to perform a point in time recovery operation. */ readonly dbSystemId?: string; /** * The list of db_systems. */ readonly dbSystems: outputs.Mysql.GetMysqlDbSystemsDbSystem[]; /** * The user-friendly name for the DB System. It does not have to be unique. */ readonly displayName?: string; readonly filters?: outputs.Mysql.GetMysqlDbSystemsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * If the DB System has a HeatWave Cluster attached. */ readonly isHeatWaveClusterAttached?: boolean; readonly isUpToDate?: boolean; /** * The current state of the DB System. */ readonly state?: string; } /** * This data source provides the list of Mysql Db Systems in Oracle Cloud Infrastructure MySQL Database service. * * Get a list of DB Systems in the specified compartment. * The default sort order is by timeUpdated, descending. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlDbSystems = oci.mysql.getMysqlDbSystems({ * compartmentId: compartmentId, * configurationId: mysqlConfigurationId, * databaseManagements: mysqlDbSystemDatabaseManagement, * dbSystemId: testDbSystem.id, * displayName: mysqlDbSystemDisplayName, * isHeatWaveClusterAttached: mysqlDbSystemIsHeatWaveClusterAttached === "true", * isUpToDate: mysqlDbSystemIsUpToDate === "true", * state: mysqlDbSystemState, * }); * ``` */ export declare function getMysqlDbSystemsOutput(args: GetMysqlDbSystemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMysqlDbSystems. */ export interface GetMysqlDbSystemsOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * The requested Configuration instance. */ configurationId?: pulumi.Input; /** * Filter DB Systems by their Database Management configuration. */ databaseManagements?: pulumi.Input[] | undefined>; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId?: pulumi.Input; /** * A filter to return only the resource matching the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * If true, return only DB Systems with a HeatWave cluster attached, if false return only DB Systems with no HeatWave cluster attached. If not present, return all DB Systems. */ isHeatWaveClusterAttached?: pulumi.Input; /** * Filter instances if they are using the latest revision of the Configuration they are associated with. */ isUpToDate?: pulumi.Input; /** * DbSystem Lifecycle State */ state?: pulumi.Input; } //# sourceMappingURL=getMysqlDbSystems.d.ts.map