Class: TencentCloud::Tke::V20180525::DisableEventPersistenceRequest

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

Overview

DisableEventPersistence请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, deletelogsetandtopic = nil) ⇒ DisableEventPersistenceRequest

Returns a new instance of DisableEventPersistenceRequest.



10645
10646
10647
10648
# File 'lib/v20180525/models.rb', line 10645

def initialize(clusterid=nil, deletelogsetandtopic=nil)
  @ClusterId = clusterid
  @DeleteLogSetAndTopic = deletelogsetandtopic
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • DeleteLogSetAndTopic:

    取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除



10643
10644
10645
# File 'lib/v20180525/models.rb', line 10643

def ClusterId
  @ClusterId
end

#DeleteLogSetAndTopicObject

Parameters:

  • ClusterId:

    集群ID

  • DeleteLogSetAndTopic:

    取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除



10643
10644
10645
# File 'lib/v20180525/models.rb', line 10643

def DeleteLogSetAndTopic
  @DeleteLogSetAndTopic
end

Instance Method Details

#deserialize(params) ⇒ Object



10650
10651
10652
10653
# File 'lib/v20180525/models.rb', line 10650

def deserialize(params)
  @ClusterId = params['ClusterId']
  @DeleteLogSetAndTopic = params['DeleteLogSetAndTopic']
end