AzureFunctionOutputDataSourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. fluent. models. AzureFunctionOutputDataSourceProperties
- com.
Implements
public final class AzureFunctionOutputDataSourceProperties
implements JsonSerializable<AzureFunctionOutputDataSourceProperties>
The properties that are associated with an Azure Function output.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureFunctionOutputDataSourceProperties() |
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) |
| 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 java.lang.Object
Constructor Details
AzureFunctionOutputDataSourceProperties
public AzureFunctionOutputDataSourceProperties()
Creates an instance of AzureFunctionOutputDataSourceProperties 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 AzureFunctionOutputDataSourceProperties fromJson(JsonReader jsonReader)
Reads an instance of AzureFunctionOutputDataSourceProperties 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
validate
public void validate()
Validates the instance.
withApiKey
public AzureFunctionOutputDataSourceProperties 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 AzureFunctionOutputDataSourceProperties withFunctionAppName(String functionAppName)
Set the functionAppName property: The name of your Azure Functions app.
Parameters:
Returns:
withFunctionName
public AzureFunctionOutputDataSourceProperties withFunctionName(String functionName)
Set the functionName property: The name of the function in your Azure Functions app.
Parameters:
Returns:
withMaxBatchCount
public AzureFunctionOutputDataSourceProperties 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 AzureFunctionOutputDataSourceProperties 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: