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 Pluggable Database Snapshots in Oracle Cloud Infrastructure Database service. * * Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPluggableDatabaseSnapshots = oci.database.getPluggableDatabaseSnapshots({ * clusterId: testCluster.id, * compartmentId: compartmentId, * name: pluggableDatabaseSnapshotName, * pluggableDatabaseId: testPluggableDatabase.id, * state: pluggableDatabaseSnapshotState, * }); * ``` */ export declare function getPluggableDatabaseSnapshots(args?: GetPluggableDatabaseSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPluggableDatabaseSnapshots. */ export interface GetPluggableDatabaseSnapshotsArgs { /** * A filter to return only Exadata Database Node Snapshots that match the given VM cluster. */ clusterId?: string; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: string; filters?: inputs.Database.GetPluggableDatabaseSnapshotsFilter[]; /** * A filter to return only resources that match the entire name given. The match is not case sensitive. */ name?: string; /** * A filter to return only Exadata Pluggable Database Snapshots that match the given database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ pluggableDatabaseId?: string; /** * A filter to return only Exadata Pluggable Database Snapshots that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getPluggableDatabaseSnapshots. */ export interface GetPluggableDatabaseSnapshotsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. */ readonly clusterId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; readonly filters?: outputs.Database.GetPluggableDatabaseSnapshotsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The user-friendly name for the Database Snapshot. The name should be unique. */ readonly name?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Pluggable Database. */ readonly pluggableDatabaseId?: string; /** * The list of pluggable_database_snapshots. */ readonly pluggableDatabaseSnapshots: outputs.Database.GetPluggableDatabaseSnapshotsPluggableDatabaseSnapshot[]; /** * The current state of the Exadata Pluggable Database Snapshot. */ readonly state?: string; } /** * This data source provides the list of Pluggable Database Snapshots in Oracle Cloud Infrastructure Database service. * * Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPluggableDatabaseSnapshots = oci.database.getPluggableDatabaseSnapshots({ * clusterId: testCluster.id, * compartmentId: compartmentId, * name: pluggableDatabaseSnapshotName, * pluggableDatabaseId: testPluggableDatabase.id, * state: pluggableDatabaseSnapshotState, * }); * ``` */ export declare function getPluggableDatabaseSnapshotsOutput(args?: GetPluggableDatabaseSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPluggableDatabaseSnapshots. */ export interface GetPluggableDatabaseSnapshotsOutputArgs { /** * A filter to return only Exadata Database Node Snapshots that match the given VM cluster. */ clusterId?: pulumi.Input; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the entire name given. The match is not case sensitive. */ name?: pulumi.Input; /** * A filter to return only Exadata Pluggable Database Snapshots that match the given database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ pluggableDatabaseId?: pulumi.Input; /** * A filter to return only Exadata Pluggable Database Snapshots that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getPluggableDatabaseSnapshots.d.ts.map