# 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::ARM::MachineLearning module Models # # Holds the available configuration options for an Azure ML web service # endpoint. # class RealtimeConfiguration include MsRestAzure include MsRest::JSONable # @return [Integer] Specifies the maximum concurrent calls that can be # made to the web service. Minimum value: 4, Maximum value: 200. attr_accessor :max_concurrent_calls # # Mapper for RealtimeConfiguration class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'RealtimeConfiguration', type: { name: 'Composite', class_name: 'RealtimeConfiguration', model_properties: { max_concurrent_calls: { required: false, serialized_name: 'maxConcurrentCalls', constraints: { InclusiveMaximum: 200, InclusiveMinimum: 4 }, type: { name: 'Number' } } } } } end end end end