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.



1418
1419
1420
1421
1422
# File 'lib/v20180317/models.rb', line 1418

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。



1413
1414
1415
# File 'lib/v20180317/models.rb', line 1413

def LogsetName
  @LogsetName
end

#LogsetTypeObject

Parameters:

  • LogsetName:

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

  • Period:

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

  • LogsetType:

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



1413
1414
1415
# File 'lib/v20180317/models.rb', line 1413

def LogsetType
  @LogsetType
end

#PeriodObject

Parameters:

  • LogsetName:

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

  • Period:

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

  • LogsetType:

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



1413
1414
1415
# File 'lib/v20180317/models.rb', line 1413

def Period
  @Period
end

Instance Method Details

#deserialize(params) ⇒ Object



1424
1425
1426
1427
1428
# File 'lib/v20180317/models.rb', line 1424

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