Class: Azure::Compute::Mgmt::V2019_07_01::Models::RegionalReplicationStatus

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

Overview

This is the regional replication status.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#detailsString

Returns The details of the replication status.

Returns:

  • (String)

    The details of the replication status.



25
26
27
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb', line 25

def details
  @details
end

#progressInteger

Returns It indicates progress of the replication job.

Returns:

  • (Integer)

    It indicates progress of the replication job.



28
29
30
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb', line 28

def progress
  @progress
end

#regionString

replicated to.

Returns:

  • (String)

    The region to which the gallery Image Version is being



17
18
19
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb', line 17

def region
  @region
end

#stateReplicationState

Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed'

Returns:



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

def state
  @state
end

Class Method Details

.mapperObject

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



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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegionalReplicationStatus',
    type: {
      name: 'Composite',
      class_name: 'RegionalReplicationStatus',
      model_properties: {
        region: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'region',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'details',
          type: {
            name: 'String'
          }
        },
        progress: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'progress',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end