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.



168
169
170
171
172
173
# File 'lib/v20201207/models.rb', line 168

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

Instance Attribute Details

#BindRegionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

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

  • SyncMode:

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

  • BindRegion:

    绑定的kubernetes集群所在地域



166
167
168
# File 'lib/v20201207/models.rb', line 166

def BindRegion
  @BindRegion
end

#BoundClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

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

  • SyncMode:

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

  • BindRegion:

    绑定的kubernetes集群所在地域



166
167
168
# File 'lib/v20201207/models.rb', line 166

def BoundClusterId
  @BoundClusterId
end

#BoundClusterTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

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

  • SyncMode:

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

  • BindRegion:

    绑定的kubernetes集群所在地域



166
167
168
# File 'lib/v20201207/models.rb', line 166

def BoundClusterType
  @BoundClusterType
end

#SyncModeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • BoundClusterId:

    绑定的kubernetes集群ID

  • BoundClusterType:

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

  • SyncMode:

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

  • BindRegion:

    绑定的kubernetes集群所在地域



166
167
168
# File 'lib/v20201207/models.rb', line 166

def SyncMode
  @SyncMode
end

Instance Method Details

#deserialize(params) ⇒ Object



175
176
177
178
179
180
# File 'lib/v20201207/models.rb', line 175

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