lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.542 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.543
- old
+ new
@@ -14726,28 +14726,33 @@
end
end
# ServiceAccount认证相关配置
class ServiceAccountAuthenticationOptions < TencentCloud::Common::AbstractModel
+ # @param UseTKEDefault: 使用TKE默认issuer和jwksuri
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type UseTKEDefault: Boolean
# @param Issuer: service-account-issuer
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Issuer: String
# @param JWKSURI: service-account-jwks-uri
# 注意:此字段可能返回 null,表示取不到有效值。
# @type JWKSURI: String
# @param AutoCreateDiscoveryAnonymousAuth: 如果为true,则会自动创建允许匿名用户访问'/.well-known/openid-configuration'和/openid/v1/jwks的rbac规则
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AutoCreateDiscoveryAnonymousAuth: Boolean
- attr_accessor :Issuer, :JWKSURI, :AutoCreateDiscoveryAnonymousAuth
+ attr_accessor :UseTKEDefault, :Issuer, :JWKSURI, :AutoCreateDiscoveryAnonymousAuth
- def initialize(issuer=nil, jwksuri=nil, autocreatediscoveryanonymousauth=nil)
+ def initialize(usetkedefault=nil, issuer=nil, jwksuri=nil, autocreatediscoveryanonymousauth=nil)
+ @UseTKEDefault = usetkedefault
@Issuer = issuer
@JWKSURI = jwksuri
@AutoCreateDiscoveryAnonymousAuth = autocreatediscoveryanonymousauth
end
def deserialize(params)
+ @UseTKEDefault = params['UseTKEDefault']
@Issuer = params['Issuer']
@JWKSURI = params['JWKSURI']
@AutoCreateDiscoveryAnonymousAuth = params['AutoCreateDiscoveryAnonymousAuth']
end
end