class Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy

Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.

Attributes

max_percent_delta_unhealthy_services[RW]

@return [Integer] The maximum allowed percentage of services health degradation allowed during cluster upgrades. The delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. . Default value: 0 .

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceTypeDeltaHealthPolicy',
    type: {
      name: 'Composite',
      class_name: 'ServiceTypeDeltaHealthPolicy',
      model_properties: {
        max_percent_delta_unhealthy_services: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxPercentDeltaUnhealthyServices',
          default_value: 0,
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end