Class: TencentCloud::Omics::V20221128::VPCOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::VPCOption
- Defined in:
- lib/v20221128/models.rb
Overview
私有网络配置。
Instance Attribute Summary collapse
- #SubnetCIDRBlock ⇒ Object
- #SubnetId ⇒ Object
- #SubnetZone ⇒ Object
- #VPCCIDRBlock ⇒ Object
- #VPCId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil, subnetzone = nil, vpccidrblock = nil, subnetcidrblock = nil) ⇒ VPCOption
constructor
A new instance of VPCOption.
Constructor Details
#initialize(vpcid = nil, subnetid = nil, subnetzone = nil, vpccidrblock = nil, subnetcidrblock = nil) ⇒ VPCOption
Returns a new instance of VPCOption.
2530 2531 2532 2533 2534 2535 2536 |
# File 'lib/v20221128/models.rb', line 2530 def initialize(vpcid=nil, subnetid=nil, subnetzone=nil, vpccidrblock=nil, subnetcidrblock=nil) @VPCId = vpcid @SubnetId = subnetid @SubnetZone = subnetzone @VPCCIDRBlock = vpccidrblock @SubnetCIDRBlock = subnetcidrblock end |
Instance Attribute Details
#SubnetCIDRBlock ⇒ Object
2528 2529 2530 |
# File 'lib/v20221128/models.rb', line 2528 def SubnetCIDRBlock @SubnetCIDRBlock end |
#SubnetId ⇒ Object
2528 2529 2530 |
# File 'lib/v20221128/models.rb', line 2528 def SubnetId @SubnetId end |
#SubnetZone ⇒ Object
2528 2529 2530 |
# File 'lib/v20221128/models.rb', line 2528 def SubnetZone @SubnetZone end |
#VPCCIDRBlock ⇒ Object
2528 2529 2530 |
# File 'lib/v20221128/models.rb', line 2528 def VPCCIDRBlock @VPCCIDRBlock end |
#VPCId ⇒ Object
2528 2529 2530 |
# File 'lib/v20221128/models.rb', line 2528 def VPCId @VPCId end |
Instance Method Details
#deserialize(params) ⇒ Object
2538 2539 2540 2541 2542 2543 2544 |
# File 'lib/v20221128/models.rb', line 2538 def deserialize(params) @VPCId = params['VPCId'] @SubnetId = params['SubnetId'] @SubnetZone = params['SubnetZone'] @VPCCIDRBlock = params['VPCCIDRBlock'] @SubnetCIDRBlock = params['SubnetCIDRBlock'] end |