BackupDestinationSummary

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

Bases: object

Backup destination details, including the list of databases using the backup destination.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary.

NFS_MOUNT_TYPE_AUTOMATED_MOUNT

A constant which can be used with the nfs_mount_type property of a BackupDestinationSummary.

NFS_MOUNT_TYPE_SELF_MOUNT

A constant which can be used with the nfs_mount_type property of a BackupDestinationSummary.

TYPE_NFS

A constant which can be used with the type property of a BackupDestinationSummary.

TYPE_RECOVERY_APPLIANCE

A constant which can be used with the type property of a BackupDestinationSummary.

associated_databases

Gets the associated_databases of this BackupDestinationSummary.

associated_long_term_backup_count

Gets the associated_long_term_backup_count of this BackupDestinationSummary.

associated_long_term_backups

Gets the associated_long_term_backups of this BackupDestinationSummary.

compartment_id

Gets the compartment_id of this BackupDestinationSummary.

connection_string

Gets the connection_string of this BackupDestinationSummary.

defined_tags

Gets the defined_tags of this BackupDestinationSummary.

display_name

Gets the display_name of this BackupDestinationSummary.

freeform_tags

Gets the freeform_tags of this BackupDestinationSummary.

id

Gets the id of this BackupDestinationSummary.

lifecycle_details

Gets the lifecycle_details of this BackupDestinationSummary.

lifecycle_state

Gets the lifecycle_state of this BackupDestinationSummary.

local_mount_point_path

Gets the local_mount_point_path of this BackupDestinationSummary.

nfs_mount_type

Gets the nfs_mount_type of this BackupDestinationSummary.

nfs_server

Gets the nfs_server of this BackupDestinationSummary.

nfs_server_export

Gets the nfs_server_export of this BackupDestinationSummary.

system_tags

Gets the system_tags of this BackupDestinationSummary.

time_at_which_storage_details_are_updated

Gets the time_at_which_storage_details_are_updated of this BackupDestinationSummary.

time_created

Gets the time_created of this BackupDestinationSummary.

total_storage_size_in_gbs

Gets the total_storage_size_in_gbs of this BackupDestinationSummary.

type

Gets the type of this BackupDestinationSummary.

utilized_storage_size_in_gbs

Gets the utilized_storage_size_in_gbs of this BackupDestinationSummary.

vpc_users

Gets the vpc_users of this BackupDestinationSummary.

Methods:

__init__(**kwargs)

Initializes a new BackupDestinationSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a BackupDestinationSummary. This constant has a value of “FAILED”

NFS_MOUNT_TYPE_AUTOMATED_MOUNT = 'AUTOMATED_MOUNT'

A constant which can be used with the nfs_mount_type property of a BackupDestinationSummary. This constant has a value of “AUTOMATED_MOUNT”

NFS_MOUNT_TYPE_SELF_MOUNT = 'SELF_MOUNT'

A constant which can be used with the nfs_mount_type property of a BackupDestinationSummary. This constant has a value of “SELF_MOUNT”

TYPE_NFS = 'NFS'

A constant which can be used with the type property of a BackupDestinationSummary. This constant has a value of “NFS”

TYPE_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE'

A constant which can be used with the type property of a BackupDestinationSummary. This constant has a value of “RECOVERY_APPLIANCE”

__init__(**kwargs)

Initializes a new BackupDestinationSummary 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 BackupDestinationSummary.

  • display_name (str) – The value to assign to the display_name property of this BackupDestinationSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this BackupDestinationSummary.

  • type (str) – The value to assign to the type property of this BackupDestinationSummary. 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[oci.database.models.AssociatedDatabaseDetails]) – The value to assign to the associated_databases property of this BackupDestinationSummary.

  • associated_long_term_backups (list[oci.database.models.AssociatedLongTermBackup]) – The value to assign to the associated_long_term_backups property of this BackupDestinationSummary.

  • associated_long_term_backup_count (int) – The value to assign to the associated_long_term_backup_count property of this BackupDestinationSummary.

  • connection_string (str) – The value to assign to the connection_string property of this BackupDestinationSummary.

  • vpc_users (list[str]) – The value to assign to the vpc_users property of this BackupDestinationSummary.

  • local_mount_point_path (str) – The value to assign to the local_mount_point_path property of this BackupDestinationSummary.

  • nfs_mount_type (str) – The value to assign to the nfs_mount_type property of this BackupDestinationSummary. Allowed values for this property are: “SELF_MOUNT”, “AUTOMATED_MOUNT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • nfs_server (list[str]) – The value to assign to the nfs_server property of this BackupDestinationSummary.

  • nfs_server_export (str) – The value to assign to the nfs_server_export property of this BackupDestinationSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this BackupDestinationSummary. 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 BackupDestinationSummary.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this BackupDestinationSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BackupDestinationSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BackupDestinationSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this BackupDestinationSummary.

  • total_storage_size_in_gbs (int) – The value to assign to the total_storage_size_in_gbs property of this BackupDestinationSummary.

  • utilized_storage_size_in_gbs (int) – The value to assign to the utilized_storage_size_in_gbs property of this BackupDestinationSummary.

  • time_at_which_storage_details_are_updated (datetime) – The value to assign to the time_at_which_storage_details_are_updated property of this BackupDestinationSummary.

property associated_databases

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

Returns

The associated_databases of this BackupDestinationSummary.

Return type

list[oci.database.models.AssociatedDatabaseDetails]

property associated_long_term_backup_count

Gets the associated_long_term_backup_count of this BackupDestinationSummary. Indicates the number of long term backups of Autonomous AI Databases associated with this backup destination.

Returns

The associated_long_term_backup_count of this BackupDestinationSummary.

Return type

int

property associated_long_term_backups

Gets the associated_long_term_backups of this BackupDestinationSummary. List of long term backups of Autonomous AI Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.

Returns

The associated_long_term_backups of this BackupDestinationSummary.

Return type

list[oci.database.models.AssociatedLongTermBackup]

property compartment_id

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

Returns

The compartment_id of this BackupDestinationSummary.

Return type

str

property connection_string

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

Returns

The connection_string of this BackupDestinationSummary.

Return type

str

property defined_tags

Gets the defined_tags of this BackupDestinationSummary. 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 BackupDestinationSummary.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this BackupDestinationSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this BackupDestinationSummary. 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 BackupDestinationSummary.

Return type

dict(str, str)

property id

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

Returns

The id of this BackupDestinationSummary.

Return type

str

property lifecycle_details

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

Returns

The lifecycle_details of this BackupDestinationSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this BackupDestinationSummary. 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 BackupDestinationSummary.

Return type

str

property local_mount_point_path

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

Return type

str

property nfs_mount_type

Gets the nfs_mount_type of this BackupDestinationSummary. NFS Mount type for backup destination.

Allowed values for this property are: “SELF_MOUNT”, “AUTOMATED_MOUNT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The nfs_mount_type of this BackupDestinationSummary.

Return type

str

property nfs_server

Gets the nfs_server of this BackupDestinationSummary. Host names or IP addresses for NFS Auto mount.

Returns

The nfs_server of this BackupDestinationSummary.

Return type

list[str]

property nfs_server_export

Gets the nfs_server_export of this BackupDestinationSummary. Specifies the directory on which to mount the file system

Returns

The nfs_server_export of this BackupDestinationSummary.

Return type

str

property system_tags

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

Returns

The system_tags of this BackupDestinationSummary.

Return type

dict(str, dict(str, object))

property time_at_which_storage_details_are_updated

Gets the time_at_which_storage_details_are_updated of this BackupDestinationSummary. The time when the total storage size and the utilized storage size of the backup destination are updated.

Returns

The time_at_which_storage_details_are_updated of this BackupDestinationSummary.

Return type

datetime

property time_created

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

Returns

The time_created of this BackupDestinationSummary.

Return type

datetime

property total_storage_size_in_gbs

Gets the total_storage_size_in_gbs of this BackupDestinationSummary. The total storage size of the backup destination in GBs, rounded to the nearest integer.

Returns

The total_storage_size_in_gbs of this BackupDestinationSummary.

Return type

int

property type

Gets the type of this BackupDestinationSummary. 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 BackupDestinationSummary.

Return type

str

property utilized_storage_size_in_gbs

Gets the utilized_storage_size_in_gbs of this BackupDestinationSummary. The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.

Returns

The utilized_storage_size_in_gbs of this BackupDestinationSummary.

Return type

int

property vpc_users

Gets the vpc_users of this BackupDestinationSummary. 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 BackupDestinationSummary.

Return type

list[str]