Class: Azure::ServiceFabric::V6_5_0_36::Models::ServicePartitionInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ServicePartitionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb
Overview
Information about a partition of a Service Fabric service.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc.
-
#partition_information ⇒ PartitionInformation
identity, partitioning scheme and keys supported by it.
-
#partition_status ⇒ ServicePartitionStatus
service partition.
-
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServicePartitionInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ServicePartitionInfo
constructor
A new instance of ServicePartitionInfo.
Constructor Details
#initialize ⇒ ServicePartitionInfo
Returns a new instance of ServicePartitionInfo.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 19 def initialize @ServiceKind = "ServicePartitionInfo" end |
Instance Attribute Details
#health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
28 29 30 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 28 def health_state @health_state end |
#partition_information ⇒ PartitionInformation
identity, partitioning scheme and keys supported by it.
37 38 39 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 37 def partition_information @partition_information end |
#partition_status ⇒ ServicePartitionStatus
service partition. Possible values include: ‘Invalid’, ‘Ready’, ‘NotReady’, ‘InQuorumLoss’, ‘Reconfiguring’, ‘Deleting’
33 34 35 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 33 def partition_status @partition_status end |
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 23 def ServiceKind @ServiceKind end |
Class Method Details
.mapper ⇒ Object
Mapper for ServicePartitionInfo class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServicePartitionInfo', type: { name: 'Composite', polymorphic_discriminator: 'ServiceKind', uber_parent: 'ServicePartitionInfo', class_name: 'ServicePartitionInfo', model_properties: { health_state: { client_side_validation: true, required: false, serialized_name: 'HealthState', type: { name: 'String' } }, partition_status: { client_side_validation: true, required: false, serialized_name: 'PartitionStatus', type: { name: 'String' } }, partition_information: { client_side_validation: true, required: false, serialized_name: 'PartitionInformation', type: { name: 'Composite', polymorphic_discriminator: 'ServicePartitionKind', uber_parent: 'PartitionInformation', class_name: 'PartitionInformation' } } } } } end |