» Data Source: oci_core_volume_group_backups

This data source provides the list of Volume Group Backups in Oracle Cloud Infrastructure Core service.

Lists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups.

» Example Usage

data "oci_core_volume_group_backups" "test_volume_group_backups" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    display_name = "${var.volume_group_backup_display_name}"
    volume_group_id = "${oci_core_volume_group.test_volume_group.id}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The OCID of the compartment.
  • display_name - (Optional) A filter to return only resources that match the given display name exactly.
  • volume_group_id - (Optional) The OCID of the volume group.

» Attributes Reference

The following attributes are exported:

» VolumeGroupBackup Reference

The following attributes are exported:

  • compartment_id - The OCID of the compartment that contains the volume group backup.
  • defined_tags - 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 - A user-friendly name for the volume group backup. Does not have to be unique and it's changeable. Avoid entering confidential information.
  • freeform_tags - 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 - The OCID of the volume group backup.
  • size_in_gbs - The aggregate size of the volume group backup, in GBs.
  • size_in_mbs - The aggregate size of the volume group backup, in MBs.
  • state - The current state of a volume group backup.
  • time_created - The date and time the volume group backup was created. This is the time the actual point-in-time image of the volume group data was taken. Format defined by RFC3339.
  • time_request_received - The date and time the request to create the volume group backup was received. Format defined by RFC3339.
  • type - The type of backup.
  • unique_size_in_gbs - The aggregate size used by the volume group backup, in GBs. It is typically smaller than size_in_gbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental.
  • unique_size_in_mbs - The aggregate size used by the volume group backup, in MBs. It is typically smaller than size_in_mbs, depending on the space consumed on the volume group and whether the volume backup is full or incremental.
  • volume_backup_ids - OCIDs for the volume backups in this volume group backup.
  • volume_group_id - The OCID of the source volume group.