class Azure::ServiceFabric::V6_3_0_9::Models::ClusterHealthPolicies

Health policies to evaluate cluster health.

Attributes

application_health_policy_map[RW]

@return [Array<ApplicationHealthPolicyMapItem>] Defines a map that contains specific application health policies for different applications. Each entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health. If an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest). The map is empty by default.

cluster_health_policy[RW]

@return [ClusterHealthPolicy] Defines a health policy used to evaluate the health of the cluster or of a cluster node.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_policies.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterHealthPolicies',
    type: {
      name: 'Composite',
      class_name: 'ClusterHealthPolicies',
      model_properties: {
        application_health_policy_map: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationHealthPolicyMap',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationHealthPolicyMapItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationHealthPolicyMapItem'
                }
            }
          }
        },
        cluster_health_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterHealthPolicy',
          type: {
            name: 'Composite',
            class_name: 'ClusterHealthPolicy'
          }
        }
      }
    }
  }
end