Class: TencentCloud::Ckafka::V20190819::Instance

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

Overview

实例对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, instancename = nil, status = nil, ifcommunity = nil) ⇒ Instance

Returns a new instance of Instance.



7861
7862
7863
7864
7865
7866
# File 'lib/v20190819/models.rb', line 7861

def initialize(instanceid=nil, instancename=nil, status=nil, ifcommunity=nil)
  @InstanceId = instanceid
  @InstanceName = instancename
  @Status = status
  @IfCommunity = ifcommunity
end

Instance Attribute Details

#IfCommunityObject

Parameters:

  • InstanceId:

    ckafka集群实例Id

  • InstanceName:

    ckafka集群实例Name

  • Status:

    实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败

  • IfCommunity:

    是否开源实例。开源:true,不开源:false



7859
7860
7861
# File 'lib/v20190819/models.rb', line 7859

def IfCommunity
  @IfCommunity
end

#InstanceIdObject

Parameters:

  • InstanceId:

    ckafka集群实例Id

  • InstanceName:

    ckafka集群实例Name

  • Status:

    实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败

  • IfCommunity:

    是否开源实例。开源:true,不开源:false



7859
7860
7861
# File 'lib/v20190819/models.rb', line 7859

def InstanceId
  @InstanceId
end

#InstanceNameObject

Parameters:

  • InstanceId:

    ckafka集群实例Id

  • InstanceName:

    ckafka集群实例Name

  • Status:

    实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败

  • IfCommunity:

    是否开源实例。开源:true,不开源:false



7859
7860
7861
# File 'lib/v20190819/models.rb', line 7859

def InstanceName
  @InstanceName
end

#StatusObject

Parameters:

  • InstanceId:

    ckafka集群实例Id

  • InstanceName:

    ckafka集群实例Name

  • Status:

    实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败

  • IfCommunity:

    是否开源实例。开源:true,不开源:false



7859
7860
7861
# File 'lib/v20190819/models.rb', line 7859

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



7868
7869
7870
7871
7872
7873
# File 'lib/v20190819/models.rb', line 7868

def deserialize(params)
  @InstanceId = params['InstanceId']
  @InstanceName = params['InstanceName']
  @Status = params['Status']
  @IfCommunity = params['IfCommunity']
end