Sha256: e68d73b3fe8980c50f41f94b3e24b59461bb77a00f1ec1951cba1cba6fc16f77
Contents?: true
Size: 1.69 KB
Versions: 5
Compression:
Stored size: 1.69 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 a base class for stateful service replica or stateless service # instance health state. # class ReplicaHealthState < EntityHealthState include MsRestAzure def initialize @ServiceKind = "ReplicaHealthState" end attr_accessor :ServiceKind # @return The ID of the partition to which this replica belongs. attr_accessor :partition_id # # Mapper for ReplicaHealthState class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReplicaHealthState', type: { name: 'Composite', polymorphic_discriminator: 'ServiceKind', uber_parent: 'EntityHealthState', class_name: 'ReplicaHealthState', 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