Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_machine_learning/models/realtime_configuration.rb

Overview

Holds the available configuration options for an Azure ML web service endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#max_concurrent_callsInteger

made to the web service. Minimum value: 4, Maximum value: 200.

Returns:

  • (Integer)

    Specifies the maximum concurrent calls that can be



18
19
20
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/realtime_configuration.rb', line 18

def max_concurrent_calls
  @max_concurrent_calls
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/realtime_configuration.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RealtimeConfiguration',
    type: {
      name: 'Composite',
      class_name: 'RealtimeConfiguration',
      model_properties: {
        max_concurrent_calls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxConcurrentCalls',
          constraints: {
            InclusiveMaximum: 200,
            InclusiveMinimum: 4
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end