UpdateProtectedDatabaseDetails¶
- class oci.recovery.models.UpdateProtectedDatabaseDetails(**kwargs)¶
Bases:
objectDescribes the parameters required to update a protected database.
Attributes:
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails.
Gets the database_size of this UpdateProtectedDatabaseDetails.
Gets the database_size_in_gbs of this UpdateProtectedDatabaseDetails.
Gets the defined_tags of this UpdateProtectedDatabaseDetails.
Gets the display_name of this UpdateProtectedDatabaseDetails.
Gets the freeform_tags of this UpdateProtectedDatabaseDetails.
Gets the is_redo_logs_shipped of this UpdateProtectedDatabaseDetails.
Gets the password of this UpdateProtectedDatabaseDetails.
Gets the protection_policy_id of this UpdateProtectedDatabaseDetails.
Gets the recovery_service_subnets of this UpdateProtectedDatabaseDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateProtectedDatabaseDetails object with values from keyword arguments.
- DATABASE_SIZE_AUTO = 'AUTO'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “AUTO”
- DATABASE_SIZE_L = 'L'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “L”
- DATABASE_SIZE_M = 'M'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “M”
- DATABASE_SIZE_S = 'S'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “S”
- DATABASE_SIZE_XL = 'XL'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “XL”
- DATABASE_SIZE_XS = 'XS'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “XS”
- DATABASE_SIZE_XXL = 'XXL'¶
A constant which can be used with the database_size property of a UpdateProtectedDatabaseDetails. This constant has a value of “XXL”
- __init__(**kwargs)¶
Initializes a new UpdateProtectedDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateProtectedDatabaseDetails.
database_size (str) – The value to assign to the database_size property of this UpdateProtectedDatabaseDetails. Allowed values for this property are: “XS”, “S”, “M”, “L”, “XL”, “XXL”, “AUTO”
database_size_in_gbs (int) – The value to assign to the database_size_in_gbs property of this UpdateProtectedDatabaseDetails.
password (str) – The value to assign to the password property of this UpdateProtectedDatabaseDetails.
protection_policy_id (str) – The value to assign to the protection_policy_id property of this UpdateProtectedDatabaseDetails.
recovery_service_subnets (list[oci.recovery.models.RecoveryServiceSubnetInput]) – The value to assign to the recovery_service_subnets property of this UpdateProtectedDatabaseDetails.
is_redo_logs_shipped (bool) – The value to assign to the is_redo_logs_shipped property of this UpdateProtectedDatabaseDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateProtectedDatabaseDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateProtectedDatabaseDetails.
- property database_size¶
Gets the database_size of this UpdateProtectedDatabaseDetails. The size of the database is allowed to be decreased. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
Allowed values for this property are: “XS”, “S”, “M”, “L”, “XL”, “XXL”, “AUTO”
- Returns
The database_size of this UpdateProtectedDatabaseDetails.
- Return type
str
- property database_size_in_gbs¶
Gets the database_size_in_gbs of this UpdateProtectedDatabaseDetails. The size of the database, in gigabytes.
- Returns
The database_size_in_gbs of this UpdateProtectedDatabaseDetails.
- Return type
int
- property defined_tags¶
Gets the defined_tags of this UpdateProtectedDatabaseDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. For more information, see Resource Tags
- Returns
The defined_tags of this UpdateProtectedDatabaseDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateProtectedDatabaseDetails. The protected database name. You can change the displayName. Avoid entering confidential information.
- Returns
The display_name of this UpdateProtectedDatabaseDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateProtectedDatabaseDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateProtectedDatabaseDetails.
- Return type
dict(str, str)
- property is_redo_logs_shipped¶
Gets the is_redo_logs_shipped of this UpdateProtectedDatabaseDetails. The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.
- Returns
The is_redo_logs_shipped of this UpdateProtectedDatabaseDetails.
- Return type
bool
- property password¶
Gets the password of this UpdateProtectedDatabaseDetails. Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (#) or hyphen (-). The password must not contain the username “admin”, regardless of casing. Password must not be same as current passsword.
- Returns
The password of this UpdateProtectedDatabaseDetails.
- Return type
str
- property protection_policy_id¶
Gets the protection_policy_id of this UpdateProtectedDatabaseDetails. The OCID of the protection policy associated with the protected database.
- Returns
The protection_policy_id of this UpdateProtectedDatabaseDetails.
- Return type
str
- property recovery_service_subnets¶
Gets the recovery_service_subnets of this UpdateProtectedDatabaseDetails. List of recovery service subnet resources associated with the protected database.
- Returns
The recovery_service_subnets of this UpdateProtectedDatabaseDetails.
- Return type