Class: Azure::ServiceFabric::V6_3_0_9::Models::ClusterHealthChunkQueryDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ClusterHealthChunkQueryDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb
Overview
The cluster health chunk query description, which can specify the health policies to evaluate cluster health and very expressive filters to select which cluster entities to include in response.
Instance Attribute Summary collapse
-
#application_filters ⇒ Array<ApplicationHealthStateFilter>
that specify which applications to be included in the returned cluster health chunk.
-
#application_health_policies ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
-
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
-
#node_filters ⇒ Array<NodeHealthStateFilter>
specify which nodes to be included in the returned cluster health chunk.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterHealthChunkQueryDescription class as Ruby Hash.
Instance Attribute Details
#application_filters ⇒ Array<ApplicationHealthStateFilter>
that specify which applications to be included in the returned cluster health chunk. If no filters are specified, no applications are returned. All the applications are used to evaluate the cluster’s aggregated health state, regardless of the input filters. The cluster health chunk query may specify multiple application filters. For example, it can specify a filter to return all applications with health state Error and another filter to always include applications of a specified application type.
40 41 42 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb', line 40 def application_filters @application_filters end |
#application_health_policies ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
49 50 51 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb', line 49 def application_health_policies @application_health_policies end |
#cluster_health_policy ⇒ ClusterHealthPolicy
the health of the cluster or of a cluster node.
44 45 46 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb', line 44 def cluster_health_policy @cluster_health_policy end |
#node_filters ⇒ Array<NodeHealthStateFilter>
specify which nodes to be included in the returned cluster health chunk. If no filters are specified, no nodes are returned. All the nodes are used to evaluate the cluster’s aggregated health state, regardless of the input filters. The cluster health chunk query may specify multiple node filters. For example, it can specify a filter to return all nodes with health state Error and another filter to always include a node identified by its NodeName.
27 28 29 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb', line 27 def node_filters @node_filters end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterHealthChunkQueryDescription class as Ruby Hash. This will be used for serialization/deserialization.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterHealthChunkQueryDescription', type: { name: 'Composite', class_name: 'ClusterHealthChunkQueryDescription', model_properties: { node_filters: { client_side_validation: true, required: false, serialized_name: 'NodeFilters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NodeHealthStateFilterElementType', type: { name: 'Composite', class_name: 'NodeHealthStateFilter' } } } }, application_filters: { client_side_validation: true, required: false, serialized_name: 'ApplicationFilters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApplicationHealthStateFilterElementType', type: { name: 'Composite', class_name: 'ApplicationHealthStateFilter' } } } }, cluster_health_policy: { client_side_validation: true, required: false, serialized_name: 'ClusterHealthPolicy', type: { name: 'Composite', class_name: 'ClusterHealthPolicy' } }, application_health_policies: { client_side_validation: true, required: false, serialized_name: 'ApplicationHealthPolicies', type: { name: 'Composite', class_name: 'ApplicationHealthPolicies' } } } } } end |