» Data Source: oci_database_backup_destinations

This data source provides the list of Backup Destinations in Oracle Cloud Infrastructure Database service.

Gets a list of backup destinations in the specified compartment.

» Example Usage

data "oci_database_backup_destinations" "test_backup_destinations" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    type = "${var.backup_destination_type}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The compartment OCID.
  • type - (Optional) A filter to return only resources that match the given type of the Backup Destination.

» Attributes Reference

The following attributes are exported:

» BackupDestination Reference

The following attributes are exported:

  • associated_databases - List of databases associated with the backup destination.
    • db_name - The display name of the database that is associated with the backup destination.
    • id - The database OCID.
  • compartment_id - The OCID of the compartment.
  • connection_string - For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
  • display_name - The user-provided name of the backup destination.
  • 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 backup destination.
  • lifecycle_details - A descriptive text associated with the lifecycleState. Typically contains additional displayable text
  • local_mount_point_path - The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
  • state - The current lifecycle state of the backup destination.
  • time_created - The date and time the backup destination was created.
  • type - Type of the backup destination.
  • vpc_users - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.