DistributedDbBackupDestination

class oci.distributed_database.models.DistributedDbBackupDestination(**kwargs)

Bases: object

Backup destination details

Attributes:

TYPE_DBRS

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

TYPE_LOCAL

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

TYPE_NFS

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

TYPE_OBJECT_STORE

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

dbrs_policy_id

Gets the dbrs_policy_id of this DistributedDbBackupDestination.

id

Gets the id of this DistributedDbBackupDestination.

internet_proxy

Gets the internet_proxy of this DistributedDbBackupDestination.

is_remote

Gets the is_remote of this DistributedDbBackupDestination.

remote_region

Gets the remote_region of this DistributedDbBackupDestination.

type

[Required] Gets the type of this DistributedDbBackupDestination.

Methods:

__init__(**kwargs)

Initializes a new DistributedDbBackupDestination object with values from keyword arguments.

TYPE_DBRS = 'DBRS'

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

TYPE_LOCAL = 'LOCAL'

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

TYPE_NFS = 'NFS'

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

TYPE_OBJECT_STORE = 'OBJECT_STORE'

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

__init__(**kwargs)

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

Parameters
  • type (str) – The value to assign to the type property of this DistributedDbBackupDestination. Allowed values for this property are: “NFS”, “OBJECT_STORE”, “LOCAL”, “DBRS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • id (str) – The value to assign to the id property of this DistributedDbBackupDestination.

  • internet_proxy (str) – The value to assign to the internet_proxy property of this DistributedDbBackupDestination.

  • dbrs_policy_id (str) – The value to assign to the dbrs_policy_id property of this DistributedDbBackupDestination.

  • is_remote (bool) – The value to assign to the is_remote property of this DistributedDbBackupDestination.

  • remote_region (str) – The value to assign to the remote_region property of this DistributedDbBackupDestination.

property dbrs_policy_id

Gets the dbrs_policy_id of this DistributedDbBackupDestination. The OCID of the DBRS policy used for backup.

Returns

The dbrs_policy_id of this DistributedDbBackupDestination.

Return type

str

property id

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

Returns

The id of this DistributedDbBackupDestination.

Return type

str

property internet_proxy

Gets the internet_proxy of this DistributedDbBackupDestination. Proxy URL to connect to object store.

Returns

The internet_proxy of this DistributedDbBackupDestination.

Return type

str

property is_remote

Gets the is_remote of this DistributedDbBackupDestination. Indicates whether the backup destination is cross-region or local region.

Returns

The is_remote of this DistributedDbBackupDestination.

Return type

bool

property remote_region

Gets the remote_region of this DistributedDbBackupDestination. The name of the remote region where the remote automatic incremental backups will be stored. For information about valid region names, see Regions and Availability Domains.

Returns

The remote_region of this DistributedDbBackupDestination.

Return type

str

property type

[Required] Gets the type of this DistributedDbBackupDestination. Type of the database backup destination.

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

Returns

The type of this DistributedDbBackupDestination.

Return type

str