Class: Azure::ServiceFabric::V6_4_0_36::Models::ApplicationHealthPolicies

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/application_health_policies.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_health_policy_mapArray<ApplicationHealthPolicyMapItem>

contains the map with application health policies used to evaluate specific applications in the cluster.

Returns:



19
20
21
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_health_policies.rb', line 19

def application_health_policy_map
  @application_health_policy_map
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/6.4.0.36/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