Class: Azure::StorageSync::Mgmt::V2018_10_01::Models::ServerEndpointHealth
- Inherits:
-
Object
- Object
- Azure::StorageSync::Mgmt::V2018_10_01::Models::ServerEndpointHealth
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb
Overview
ServerEndpoint Health object.
Instance Attribute Summary collapse
-
#combined_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’.
-
#current_progress ⇒ SyncProgressStatus
Current progress.
-
#download_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’.
-
#download_status ⇒ SyncSessionStatus
Download Status.
-
#last_updated_timestamp ⇒ DateTime
Last Updated Timestamp.
-
#offline_data_transfer_status ⇒ Enum
‘InProgress’, ‘Stopping’, ‘NotRunning’, ‘Complete’.
-
#upload_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’.
-
#upload_status ⇒ SyncSessionStatus
Upload Status.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServerEndpointHealth class as Ruby Hash.
Instance Attribute Details
#combined_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’
28 29 30 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 28 def combined_health @combined_health end |
#current_progress ⇒ SyncProgressStatus
Returns Current progress.
40 41 42 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 40 def current_progress @current_progress end |
#download_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’
18 19 20 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 18 def download_health @download_health end |
#download_status ⇒ SyncSessionStatus
Returns Download Status.
37 38 39 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 37 def download_status @download_status end |
#last_updated_timestamp ⇒ DateTime
Returns Last Updated Timestamp.
31 32 33 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 31 def end |
#offline_data_transfer_status ⇒ Enum
‘InProgress’, ‘Stopping’, ‘NotRunning’, ‘Complete’
44 45 46 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 44 def offline_data_transfer_status @offline_data_transfer_status end |
#upload_health ⇒ Enum
‘Healthy’, ‘Error’, ‘SyncBlockedForRestore’, ‘SyncBlockedForChangeDetectionPostRestore’, ‘NoActivity’
23 24 25 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 23 def upload_health @upload_health end |
#upload_status ⇒ SyncSessionStatus
Returns Upload Status.
34 35 36 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 34 def upload_status @upload_status end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerEndpointHealth class as Ruby Hash. This will be used for serialization/deserialization.
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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServerEndpointHealth', type: { name: 'Composite', class_name: 'ServerEndpointHealth', model_properties: { download_health: { client_side_validation: true, required: false, serialized_name: 'downloadHealth', type: { name: 'String' } }, upload_health: { client_side_validation: true, required: false, serialized_name: 'uploadHealth', type: { name: 'String' } }, combined_health: { client_side_validation: true, required: false, serialized_name: 'combinedHealth', type: { name: 'String' } }, last_updated_timestamp: { client_side_validation: true, required: false, serialized_name: 'lastUpdatedTimestamp', type: { name: 'DateTime' } }, upload_status: { client_side_validation: true, required: false, serialized_name: 'uploadStatus', type: { name: 'Composite', class_name: 'SyncSessionStatus' } }, download_status: { client_side_validation: true, required: false, serialized_name: 'downloadStatus', type: { name: 'Composite', class_name: 'SyncSessionStatus' } }, current_progress: { client_side_validation: true, required: false, serialized_name: 'currentProgress', type: { name: 'Composite', class_name: 'SyncProgressStatus' } }, offline_data_transfer_status: { client_side_validation: true, required: false, serialized_name: 'offlineDataTransferStatus', type: { name: 'String' } } } } } end |