class Azure::ServiceFabric::V7_0_0_42::Models::ApplicationHealthPolicies

Defines the application health policy map used to evaluate the health of an application or one of its children entities.

Attributes

application_health_policy_map[RW]

@return [Array<ApplicationHealthPolicyMapItem>] The wrapper that contains the map with application health policies used to evaluate specific applications in the cluster.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/application_health_policies.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationHealthPolicies',
    type: {
      name: 'Composite',
      class_name: 'ApplicationHealthPolicies',
      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'
                }
            }
          }
        }
      }
    }
  }
end