Class: TencentCloud::Thpc::V20220401::VirtualPrivateCloud
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::VirtualPrivateCloud
- Defined in:
- lib/v20220401/models.rb
Overview
描述了VPC相关信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil) ⇒ VirtualPrivateCloud
constructor
A new instance of VirtualPrivateCloud.
Constructor Details
#initialize(vpcid = nil, subnetid = nil) ⇒ VirtualPrivateCloud
Returns a new instance of VirtualPrivateCloud.
2049 2050 2051 2052 |
# File 'lib/v20220401/models.rb', line 2049 def initialize(vpcid=nil, subnetid=nil) @VpcId = vpcid @SubnetId = subnetid end |
Instance Attribute Details
#SubnetId ⇒ Object
2047 2048 2049 |
# File 'lib/v20220401/models.rb', line 2047 def SubnetId @SubnetId end |
#VpcId ⇒ Object
2047 2048 2049 |
# File 'lib/v20220401/models.rb', line 2047 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
2054 2055 2056 2057 |
# File 'lib/v20220401/models.rb', line 2054 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] end |