Class: Azure::ServiceFabric::V6_4_0_36::Models::RestoreProgressInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb

Overview

Describes the progress of a restore operation on a partition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#failure_errorFabricErrorError

performing restore operation.

Returns:



31
32
33
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 31

def failure_error
  @failure_error
end

#restore_stateRestoreState

restore operation. Possible values include: ‘Invalid’, ‘Accepted’, ‘RestoreInProgress’, ‘Success’, ‘Failure’, ‘Timeout’

Returns:

  • (RestoreState)

    Represents the current state of the partition



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 18

def restore_state
  @restore_state
end

#restored_epochEpoch

Returns Describes the epoch at which the partition is restored.

Returns:

  • (Epoch)

    Describes the epoch at which the partition is restored.



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 24

def restored_epoch
  @restored_epoch
end

#restored_lsnString

Returns Restored LSN.

Returns:

  • (String)

    Restored LSN.



27
28
29
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 27

def restored_lsn
  @restored_lsn
end

#time_stamp_utcDateTime

Returns Timestamp when operation succeeded or failed.

Returns:

  • (DateTime)

    Timestamp when operation succeeded or failed.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 21

def time_stamp_utc
  @time_stamp_utc
end

Class Method Details

.mapperObject

Mapper for RestoreProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.



38
39
40
41
42
43
44
45
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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restore_progress_info.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestoreProgressInfo',
    type: {
      name: 'Composite',
      class_name: 'RestoreProgressInfo',
      model_properties: {
        restore_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RestoreState',
          type: {
            name: 'String'
          }
        },
        time_stamp_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TimeStampUtc',
          type: {
            name: 'DateTime'
          }
        },
        restored_epoch: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RestoredEpoch',
          type: {
            name: 'Composite',
            class_name: 'Epoch'
          }
        },
        restored_lsn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RestoredLsn',
          type: {
            name: 'String'
          }
        },
        failure_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FailureError',
          type: {
            name: 'Composite',
            class_name: 'FabricErrorError'
          }
        }
      }
    }
  }
end