Class: Azure::ServiceFabric::V6_3_0_9::Models::ReconfigurationInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb

Overview

Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#previous_configuration_roleReplicaRole

Possible values include: ‘Unknown’, ‘None’, ‘Primary’, ‘IdleSecondary’, ‘ActiveSecondary’

Returns:

  • (ReplicaRole)

    Replica role before reconfiguration started.



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb', line 19

def previous_configuration_role
  @previous_configuration_role
end

#reconfiguration_phaseReconfigurationPhase

reconfiguration. If no reconfiguration is taking place then this value will be “None”. Possible values include: ‘Unknown’, ‘None’, ‘Phase0’, ‘Phase1’, ‘Phase2’, ‘Phase3’, ‘Phase4’, ‘AbortPhaseZero’

Returns:



25
26
27
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb', line 25

def reconfiguration_phase
  @reconfiguration_phase
end

#reconfiguration_start_time_utcDateTime

If no reconfiguration is taking place then this value will be zero date-time.

Returns:

  • (DateTime)

    Start time (in UTC) of the ongoing reconfiguration.



35
36
37
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb', line 35

def reconfiguration_start_time_utc
  @reconfiguration_start_time_utc
end

#reconfiguration_typeReconfigurationType

If no reconfiguration is taking place then this value will be “None”. Possible values include: ‘Unknown’, ‘SwapPrimary’, ‘Failover’, ‘Other’

Returns:



30
31
32
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb', line 30

def reconfiguration_type
  @reconfiguration_type
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/reconfiguration_information.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReconfigurationInformation',
    type: {
      name: 'Composite',
      class_name: 'ReconfigurationInformation',
      model_properties: {
        previous_configuration_role: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PreviousConfigurationRole',
          type: {
            name: 'String'
          }
        },
        reconfiguration_phase: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReconfigurationPhase',
          type: {
            name: 'String'
          }
        },
        reconfiguration_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReconfigurationType',
          type: {
            name: 'String'
          }
        },
        reconfiguration_start_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReconfigurationStartTimeUtc',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end