Class: Azure::ServiceFabric::V6_5_0_36::Models::UpdateClusterUpgradeDescription

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

Overview

Parameters for updating a cluster upgrade.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_health_policy_mapApplicationHealthPolicies

policy map used to evaluate the health of an application or one of its children entities.

Returns:



40
41
42
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 40

def application_health_policy_map
  @application_health_policy_map
end

#cluster_health_policyClusterHealthPolicy

the health of the cluster or of a cluster node.

Returns:



26
27
28
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 26

def cluster_health_policy
  @cluster_health_policy
end

#cluster_upgrade_health_policyClusterUpgradeHealthPolicyObject

to evaluate the health of the cluster during a cluster upgrade.

Returns:



35
36
37
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 35

def cluster_upgrade_health_policy
  @cluster_upgrade_health_policy
end

#enable_delta_health_evaluationBoolean

than absolute health evaluation after completion of each upgrade domain.

Returns:

  • (Boolean)

    When true, enables delta health evaluation rather



31
32
33
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 31

def enable_delta_health_evaluation
  @enable_delta_health_evaluation
end

#update_descriptionRollingUpgradeUpdateDescription

updating a rolling upgrade of application or cluster.

Returns:



22
23
24
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 22

def update_description
  @update_description
end

#upgrade_kindUpgradeType

values. Possible values include: ‘Invalid’, ‘Rolling’, ‘Rolling_ForceRestart’. Default value: ‘Rolling’ .

Returns:

  • (UpgradeType)

    The type of upgrade out of the following possible



18
19
20
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 18

def upgrade_kind
  @upgrade_kind
end

Class Method Details

.mapperObject

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



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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpdateClusterUpgradeDescription',
    type: {
      name: 'Composite',
      class_name: 'UpdateClusterUpgradeDescription',
      model_properties: {
        upgrade_kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeKind',
          default_value: 'Rolling',
          type: {
            name: 'String'
          }
        },
        update_description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpdateDescription',
          type: {
            name: 'Composite',
            class_name: 'RollingUpgradeUpdateDescription'
          }
        },
        cluster_health_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterHealthPolicy',
          type: {
            name: 'Composite',
            class_name: 'ClusterHealthPolicy'
          }
        },
        enable_delta_health_evaluation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EnableDeltaHealthEvaluation',
          type: {
            name: 'Boolean'
          }
        },
        cluster_upgrade_health_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterUpgradeHealthPolicy',
          type: {
            name: 'Composite',
            class_name: 'ClusterUpgradeHealthPolicyObject'
          }
        },
        application_health_policy_map: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationHealthPolicyMap',
          type: {
            name: 'Composite',
            class_name: 'ApplicationHealthPolicies'
          }
        }
      }
    }
  }
end