Class: TencentCloud::Tke::V20180525::DisableClusterAuditRequest

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

Overview

DisableClusterAudit请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DisableClusterAuditRequest.



10545
10546
10547
10548
# File 'lib/v20180525/models.rb', line 10545

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • DeleteLogSetAndTopic:

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



10543
10544
10545
# File 'lib/v20180525/models.rb', line 10543

def ClusterId
  @ClusterId
end

#DeleteLogSetAndTopicObject

Parameters:

  • ClusterId:

    集群ID

  • DeleteLogSetAndTopic:

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



10543
10544
10545
# File 'lib/v20180525/models.rb', line 10543

def DeleteLogSetAndTopic
  @DeleteLogSetAndTopic
end

Instance Method Details

#deserialize(params) ⇒ Object



10550
10551
10552
10553
# File 'lib/v20180525/models.rb', line 10550

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