Sha256: 74044e88b0862717466ae932cf6c7ab01f4d062ba8b01d3d07df1b5df5b73158

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 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 the health state of a partition, which contains the partition
    # identifier and its aggregated health state.
    #
    class PartitionHealthState < EntityHealthState

      include MsRestAzure

      # @return Id of the partition whose health state is described by this
      # object.
      attr_accessor :partition_id


      #
      # Mapper for PartitionHealthState class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionHealthState',
          type: {
            name: 'Composite',
            class_name: 'PartitionHealthState',
            model_properties: {
              aggregated_health_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AggregatedHealthState',
                type: {
                  name: 'String'
                }
              },
              partition_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PartitionId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/partition_health_state.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/partition_health_state.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/partition_health_state.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/partition_health_state.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/partition_health_state.rb