class TencentCloud::Tke::V20180525::PrometheusClusterAgentBasic
与云监控融合托管prometheus实例,关联集群基础信息
def deserialize(params)
def deserialize(params) @Region = params['Region'] @ClusterType = params['ClusterType'] @ClusterId = params['ClusterId'] @EnableExternal = params['EnableExternal'] unless params['InClusterPodConfig'].nil? @InClusterPodConfig = PrometheusClusterAgentPodConfig.new @InClusterPodConfig.deserialize(params['InClusterPodConfig']) end unless params['ExternalLabels'].nil? @ExternalLabels = [] params['ExternalLabels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @ExternalLabels << label_tmp end end @NotInstallBasicScrape = params['NotInstallBasicScrape'] @NotScrape = params['NotScrape'] end
def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil)
def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil) @Region = region @ClusterType = clustertype @ClusterId = clusterid @EnableExternal = enableexternal @InClusterPodConfig = inclusterpodconfig @ExternalLabels = externallabels @NotInstallBasicScrape = notinstallbasicscrape @NotScrape = notscrape end