BackupSchedule

class oci.golden_gate.models.BackupSchedule(**kwargs)

Bases: object

Defines the schedule of the deployment backup.

Attributes

FREQUENCY_BACKUP_SCHEDULED_DAILY A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule.
FREQUENCY_BACKUP_SCHEDULED_MONTHLY A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule.
FREQUENCY_BACKUP_SCHEDULED_WEEKLY A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule.
bucket_name [Required] Gets the bucket_name of this BackupSchedule.
compartment_id [Required] Gets the compartment_id of this BackupSchedule.
frequency_backup_scheduled [Required] Gets the frequency_backup_scheduled of this BackupSchedule.
is_metadata_only [Required] Gets the is_metadata_only of this BackupSchedule.
namespace_name [Required] Gets the namespace_name of this BackupSchedule.
time_backup_scheduled [Required] Gets the time_backup_scheduled of this BackupSchedule.

Methods

__init__(**kwargs) Initializes a new BackupSchedule object with values from keyword arguments.
FREQUENCY_BACKUP_SCHEDULED_DAILY = 'DAILY'

A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule. This constant has a value of “DAILY”

FREQUENCY_BACKUP_SCHEDULED_MONTHLY = 'MONTHLY'

A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule. This constant has a value of “MONTHLY”

FREQUENCY_BACKUP_SCHEDULED_WEEKLY = 'WEEKLY'

A constant which can be used with the frequency_backup_scheduled property of a BackupSchedule. This constant has a value of “WEEKLY”

__init__(**kwargs)

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

Parameters:
  • time_backup_scheduled (datetime) – The value to assign to the time_backup_scheduled property of this BackupSchedule.
  • frequency_backup_scheduled (str) – The value to assign to the frequency_backup_scheduled property of this BackupSchedule. Allowed values for this property are: “DAILY”, “WEEKLY”, “MONTHLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • bucket_name (str) – The value to assign to the bucket_name property of this BackupSchedule.
  • compartment_id (str) – The value to assign to the compartment_id property of this BackupSchedule.
  • namespace_name (str) – The value to assign to the namespace_name property of this BackupSchedule.
  • is_metadata_only (bool) – The value to assign to the is_metadata_only property of this BackupSchedule.
bucket_name

[Required] Gets the bucket_name of this BackupSchedule. Name of the bucket where the object is to be uploaded in the object storage

Returns:The bucket_name of this BackupSchedule.
Return type:str
compartment_id

[Required] Gets the compartment_id of this BackupSchedule. The OCID of the compartment being referenced.

Returns:The compartment_id of this BackupSchedule.
Return type:str
frequency_backup_scheduled

[Required] Gets the frequency_backup_scheduled of this BackupSchedule. The frequency of the deployment backup schedule. Frequency can be DAILY, WEEKLY or MONTHLY.

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

Returns:The frequency_backup_scheduled of this BackupSchedule.
Return type:str
is_metadata_only

[Required] Gets the is_metadata_only of this BackupSchedule. Parameter to allow users to create backup without trails

Returns:The is_metadata_only of this BackupSchedule.
Return type:bool
namespace_name

[Required] Gets the namespace_name of this BackupSchedule. Name of namespace that serves as a container for all of your buckets

Returns:The namespace_name of this BackupSchedule.
Return type:str
time_backup_scheduled

[Required] Gets the time_backup_scheduled of this BackupSchedule. The start timestamp for the deployment backup schedule. The format is defined by RFC3339, such as 2024-10-25T18:19:29.600Z.

Returns:The time_backup_scheduled of this BackupSchedule.
Return type:datetime