Class: TencentCloud::Tke::V20180525::UpdateClusterKubeconfigRequest

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

Overview

UpdateClusterKubeconfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, subaccounts = nil) ⇒ UpdateClusterKubeconfigRequest

Returns a new instance of UpdateClusterKubeconfigRequest.



18851
18852
18853
18854
# File 'lib/v20180525/models.rb', line 18851

def initialize(clusterid=nil, subaccounts=nil)
  @ClusterId = clusterid
  @SubAccounts = subaccounts
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • SubAccounts:

    子账户Uin列表,传空默认为调用此接口的SubUin



18849
18850
18851
# File 'lib/v20180525/models.rb', line 18849

def ClusterId
  @ClusterId
end

#SubAccountsObject

Parameters:

  • ClusterId:

    集群ID

  • SubAccounts:

    子账户Uin列表,传空默认为调用此接口的SubUin



18849
18850
18851
# File 'lib/v20180525/models.rb', line 18849

def SubAccounts
  @SubAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



18856
18857
18858
18859
# File 'lib/v20180525/models.rb', line 18856

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