1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getVolumeBackups
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Core.getVolumeBackups

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVolumeBackups = oci.Core.getVolumeBackups({
        compartmentId: _var.compartment_id,
        displayName: _var.volume_backup_display_name,
        sourceVolumeBackupId: oci_core_volume_backup.test_volume_backup.id,
        state: _var.volume_backup_state,
        volumeId: oci_core_volume.test_volume.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_volume_backups = oci.Core.get_volume_backups(compartment_id=var["compartment_id"],
        display_name=var["volume_backup_display_name"],
        source_volume_backup_id=oci_core_volume_backup["test_volume_backup"]["id"],
        state=var["volume_backup_state"],
        volume_id=oci_core_volume["test_volume"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.GetVolumeBackups(ctx, &core.GetVolumeBackupsArgs{
    			CompartmentId:        _var.Compartment_id,
    			DisplayName:          pulumi.StringRef(_var.Volume_backup_display_name),
    			SourceVolumeBackupId: pulumi.StringRef(oci_core_volume_backup.Test_volume_backup.Id),
    			State:                pulumi.StringRef(_var.Volume_backup_state),
    			VolumeId:             pulumi.StringRef(oci_core_volume.Test_volume.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testVolumeBackups = Oci.Core.GetVolumeBackups.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Volume_backup_display_name,
            SourceVolumeBackupId = oci_core_volume_backup.Test_volume_backup.Id,
            State = @var.Volume_backup_state,
            VolumeId = oci_core_volume.Test_volume.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.CoreFunctions;
    import com.pulumi.oci.Core.inputs.GetVolumeBackupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testVolumeBackups = CoreFunctions.getVolumeBackups(GetVolumeBackupsArgs.builder()
                .compartmentId(var_.compartment_id())
                .displayName(var_.volume_backup_display_name())
                .sourceVolumeBackupId(oci_core_volume_backup.test_volume_backup().id())
                .state(var_.volume_backup_state())
                .volumeId(oci_core_volume.test_volume().id())
                .build());
    
        }
    }
    
    variables:
      testVolumeBackups:
        fn::invoke:
          Function: oci:Core:getVolumeBackups
          Arguments:
            compartmentId: ${var.compartment_id}
            displayName: ${var.volume_backup_display_name}
            sourceVolumeBackupId: ${oci_core_volume_backup.test_volume_backup.id}
            state: ${var.volume_backup_state}
            volumeId: ${oci_core_volume.test_volume.id}
    

    Using getVolumeBackups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVolumeBackups(args: GetVolumeBackupsArgs, opts?: InvokeOptions): Promise<GetVolumeBackupsResult>
    function getVolumeBackupsOutput(args: GetVolumeBackupsOutputArgs, opts?: InvokeOptions): Output<GetVolumeBackupsResult>
    def get_volume_backups(compartment_id: Optional[str] = None,
                           display_name: Optional[str] = None,
                           filters: Optional[Sequence[_core.GetVolumeBackupsFilter]] = None,
                           source_volume_backup_id: Optional[str] = None,
                           state: Optional[str] = None,
                           volume_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVolumeBackupsResult
    def get_volume_backups_output(compartment_id: Optional[pulumi.Input[str]] = None,
                           display_name: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetVolumeBackupsFilterArgs]]]] = None,
                           source_volume_backup_id: Optional[pulumi.Input[str]] = None,
                           state: Optional[pulumi.Input[str]] = None,
                           volume_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetVolumeBackupsResult]
    func GetVolumeBackups(ctx *Context, args *GetVolumeBackupsArgs, opts ...InvokeOption) (*GetVolumeBackupsResult, error)
    func GetVolumeBackupsOutput(ctx *Context, args *GetVolumeBackupsOutputArgs, opts ...InvokeOption) GetVolumeBackupsResultOutput

    > Note: This function is named GetVolumeBackups in the Go SDK.

    public static class GetVolumeBackups 
    {
        public static Task<GetVolumeBackupsResult> InvokeAsync(GetVolumeBackupsArgs args, InvokeOptions? opts = null)
        public static Output<GetVolumeBackupsResult> Invoke(GetVolumeBackupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVolumeBackupsResult> getVolumeBackups(GetVolumeBackupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getVolumeBackups:getVolumeBackups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetVolumeBackupsFilter>
    SourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    State string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    VolumeId string
    The OCID of the volume.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetVolumeBackupsFilter
    SourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    State string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    VolumeId string
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetVolumeBackupsFilter>
    sourceVolumeBackupId String
    A filter to return only resources that originated from the given source volume backup.
    state String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    volumeId String
    The OCID of the volume.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetVolumeBackupsFilter[]
    sourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    state string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    volumeId string
    The OCID of the volume.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[core.GetVolumeBackupsFilter]
    source_volume_backup_id str
    A filter to return only resources that originated from the given source volume backup.
    state str
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    volume_id str
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    sourceVolumeBackupId String
    A filter to return only resources that originated from the given source volume backup.
    state String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    volumeId String
    The OCID of the volume.

    getVolumeBackups Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the volume backup.
    Id string
    The provider-assigned unique ID for this managed resource.
    VolumeBackups List<GetVolumeBackupsVolumeBackup>
    The list of volume_backups.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetVolumeBackupsFilter>
    SourceVolumeBackupId string
    The OCID of the source volume backup.
    State string
    The current state of a volume backup.
    VolumeId string
    The OCID of the volume.
    CompartmentId string
    The OCID of the compartment that contains the volume backup.
    Id string
    The provider-assigned unique ID for this managed resource.
    VolumeBackups []GetVolumeBackupsVolumeBackup
    The list of volume_backups.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetVolumeBackupsFilter
    SourceVolumeBackupId string
    The OCID of the source volume backup.
    State string
    The current state of a volume backup.
    VolumeId string
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment that contains the volume backup.
    id String
    The provider-assigned unique ID for this managed resource.
    volumeBackups List<GetVolumeBackupsVolumeBackup>
    The list of volume_backups.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetVolumeBackupsFilter>
    sourceVolumeBackupId String
    The OCID of the source volume backup.
    state String
    The current state of a volume backup.
    volumeId String
    The OCID of the volume.
    compartmentId string
    The OCID of the compartment that contains the volume backup.
    id string
    The provider-assigned unique ID for this managed resource.
    volumeBackups GetVolumeBackupsVolumeBackup[]
    The list of volume_backups.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetVolumeBackupsFilter[]
    sourceVolumeBackupId string
    The OCID of the source volume backup.
    state string
    The current state of a volume backup.
    volumeId string
    The OCID of the volume.
    compartment_id str
    The OCID of the compartment that contains the volume backup.
    id str
    The provider-assigned unique ID for this managed resource.
    volume_backups Sequence[core.GetVolumeBackupsVolumeBackup]
    The list of volume_backups.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[core.GetVolumeBackupsFilter]
    source_volume_backup_id str
    The OCID of the source volume backup.
    state str
    The current state of a volume backup.
    volume_id str
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment that contains the volume backup.
    id String
    The provider-assigned unique ID for this managed resource.
    volumeBackups List<Property Map>
    The list of volume_backups.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    sourceVolumeBackupId String
    The OCID of the source volume backup.
    state String
    The current state of a volume backup.
    volumeId String
    The OCID of the volume.

    Supporting Types

    GetVolumeBackupsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetVolumeBackupsVolumeBackup

    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ExpirationTime string
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    FreeformTags Dictionary<string, object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the volume backup.
    KmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    SizeInGbs string
    The size of the volume, in GBs.
    SizeInMbs string
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    SourceDetails List<GetVolumeBackupsVolumeBackupSourceDetail>
    SourceType string
    Specifies whether the backup was created manually, or via scheduled backup policy.
    SourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    State string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    TimeCreated string
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    TimeRequestReceived string
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    Type string
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    UniqueSizeInGbs string
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    UniqueSizeInMbs string
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    VolumeId string
    The OCID of the volume.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ExpirationTime string
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    FreeformTags map[string]interface{}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the volume backup.
    KmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    SizeInGbs string
    The size of the volume, in GBs.
    SizeInMbs string
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    SourceDetails []GetVolumeBackupsVolumeBackupSourceDetail
    SourceType string
    Specifies whether the backup was created manually, or via scheduled backup policy.
    SourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    State string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    TimeCreated string
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    TimeRequestReceived string
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    Type string
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    UniqueSizeInGbs string
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    UniqueSizeInMbs string
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    VolumeId string
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    expirationTime String
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    freeformTags Map<String,Object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the volume backup.
    kmsKeyId String
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    sizeInGbs String
    The size of the volume, in GBs.
    sizeInMbs String
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    sourceDetails List<GetVolumeBackupsVolumeBackupSourceDetail>
    sourceType String
    Specifies whether the backup was created manually, or via scheduled backup policy.
    sourceVolumeBackupId String
    A filter to return only resources that originated from the given source volume backup.
    state String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    timeCreated String
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    timeRequestReceived String
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    type String
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    uniqueSizeInGbs String
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    uniqueSizeInMbs String
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    volumeId String
    The OCID of the volume.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name exactly.
    expirationTime string
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    freeformTags {[key: string]: any}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the volume backup.
    kmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    sizeInGbs string
    The size of the volume, in GBs.
    sizeInMbs string
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    sourceDetails GetVolumeBackupsVolumeBackupSourceDetail[]
    sourceType string
    Specifies whether the backup was created manually, or via scheduled backup policy.
    sourceVolumeBackupId string
    A filter to return only resources that originated from the given source volume backup.
    state string
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    timeCreated string
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    timeRequestReceived string
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    type string
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    uniqueSizeInGbs string
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    uniqueSizeInMbs string
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    volumeId string
    The OCID of the volume.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A filter to return only resources that match the given display name exactly.
    expiration_time str
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    freeform_tags Mapping[str, Any]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the volume backup.
    kms_key_id str
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    size_in_gbs str
    The size of the volume, in GBs.
    size_in_mbs str
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    source_details Sequence[core.GetVolumeBackupsVolumeBackupSourceDetail]
    source_type str
    Specifies whether the backup was created manually, or via scheduled backup policy.
    source_volume_backup_id str
    A filter to return only resources that originated from the given source volume backup.
    state str
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    time_created str
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    time_request_received str
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    type str
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    unique_size_in_gbs str
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    unique_size_in_mbs str
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    volume_id str
    The OCID of the volume.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    expirationTime String
    The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted.
    freeformTags Map<Any>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the volume backup.
    kmsKeyId String
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    sizeInGbs String
    The size of the volume, in GBs.
    sizeInMbs String
    The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use size_in_gbs.

    Deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.

    sourceDetails List<Property Map>
    sourceType String
    Specifies whether the backup was created manually, or via scheduled backup policy.
    sourceVolumeBackupId String
    A filter to return only resources that originated from the given source volume backup.
    state String
    A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    timeCreated String
    The date and time the volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339.
    timeRequestReceived String
    The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
    type String
    The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'.
    uniqueSizeInGbs String
    The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the volume and whether the backup is full or incremental.
    uniqueSizeInMbs String
    The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs.

    Deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.

    volumeId String
    The OCID of the volume.

    GetVolumeBackupsVolumeBackupSourceDetail

    KmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    Region string
    VolumeBackupId string
    KmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    Region string
    VolumeBackupId string
    kmsKeyId String
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    region String
    volumeBackupId String
    kmsKeyId string
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    region string
    volumeBackupId string
    kms_key_id str
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    region str
    volume_backup_id str
    kmsKeyId String
    The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
    region String
    volumeBackupId String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi