Class: Azure::Compute::Mgmt::V2019_12_01::Models::ReplicationStatus

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

Overview

This is the replication status of the gallery Image Version.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aggregated_stateAggregatedReplicationState

status based on all the regional replication status flags. Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'

Returns:



18
19
20
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb', line 18

def aggregated_state
  @aggregated_state
end

#summaryArray<RegionalReplicationStatus>

replication status for each region.

Returns:



22
23
24
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb', line 22

def summary
  @summary
end

Class Method Details

.mapperObject

Mapper for ReplicationStatus class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
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
64
65
66
67
68
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReplicationStatus',
    type: {
      name: 'Composite',
      class_name: 'ReplicationStatus',
      model_properties: {
        aggregated_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'aggregatedState',
          type: {
            name: 'String'
          }
        },
        summary: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'summary',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RegionalReplicationStatusElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RegionalReplicationStatus'
                }
            }
          }
        }
      }
    }
  }
end