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 Volume Backups in Oracle Cloud Infrastructure Core service. * * Lists the volume backups in the specified compartment. You can filter the results by volume. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeBackups = oci.core.getVolumeBackups({ * compartmentId: compartmentId, * displayName: volumeBackupDisplayName, * sourceVolumeBackupId: testVolumeBackup.id, * state: volumeBackupState, * volumeId: testVolume.id, * }); * ``` */ export declare function getVolumeBackups(args: GetVolumeBackupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumeBackups. */ export interface GetVolumeBackupsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetVolumeBackupsFilter[]; /** * A filter to return only resources that originated from the given source volume backup. */ sourceVolumeBackupId?: string; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The OCID of the volume. */ volumeId?: string; } /** * A collection of values returned by getVolumeBackups. */ export interface GetVolumeBackupsResult { /** * The OCID of the compartment that contains the volume backup. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Core.GetVolumeBackupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the source volume backup. */ readonly sourceVolumeBackupId?: string; /** * The current state of a volume backup. */ readonly state?: string; /** * The list of volume_backups. */ readonly volumeBackups: outputs.Core.GetVolumeBackupsVolumeBackup[]; /** * The OCID of the volume. */ readonly volumeId?: string; } /** * This data source provides the list of Volume Backups in Oracle Cloud Infrastructure Core service. * * Lists the volume backups in the specified compartment. You can filter the results by volume. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeBackups = oci.core.getVolumeBackups({ * compartmentId: compartmentId, * displayName: volumeBackupDisplayName, * sourceVolumeBackupId: testVolumeBackup.id, * state: volumeBackupState, * volumeId: testVolume.id, * }); * ``` */ export declare function getVolumeBackupsOutput(args: GetVolumeBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumeBackups. */ export interface GetVolumeBackupsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that originated from the given source volume backup. */ sourceVolumeBackupId?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; /** * The OCID of the volume. */ volumeId?: pulumi.Input; } //# sourceMappingURL=getVolumeBackups.d.ts.map