Class: TencentCloud::Cbs::V20170312::AttachDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::AttachDetail
- Defined in:
- lib/v20170312/models.rb
Overview
描述一个实例已挂载和可挂载数据盘的数量。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, attacheddiskcount = nil, maxattachcount = nil) ⇒ AttachDetail
constructor
A new instance of AttachDetail.
Constructor Details
#initialize(instanceid = nil, attacheddiskcount = nil, maxattachcount = nil) ⇒ AttachDetail
219 220 221 222 223 |
# File 'lib/v20170312/models.rb', line 219 def initialize(instanceid=nil, attacheddiskcount=nil, maxattachcount=nil) @InstanceId = instanceid @AttachedDiskCount = attacheddiskcount @MaxAttachCount = maxattachcount end |
Instance Attribute Details
#AttachedDiskCount ⇒ Object
217 218 219 |
# File 'lib/v20170312/models.rb', line 217 def AttachedDiskCount @AttachedDiskCount end |
#InstanceId ⇒ Object
217 218 219 |
# File 'lib/v20170312/models.rb', line 217 def InstanceId @InstanceId end |
#MaxAttachCount ⇒ Object
217 218 219 |
# File 'lib/v20170312/models.rb', line 217 def MaxAttachCount @MaxAttachCount end |
Instance Method Details
#deserialize(params) ⇒ Object
225 226 227 228 229 |
# File 'lib/v20170312/models.rb', line 225 def deserialize(params) @InstanceId = params['InstanceId'] @AttachedDiskCount = params['AttachedDiskCount'] @MaxAttachCount = params['MaxAttachCount'] end |