Sha256: 203266318f49c3c68dcf85c85e6fab529d4ca64f7f6640625ae54b39d01019bc

Contents?: true

Size: 1.77 KB

Versions: 5

Compression:

Stored size: 1.77 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_4_0_36
  module Models
    #
    # Specifying this parameter adds support for reliable collections
    #
    class ReliableCollectionsRef

      include MsRestAzure

      # @return [String] Name of ReliableCollection resource. Right now it's
      # not used and you can use any string.
      attr_accessor :name

      # @return [Boolean] False (the default) if ReliableCollections state is
      # persisted to disk as usual. True if you do not want to persist state,
      # in which case replication is still enabled and you can use
      # ReliableCollections as distributed cache.
      attr_accessor :do_not_persist_state


      #
      # Mapper for ReliableCollectionsRef class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReliableCollectionsRef',
          type: {
            name: 'Composite',
            class_name: 'ReliableCollectionsRef',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              do_not_persist_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'doNotPersistState',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.4.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb
azure_service_fabric-0.18.0 lib/6.4.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb
azure_service_fabric-0.17.2 lib/6.4.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb
azure_service_fabric-0.17.1 lib/6.4.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb
azure_service_fabric-0.17.0 lib/6.4.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb