Class: TencentCloud::Tccatalog::V20241024::NetWork
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tccatalog::V20241024::NetWork
- Defined in:
- lib/v20241024/models.rb
Overview
网络配置信息
Instance Attribute Summary collapse
- #ClbIp ⇒ Object
- #ClbPort ⇒ Object
- #SubnetCidrBlock ⇒ Object
- #SubnetId ⇒ Object
- #VpcCidrBlock ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, vpccidrblock = nil, subnetid = nil, subnetcidrblock = nil, clbip = nil, clbport = nil) ⇒ NetWork
constructor
A new instance of NetWork.
Constructor Details
#initialize(vpcid = nil, vpccidrblock = nil, subnetid = nil, subnetcidrblock = nil, clbip = nil, clbport = nil) ⇒ NetWork
Returns a new instance of NetWork.
219 220 221 222 223 224 225 226 |
# File 'lib/v20241024/models.rb', line 219 def initialize(vpcid=nil, vpccidrblock=nil, subnetid=nil, subnetcidrblock=nil, clbip=nil, clbport=nil) @VpcId = vpcid @VpcCidrBlock = vpccidrblock @SubnetId = subnetid @SubnetCidrBlock = subnetcidrblock @ClbIp = clbip @ClbPort = clbport end |
Instance Attribute Details
#ClbIp ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def ClbIp @ClbIp end |
#ClbPort ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def ClbPort @ClbPort end |
#SubnetCidrBlock ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def SubnetCidrBlock @SubnetCidrBlock end |
#SubnetId ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def SubnetId @SubnetId end |
#VpcCidrBlock ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def VpcCidrBlock @VpcCidrBlock end |
#VpcId ⇒ Object
217 218 219 |
# File 'lib/v20241024/models.rb', line 217 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
228 229 230 231 232 233 234 235 |
# File 'lib/v20241024/models.rb', line 228 def deserialize(params) @VpcId = params['VpcId'] @VpcCidrBlock = params['VpcCidrBlock'] @SubnetId = params['SubnetId'] @SubnetCidrBlock = params['SubnetCidrBlock'] @ClbIp = params['ClbIp'] @ClbPort = params['ClbPort'] end |