Show / Hide Table of Contents

Class BackupPolicyState

Inheritance
System.Object
InputArgs
ResourceArgs
BackupPolicyState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Rds
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class BackupPolicyState : ResourceArgs

Constructors

View Source

BackupPolicyState()

Declaration
public BackupPolicyState()

Properties

View Source

ArchiveBackupKeepCount

Instance archive backup keep count. Valid when the enable_backup_log is true and instance is mysql local disk. When archive_backup_keep_policy is ByMonth Valid values: [1-31]. When archive_backup_keep_policy is ByWeek Valid values: [1-7].

Declaration
public Input<int> ArchiveBackupKeepCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ArchiveBackupKeepPolicy

Instance archive backup keep policy. Valid when the enable_backup_log is true and instance is mysql local disk. Valid values are ByMonth, Disable, KeepAll.

Declaration
public Input<string> ArchiveBackupKeepPolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ArchiveBackupRetentionPeriod

Instance archive backup retention days. Valid when the enable_backup_log is true and instance is mysql local disk. Valid values: [30-1095], and archive_backup_retention_period must larger than backup_retention_period 730.

Declaration
public Input<int> ArchiveBackupRetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

BackupPeriods

It has been deprecated from version 1.69.0, and use field 'preferred_backup_period' instead.

Declaration
[Obsolete("Attribute 'backup_period' has been deprecated from version 1.69.0. Use `preferred_backup_period` instead")]
public InputList<string> BackupPeriods { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

BackupRetentionPeriod

Instance backup retention days. Valid values: [7-730]. Default to 7. But mysql local disk is unlimited.

Declaration
public Input<int> BackupRetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

BackupTime

It has been deprecated from version 1.69.0, and use field 'preferred_backup_time' instead.

Declaration
public Input<string> BackupTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CompressType

The compress type of instance policy. Valid values are 1, 4, 8.

Declaration
public Input<string> CompressType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EnableBackupLog

Whether to backup instance log. Valid values are true, false, Default to true. Note: The 'Basic Edition' category Rds instance does not support setting log backup. What is Basic Edition.

Declaration
public Input<bool> EnableBackupLog { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HighSpaceUsageProtection

Instance high space usage protection policy. Valid when the enable_backup_log is true. Valid values are Enable, Disable.

Declaration
public Input<string> HighSpaceUsageProtection { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceId

The Id of instance that can run database.

Declaration
public Input<string> InstanceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LocalLogRetentionHours

Instance log backup local retention hours. Valid when the enable_backup_log is true. Valid values: [0-7*24].

Declaration
public Input<int> LocalLogRetentionHours { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

LocalLogRetentionSpace

Instance log backup local retention space. Valid when the enable_backup_log is true. Valid values: [5-50].

Declaration
public Input<int> LocalLogRetentionSpace { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

LogBackup

It has been deprecated from version 1.68.0, and use field 'enable_backup_log' instead.

Declaration
public Input<bool> LogBackup { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

LogBackupFrequency

Instance log backup frequency. Valid when the instance engine is SQLServer. Valid values are LogInterval.

Declaration
public Input<string> LogBackupFrequency { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LogBackupRetentionPeriod

Instance log backup retention days. Valid when the enable_backup_log is 1. Valid values: [7-730]. Default to 7. It cannot be larger than backup_retention_period.

Declaration
public Input<int> LogBackupRetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

LogRetentionPeriod

It has been deprecated from version 1.69.0, and use field 'log_backup_retention_period' instead.

Declaration
public Input<int> LogRetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

PreferredBackupPeriods

DB Instance backup period. Please set at least two days to ensure backing up at least twice a week. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"].

Declaration
public InputList<string> PreferredBackupPeriods { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

PreferredBackupTime

DB instance backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. Default to "02:00Z-03:00Z". China time is 8 hours behind it.

Declaration
public Input<string> PreferredBackupTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RetentionPeriod

It has been deprecated from version 1.69.0, and use field 'backup_retention_period' instead.

Declaration
public Input<int> RetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.