CreateBackupScheduleDetails¶
- class oci.golden_gate.models.CreateBackupScheduleDetails(**kwargs)¶
Bases:
objectDefines the backup schedule details for create operation.
Attributes:
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails.
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails.
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails.
[Required] Gets the bucket_name of this CreateBackupScheduleDetails.
[Required] Gets the compartment_id of this CreateBackupScheduleDetails.
[Required] Gets the frequency_backup_scheduled of this CreateBackupScheduleDetails.
[Required] Gets the is_metadata_only of this CreateBackupScheduleDetails.
[Required] Gets the namespace_name of this CreateBackupScheduleDetails.
[Required] Gets the time_backup_scheduled of this CreateBackupScheduleDetails.
Methods:
__init__(**kwargs)Initializes a new CreateBackupScheduleDetails 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 CreateBackupScheduleDetails. 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 CreateBackupScheduleDetails. 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 CreateBackupScheduleDetails. This constant has a value of “WEEKLY”
- __init__(**kwargs)¶
Initializes a new CreateBackupScheduleDetails 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 CreateBackupScheduleDetails.
frequency_backup_scheduled (str) – The value to assign to the frequency_backup_scheduled property of this CreateBackupScheduleDetails. Allowed values for this property are: “DAILY”, “WEEKLY”, “MONTHLY”
bucket_name (str) – The value to assign to the bucket_name property of this CreateBackupScheduleDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateBackupScheduleDetails.
namespace_name (str) – The value to assign to the namespace_name property of this CreateBackupScheduleDetails.
is_metadata_only (bool) – The value to assign to the is_metadata_only property of this CreateBackupScheduleDetails.
- property bucket_name¶
[Required] Gets the bucket_name of this CreateBackupScheduleDetails. Name of the bucket where the object is to be uploaded in the object storage
- Returns
The bucket_name of this CreateBackupScheduleDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateBackupScheduleDetails. The OCID of the compartment being referenced.
- Returns
The compartment_id of this CreateBackupScheduleDetails.
- Return type
str
- property frequency_backup_scheduled¶
[Required] Gets the frequency_backup_scheduled of this CreateBackupScheduleDetails. The frequency of the deployment backup schedule. Frequency can be DAILY, WEEKLY or MONTHLY.
Allowed values for this property are: “DAILY”, “WEEKLY”, “MONTHLY”
- Returns
The frequency_backup_scheduled of this CreateBackupScheduleDetails.
- Return type
str
- property is_metadata_only¶
[Required] Gets the is_metadata_only of this CreateBackupScheduleDetails. Parameter to allow users to create backup without trails
- Returns
The is_metadata_only of this CreateBackupScheduleDetails.
- Return type
bool
- property namespace_name¶
[Required] Gets the namespace_name of this CreateBackupScheduleDetails. Name of namespace that serves as a container for all of your buckets
- Returns
The namespace_name of this CreateBackupScheduleDetails.
- Return type
str
- property time_backup_scheduled¶
[Required] Gets the time_backup_scheduled of this CreateBackupScheduleDetails. 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 CreateBackupScheduleDetails.
- Return type
datetime