Class: TencentCloud::Tcm::V20210413::ClusterConfig

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

Overview

集群配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autoinjectionnamespacelist = nil, ingressgatewaylist = nil, egressgatewaylist = nil, istiod = nil, deployconfig = nil, autoinjectionnamespacestatelist = nil) ⇒ ClusterConfig

Returns a new instance of ClusterConfig.



271
272
273
274
275
276
277
278
# File 'lib/v20210413/models.rb', line 271

def initialize(autoinjectionnamespacelist=nil, ingressgatewaylist=nil, egressgatewaylist=nil, istiod=nil, deployconfig=nil, autoinjectionnamespacestatelist=nil)
  @AutoInjectionNamespaceList = autoinjectionnamespacelist
  @IngressGatewayList = ingressgatewaylist
  @EgressGatewayList = egressgatewaylist
  @Istiod = istiod
  @DeployConfig = deployconfig
  @AutoInjectionNamespaceStateList = autoinjectionnamespacestatelist
end

Instance Attribute Details

#AutoInjectionNamespaceListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def AutoInjectionNamespaceList
  @AutoInjectionNamespaceList
end

#AutoInjectionNamespaceStateListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def AutoInjectionNamespaceStateList
  @AutoInjectionNamespaceStateList
end

#DeployConfigObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def DeployConfig
  @DeployConfig
end

#EgressGatewayListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def EgressGatewayList
  @EgressGatewayList
end

#IngressGatewayListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def IngressGatewayList
  @IngressGatewayList
end

#IstiodObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AutoInjectionNamespaceList:

    自动注入SideCar的NameSpace

  • IngressGatewayList:

    Ingress配置列表

  • EgressGatewayList:

    Egress配置列表

  • Istiod:

    Istiod配置

  • DeployConfig:

    部署配置

  • AutoInjectionNamespaceStateList:

    自动注入命名空间状态列表



269
270
271
# File 'lib/v20210413/models.rb', line 269

def Istiod
  @Istiod
end

Instance Method Details

#deserialize(params) ⇒ Object



280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
# File 'lib/v20210413/models.rb', line 280

def deserialize(params)
  @AutoInjectionNamespaceList = params['AutoInjectionNamespaceList']
  unless params['IngressGatewayList'].nil?
    @IngressGatewayList = []
    params['IngressGatewayList'].each do |i|
      ingressgateway_tmp = IngressGateway.new
      ingressgateway_tmp.deserialize(i)
      @IngressGatewayList << ingressgateway_tmp
    end
  end
  unless params['EgressGatewayList'].nil?
    @EgressGatewayList = []
    params['EgressGatewayList'].each do |i|
      egressgateway_tmp = EgressGateway.new
      egressgateway_tmp.deserialize(i)
      @EgressGatewayList << egressgateway_tmp
    end
  end
  unless params['Istiod'].nil?
    @Istiod = IstiodConfig.new
    @Istiod.deserialize(params['Istiod'])
  end
  unless params['DeployConfig'].nil?
    @DeployConfig = DeployConfig.new
    @DeployConfig.deserialize(params['DeployConfig'])
  end
  unless params['AutoInjectionNamespaceStateList'].nil?
    @AutoInjectionNamespaceStateList = []
    params['AutoInjectionNamespaceStateList'].each do |i|
      autoinjectionnamespacestate_tmp = AutoInjectionNamespaceState.new
      autoinjectionnamespacestate_tmp.deserialize(i)
      @AutoInjectionNamespaceStateList << autoinjectionnamespacestate_tmp
    end
  end
end