Class CreateProtectedDatabaseDetails
Describes the parameters required to create a protected database.
Inherited Members
Namespace: Oci.RecoveryService.Models
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class CreateProtectedDatabaseDetails
Properties
ChangeRate
Declaration
[JsonProperty(PropertyName = "changeRate")]
public double ChangeRate { get; set; }
Property Value
Type | Description |
---|---|
double | The percentage of data changes that exist in the database between successive incremental backups. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the protected database. |
Remarks
Required
CompressionRatio
Declaration
[JsonProperty(PropertyName = "compressionRatio")]
public double CompressionRatio { get; set; }
Property Value
Type | Description |
---|---|
double | The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size. |
DatabaseId
Declaration
[JsonProperty(PropertyName = "databaseId")]
public string DatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the protected database. |
DatabaseSize
Declaration
[JsonProperty(PropertyName = "databaseSize")]
[JsonConverter(typeof(StringEnumConverter))]
public DatabaseSizes? DatabaseSize { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSizes? | The size of the protected database. 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. |
DbUniqueName
Declaration
[Required(ErrorMessage = "DbUniqueName is required.")]
[JsonProperty(PropertyName = "dbUniqueName")]
public string DbUniqueName { get; set; }
Property Value
Type | Description |
---|---|
string | The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name. |
Remarks
Required
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
[Required(ErrorMessage = "DisplayName is required.")]
[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. |
Remarks
Required
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. |
Password
Declaration
[Required(ErrorMessage = "Password is required.")]
[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. |
Remarks
Required
ProtectionPolicyId
Declaration
[Required(ErrorMessage = "ProtectionPolicyId is required.")]
[JsonProperty(PropertyName = "protectionPolicyId")]
public string ProtectionPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the protection policy associated with the protected database. |
Remarks
Required
RecoveryServiceSubnets
Declaration
[Required(ErrorMessage = "RecoveryServiceSubnets is required.")]
[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. |
Remarks
Required