Class: TencentCloud::Cvm::V20170312::HostItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::HostItem
- Defined in:
- lib/v20170312/models.rb
Overview
专用宿主机实例详细信息
Instance Attribute Summary collapse
-
#CageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExpiredTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostIp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostResource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HostType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RenewFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(placement = nil, hostid = nil, hosttype = nil, hostname = nil, hostchargetype = nil, renewflag = nil, createdtime = nil, expiredtime = nil, instanceids = nil, hoststate = nil, hostip = nil, hostresource = nil, cageid = nil, tags = nil) ⇒ HostItem
constructor
A new instance of HostItem.
Constructor Details
#initialize(placement = nil, hostid = nil, hosttype = nil, hostname = nil, hostchargetype = nil, renewflag = nil, createdtime = nil, expiredtime = nil, instanceids = nil, hoststate = nil, hostip = nil, hostresource = nil, cageid = nil, tags = nil) ⇒ HostItem
Returns a new instance of HostItem.
3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 |
# File 'lib/v20170312/models.rb', line 3884 def initialize(placement=nil, hostid=nil, hosttype=nil, hostname=nil, hostchargetype=nil, renewflag=nil, createdtime=nil, expiredtime=nil, instanceids=nil, hoststate=nil, hostip=nil, hostresource=nil, cageid=nil, =nil) @Placement = placement @HostId = hostid @HostType = hosttype @HostName = hostname @HostChargeType = hostchargetype @RenewFlag = renewflag @CreatedTime = createdtime @ExpiredTime = expiredtime @InstanceIds = instanceids @HostState = hoststate @HostIp = hostip @HostResource = hostresource @CageId = cageid @Tags = end |
Instance Attribute Details
#CageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def CageId @CageId end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def CreatedTime @CreatedTime end |
#ExpiredTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def ExpiredTime @ExpiredTime end |
#HostChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostChargeType @HostChargeType end |
#HostId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostId @HostId end |
#HostIp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostIp @HostIp end |
#HostName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostName @HostName end |
#HostResource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostResource @HostResource end |
#HostState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostState @HostState end |
#HostType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def HostType @HostType end |
#InstanceIds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def InstanceIds @InstanceIds end |
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def Placement @Placement end |
#RenewFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def RenewFlag @RenewFlag end |
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3882 3883 3884 |
# File 'lib/v20170312/models.rb', line 3882 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 |
# File 'lib/v20170312/models.rb', line 3901 def deserialize(params) unless params['Placement'].nil? @Placement = Placement.new @Placement.deserialize(params['Placement']) end @HostId = params['HostId'] @HostType = params['HostType'] @HostName = params['HostName'] @HostChargeType = params['HostChargeType'] @RenewFlag = params['RenewFlag'] @CreatedTime = params['CreatedTime'] @ExpiredTime = params['ExpiredTime'] @InstanceIds = params['InstanceIds'] @HostState = params['HostState'] @HostIp = params['HostIp'] unless params['HostResource'].nil? @HostResource = HostResource.new @HostResource.deserialize(params['HostResource']) end @CageId = params['CageId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |