Class: TencentCloud::Cloudhsm::V20191112::ResourceInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::ResourceInfo
- Defined in:
- lib/v20191112/models.rb
Overview
资源信息
Instance Attribute Summary collapse
-
#AlarmStatus ⇒ Object
1关闭 2开启.
-
#CreateUin ⇒ Object
1关闭 2开启.
-
#Expired ⇒ Object
1关闭 2开启.
-
#ExpireTime ⇒ Object
1关闭 2开启.
-
#Manufacturer ⇒ Object
1关闭 2开启.
-
#Model ⇒ Object
1关闭 2开启.
-
#PqcFlag ⇒ Object
1关闭 2开启.
-
#PqcStatus ⇒ Object
1关闭 2开启.
-
#RegionId ⇒ Object
1关闭 2开启.
-
#RegionName ⇒ Object
1关闭 2开启.
-
#RemainSeconds ⇒ Object
1关闭 2开启.
-
#RenewFlag ⇒ Object
1关闭 2开启.
-
#ResourceId ⇒ Object
1关闭 2开启.
-
#ResourceName ⇒ Object
1关闭 2开启.
-
#SgList ⇒ Object
1关闭 2开启.
-
#Status ⇒ Object
1关闭 2开启.
-
#SubnetId ⇒ Object
1关闭 2开启.
-
#SubnetName ⇒ Object
1关闭 2开启.
-
#Tags ⇒ Object
1关闭 2开启.
-
#Vip ⇒ Object
1关闭 2开启.
-
#VpcId ⇒ Object
1关闭 2开启.
-
#VpcName ⇒ Object
1关闭 2开启.
-
#VsmType ⇒ Object
1关闭 2开启.
-
#ZoneId ⇒ Object
1关闭 2开启.
-
#ZoneName ⇒ Object
1关闭 2开启.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceid = nil, resourcename = nil, status = nil, vip = nil, vpcid = nil, subnetid = nil, model = nil, vsmtype = nil, regionid = nil, zoneid = nil, expiretime = nil, regionname = nil, zonename = nil, sglist = nil, subnetname = nil, expired = nil, remainseconds = nil, vpcname = nil, createuin = nil, renewflag = nil, tags = nil, manufacturer = nil, alarmstatus = nil, pqcstatus = nil, pqcflag = nil) ⇒ ResourceInfo
constructor
A new instance of ResourceInfo.
Constructor Details
#initialize(resourceid = nil, resourcename = nil, status = nil, vip = nil, vpcid = nil, subnetid = nil, model = nil, vsmtype = nil, regionid = nil, zoneid = nil, expiretime = nil, regionname = nil, zonename = nil, sglist = nil, subnetname = nil, expired = nil, remainseconds = nil, vpcname = nil, createuin = nil, renewflag = nil, tags = nil, manufacturer = nil, alarmstatus = nil, pqcstatus = nil, pqcflag = nil) ⇒ ResourceInfo
Returns a new instance of ResourceInfo.
987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 |
# File 'lib/v20191112/models.rb', line 987 def initialize(resourceid=nil, resourcename=nil, status=nil, vip=nil, vpcid=nil, subnetid=nil, model=nil, vsmtype=nil, regionid=nil, zoneid=nil, expiretime=nil, regionname=nil, zonename=nil, sglist=nil, subnetname=nil, expired=nil, remainseconds=nil, vpcname=nil, createuin=nil, renewflag=nil, =nil, manufacturer=nil, alarmstatus=nil, pqcstatus=nil, pqcflag=nil) @ResourceId = resourceid @ResourceName = resourcename @Status = status @Vip = vip @VpcId = vpcid @SubnetId = subnetid @Model = model @VsmType = vsmtype @RegionId = regionid @ZoneId = zoneid @ExpireTime = expiretime @RegionName = regionname @ZoneName = zonename @SgList = sglist @SubnetName = subnetname @Expired = expired @RemainSeconds = remainseconds @VpcName = vpcname @CreateUin = createuin @RenewFlag = renewflag @Tags = @Manufacturer = manufacturer @AlarmStatus = alarmstatus @PqcStatus = pqcstatus @PqcFlag = pqcflag end |
Instance Attribute Details
#AlarmStatus ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def AlarmStatus @AlarmStatus end |
#CreateUin ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def CreateUin @CreateUin end |
#Expired ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Expired @Expired end |
#ExpireTime ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def ExpireTime @ExpireTime end |
#Manufacturer ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Manufacturer @Manufacturer end |
#Model ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Model @Model end |
#PqcFlag ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def PqcFlag @PqcFlag end |
#PqcStatus ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def PqcStatus @PqcStatus end |
#RegionId ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def RegionId @RegionId end |
#RegionName ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def RegionName @RegionName end |
#RemainSeconds ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def RemainSeconds @RemainSeconds end |
#RenewFlag ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def RenewFlag @RenewFlag end |
#ResourceId ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def ResourceId @ResourceId end |
#ResourceName ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def ResourceName @ResourceName end |
#SgList ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def SgList @SgList end |
#Status ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Status @Status end |
#SubnetId ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def SubnetId @SubnetId end |
#SubnetName ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def SubnetName @SubnetName end |
#Tags ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Tags @Tags end |
#Vip ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def Vip @Vip end |
#VpcId ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def VpcId @VpcId end |
#VpcName ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def VpcName @VpcName end |
#VsmType ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def VsmType @VsmType end |
#ZoneId ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
1关闭2开启
985 986 987 |
# File 'lib/v20191112/models.rb', line 985 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/v20191112/models.rb', line 1015 def deserialize(params) @ResourceId = params['ResourceId'] @ResourceName = params['ResourceName'] @Status = params['Status'] @Vip = params['Vip'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Model = params['Model'] @VsmType = params['VsmType'] @RegionId = params['RegionId'] @ZoneId = params['ZoneId'] @ExpireTime = params['ExpireTime'] @RegionName = params['RegionName'] @ZoneName = params['ZoneName'] unless params['SgList'].nil? @SgList = [] params['SgList'].each do |i| sgunit_tmp = SgUnit.new sgunit_tmp.deserialize(i) @SgList << sgunit_tmp end end @SubnetName = params['SubnetName'] @Expired = params['Expired'] @RemainSeconds = params['RemainSeconds'] @VpcName = params['VpcName'] @CreateUin = params['CreateUin'] @RenewFlag = params['RenewFlag'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @Manufacturer = params['Manufacturer'] @AlarmStatus = params['AlarmStatus'] @PqcStatus = params['PqcStatus'] @PqcFlag = params['PqcFlag'] end |