Class: TencentCloud::Clb::V20180317::CreateClsLogSetRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20180317/models.rb

Overview

CreateClsLogSet请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logsetname = nil, period = nil, logsettype = nil) ⇒ CreateClsLogSetRequest

Returns a new instance of CreateClsLogSetRequest.



1403
1404
1405
1406
1407
# File 'lib/v20180317/models.rb', line 1403

def initialize(logsetname=nil, period=nil, logsettype=nil)
  @LogsetName = logsetname
  @Period = period
  @LogsetType = logsettype
end

Instance Attribute Details

#LogsetNameObject

Parameters:

  • LogsetName:

    日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。

  • Period:

    日志集的保存周期,单位:天。

  • LogsetType:

    日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。



1398
1399
1400
# File 'lib/v20180317/models.rb', line 1398

def LogsetName
  @LogsetName
end

#LogsetTypeObject

Parameters:

  • LogsetName:

    日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。

  • Period:

    日志集的保存周期,单位:天。

  • LogsetType:

    日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。



1398
1399
1400
# File 'lib/v20180317/models.rb', line 1398

def LogsetType
  @LogsetType
end

#PeriodObject

Parameters:

  • LogsetName:

    日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。

  • Period:

    日志集的保存周期,单位:天。

  • LogsetType:

    日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。



1398
1399
1400
# File 'lib/v20180317/models.rb', line 1398

def Period
  @Period
end

Instance Method Details

#deserialize(params) ⇒ Object



1409
1410
1411
1412
1413
# File 'lib/v20180317/models.rb', line 1409

def deserialize(params)
  @LogsetName = params['LogsetName']
  @Period = params['Period']
  @LogsetType = params['LogsetType']
end