CreateBackupScheduleDetails¶
-
class
oci.golden_gate.models.
CreateBackupScheduleDetails
(**kwargs)¶ Bases:
object
Defines the backup schedule details for create operation.
Attributes
FREQUENCY_BACKUP_SCHEDULED_DAILY
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails. FREQUENCY_BACKUP_SCHEDULED_MONTHLY
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails. FREQUENCY_BACKUP_SCHEDULED_WEEKLY
A constant which can be used with the frequency_backup_scheduled property of a CreateBackupScheduleDetails. bucket_name
[Required] Gets the bucket_name of this CreateBackupScheduleDetails. compartment_id
[Required] Gets the compartment_id of this CreateBackupScheduleDetails. frequency_backup_scheduled
[Required] Gets the frequency_backup_scheduled of this CreateBackupScheduleDetails. is_metadata_only
[Required] Gets the is_metadata_only of this CreateBackupScheduleDetails. namespace_name
[Required] Gets the namespace_name of this CreateBackupScheduleDetails. time_backup_scheduled
[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.
-
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
-
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
-
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
-
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
-
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
-
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
-