Class: TencentCloud::Es::V20180416::CreateLogstashInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20180416::CreateLogstashInstanceRequest
- Defined in:
- lib/v20180416/models.rb
Overview
CreateLogstashInstance请求参数结构体
Instance Attribute Summary collapse
- #AutoVoucher ⇒ Object
- #ChargePeriod ⇒ Object
- #ChargeType ⇒ Object
- #DeployMode ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #InstanceName ⇒ Object
- #LicenseType ⇒ Object
- #LogstashVersion ⇒ Object
- #MultiZoneInfo ⇒ Object
- #NodeNum ⇒ Object
- #NodeType ⇒ Object
- #OperationDuration ⇒ Object
- #RenewFlag ⇒ Object
- #SubnetId ⇒ Object
- #TagList ⇒ Object
- #TimeUnit ⇒ Object
- #VoucherIds ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancename = nil, zone = nil, logstashversion = nil, vpcid = nil, subnetid = nil, nodenum = nil, chargetype = nil, chargeperiod = nil, timeunit = nil, autovoucher = nil, voucherids = nil, renewflag = nil, nodetype = nil, disktype = nil, disksize = nil, licensetype = nil, taglist = nil, operationduration = nil, multizoneinfo = nil, deploymode = nil) ⇒ CreateLogstashInstanceRequest
constructor
A new instance of CreateLogstashInstanceRequest.
Constructor Details
#initialize(instancename = nil, zone = nil, logstashversion = nil, vpcid = nil, subnetid = nil, nodenum = nil, chargetype = nil, chargeperiod = nil, timeunit = nil, autovoucher = nil, voucherids = nil, renewflag = nil, nodetype = nil, disktype = nil, disksize = nil, licensetype = nil, taglist = nil, operationduration = nil, multizoneinfo = nil, deploymode = nil) ⇒ CreateLogstashInstanceRequest
Returns a new instance of CreateLogstashInstanceRequest.
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'lib/v20180416/models.rb', line 845 def initialize(instancename=nil, zone=nil, logstashversion=nil, vpcid=nil, subnetid=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, timeunit=nil, autovoucher=nil, voucherids=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, licensetype=nil, taglist=nil, operationduration=nil, multizoneinfo=nil, deploymode=nil) @InstanceName = instancename @Zone = zone @LogstashVersion = logstashversion @VpcId = vpcid @SubnetId = subnetid @NodeNum = nodenum @ChargeType = chargetype @ChargePeriod = chargeperiod @TimeUnit = timeunit @AutoVoucher = autovoucher @VoucherIds = voucherids @RenewFlag = renewflag @NodeType = nodetype @DiskType = disktype @DiskSize = disksize @LicenseType = licensetype @TagList = taglist @OperationDuration = operationduration @MultiZoneInfo = multizoneinfo @DeployMode = deploymode end |
Instance Attribute Details
#AutoVoucher ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def AutoVoucher @AutoVoucher end |
#ChargePeriod ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def ChargePeriod @ChargePeriod end |
#ChargeType ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def ChargeType @ChargeType end |
#DeployMode ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def DeployMode @DeployMode end |
#DiskSize ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def DiskSize @DiskSize end |
#DiskType ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def DiskType @DiskType end |
#InstanceName ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def InstanceName @InstanceName end |
#LicenseType ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def LicenseType @LicenseType end |
#LogstashVersion ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def LogstashVersion @LogstashVersion end |
#MultiZoneInfo ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def MultiZoneInfo @MultiZoneInfo end |
#NodeNum ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def NodeNum @NodeNum end |
#NodeType ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def NodeType @NodeType end |
#OperationDuration ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def OperationDuration @OperationDuration end |
#RenewFlag ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def RenewFlag @RenewFlag end |
#SubnetId ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def SubnetId @SubnetId end |
#TagList ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def TagList @TagList end |
#TimeUnit ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def TimeUnit @TimeUnit end |
#VoucherIds ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def VoucherIds @VoucherIds end |
#VpcId ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def VpcId @VpcId end |
#Zone ⇒ Object
843 844 845 |
# File 'lib/v20180416/models.rb', line 843 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'lib/v20180416/models.rb', line 868 def deserialize(params) @InstanceName = params['InstanceName'] @Zone = params['Zone'] @LogstashVersion = params['LogstashVersion'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @NodeNum = params['NodeNum'] @ChargeType = params['ChargeType'] @ChargePeriod = params['ChargePeriod'] @TimeUnit = params['TimeUnit'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @RenewFlag = params['RenewFlag'] @NodeType = params['NodeType'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @LicenseType = params['LicenseType'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end unless params['OperationDuration'].nil? @OperationDuration = OperationDuration.new @OperationDuration.deserialize(params['OperationDuration']) end unless params['MultiZoneInfo'].nil? @MultiZoneInfo = [] params['MultiZoneInfo'].each do |i| zonedetail_tmp = ZoneDetail.new zonedetail_tmp.deserialize(i) @MultiZoneInfo << zonedetail_tmp end end @DeployMode = params['DeployMode'] end |