AzureFunctionOutputDataSourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.fluent.models.AzureFunctionOutputDataSourceProperties

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 AzureFunctionOutputDataSourceProperties class.

Method Summary

Modifier and Type Method and Description
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.

static AzureFunctionOutputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureFunctionOutputDataSourceProperties from the JsonReader.

String functionAppName()

Get the functionAppName property: The name of your Azure Functions app.

String functionName()

Get the functionName property: The name of the function in your Azure Functions app.

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.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

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.

AzureFunctionOutputDataSourceProperties withFunctionAppName(String functionAppName)

Set the functionAppName property: The name of your Azure Functions app.

AzureFunctionOutputDataSourceProperties withFunctionName(String functionName)

Set the functionName property: The name of the function in your Azure Functions app.

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.

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.

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:

the apiKey value.

fromJson

public static AzureFunctionOutputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureFunctionOutputDataSourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureFunctionOutputDataSourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AzureFunctionOutputDataSourceProperties.

functionAppName

public String functionAppName()

Get the functionAppName property: The name of your Azure Functions app.

Returns:

the functionAppName value.

functionName

public String functionName()

Get the functionName property: The name of the function in your Azure Functions app.

Returns:

the functionName value.

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:

the maxBatchCount value.

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:

the maxBatchSize value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

apiKey - the apiKey value to set.

Returns:

the AzureFunctionOutputDataSourceProperties object itself.

withFunctionAppName

public AzureFunctionOutputDataSourceProperties withFunctionAppName(String functionAppName)

Set the functionAppName property: The name of your Azure Functions app.

Parameters:

functionAppName - the functionAppName value to set.

Returns:

the AzureFunctionOutputDataSourceProperties object itself.

withFunctionName

public AzureFunctionOutputDataSourceProperties withFunctionName(String functionName)

Set the functionName property: The name of the function in your Azure Functions app.

Parameters:

functionName - the functionName value to set.

Returns:

the AzureFunctionOutputDataSourceProperties object itself.

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:

maxBatchCount - the maxBatchCount value to set.

Returns:

the AzureFunctionOutputDataSourceProperties object itself.

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:

maxBatchSize - the maxBatchSize value to set.

Returns:

the AzureFunctionOutputDataSourceProperties object itself.

Applies to