Class: TencentCloud::Tke::V20180525::UpdateEKSClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UpdateEKSClusterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
UpdateEKSCluster请求参数结构体
Instance Attribute Summary collapse
- #ClearDnsServer ⇒ Object
- #ClusterDesc ⇒ Object
- #ClusterId ⇒ Object
- #ClusterName ⇒ Object
- #DnsServers ⇒ Object
- #ExtraParam ⇒ Object
- #InternalLB ⇒ Object
- #NeedDeleteCbs ⇒ Object
- #ProxyLB ⇒ Object
- #PublicLB ⇒ Object
- #ServiceSubnetId ⇒ Object
- #SubnetIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustername = nil, clusterdesc = nil, subnetids = nil, publiclb = nil, internallb = nil, servicesubnetid = nil, dnsservers = nil, cleardnsserver = nil, needdeletecbs = nil, proxylb = nil, extraparam = nil) ⇒ UpdateEKSClusterRequest
constructor
A new instance of UpdateEKSClusterRequest.
Constructor Details
#initialize(clusterid = nil, clustername = nil, clusterdesc = nil, subnetids = nil, publiclb = nil, internallb = nil, servicesubnetid = nil, dnsservers = nil, cleardnsserver = nil, needdeletecbs = nil, proxylb = nil, extraparam = nil) ⇒ UpdateEKSClusterRequest
Returns a new instance of UpdateEKSClusterRequest.
18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 |
# File 'lib/v20180525/models.rb', line 18963 def initialize(clusterid=nil, clustername=nil, clusterdesc=nil, subnetids=nil, publiclb=nil, internallb=nil, servicesubnetid=nil, dnsservers=nil, cleardnsserver=nil, needdeletecbs=nil, proxylb=nil, extraparam=nil) @ClusterId = clusterid @ClusterName = clustername @ClusterDesc = clusterdesc @SubnetIds = subnetids @PublicLB = publiclb @InternalLB = internallb @ServiceSubnetId = servicesubnetid @DnsServers = dnsservers @ClearDnsServer = cleardnsserver @NeedDeleteCbs = needdeletecbs @ProxyLB = proxylb @ExtraParam = extraparam end |
Instance Attribute Details
#ClearDnsServer ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ClearDnsServer @ClearDnsServer end |
#ClusterDesc ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ClusterDesc @ClusterDesc end |
#ClusterId ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ClusterName @ClusterName end |
#DnsServers ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def DnsServers @DnsServers end |
#ExtraParam ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ExtraParam @ExtraParam end |
#InternalLB ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def InternalLB @InternalLB end |
#NeedDeleteCbs ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def NeedDeleteCbs @NeedDeleteCbs end |
#ProxyLB ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ProxyLB @ProxyLB end |
#PublicLB ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def PublicLB @PublicLB end |
#ServiceSubnetId ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def ServiceSubnetId @ServiceSubnetId end |
#SubnetIds ⇒ Object
18961 18962 18963 |
# File 'lib/v20180525/models.rb', line 18961 def SubnetIds @SubnetIds end |
Instance Method Details
#deserialize(params) ⇒ Object
18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 |
# File 'lib/v20180525/models.rb', line 18978 def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @ClusterDesc = params['ClusterDesc'] @SubnetIds = params['SubnetIds'] unless params['PublicLB'].nil? @PublicLB = ClusterPublicLB.new @PublicLB.deserialize(params['PublicLB']) end unless params['InternalLB'].nil? @InternalLB = ClusterInternalLB.new @InternalLB.deserialize(params['InternalLB']) end @ServiceSubnetId = params['ServiceSubnetId'] unless params['DnsServers'].nil? @DnsServers = [] params['DnsServers'].each do |i| dnsserverconf_tmp = DnsServerConf.new dnsserverconf_tmp.deserialize(i) @DnsServers << dnsserverconf_tmp end end @ClearDnsServer = params['ClearDnsServer'] @NeedDeleteCbs = params['NeedDeleteCbs'] @ProxyLB = params['ProxyLB'] @ExtraParam = params['ExtraParam'] end |