Class: TencentCloud::Tdmq::V20200217::ModifyClusterRequest

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

Overview

ModifyCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil, remark = nil, publicaccessenabled = nil) ⇒ ModifyClusterRequest

Returns a new instance of ModifyClusterRequest.



8535
8536
8537
8538
8539
8540
# File 'lib/v20200217/models.rb', line 8535

def initialize(clusterid=nil, clustername=nil, remark=nil, publicaccessenabled=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
  @Remark = remark
  @PublicAccessEnabled = publicaccessenabled
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID,需要更新的集群Id。

  • ClusterName:

    更新后的集群名称。

  • Remark:

    说明信息。长度限制为 128 字节

  • PublicAccessEnabled:

    开启公网访问,只能为true



8533
8534
8535
# File 'lib/v20200217/models.rb', line 8533

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID,需要更新的集群Id。

  • ClusterName:

    更新后的集群名称。

  • Remark:

    说明信息。长度限制为 128 字节

  • PublicAccessEnabled:

    开启公网访问,只能为true



8533
8534
8535
# File 'lib/v20200217/models.rb', line 8533

def ClusterName
  @ClusterName
end

#PublicAccessEnabledObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID,需要更新的集群Id。

  • ClusterName:

    更新后的集群名称。

  • Remark:

    说明信息。长度限制为 128 字节

  • PublicAccessEnabled:

    开启公网访问,只能为true



8533
8534
8535
# File 'lib/v20200217/models.rb', line 8533

def PublicAccessEnabled
  @PublicAccessEnabled
end

#RemarkObject

Parameters:

  • ClusterId:

    Pulsar 集群的ID,需要更新的集群Id。

  • ClusterName:

    更新后的集群名称。

  • Remark:

    说明信息。长度限制为 128 字节

  • PublicAccessEnabled:

    开启公网访问,只能为true



8533
8534
8535
# File 'lib/v20200217/models.rb', line 8533

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



8542
8543
8544
8545
8546
8547
# File 'lib/v20200217/models.rb', line 8542

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  @Remark = params['Remark']
  @PublicAccessEnabled = params['PublicAccessEnabled']
end