
com.pulumi.azurenative.streamanalytics.kotlin.inputs.AzureMachineLearningWebServiceFunctionBindingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.inputs
import com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceFunctionBindingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The binding to an Azure Machine Learning web service.
* @property apiKey The API key used to authenticate with Request-Response endpoint.
* @property batchSize Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
* @property endpoint The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs
* @property inputs The inputs for the Azure Machine Learning web service endpoint.
* @property outputs A list of outputs from the Azure Machine Learning web service endpoint execution.
* @property type Indicates the function binding type.
* Expected value is 'Microsoft.MachineLearning/WebService'.
*/
public data class AzureMachineLearningWebServiceFunctionBindingArgs(
public val apiKey: Output? = null,
public val batchSize: Output? = null,
public val endpoint: Output? = null,
public val inputs: Output? = null,
public val outputs: Output>? = null,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceFunctionBindingArgs =
com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceFunctionBindingArgs.builder()
.apiKey(apiKey?.applyValue({ args0 -> args0 }))
.batchSize(batchSize?.applyValue({ args0 -> args0 }))
.endpoint(endpoint?.applyValue({ args0 -> args0 }))
.inputs(inputs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.outputs(
outputs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureMachineLearningWebServiceFunctionBindingArgs].
*/
@PulumiTagMarker
public class AzureMachineLearningWebServiceFunctionBindingArgsBuilder internal constructor() {
private var apiKey: Output? = null
private var batchSize: Output? = null
private var endpoint: Output? = null
private var inputs: Output? = null
private var outputs: Output>? = null
private var type: Output? = null
/**
* @param value The API key used to authenticate with Request-Response endpoint.
*/
@JvmName("ahokiearitglewsp")
public suspend fun apiKey(`value`: Output) {
this.apiKey = value
}
/**
* @param value Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
*/
@JvmName("tosgkktnbdbqixnv")
public suspend fun batchSize(`value`: Output) {
this.batchSize = value
}
/**
* @param value The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs
*/
@JvmName("whpbbhdrnyuhhmsc")
public suspend fun endpoint(`value`: Output) {
this.endpoint = value
}
/**
* @param value The inputs for the Azure Machine Learning web service endpoint.
*/
@JvmName("rkqydchkmqrdiujs")
public suspend fun inputs(`value`: Output) {
this.inputs = value
}
/**
* @param value A list of outputs from the Azure Machine Learning web service endpoint execution.
*/
@JvmName("lgmadbcefwkvbseh")
public suspend fun outputs(`value`: Output>) {
this.outputs = value
}
@JvmName("nbxfbnptpselrccq")
public suspend fun outputs(vararg values: Output) {
this.outputs = Output.all(values.asList())
}
/**
* @param values A list of outputs from the Azure Machine Learning web service endpoint execution.
*/
@JvmName("pdolnrgwqnvorqbi")
public suspend fun outputs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy