Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQClusterRequest

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

Overview

ModifyRocketMQCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyRocketMQClusterRequest.



9091
9092
9093
9094
9095
9096
# File 'lib/v20200217/models.rb', line 9091

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:

    RocketMQ集群ID

  • ClusterName:

    3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    说明信息,不超过128个字符

  • PublicAccessEnabled:

    是否开启HTTP公网访问



9089
9090
9091
# File 'lib/v20200217/models.rb', line 9089

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • ClusterId:

    RocketMQ集群ID

  • ClusterName:

    3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    说明信息,不超过128个字符

  • PublicAccessEnabled:

    是否开启HTTP公网访问



9089
9090
9091
# File 'lib/v20200217/models.rb', line 9089

def ClusterName
  @ClusterName
end

#PublicAccessEnabledObject

Parameters:

  • ClusterId:

    RocketMQ集群ID

  • ClusterName:

    3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    说明信息,不超过128个字符

  • PublicAccessEnabled:

    是否开启HTTP公网访问



9089
9090
9091
# File 'lib/v20200217/models.rb', line 9089

def PublicAccessEnabled
  @PublicAccessEnabled
end

#RemarkObject

Parameters:

  • ClusterId:

    RocketMQ集群ID

  • ClusterName:

    3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    说明信息,不超过128个字符

  • PublicAccessEnabled:

    是否开启HTTP公网访问



9089
9090
9091
# File 'lib/v20200217/models.rb', line 9089

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



9098
9099
9100
9101
9102
9103
# File 'lib/v20200217/models.rb', line 9098

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