Class: Azure::NetApp::Mgmt::V2019_10_01::Models::ReplicationStatus
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2019_10_01::Models::ReplicationStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb
Overview
Replication status
Instance Attribute Summary collapse
-
#error_message ⇒ String
error state.
-
#healthy ⇒ Boolean
Replication health check.
-
#mirror_state ⇒ MirrorState
include: ‘Uninitialized’, ‘Mirrored’, ‘Broken’.
-
#relationship_status ⇒ RelationshipStatus
Possible values include: ‘Idle’, ‘Transferring’.
-
#total_progress ⇒ String
The progress of the replication.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReplicationStatus class as Ruby Hash.
Instance Attribute Details
#error_message ⇒ String
error state
31 32 33 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 31 def end |
#healthy ⇒ Boolean
Returns Replication health check.
16 17 18 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 16 def healthy @healthy end |
#mirror_state ⇒ MirrorState
include: ‘Uninitialized’, ‘Mirrored’, ‘Broken’
24 25 26 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 24 def mirror_state @mirror_state end |
#relationship_status ⇒ RelationshipStatus
Possible values include: ‘Idle’, ‘Transferring’
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 20 def relationship_status @relationship_status end |
#total_progress ⇒ String
Returns The progress of the replication.
27 28 29 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 27 def total_progress @total_progress end |
Class Method Details
.mapper ⇒ Object
Mapper for ReplicationStatus 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 |
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'replicationStatus', type: { name: 'Composite', class_name: 'ReplicationStatus', model_properties: { healthy: { client_side_validation: true, required: false, serialized_name: 'healthy', type: { name: 'Boolean' } }, relationship_status: { client_side_validation: true, required: false, serialized_name: 'relationshipStatus', type: { name: 'String' } }, mirror_state: { client_side_validation: true, required: false, serialized_name: 'mirrorState', type: { name: 'String' } }, total_progress: { client_side_validation: true, required: false, serialized_name: 'totalProgress', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { name: 'String' } } } } } end |