Class: Azure::NetApp::Mgmt::V2019_10_01::Models::ReplicationStatus

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb

Overview

Replication status

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#error_messageString

error state

Returns:

  • (String)

    Displays error message if the replication is in an



31
32
33
# File 'lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb', line 31

def error_message
  @error_message
end

#healthyBoolean

Returns Replication health check.

Returns:

  • (Boolean)

    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_stateMirrorState

include: ‘Uninitialized’, ‘Mirrored’, ‘Broken’

Returns:

  • (MirrorState)

    The status of the replication. Possible values



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_statusRelationshipStatus

Possible values include: ‘Idle’, ‘Transferring’

Returns:



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_progressString

Returns The progress of the replication.

Returns:

  • (String)

    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

.mapperObject

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