Class: TencentCloud::Ckafka::V20190819::DynamicDiskConfig

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

Overview

动态硬盘扩容配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable = nil, stepforwardpercentage = nil, diskquotapercentage = nil, maxdiskspace = nil) ⇒ DynamicDiskConfig

Returns a new instance of DynamicDiskConfig.



6536
6537
6538
6539
6540
6541
# File 'lib/v20190819/models.rb', line 6536

def initialize(enable=nil, stepforwardpercentage=nil, diskquotapercentage=nil, maxdiskspace=nil)
  @Enable = enable
  @StepForwardPercentage = stepforwardpercentage
  @DiskQuotaPercentage = diskquotapercentage
  @MaxDiskSpace = maxdiskspace
end

Instance Attribute Details

#DiskQuotaPercentageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态硬盘扩容配置开关(0: 关闭,1: 开启)

  • StepForwardPercentage:

    每次磁盘动态扩容大小百分比

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发硬盘自动扩容事件

  • MaxDiskSpace:

    最大扩容硬盘大小,以 GB 为单位



6534
6535
6536
# File 'lib/v20190819/models.rb', line 6534

def DiskQuotaPercentage
  @DiskQuotaPercentage
end

#EnableObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态硬盘扩容配置开关(0: 关闭,1: 开启)

  • StepForwardPercentage:

    每次磁盘动态扩容大小百分比

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发硬盘自动扩容事件

  • MaxDiskSpace:

    最大扩容硬盘大小,以 GB 为单位



6534
6535
6536
# File 'lib/v20190819/models.rb', line 6534

def Enable
  @Enable
end

#MaxDiskSpaceObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态硬盘扩容配置开关(0: 关闭,1: 开启)

  • StepForwardPercentage:

    每次磁盘动态扩容大小百分比

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发硬盘自动扩容事件

  • MaxDiskSpace:

    最大扩容硬盘大小,以 GB 为单位



6534
6535
6536
# File 'lib/v20190819/models.rb', line 6534

def MaxDiskSpace
  @MaxDiskSpace
end

#StepForwardPercentageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态硬盘扩容配置开关(0: 关闭,1: 开启)

  • StepForwardPercentage:

    每次磁盘动态扩容大小百分比

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发硬盘自动扩容事件

  • MaxDiskSpace:

    最大扩容硬盘大小,以 GB 为单位



6534
6535
6536
# File 'lib/v20190819/models.rb', line 6534

def StepForwardPercentage
  @StepForwardPercentage
end

Instance Method Details

#deserialize(params) ⇒ Object



6543
6544
6545
6546
6547
6548
# File 'lib/v20190819/models.rb', line 6543

def deserialize(params)
  @Enable = params['Enable']
  @StepForwardPercentage = params['StepForwardPercentage']
  @DiskQuotaPercentage = params['DiskQuotaPercentage']
  @MaxDiskSpace = params['MaxDiskSpace']
end