Sha256: 2d9d5a1a34794cac10f4b2333d0322254724a3fb9d765b78292def84f471eabf

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V7_0_0_42
  module Models
    #
    # Represents health state count for entities of the specified entity kind.
    #
    class EntityKindHealthStateCount

      include MsRestAzure

      # @return [EntityKind] The entity kind for which health states are
      # evaluated. Possible values include: 'Invalid', 'Node', 'Partition',
      # 'Service', 'Application', 'Replica', 'DeployedApplication',
      # 'DeployedServicePackage', 'Cluster'
      attr_accessor :entity_kind

      # @return [HealthStateCount] The health state count for the entities of
      # the specified kind.
      attr_accessor :health_state_count


      #
      # Mapper for EntityKindHealthStateCount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EntityKindHealthStateCount',
          type: {
            name: 'Composite',
            class_name: 'EntityKindHealthStateCount',
            model_properties: {
              entity_kind: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EntityKind',
                type: {
                  name: 'String'
                }
              },
              health_state_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthStateCount',
                type: {
                  name: 'Composite',
                  class_name: 'HealthStateCount'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/entity_kind_health_state_count.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/entity_kind_health_state_count.rb