class Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy

Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.

Attributes

default_service_type_delta_health_policy[RW]

@return [ServiceTypeDeltaHealthPolicy] The delta health policy used by default to evaluate the health of a service type when upgrading the cluster.

service_type_delta_health_policies[RW]

@return [Hash{String => ServiceTypeDeltaHealthPolicy}] The map with service type delta health policy per service type name. The map is empty by default.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationDeltaHealthPolicy',
    type: {
      name: 'Composite',
      class_name: 'ApplicationDeltaHealthPolicy',
      model_properties: {
        default_service_type_delta_health_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'defaultServiceTypeDeltaHealthPolicy',
          type: {
            name: 'Composite',
            class_name: 'ServiceTypeDeltaHealthPolicy'
          }
        },
        service_type_delta_health_policies: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceTypeDeltaHealthPolicies',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceTypeDeltaHealthPolicyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceTypeDeltaHealthPolicy'
                }
            }
          }
        }
      }
    }
  }
end