Sha256: 48ab08c4f0530e224519c92be7969e99050f303af8c476d3c124852f8f99109d

Contents?: true

Size: 1.83 KB

Versions: 5

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::V6_2_0_9
  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

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb