class Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy

Service health policy

Attributes

max_percent_delta_unhealthy_services[RW]

@return [Integer] Maximum percentage of unhealthy services in cluster

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb, line 24
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',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end