class Azure::ServiceFabric::V6_2_0_9::Models::ReplicaHealthState
Represents a base class for stateful service replica or stateless service instance health state.
Attributes
ServiceKind[RW]
partition_id[RW]
@return The ID of the partition to which this replica belongs.
Public Class Methods
mapper()
click to toggle source
Mapper for ReplicaHealthState
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.2.0.9/generated/azure_service_fabric/models/replica_health_state.rb, line 31 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
new()
click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/replica_health_state.rb, line 17 def initialize @ServiceKind = "ReplicaHealthState" end