Class: TencentCloud::Postgres::V20170312::CreateBackupPlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::CreateBackupPlanRequest
- Defined in:
- lib/v20170312/models.rb
Overview
CreateBackupPlan请求参数结构体
Instance Attribute Summary collapse
-
#BackupPeriod ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#BackupPeriodType ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#BaseBackupRetentionPeriod ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#DBInstanceId ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#MaxBackupStartTime ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#MinBackupStartTime ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
-
#PlanName ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dbinstanceid = nil, planname = nil, backupperiodtype = nil, backupperiod = nil, minbackupstarttime = nil, maxbackupstarttime = nil, basebackupretentionperiod = nil) ⇒ CreateBackupPlanRequest
constructor
A new instance of CreateBackupPlanRequest.
Constructor Details
#initialize(dbinstanceid = nil, planname = nil, backupperiodtype = nil, backupperiod = nil, minbackupstarttime = nil, maxbackupstarttime = nil, basebackupretentionperiod = nil) ⇒ CreateBackupPlanRequest
Returns a new instance of CreateBackupPlanRequest.
729 730 731 732 733 734 735 736 737 |
# File 'lib/v20170312/models.rb', line 729 def initialize(dbinstanceid=nil, planname=nil, backupperiodtype=nil, backupperiod=nil, minbackupstarttime=nil, maxbackupstarttime=nil, basebackupretentionperiod=nil) @DBInstanceId = dbinstanceid @PlanName = planname @BackupPeriodType = backupperiodtype @BackupPeriod = backupperiod @MinBackupStartTime = minbackupstarttime @MaxBackupStartTime = maxbackupstarttime @BaseBackupRetentionPeriod = basebackupretentionperiod end |
Instance Attribute Details
#BackupPeriod ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def BackupPeriod @BackupPeriod end |
#BackupPeriodType ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def BackupPeriodType @BackupPeriodType end |
#BaseBackupRetentionPeriod ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def BaseBackupRetentionPeriod @BaseBackupRetentionPeriod end |
#DBInstanceId ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def DBInstanceId @DBInstanceId end |
#MaxBackupStartTime ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def MaxBackupStartTime @MaxBackupStartTime end |
#MinBackupStartTime ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def MinBackupStartTime @MinBackupStartTime end |
#PlanName ⇒ Object
BackupPeriodType为week时默认是7,为month时默认为31。
727 728 729 |
# File 'lib/v20170312/models.rb', line 727 def PlanName @PlanName end |
Instance Method Details
#deserialize(params) ⇒ Object
739 740 741 742 743 744 745 746 747 |
# File 'lib/v20170312/models.rb', line 739 def deserialize(params) @DBInstanceId = params['DBInstanceId'] @PlanName = params['PlanName'] @BackupPeriodType = params['BackupPeriodType'] @BackupPeriod = params['BackupPeriod'] @MinBackupStartTime = params['MinBackupStartTime'] @MaxBackupStartTime = params['MaxBackupStartTime'] @BaseBackupRetentionPeriod = params['BaseBackupRetentionPeriod'] end |