BackupDestination

class oci.database.models.BackupDestination(**kwargs)

Bases: object

Backup destination details.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a BackupDestination. This constant has a value of "ACTIVE"

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a BackupDestination. This constant has a value of "DELETED"

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a BackupDestination. This constant has a value of "FAILED"

TYPE_NFS = 'NFS'

A constant which can be used with the type property of a BackupDestination. This constant has a value of "NFS"

TYPE_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE'

A constant which can be used with the type property of a BackupDestination. This constant has a value of "RECOVERY_APPLIANCE"

__init__(**kwargs)

Initializes a new BackupDestination object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) -- The value to assign to the id property of this BackupDestination.
  • display_name (str) -- The value to assign to the display_name property of this BackupDestination.
  • compartment_id (str) -- The value to assign to the compartment_id property of this BackupDestination.
  • type (str) -- The value to assign to the type property of this BackupDestination. Allowed values for this property are: "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • associated_databases (list[AssociatedDatabaseDetails]) -- The value to assign to the associated_databases property of this BackupDestination.
  • connection_string (str) -- The value to assign to the connection_string property of this BackupDestination.
  • vpc_users (list[str]) -- The value to assign to the vpc_users property of this BackupDestination.
  • local_mount_point_path (str) -- The value to assign to the local_mount_point_path property of this BackupDestination.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this BackupDestination. Allowed values for this property are: "ACTIVE", "FAILED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • time_created (datetime) -- The value to assign to the time_created property of this BackupDestination.
  • lifecycle_details (str) -- The value to assign to the lifecycle_details property of this BackupDestination.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this BackupDestination.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this BackupDestination.
associated_databases

Gets the associated_databases of this BackupDestination. List of databases associated with the backup destination.

Returns:The associated_databases of this BackupDestination.
Return type:list[AssociatedDatabaseDetails]
compartment_id

Gets the compartment_id of this BackupDestination. The OCID of the compartment.

Returns:The compartment_id of this BackupDestination.
Return type:str
connection_string

Gets the connection_string of this BackupDestination. For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.

Returns:The connection_string of this BackupDestination.
Return type:str
defined_tags

Gets the defined_tags of this BackupDestination. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:The defined_tags of this BackupDestination.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this BackupDestination. The user-provided name of the backup destination.

Returns:The display_name of this BackupDestination.
Return type:str
freeform_tags

Gets the freeform_tags of this BackupDestination. 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"}

Returns:The freeform_tags of this BackupDestination.
Return type:dict(str, str)
id

Gets the id of this BackupDestination. The OCID of the backup destination.

Returns:The id of this BackupDestination.
Return type:str
lifecycle_details

Gets the lifecycle_details of this BackupDestination. A descriptive text associated with the lifecycleState. Typically contains additional displayable text

Returns:The lifecycle_details of this BackupDestination.
Return type:str
lifecycle_state

Gets the lifecycle_state of this BackupDestination. The current lifecycle state of the backup destination.

Allowed values for this property are: "ACTIVE", "FAILED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this BackupDestination.
Return type:str
local_mount_point_path

Gets the local_mount_point_path of this BackupDestination. 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.

Returns:The local_mount_point_path of this BackupDestination.
Return type:str
time_created

Gets the time_created of this BackupDestination. The date and time the backup destination was created.

Returns:The time_created of this BackupDestination.
Return type:datetime
type

Gets the type of this BackupDestination. Type of the backup destination.

Allowed values for this property are: "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The type of this BackupDestination.
Return type:str
vpc_users

Gets the vpc_users of this BackupDestination. For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.

Returns:The vpc_users of this BackupDestination.
Return type:list[str]