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.
688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'lib/v20190823/models.rb', line 688 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
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def AuthType @AuthType end |
#ClusterName ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def ClusterName @ClusterName end |
#ClusterType ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def ClusterType @ClusterType end |
#IdlType ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def IdlType @IdlType end |
#Ipv6Enable ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def Ipv6Enable @Ipv6Enable end |
#Password ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def Password @Password end |
#ProxyList ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def ProxyList @ProxyList end |
#ResourceTags ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def ResourceTags @ResourceTags end |
#ServerList ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def ServerList @ServerList end |
#SubnetId ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def SubnetId @SubnetId end |
#VpcId ⇒ Object
686 687 688 |
# File 'lib/v20190823/models.rb', line 686 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 |
# File 'lib/v20190823/models.rb', line 702 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 |