Class: TencentCloud::Tcaplusdb::V20190823::CreateClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::CreateClusterRequest
- Defined in:
- lib/v20190823/models.rb
Overview
CreateCluster请求参数结构体
Instance Attribute Summary collapse
- #AuthType ⇒ Object
- #ClusterName ⇒ Object
- #ClusterType ⇒ Object
- #IdlType ⇒ Object
- #Ipv6Enable ⇒ Object
- #Password ⇒ Object
- #ProxyList ⇒ Object
- #ResourceTags ⇒ Object
- #ServerList ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(idltype = nil, clustername = nil, vpcid = nil, subnetid = nil, password = nil, resourcetags = nil, ipv6enable = nil, serverlist = nil, proxylist = nil, clustertype = nil, authtype = nil) ⇒ CreateClusterRequest
constructor
A new instance of CreateClusterRequest.
Constructor Details
#initialize(idltype = nil, clustername = nil, vpcid = nil, subnetid = nil, password = nil, resourcetags = nil, ipv6enable = nil, serverlist = nil, proxylist = nil, clustertype = nil, authtype = nil) ⇒ CreateClusterRequest
Returns a new instance of CreateClusterRequest.
708 709 710 711 712 713 714 715 716 717 718 719 720 |
# File 'lib/v20190823/models.rb', line 708 def initialize(idltype=nil, clustername=nil, vpcid=nil, subnetid=nil, password=nil, =nil, ipv6enable=nil, serverlist=nil, proxylist=nil, clustertype=nil, authtype=nil) @IdlType = idltype @ClusterName = clustername @VpcId = vpcid @SubnetId = subnetid @Password = password @ResourceTags = @Ipv6Enable = ipv6enable @ServerList = serverlist @ProxyList = proxylist @ClusterType = clustertype @AuthType = authtype end |
Instance Attribute Details
#AuthType ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def AuthType @AuthType end |
#ClusterName ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def ClusterName @ClusterName end |
#ClusterType ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def ClusterType @ClusterType end |
#IdlType ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def IdlType @IdlType end |
#Ipv6Enable ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def Ipv6Enable @Ipv6Enable end |
#Password ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def Password @Password end |
#ProxyList ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def ProxyList @ProxyList end |
#ResourceTags ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def ResourceTags @ResourceTags end |
#ServerList ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def ServerList @ServerList end |
#SubnetId ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def SubnetId @SubnetId end |
#VpcId ⇒ Object
706 707 708 |
# File 'lib/v20190823/models.rb', line 706 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 |
# File 'lib/v20190823/models.rb', line 722 def deserialize(params) @IdlType = params['IdlType'] @ClusterName = params['ClusterName'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Password = params['Password'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfounit_tmp = TagInfoUnit.new taginfounit_tmp.deserialize(i) @ResourceTags << taginfounit_tmp end end @Ipv6Enable = params['Ipv6Enable'] unless params['ServerList'].nil? @ServerList = [] params['ServerList'].each do |i| machineinfo_tmp = MachineInfo.new machineinfo_tmp.deserialize(i) @ServerList << machineinfo_tmp end end unless params['ProxyList'].nil? @ProxyList = [] params['ProxyList'].each do |i| machineinfo_tmp = MachineInfo.new machineinfo_tmp.deserialize(i) @ProxyList << machineinfo_tmp end end @ClusterType = params['ClusterType'] @AuthType = params['AuthType'] end |