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.



1323
1324
1325
1326
1327
# File 'lib/v20180317/models.rb', line 1323

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。



1318
1319
1320
# File 'lib/v20180317/models.rb', line 1318

def LogsetName
  @LogsetName
end

#LogsetTypeObject

Parameters:

  • LogsetName:

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

  • Period:

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

  • LogsetType:

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



1318
1319
1320
# File 'lib/v20180317/models.rb', line 1318

def LogsetType
  @LogsetType
end

#PeriodObject

Parameters:

  • LogsetName:

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

  • Period:

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

  • LogsetType:

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



1318
1319
1320
# File 'lib/v20180317/models.rb', line 1318

def Period
  @Period
end

Instance Method Details

#deserialize(params) ⇒ Object



1329
1330
1331
1332
1333
# File 'lib/v20180317/models.rb', line 1329

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