class Azure::ServiceFabric::V6_5_0_36::Models::SingletonPartitionInformation
Information about a partition that is singleton. The services with singleton partitioning scheme are effectively non-partitioned. They only have one partition.
Attributes
ServicePartitionKind[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for SingletonPartitionInformation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Singleton', type: { name: 'Composite', class_name: 'SingletonPartitionInformation', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'String' } }, ServicePartitionKind: { client_side_validation: true, required: true, serialized_name: 'ServicePartitionKind', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb, line 18 def initialize @ServicePartitionKind = "Singleton" end