Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeUpgradeProgressInfo

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

Overview

Information about the upgrading node and its status

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



16
17
18
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 16

def node_name
  @node_name
end

#pending_safety_checksArray<SafetyCheckWrapper>

Returns List of pending safety checks.

Returns:



24
25
26
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 24

def pending_safety_checks
  @pending_safety_checks
end

#upgrade_phaseNodeUpgradePhase

values include: ‘Invalid’, ‘PreUpgradeSafetyCheck’, ‘Upgrading’, ‘PostUpgradeSafetyCheck’

Returns:



21
22
23
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 21

def upgrade_phase
  @upgrade_phase
end

Class Method Details

.mapperObject

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



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
69
70
71
72
73
74
75
76
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeUpgradeProgressInfo',
    type: {
      name: 'Composite',
      class_name: 'NodeUpgradeProgressInfo',
      model_properties: {
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        upgrade_phase: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradePhase',
          type: {
            name: 'String'
          }
        },
        pending_safety_checks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PendingSafetyChecks',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SafetyCheckWrapperElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SafetyCheckWrapper'
                }
            }
          }
        }
      }
    }
  }
end