Class: Azure::ServiceFabric::V6_3_0_9::Models::BackupEpoch
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::BackupEpoch
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/backup_epoch.rb
Overview
An Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.
Instance Attribute Summary collapse
-
#configuration_number ⇒ String
configuration number is an increasing value that is updated whenever the configuration of this replica set changes.
-
#data_loss_number ⇒ String
loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupEpoch class as Ruby Hash.
Instance Attribute Details
#configuration_number ⇒ String
configuration number is an increasing value that is updated whenever the configuration of this replica set changes.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_epoch.rb', line 22 def configuration_number @configuration_number end |
#data_loss_number ⇒ String
loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica.
28 29 30 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_epoch.rb', line 28 def data_loss_number @data_loss_number end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupEpoch class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/backup_epoch.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupEpoch', type: { name: 'Composite', class_name: 'BackupEpoch', model_properties: { configuration_number: { client_side_validation: true, required: false, serialized_name: 'ConfigurationNumber', type: { name: 'String' } }, data_loss_number: { client_side_validation: true, required: false, serialized_name: 'DataLossNumber', type: { name: 'String' } } } } } end |