Class: TencentCloud::Lighthouse::V20200324::DiskBackup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DiskBackup
- Defined in:
- lib/v20200324/models.rb
Overview
描述了云硬盘备份点相关信息。
Instance Attribute Summary collapse
-
#CreatedTime ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskBackupId ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskBackupName ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskBackupState ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskId ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskSize ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#DiskUsage ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#LatestOperation ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#LatestOperationRequestId ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#LatestOperationState ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#Percent ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。. -
#Tags ⇒ Object
- NORMAL:正常。
- CREATING:创建中。
- ROLLBACKING:回滚中。
- DELETING:删除中。
格式为: YYYY-MM-DDThh:mm:ssZ。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(diskbackupid = nil, diskusage = nil, diskid = nil, disksize = nil, diskbackupname = nil, diskbackupstate = nil, percent = nil, latestoperation = nil, latestoperationstate = nil, latestoperationrequestid = nil, createdtime = nil, tags = nil) ⇒ DiskBackup
constructor
A new instance of DiskBackup.
Constructor Details
#initialize(diskbackupid = nil, diskusage = nil, diskid = nil, disksize = nil, diskbackupname = nil, diskbackupstate = nil, percent = nil, latestoperation = nil, latestoperationstate = nil, latestoperationrequestid = nil, createdtime = nil, tags = nil) ⇒ DiskBackup
Returns a new instance of DiskBackup.
4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 |
# File 'lib/v20200324/models.rb', line 4571 def initialize(diskbackupid=nil, diskusage=nil, diskid=nil, disksize=nil, diskbackupname=nil, diskbackupstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, =nil) @DiskBackupId = diskbackupid @DiskUsage = diskusage @DiskId = diskid @DiskSize = disksize @DiskBackupName = diskbackupname @DiskBackupState = diskbackupstate @Percent = percent @LatestOperation = latestoperation @LatestOperationState = latestoperationstate @LatestOperationRequestId = latestoperationrequestid @CreatedTime = createdtime @Tags = end |
Instance Attribute Details
#CreatedTime ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def CreatedTime @CreatedTime end |
#DiskBackupId ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskBackupId @DiskBackupId end |
#DiskBackupName ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskBackupName @DiskBackupName end |
#DiskBackupState ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskBackupState @DiskBackupState end |
#DiskId ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskId @DiskId end |
#DiskSize ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskSize @DiskSize end |
#DiskUsage ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def DiskUsage @DiskUsage end |
#LatestOperation ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def LatestOperation @LatestOperation end |
#LatestOperationRequestId ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def LatestOperationRequestId @LatestOperationRequestId end |
#LatestOperationState ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def LatestOperationState @LatestOperationState end |
#Percent ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def Percent @Percent end |
#Tags ⇒ Object
4569 4570 4571 |
# File 'lib/v20200324/models.rb', line 4569 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 |
# File 'lib/v20200324/models.rb', line 4586 def deserialize(params) @DiskBackupId = params['DiskBackupId'] @DiskUsage = params['DiskUsage'] @DiskId = params['DiskId'] @DiskSize = params['DiskSize'] @DiskBackupName = params['DiskBackupName'] @DiskBackupState = params['DiskBackupState'] @Percent = params['Percent'] @LatestOperation = params['LatestOperation'] @LatestOperationState = params['LatestOperationState'] @LatestOperationRequestId = params['LatestOperationRequestId'] @CreatedTime = params['CreatedTime'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |