class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding

The binding to an Azure Machine Learning web service.

Attributes

api_key[RW]

@return [String] The API key used to authenticate with Request-Response endpoint.

batch_size[RW]

@return [Integer] Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.

endpoint[RW]

@return [String] The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs

inputs[RW]

@return [AzureMachineLearningWebServiceInputs] The inputs for the Azure Machine Learning web service endpoint.

outputs[RW]

@return [Array<AzureMachineLearningWebServiceOutputColumn>] A list of outputs from the Azure Machine Learning web service endpoint execution.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.MachineLearning/WebService',
    type: {
      name: 'Composite',
      class_name: 'AzureMachineLearningWebServiceFunctionBinding',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endpoint',
          type: {
            name: 'String'
          }
        },
        api_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.apiKey',
          type: {
            name: 'String'
          }
        },
        inputs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inputs',
          type: {
            name: 'Composite',
            class_name: 'AzureMachineLearningWebServiceInputs'
          }
        },
        outputs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.outputs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AzureMachineLearningWebServiceOutputColumnElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AzureMachineLearningWebServiceOutputColumn'
                }
            }
          }
        },
        batch_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.batchSize',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb, line 16
def initialize
  @type = "Microsoft.MachineLearning/WebService"
end