Class: Azure::ServiceFabric::V6_4_0_36::Models::PartitionHealthState
- Inherits:
-
EntityHealthState
- Object
- EntityHealthState
- Azure::ServiceFabric::V6_4_0_36::Models::PartitionHealthState
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/partition_health_state.rb
Overview
Represents the health state of a partition, which contains the partition identifier and its aggregated health state.
Instance Attribute Summary collapse
-
#partition_id ⇒ Object
object.
Attributes inherited from EntityHealthState
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionHealthState class as Ruby Hash.
Instance Attribute Details
#partition_id ⇒ Object
object.
18 19 20 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/partition_health_state.rb', line 18 def partition_id @partition_id end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionHealthState class as Ruby Hash. This will be used for serialization/deserialization.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/partition_health_state.rb', line 25 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 |