class Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription

Describes the partition scheme of a singleton-partitioned, or non-partitioned service.

Attributes

PartitionScheme[RW]

Private Class Methods

mapper() click to toggle source

Mapper for SingletonPartitionSchemeDescription class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/singleton_partition_scheme_description.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Singleton',
    type: {
      name: 'Composite',
      class_name: 'SingletonPartitionSchemeDescription',
      model_properties: {
        PartitionScheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'PartitionScheme',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/singleton_partition_scheme_description.rb, line 17
def initialize
  @PartitionScheme = "Singleton"
end