Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedApplicationHealthStateChunk

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

Overview

Represents the health state chunk of a deployed application, which contains the node where the application is deployed, the aggregated health state and any deployed service packages that respect the chunk query description filters.

Instance Attribute Summary collapse

Attributes inherited from EntityHealthStateChunk

#health_state

Class Method Summary collapse

Instance Attribute Details

#deployed_service_package_health_state_chunksDeployedServicePackageHealthStateChunkList

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

Returns:



25
26
27
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_state_chunk.rb', line 25

def deployed_service_package_health_state_chunks
  @deployed_service_package_health_state_chunks
end

#node_nameString

Returns The name of node where the application is deployed.

Returns:

  • (String)

    The name of node where the application is deployed.



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

def node_name
  @node_name
end

Class Method Details

.mapperObject

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



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
69
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_state_chunk.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedApplicationHealthStateChunk',
    type: {
      name: 'Composite',
      class_name: 'DeployedApplicationHealthStateChunk',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        deployed_service_package_health_state_chunks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeployedServicePackageHealthStateChunks',
          type: {
            name: 'Composite',
            class_name: 'DeployedServicePackageHealthStateChunkList'
          }
        }
      }
    }
  }
end