Class UpdateProtectedDatabaseDetails
Describes the parameters required to update a protected database.
Inherited Members
Namespace: Oci.RecoveryService.Models
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class UpdateProtectedDatabaseDetails
Properties
DatabaseSize
Declaration
[JsonProperty(PropertyName = "databaseSize")]
[JsonConverter(typeof(StringEnumConverter))]
public DatabaseSizes? DatabaseSize { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSizes? | 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. |
DatabaseSizeInGBs
Declaration
[JsonProperty(PropertyName = "databaseSizeInGBs")]
public int? DatabaseSizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
int? | The size of the database, in gigabytes. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | 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 |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The protected database name. You can change the displayName. Avoid entering confidential information. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
IsRedoLogsShipped
Declaration
[JsonProperty(PropertyName = "isRedoLogsShipped")]
public bool? IsRedoLogsShipped { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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. |
Password
Declaration
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
ProtectionPolicyId
Declaration
[JsonProperty(PropertyName = "protectionPolicyId")]
public string ProtectionPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the protection policy associated with the protected database. |
RecoveryServiceSubnets
Declaration
[JsonProperty(PropertyName = "recoveryServiceSubnets")]
public List<RecoveryServiceSubnetInput> RecoveryServiceSubnets { get; set; }
Property Value
Type | Description |
---|---|
List<RecoveryServiceSubnetInput> | List of recovery service subnet resources associated with the protected database. |