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 Node Snapshots in Oracle Cloud Infrastructure Database service. * * Gets a list of the Exadata Database Node Snapshots in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNodeSnapshots = oci.database.getDbNodeSnapshots({ * compartmentId: compartmentId, * clusterId: testDbNodeSnapshotManagement.exadbVmClusterId, * name: testDbNodeSnapshotManagement.snapshots[0].name, * sourceDbnodeId: testDbNodeSnapshotManagement.snapshots[0].sourceDbnodeId, * state: testDbNodeSnapshotManagement.snapshots[0].state, * }); * ``` */ export declare function getDbNodeSnapshots(args: GetDbNodeSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbNodeSnapshots. */ export interface GetDbNodeSnapshotsArgs { /** * 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.GetDbNodeSnapshotsFilter[]; /** * 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 Database Snapshots that match the given database node. */ sourceDbnodeId?: string; /** * A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getDbNodeSnapshots. */ export interface GetDbNodeSnapshotsResult { /** * 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; /** * The list of dbnode_snapshots. */ readonly dbnodeSnapshots: outputs.Database.GetDbNodeSnapshotsDbnodeSnapshot[]; readonly filters?: outputs.Database.GetDbNodeSnapshotsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Volume Name */ readonly name?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. */ readonly sourceDbnodeId?: string; /** * The current state of the Exadata Database Node Snapshot. */ readonly state?: string; } /** * This data source provides the list of Db Node Snapshots in Oracle Cloud Infrastructure Database service. * * Gets a list of the Exadata Database Node Snapshots in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNodeSnapshots = oci.database.getDbNodeSnapshots({ * compartmentId: compartmentId, * clusterId: testDbNodeSnapshotManagement.exadbVmClusterId, * name: testDbNodeSnapshotManagement.snapshots[0].name, * sourceDbnodeId: testDbNodeSnapshotManagement.snapshots[0].sourceDbnodeId, * state: testDbNodeSnapshotManagement.snapshots[0].state, * }); * ``` */ export declare function getDbNodeSnapshotsOutput(args: GetDbNodeSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbNodeSnapshots. */ export interface GetDbNodeSnapshotsOutputArgs { /** * 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 Database Snapshots that match the given database node. */ sourceDbnodeId?: pulumi.Input; /** * A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getDbNodeSnapshots.d.ts.map