Class: TencentCloud::Tdmq::V20200217::VirtualHostQuota

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

Overview

vhost使用配额信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maxvirtualhost = nil, usedvirtualhost = nil) ⇒ VirtualHostQuota

Returns a new instance of VirtualHostQuota.



13451
13452
13453
13454
# File 'lib/v20200217/models.rb', line 13451

def initialize(maxvirtualhost=nil, usedvirtualhost=nil)
  @MaxVirtualHost = maxvirtualhost
  @UsedVirtualHost = usedvirtualhost
end

Instance Attribute Details

#MaxVirtualHostObject

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

Parameters:

  • MaxVirtualHost:

    允许创建最大vhost数

  • UsedVirtualHost:

    已创建vhost数



13449
13450
13451
# File 'lib/v20200217/models.rb', line 13449

def MaxVirtualHost
  @MaxVirtualHost
end

#UsedVirtualHostObject

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

Parameters:

  • MaxVirtualHost:

    允许创建最大vhost数

  • UsedVirtualHost:

    已创建vhost数



13449
13450
13451
# File 'lib/v20200217/models.rb', line 13449

def UsedVirtualHost
  @UsedVirtualHost
end

Instance Method Details

#deserialize(params) ⇒ Object



13456
13457
13458
13459
# File 'lib/v20200217/models.rb', line 13456

def deserialize(params)
  @MaxVirtualHost = params['MaxVirtualHost']
  @UsedVirtualHost = params['UsedVirtualHost']
end