Class: Azure::ServiceFabric::V6_3_0_9::Models::ServiceHealthStateChunk

Inherits:
EntityHealthStateChunk show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/service_health_state_chunk.rb

Overview

Represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.

Instance Attribute Summary collapse

Attributes inherited from EntityHealthStateChunk

#health_state

Class Method Summary collapse

Instance Attribute Details

#partition_health_state_chunksPartitionHealthStateChunkList

state chunks belonging to the service that respect the filters in the cluster health chunk query description.

Returns:



24
25
26
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_health_state_chunk.rb', line 24

def partition_health_state_chunks
  @partition_health_state_chunks
end

#service_nameString

provided in this object.

Returns:

  • (String)

    The name of the service whose health state chunk is



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_health_state_chunk.rb', line 19

def service_name
  @service_name
end

Class Method Details

.mapperObject

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



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
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_health_state_chunk.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceHealthStateChunk',
    type: {
      name: 'Composite',
      class_name: 'ServiceHealthStateChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        partition_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'PartitionHealthStateChunkList'
          }
        }
      }
    }
  }
end