consume_endpoint: Remix of AzureML consume() function

Description Usage Arguments Value See Also

View source: R/request_response.R

Description

This is a re-imagining of the AzureML::consume function. The API and documentation is adapted from this function.

Usage

1
2
consume_endpoint(endpoint, inputs, globalParameters = NULL, retryDelay = 10,
  .retry = 5)

Arguments

endpoint

Either an AzureML web service endpoint returned by AzureML::publishWebService, AzureML::endpoints, or simply an AzureML web service from AzureML::services;

inputs

list (named), inputs to be sent as the body of the request. This differs from (and is stricter than) the API for AzureML::consume

globalParameters

list (named), global parameters

retryDelay

numeric, time in seconds to delay before retrying in case of a server error

.retry

numeric, number of tries before failing

Value

azureml_request_response object

See Also

validate_inputs, validate_globalParameters


ijlyttle/AzureMLPlus documentation built on May 17, 2017, 3:13 a.m.