Class: TencentCloud::Tse::V20201207::BoundK8SInfo

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

Overview

服务治理引擎绑定的kubernetes信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(boundclusterid = nil, boundclustertype = nil, syncmode = nil, bindregion = nil) ⇒ BoundK8SInfo

Returns a new instance of BoundK8SInfo.



221
222
223
224
225
226
# File 'lib/v20201207/models.rb', line 221

def initialize(boundclusterid=nil, boundclustertype=nil, syncmode=nil, bindregion=nil)
  @BoundClusterId = boundclusterid
  @BoundClusterType = boundclustertype
  @SyncMode = syncmode
  @BindRegion = bindregion
end

Instance Attribute Details

#BindRegionObject

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

    绑定的kubernetes的集群类型,分tke和eks两种

  • SyncMode:

    服务同步模式,all为全量同步,demand为按需同步

  • BindRegion:

    绑定的kubernetes集群所在地域



219
220
221
# File 'lib/v20201207/models.rb', line 219

def BindRegion
  @BindRegion
end

#BoundClusterIdObject

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

    绑定的kubernetes的集群类型,分tke和eks两种

  • SyncMode:

    服务同步模式,all为全量同步,demand为按需同步

  • BindRegion:

    绑定的kubernetes集群所在地域



219
220
221
# File 'lib/v20201207/models.rb', line 219

def BoundClusterId
  @BoundClusterId
end

#BoundClusterTypeObject

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

    绑定的kubernetes的集群类型,分tke和eks两种

  • SyncMode:

    服务同步模式,all为全量同步,demand为按需同步

  • BindRegion:

    绑定的kubernetes集群所在地域



219
220
221
# File 'lib/v20201207/models.rb', line 219

def BoundClusterType
  @BoundClusterType
end

#SyncModeObject

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

    绑定的kubernetes的集群类型,分tke和eks两种

  • SyncMode:

    服务同步模式,all为全量同步,demand为按需同步

  • BindRegion:

    绑定的kubernetes集群所在地域



219
220
221
# File 'lib/v20201207/models.rb', line 219

def SyncMode
  @SyncMode
end

Instance Method Details

#deserialize(params) ⇒ Object



228
229
230
231
232
233
# File 'lib/v20201207/models.rb', line 228

def deserialize(params)
  @BoundClusterId = params['BoundClusterId']
  @BoundClusterType = params['BoundClusterType']
  @SyncMode = params['SyncMode']
  @BindRegion = params['BindRegion']
end