Class: TencentCloud::Tke::V20180525::ModifyClusterAuthenticationOptionsRequest

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

Overview

ModifyClusterAuthenticationOptions请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, serviceaccounts = nil, oidcconfig = nil) ⇒ ModifyClusterAuthenticationOptionsRequest

Returns a new instance of ModifyClusterAuthenticationOptionsRequest.



13811
13812
13813
13814
13815
# File 'lib/v20180525/models.rb', line 13811

def initialize(clusterid=nil, serviceaccounts=nil, oidcconfig=nil)
  @ClusterId = clusterid
  @ServiceAccounts = serviceaccounts
  @OIDCConfig = oidcconfig
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



13809
13810
13811
# File 'lib/v20180525/models.rb', line 13809

def ClusterId
  @ClusterId
end

#OIDCConfigObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



13809
13810
13811
# File 'lib/v20180525/models.rb', line 13809

def OIDCConfig
  @OIDCConfig
end

#ServiceAccountsObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



13809
13810
13811
# File 'lib/v20180525/models.rb', line 13809

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
# File 'lib/v20180525/models.rb', line 13817

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['ServiceAccounts'].nil?
    @ServiceAccounts = ServiceAccountAuthenticationOptions.new
    @ServiceAccounts.deserialize(params['ServiceAccounts'])
  end
  unless params['OIDCConfig'].nil?
    @OIDCConfig = OIDCConfigAuthenticationOptions.new
    @OIDCConfig.deserialize(params['OIDCConfig'])
  end
end