Class: Azure::Storage::Mgmt::V2018_07_01::Models::GeoReplicationStats
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_07_01::Models::GeoReplicationStats
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb
Overview
Statistics related to replication for storage account’s Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account.
Instance Attribute Summary collapse
-
#can_failover ⇒ Boolean
failover is supported for the account.
-
#last_sync_time ⇒ DateTime
value are guaranteed to be available for read operations.
-
#status ⇒ GeoReplicationStatus
Possible values are: - Live: Indicates that the secondary location is active and operational.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GeoReplicationStats class as Ruby Hash.
Instance Attribute Details
#can_failover ⇒ Boolean
failover is supported for the account.
36 37 38 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb', line 36 def can_failover @can_failover end |
#last_sync_time ⇒ DateTime
value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.
32 33 34 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb', line 32 def last_sync_time @last_sync_time end |
#status ⇒ GeoReplicationStatus
Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. Possible values include: ‘Live’, ‘Bootstrap’, ‘Unavailable’
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb', line 24 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for GeoReplicationStats class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-07-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GeoReplicationStats', type: { name: 'Composite', class_name: 'GeoReplicationStats', model_properties: { status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, last_sync_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastSyncTime', type: { name: 'DateTime' } }, can_failover: { client_side_validation: true, required: false, read_only: true, serialized_name: 'canFailover', type: { name: 'Boolean' } } } } } end |