Class: TencentCloud::Cloudhsm::V20191112::Subnet
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::Subnet
- Defined in:
- lib/v20191112/models.rb
Overview
Subnet对象
Instance Attribute Summary collapse
- #AvailableIpAddressCount ⇒ Object
- #CidrBlock ⇒ Object
- #CreatedTime ⇒ Object
- #Ipv6CidrBlock ⇒ Object
- #IsDefault ⇒ Object
- #SubnetId ⇒ Object
- #SubnetName ⇒ Object
- #TotalIpAddressCount ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil, subnetname = nil, cidrblock = nil, createdtime = nil, availableipaddresscount = nil, ipv6cidrblock = nil, totalipaddresscount = nil, isdefault = nil) ⇒ Subnet
constructor
A new instance of Subnet.
Constructor Details
#initialize(vpcid = nil, subnetid = nil, subnetname = nil, cidrblock = nil, createdtime = nil, availableipaddresscount = nil, ipv6cidrblock = nil, totalipaddresscount = nil, isdefault = nil) ⇒ Subnet
Returns a new instance of Subnet.
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 |
# File 'lib/v20191112/models.rb', line 1109 def initialize(vpcid=nil, subnetid=nil, subnetname=nil, cidrblock=nil, createdtime=nil, availableipaddresscount=nil, ipv6cidrblock=nil, totalipaddresscount=nil, isdefault=nil) @VpcId = vpcid @SubnetId = subnetid @SubnetName = subnetname @CidrBlock = cidrblock @CreatedTime = createdtime @AvailableIpAddressCount = availableipaddresscount @Ipv6CidrBlock = ipv6cidrblock @TotalIpAddressCount = totalipaddresscount @IsDefault = isdefault end |
Instance Attribute Details
#AvailableIpAddressCount ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def AvailableIpAddressCount @AvailableIpAddressCount end |
#CidrBlock ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def CidrBlock @CidrBlock end |
#CreatedTime ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def CreatedTime @CreatedTime end |
#Ipv6CidrBlock ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def Ipv6CidrBlock @Ipv6CidrBlock end |
#IsDefault ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def IsDefault @IsDefault end |
#SubnetId ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def SubnetId @SubnetId end |
#SubnetName ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def SubnetName @SubnetName end |
#TotalIpAddressCount ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def TotalIpAddressCount @TotalIpAddressCount end |
#VpcId ⇒ Object
1107 1108 1109 |
# File 'lib/v20191112/models.rb', line 1107 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/v20191112/models.rb', line 1121 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @SubnetName = params['SubnetName'] @CidrBlock = params['CidrBlock'] @CreatedTime = params['CreatedTime'] @AvailableIpAddressCount = params['AvailableIpAddressCount'] @Ipv6CidrBlock = params['Ipv6CidrBlock'] @TotalIpAddressCount = params['TotalIpAddressCount'] @IsDefault = params['IsDefault'] end |