Class: Azure::ServiceFabric::V6_5_0_36::Models::PartitionInformation
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::PartitionInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb
Overview
Information about the partition identity, partitioning scheme and keys supported by it.
Direct Known Subclasses
Int64RangePartitionInformation, NamedPartitionInformation, SingletonPartitionInformation
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#id ⇒ Object
partition.
-
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionInformation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PartitionInformation
constructor
A new instance of PartitionInformation.
Constructor Details
#initialize ⇒ PartitionInformation
Returns a new instance of PartitionInformation.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb', line 21 def initialize @ServicePartitionKind = "PartitionInformation" end |
Instance Attribute Details
#id ⇒ Object
partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
32 33 34 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb', line 32 def id @id end |
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb', line 25 def ServicePartitionKind @ServicePartitionKind end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionInformation class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartitionInformation', type: { name: 'Composite', polymorphic_discriminator: 'ServicePartitionKind', uber_parent: 'PartitionInformation', class_name: 'PartitionInformation', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'String' } } } } } end |