Class: TencentCloud::Thpc::V20230321::SpaceVirtualPrivateCloud
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::SpaceVirtualPrivateCloud
- Defined in:
- lib/v20230321/models.rb
Overview
描述了工作空间VPC相关信息,包括子网,IP信息等
Instance Attribute Summary collapse
- #AsVpcGateway ⇒ Object
- #Ipv6AddressCount ⇒ Object
- #PrivateIpAddresses ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil, asvpcgateway = nil, privateipaddresses = nil, ipv6addresscount = nil) ⇒ SpaceVirtualPrivateCloud
constructor
A new instance of SpaceVirtualPrivateCloud.
Constructor Details
#initialize(vpcid = nil, subnetid = nil, asvpcgateway = nil, privateipaddresses = nil, ipv6addresscount = nil) ⇒ SpaceVirtualPrivateCloud
Returns a new instance of SpaceVirtualPrivateCloud.
2903 2904 2905 2906 2907 2908 2909 |
# File 'lib/v20230321/models.rb', line 2903 def initialize(vpcid=nil, subnetid=nil, asvpcgateway=nil, privateipaddresses=nil, ipv6addresscount=nil) @VpcId = vpcid @SubnetId = subnetid @AsVpcGateway = asvpcgateway @PrivateIpAddresses = privateipaddresses @Ipv6AddressCount = ipv6addresscount end |
Instance Attribute Details
#AsVpcGateway ⇒ Object
2901 2902 2903 |
# File 'lib/v20230321/models.rb', line 2901 def AsVpcGateway @AsVpcGateway end |
#Ipv6AddressCount ⇒ Object
2901 2902 2903 |
# File 'lib/v20230321/models.rb', line 2901 def Ipv6AddressCount @Ipv6AddressCount end |
#PrivateIpAddresses ⇒ Object
2901 2902 2903 |
# File 'lib/v20230321/models.rb', line 2901 def PrivateIpAddresses @PrivateIpAddresses end |
#SubnetId ⇒ Object
2901 2902 2903 |
# File 'lib/v20230321/models.rb', line 2901 def SubnetId @SubnetId end |
#VpcId ⇒ Object
2901 2902 2903 |
# File 'lib/v20230321/models.rb', line 2901 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
2911 2912 2913 2914 2915 2916 2917 |
# File 'lib/v20230321/models.rb', line 2911 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @AsVpcGateway = params['AsVpcGateway'] @PrivateIpAddresses = params['PrivateIpAddresses'] @Ipv6AddressCount = params['Ipv6AddressCount'] end |