Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServicePackageHealthEvaluation

Inherits:
HealthEvaluation
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb

Overview

Represents health evaluation for a deployed service package, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

Instance Attribute Summary collapse

Attributes inherited from HealthEvaluation

#aggregated_health_state, #description

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeployedServicePackageHealthEvaluation

Returns a new instance of DeployedServicePackageHealthEvaluation.



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

def initialize
  @Kind = "DeployedServicePackage"
end

Instance Attribute Details

#application_nameString

URI scheme.

Returns:

  • (String)

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



30
31
32
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 30

def application_name
  @application_name
end

#KindObject

Returns the value of attribute Kind.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 23

def Kind
  @Kind
end

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 26

def node_name
  @node_name
end

#service_manifest_nameString

Returns The name of the service manifest.

Returns:

  • (String)

    The name of the service manifest.



33
34
35
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 33

def service_manifest_name
  @service_manifest_name
end

#unhealthy_evaluationsArray<HealthEvaluationWrapper>

that led to the current aggregated health state. The type of the unhealthy evaluations can be EventHealthEvaluation.

Returns:



38
39
40
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 38

def unhealthy_evaluations
  @unhealthy_evaluations
end

Class Method Details

.mapperObject

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



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
120
121
122
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServicePackage',
    type: {
      name: 'Composite',
      class_name: 'DeployedServicePackageHealthEvaluation',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Description',
          type: {
            name: 'String'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        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'
                }
            }
          }
        }
      }
    }
  }
end