Class: Azure::ServiceFabric::V6_4_0_36::Models::DeployedServicePackageHealth

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

Overview

Information about the health of a service package for a specific application deployed on a Service Fabric node.

Instance Attribute Summary collapse

Attributes inherited from EntityHealth

#aggregated_health_state, #health_events, #health_statistics, #unhealthy_evaluations

Class Method Summary collapse

Instance Attribute Details

#application_nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health.rb', line 18

def application_name
  @application_name
end

#node_nameString

deployed.

Returns:

  • (String)

    Name of the node where this service package is



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health.rb', line 25

def node_name
  @node_name
end

#service_manifest_nameString

Returns Name of the service manifest.

Returns:

  • (String)

    Name of the service manifest.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health.rb', line 21

def service_manifest_name
  @service_manifest_name
end

Class Method Details

.mapperObject

Mapper for DeployedServicePackageHealth 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
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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_package_health.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServicePackageHealth',
    type: {
      name: 'Composite',
      class_name: 'DeployedServicePackageHealth',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        health_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthEvents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEventElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvent'
                }
            }
          }
        },
        unhealthy_evaluations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UnhealthyEvaluations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEvaluationWrapperElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvaluationWrapper'
                }
            }
          }
        },
        health_statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthStatistics',
          type: {
            name: 'Composite',
            class_name: 'HealthStatistics'
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationName',
          type: {
            name: 'String'
          }
        },
        service_manifest_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceManifestName',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end