Class: Azure::ServiceFabric::V6_3_0_9::Models::UpdateClusterUpgradeDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::UpdateClusterUpgradeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb
Overview
Parameters for updating a cluster upgrade.
Instance Attribute Summary collapse
-
#application_health_policy_map ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
-
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
-
#cluster_upgrade_health_policy ⇒ ClusterUpgradeHealthPolicyObject
to evaluate the health of the cluster during a cluster upgrade.
-
#enable_delta_health_evaluation ⇒ Boolean
than absolute health evaluation after completion of each upgrade domain.
-
#update_description ⇒ RollingUpgradeUpdateDescription
updating a rolling upgrade of application or cluster.
-
#upgrade_kind ⇒ UpgradeType
values.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UpdateClusterUpgradeDescription class as Ruby Hash.
Instance Attribute Details
#application_health_policy_map ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
40 41 42 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 40 def application_health_policy_map @application_health_policy_map end |
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 26 def cluster_health_policy @cluster_health_policy end |
#cluster_upgrade_health_policy ⇒ ClusterUpgradeHealthPolicyObject
to evaluate the health of the cluster during a cluster upgrade.
35 36 37 |
# File 'lib/6.3.0.9/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_evaluation ⇒ Boolean
than absolute health evaluation after completion of each upgrade domain.
31 32 33 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 31 def enable_delta_health_evaluation @enable_delta_health_evaluation end |
#update_description ⇒ RollingUpgradeUpdateDescription
updating a rolling upgrade of application or cluster.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 22 def update_description @update_description end |
#upgrade_kind ⇒ UpgradeType
values. Possible values include: ‘Invalid’, ‘Rolling’, ‘Rolling_ForceRestart’. Default value: ‘Rolling’ .
18 19 20 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb', line 18 def upgrade_kind @upgrade_kind end |
Class Method Details
.mapper ⇒ Object
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.3.0.9/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 |