Class: Azure::ServiceFabric::V6_4_0_36::Models::BackupProgressInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::BackupProgressInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb
Overview
Describes the progress of a partition’s backup.
Instance Attribute Summary collapse
-
#backup_id ⇒ Object
Unique ID of the newly created backup.
-
#backup_location ⇒ String
created backup.
-
#backup_state ⇒ BackupState
backup operation.
-
#epoch_of_last_backup_record ⇒ Epoch
backup.
-
#failure_error ⇒ FabricErrorError
performing backup operation.
-
#lsn_of_last_backup_record ⇒ String
The LSN of last record included in backup.
-
#time_stamp_utc ⇒ DateTime
TimeStamp in UTC when operation succeeded or failed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupProgressInfo class as Ruby Hash.
Instance Attribute Details
#backup_id ⇒ Object
Returns Unique ID of the newly created backup.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 24 def backup_id @backup_id end |
#backup_location ⇒ String
created backup.
28 29 30 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 28 def backup_location @backup_location end |
#backup_state ⇒ BackupState
backup operation. Possible values include: ‘Invalid’, ‘Accepted’, ‘BackupInProgress’, ‘Success’, ‘Failure’, ‘Timeout’
18 19 20 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 18 def backup_state @backup_state end |
#epoch_of_last_backup_record ⇒ Epoch
backup.
32 33 34 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 32 def epoch_of_last_backup_record @epoch_of_last_backup_record end |
#failure_error ⇒ FabricErrorError
performing backup operation.
39 40 41 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 39 def failure_error @failure_error end |
#lsn_of_last_backup_record ⇒ String
Returns The LSN of last record included in backup.
35 36 37 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 35 def lsn_of_last_backup_record @lsn_of_last_backup_record end |
#time_stamp_utc ⇒ DateTime
Returns TimeStamp in UTC when operation succeeded or failed.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 21 def time_stamp_utc @time_stamp_utc end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/backup_progress_info.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupProgressInfo', type: { name: 'Composite', class_name: 'BackupProgressInfo', model_properties: { backup_state: { client_side_validation: true, required: false, serialized_name: 'BackupState', type: { name: 'String' } }, time_stamp_utc: { client_side_validation: true, required: false, serialized_name: 'TimeStampUtc', type: { name: 'DateTime' } }, backup_id: { client_side_validation: true, required: false, serialized_name: 'BackupId', type: { name: 'String' } }, backup_location: { client_side_validation: true, required: false, serialized_name: 'BackupLocation', type: { name: 'String' } }, epoch_of_last_backup_record: { client_side_validation: true, required: false, serialized_name: 'EpochOfLastBackupRecord', type: { name: 'Composite', class_name: 'Epoch' } }, lsn_of_last_backup_record: { client_side_validation: true, required: false, serialized_name: 'LsnOfLastBackupRecord', type: { name: 'String' } }, failure_error: { client_side_validation: true, required: false, serialized_name: 'FailureError', type: { name: 'Composite', class_name: 'FabricErrorError' } } } } } end |