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.



14990
14991
14992
14993
14994
# File 'lib/v20180525/models.rb', line 14990

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认证配置



14988
14989
14990
# File 'lib/v20180525/models.rb', line 14988

def ClusterId
  @ClusterId
end

#OIDCConfigObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



14988
14989
14990
# File 'lib/v20180525/models.rb', line 14988

def OIDCConfig
  @OIDCConfig
end

#ServiceAccountsObject

Parameters:

  • ClusterId:

    集群ID

  • ServiceAccounts:

    ServiceAccount认证配置

  • OIDCConfig:

    OIDC认证配置



14988
14989
14990
# File 'lib/v20180525/models.rb', line 14988

def ServiceAccounts
  @ServiceAccounts
end

Instance Method Details

#deserialize(params) ⇒ Object



14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
# File 'lib/v20180525/models.rb', line 14996

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