Class: Azure::ServiceFabric::V6_4_0_36::Models::BackupProgressInfo

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#backup_idObject

Returns Unique ID of the newly created backup.

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_locationString

created backup.

Returns:

  • (String)

    Location, relative to the backup store, of the newly



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_stateBackupState

backup operation. Possible values include: ‘Invalid’, ‘Accepted’, ‘BackupInProgress’, ‘Success’, ‘Failure’, ‘Timeout’

Returns:

  • (BackupState)

    Represents the current state of the partition



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_recordEpoch

backup.

Returns:

  • (Epoch)

    Specifies the epoch of the last record included in



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_errorFabricErrorError

performing backup operation.

Returns:



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_recordString

Returns The LSN of last record included in backup.

Returns:

  • (String)

    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_utcDateTime

Returns TimeStamp in UTC when operation succeeded or failed.

Returns:

  • (DateTime)

    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

.mapperObject

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