Class: TencentCloud::Postgres::V20170312::BackupPlan

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

备份计划

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(backupperiod = nil, basebackupretentionperiod = nil, minbackupstarttime = nil, maxbackupstarttime = nil, planid = nil, planname = nil, logbackupretentionperiod = nil, createdtime = nil, updatedtime = nil, plantype = nil, backupperiodtype = nil) ⇒ BackupPlan

Returns a new instance of BackupPlan.



238
239
240
241
242
243
244
245
246
247
248
249
250
# File 'lib/v20170312/models.rb', line 238

def initialize(backupperiod=nil, basebackupretentionperiod=nil, minbackupstarttime=nil, maxbackupstarttime=nil, planid=nil, planname=nil, logbackupretentionperiod=nil, createdtime=nil, updatedtime=nil, plantype=nil, backupperiodtype=nil)
  @BackupPeriod = backupperiod
  @BaseBackupRetentionPeriod = basebackupretentionperiod
  @MinBackupStartTime = minbackupstarttime
  @MaxBackupStartTime = maxbackupstarttime
  @PlanId = planid
  @PlanName = planname
  @LogBackupRetentionPeriod = logbackupretentionperiod
  @CreatedTime = createdtime
  @UpdatedTime = updatedtime
  @PlanType = plantype
  @BackupPeriodType = backupperiodtype
end

Instance Attribute Details

#BackupPeriodObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BackupPeriod
  @BackupPeriod
end

#BackupPeriodTypeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BackupPeriodType
  @BackupPeriodType
end

#BaseBackupRetentionPeriodObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BaseBackupRetentionPeriod
  @BaseBackupRetentionPeriod
end

#CreatedTimeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def CreatedTime
  @CreatedTime
end

#LogBackupRetentionPeriodObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def LogBackupRetentionPeriod
  @LogBackupRetentionPeriod
end

#MaxBackupStartTimeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def MaxBackupStartTime
  @MaxBackupStartTime
end

#MinBackupStartTimeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def MinBackupStartTime
  @MinBackupStartTime
end

#PlanIdObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanId
  @PlanId
end

#PlanNameObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanName
  @PlanName
end

#PlanTypeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanType
  @PlanType
end

#UpdatedTimeObject

Parameters:

  • BackupPeriod:

    备份周期

  • BaseBackupRetentionPeriod:

    数据备份保留时长。单位:天

  • MinBackupStartTime:

    开始备份的最早时间

  • MaxBackupStartTime:

    开始备份的最晚时间

  • PlanId:

    备份计划ID

  • PlanName:

    备份计划自定义名称。

  • LogBackupRetentionPeriod:

    日志备份保留时长。单位:天

  • CreatedTime:

    创建时间。

  • UpdatedTime:

    最近一次的修改时间。

  • PlanType:

    备份计划类型。系统默认创建的为default,自定义的为custom。

  • BackupPeriodType:

    备份周期类型。当前支持week、month。



236
237
238
# File 'lib/v20170312/models.rb', line 236

def UpdatedTime
  @UpdatedTime
end

Instance Method Details

#deserialize(params) ⇒ Object



252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'lib/v20170312/models.rb', line 252

def deserialize(params)
  @BackupPeriod = params['BackupPeriod']
  @BaseBackupRetentionPeriod = params['BaseBackupRetentionPeriod']
  @MinBackupStartTime = params['MinBackupStartTime']
  @MaxBackupStartTime = params['MaxBackupStartTime']
  @PlanId = params['PlanId']
  @PlanName = params['PlanName']
  @LogBackupRetentionPeriod = params['LogBackupRetentionPeriod']
  @CreatedTime = params['CreatedTime']
  @UpdatedTime = params['UpdatedTime']
  @PlanType = params['PlanType']
  @BackupPeriodType = params['BackupPeriodType']
end