AzureFunctionOutputDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. OutputDataSource - com.
azure. resourcemanager. streamanalytics. models. AzureFunctionOutputDataSource
- com.
- com.
public final class AzureFunctionOutputDataSource
extends OutputDataSource
Defines the metadata of AzureFunctionOutputDataSource.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureFunctionOutputDataSource() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
apiKey()
Get the api |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
functionAppName()
Get the function |
| String |
functionName()
Get the function |
| Float |
maxBatchCount()
Get the max |
| Float |
maxBatchSize()
Get the max |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of data source output will be written to. |
| void |
validate()
Validates the instance. |
|
Azure |
withApiKey(String apiKey)
Set the api |
|
Azure |
withFunctionAppName(String functionAppName)
Set the function |
|
Azure |
withFunctionName(String functionName)
Set the function |
|
Azure |
withMaxBatchCount(Float maxBatchCount)
Set the max |
|
Azure |
withMaxBatchSize(Float maxBatchSize)
Set the max |
Methods inherited from OutputDataSource
Methods inherited from java.lang.Object
Constructor Details
AzureFunctionOutputDataSource
public AzureFunctionOutputDataSource()
Creates an instance of AzureFunctionOutputDataSource class.
Method Details
apiKey
public String apiKey()
Get the apiKey property: If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function.
Returns:
fromJson
public static AzureFunctionOutputDataSource fromJson(JsonReader jsonReader)
Reads an instance of AzureFunctionOutputDataSource from the JsonReader.
Parameters:
Returns:
Throws:
functionAppName
public String functionAppName()
Get the functionAppName property: The name of your Azure Functions app.
Returns:
functionName
public String functionName()
Get the functionName property: The name of the function in your Azure Functions app.
Returns:
maxBatchCount
public Float maxBatchCount()
Get the maxBatchCount property: A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100.
Returns:
maxBatchSize
public Float maxBatchSize()
Get the maxBatchSize property: A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureFunctionOutputDataSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
Overrides:
AzureFunctionOutputDataSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AzureFunctionOutputDataSource.validate()withApiKey
public AzureFunctionOutputDataSource withApiKey(String apiKey)
Set the apiKey property: If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function.
Parameters:
Returns:
withFunctionAppName
public AzureFunctionOutputDataSource withFunctionAppName(String functionAppName)
Set the functionAppName property: The name of your Azure Functions app.
Parameters:
Returns:
withFunctionName
public AzureFunctionOutputDataSource withFunctionName(String functionName)
Set the functionName property: The name of the function in your Azure Functions app.
Parameters:
Returns:
withMaxBatchCount
public AzureFunctionOutputDataSource withMaxBatchCount(Float maxBatchCount)
Set the maxBatchCount property: A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100.
Parameters:
Returns:
withMaxBatchSize
public AzureFunctionOutputDataSource withMaxBatchSize(Float maxBatchSize)
Set the maxBatchSize property: A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB).
Parameters:
Returns: