class Azure::ServiceFabric::V6_5_0_36::Models::StatelessServiceInstanceHealthState
Represents the health state of the stateless service instance, which contains the instance ID and the aggregated health state.
Attributes
ServiceKind[RW]
replica_id[RW]
@return [String] Id of the stateless service instance on the wire this field is called ReplicaId.
Public Class Methods
mapper()
click to toggle source
Mapper for StatelessServiceInstanceHealthState
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_instance_health_state.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Stateless', type: { name: 'Composite', class_name: 'StatelessServiceInstanceHealthState', 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' } }, ServiceKind: { client_side_validation: true, required: true, serialized_name: 'ServiceKind', type: { name: 'String' } }, replica_id: { client_side_validation: true, required: false, serialized_name: 'ReplicaId', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_instance_health_state.rb, line 17 def initialize @ServiceKind = "Stateless" end