CopyBackupDetails¶
-
class
oci.mysql.models.
CopyBackupDetails
(**kwargs)¶ Bases:
object
Details required to copy a DB system backup from its source region to a destination region.
Methods
__init__
(**kwargs)Initializes a new CopyBackupDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CopyBackupDetails. description
Gets the description of this CopyBackupDetails. display_name
Gets the display_name of this CopyBackupDetails. source_backup_id
[Required] Gets the source_backup_id of this CopyBackupDetails. source_region
[Required] Gets the source_region of this CopyBackupDetails. -
__init__
(**kwargs)¶ Initializes a new CopyBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CopyBackupDetails.
- description (str) – The value to assign to the description property of this CopyBackupDetails.
- display_name (str) – The value to assign to the display_name property of this CopyBackupDetails.
- source_backup_id (str) – The value to assign to the source_backup_id property of this CopyBackupDetails.
- source_region (str) – The value to assign to the source_region property of this CopyBackupDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CopyBackupDetails. The OCID of the compartment the DB system backup is to be copied to.
Note: The compartment must be the same as the compartment of the DB system backup in the source region.
Returns: The compartment_id of this CopyBackupDetails. Return type: str
-
description
¶ Gets the description of this CopyBackupDetails. A user-supplied description for the DB system backup. By default, the source backup description will be used.
Returns: The description of this CopyBackupDetails. Return type: str
-
display_name
¶ Gets the display_name of this CopyBackupDetails. A user-supplied display name for the DB system backup. By default, the source backup display name will be used.
Returns: The display_name of this CopyBackupDetails. Return type: str
-
source_backup_id
¶ [Required] Gets the source_backup_id of this CopyBackupDetails. The OCID of DB system backup to be copied.
Returns: The source_backup_id of this CopyBackupDetails. Return type: str
-
source_region
¶ [Required] Gets the source_region of this CopyBackupDetails. The region identifier of the source region where the DB system backup exists. For more information, please see Regions and Availability Domains.
Returns: The source_region of this CopyBackupDetails. Return type: str
-