class Azure::ServiceFabric::V6_2_0_9::Models::HealthStateCount

Represents information about how many health entities are in Ok, Warning and Error health state.

Attributes

error_count[RW]

@return [Integer] The number of health entities with aggregated health state Error.

ok_count[RW]

@return [Integer] The number of health entities with aggregated health state Ok.

warning_count[RW]

@return [Integer] The number of health entities with aggregated health state Warning.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/health_state_count.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HealthStateCount',
    type: {
      name: 'Composite',
      class_name: 'HealthStateCount',
      model_properties: {
        ok_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'OkCount',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        warning_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'WarningCount',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        error_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ErrorCount',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end