Class: Azure::ServiceFabric::V6_4_0_36::Models::ClusterHealthPolicies
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ClusterHealthPolicies
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/cluster_health_policies.rb
Overview
Health policies to evaluate cluster health.
Instance Attribute Summary collapse
-
#application_health_policy_map ⇒ Array<ApplicationHealthPolicyMapItem>
contains specific application health policies for different applications.
-
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterHealthPolicies class as Ruby Hash.
Instance Attribute Details
#application_health_policy_map ⇒ Array<ApplicationHealthPolicyMapItem>
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.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_health_policies.rb', line 25 def application_health_policy_map @application_health_policy_map end |
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/cluster_health_policies.rb', line 29 def cluster_health_policy @cluster_health_policy end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterHealthPolicies class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/6.4.0.36/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 |