Class: TencentCloud::Tdcpg::V20211118::ModifyClusterNameRequest

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

Overview

ModifyClusterName请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil) ⇒ ModifyClusterNameRequest

Returns a new instance of ModifyClusterNameRequest.



1349
1350
1351
1352
# File 'lib/v20211118/models.rb', line 1349

def initialize(clusterid=nil, clustername=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名,1-60个字符,可以包含中文、英文、数字和符号“-”、“_”、“.”



1347
1348
1349
# File 'lib/v20211118/models.rb', line 1347

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名,1-60个字符,可以包含中文、英文、数字和符号“-”、“_”、“.”



1347
1348
1349
# File 'lib/v20211118/models.rb', line 1347

def ClusterName
  @ClusterName
end

Instance Method Details

#deserialize(params) ⇒ Object



1354
1355
1356
1357
# File 'lib/v20211118/models.rb', line 1354

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