class Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpgradeDeltaHealthPolicy

Delta health policy for the cluster

Attributes

max_percent_delta_unhealthy_applications[RW]

@return [Integer] Additional unhealthy applications percentage

max_percent_delta_unhealthy_nodes[RW]

@return [Integer] Additional unhealthy nodes percentage

max_percent_upgrade_domain_delta_unhealthy_nodes[RW]

@return [Integer] Additional unhealthy nodes percentage per upgrade domain

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterUpgradeDeltaHealthPolicy',
    type: {
      name: 'Composite',
      class_name: 'ClusterUpgradeDeltaHealthPolicy',
      model_properties: {
        max_percent_delta_unhealthy_nodes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'maxPercentDeltaUnhealthyNodes',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        max_percent_upgrade_domain_delta_unhealthy_nodes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'maxPercentUpgradeDomainDeltaUnhealthyNodes',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        max_percent_delta_unhealthy_applications: {
          client_side_validation: true,
          required: true,
          serialized_name: 'maxPercentDeltaUnhealthyApplications',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end