Class: TencentCloud::Bmlb::V20180625::CreateLoadBalancersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::CreateLoadBalancersRequest
- Defined in:
- lib/v20180625/models.rb
Overview
CreateLoadBalancers请求参数结构体
Instance Attribute Summary collapse
- #BzConf ⇒ Object
- #Exclusive ⇒ Object
- #GoodsNum ⇒ Object
- #IpProtocolType ⇒ Object
- #LoadBalancerType ⇒ Object
- #PayMode ⇒ Object
- #ProjectId ⇒ Object
- #SpecifiedVips ⇒ Object
- #SubnetId ⇒ Object
- #TgwSetType ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, loadbalancertype = nil, subnetid = nil, projectid = nil, goodsnum = nil, paymode = nil, tgwsettype = nil, exclusive = nil, specifiedvips = nil, bzconf = nil, ipprotocoltype = nil) ⇒ CreateLoadBalancersRequest
constructor
A new instance of CreateLoadBalancersRequest.
Constructor Details
#initialize(vpcid = nil, loadbalancertype = nil, subnetid = nil, projectid = nil, goodsnum = nil, paymode = nil, tgwsettype = nil, exclusive = nil, specifiedvips = nil, bzconf = nil, ipprotocoltype = nil) ⇒ CreateLoadBalancersRequest
Returns a new instance of CreateLoadBalancersRequest.
721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'lib/v20180625/models.rb', line 721 def initialize(vpcid=nil, loadbalancertype=nil, subnetid=nil, projectid=nil, goodsnum=nil, paymode=nil, tgwsettype=nil, exclusive=nil, specifiedvips=nil, bzconf=nil, ipprotocoltype=nil) @VpcId = vpcid @LoadBalancerType = loadbalancertype @SubnetId = subnetid @ProjectId = projectid @GoodsNum = goodsnum @PayMode = paymode @TgwSetType = tgwsettype @Exclusive = exclusive @SpecifiedVips = specifiedvips @BzConf = bzconf @IpProtocolType = ipprotocoltype end |
Instance Attribute Details
#BzConf ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def BzConf @BzConf end |
#Exclusive ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def Exclusive @Exclusive end |
#GoodsNum ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def GoodsNum @GoodsNum end |
#IpProtocolType ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def IpProtocolType @IpProtocolType end |
#LoadBalancerType ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def LoadBalancerType @LoadBalancerType end |
#PayMode ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def PayMode @PayMode end |
#ProjectId ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def ProjectId @ProjectId end |
#SpecifiedVips ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def SpecifiedVips @SpecifiedVips end |
#SubnetId ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def SubnetId @SubnetId end |
#TgwSetType ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def TgwSetType @TgwSetType end |
#VpcId ⇒ Object
719 720 721 |
# File 'lib/v20180625/models.rb', line 719 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20180625/models.rb', line 735 def deserialize(params) @VpcId = params['VpcId'] @LoadBalancerType = params['LoadBalancerType'] @SubnetId = params['SubnetId'] @ProjectId = params['ProjectId'] @GoodsNum = params['GoodsNum'] @PayMode = params['PayMode'] @TgwSetType = params['TgwSetType'] @Exclusive = params['Exclusive'] @SpecifiedVips = params['SpecifiedVips'] unless params['BzConf'].nil? @BzConf = CreateLoadBalancerBzConf.new @BzConf.deserialize(params['BzConf']) end @IpProtocolType = params['IpProtocolType'] end |