Sha256: 0c4a119ad4f76818e5613e13444cde58a1ce3b8d4390e9e1aef7bb8e978f3319

Contents?: true

Size: 1.77 KB

Versions: 2

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::V7_0_0_42
  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

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/reliable_collections_ref.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/reliable_collections_ref.rb