
com.pulumi.azurenative.streamanalytics.kotlin.inputs.AzureTableOutputDataSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.inputs
import com.pulumi.azurenative.streamanalytics.inputs.AzureTableOutputDataSourceArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes an Azure Table output data source.
* @property accountKey The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
* @property accountName The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
* @property batchSize The number of rows to write to the Azure Table at a time.
* @property columnsToRemove If specified, each item in the array is the name of a column to remove (if present) from output event entities.
* @property partitionKey This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
* @property rowKey This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
* @property table The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
* @property type Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Storage/Table'.
*/
public data class AzureTableOutputDataSourceArgs(
public val accountKey: Output? = null,
public val accountName: Output? = null,
public val batchSize: Output? = null,
public val columnsToRemove: Output>? = null,
public val partitionKey: Output? = null,
public val rowKey: Output? = null,
public val table: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.streamanalytics.inputs.AzureTableOutputDataSourceArgs =
com.pulumi.azurenative.streamanalytics.inputs.AzureTableOutputDataSourceArgs.builder()
.accountKey(accountKey?.applyValue({ args0 -> args0 }))
.accountName(accountName?.applyValue({ args0 -> args0 }))
.batchSize(batchSize?.applyValue({ args0 -> args0 }))
.columnsToRemove(columnsToRemove?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.partitionKey(partitionKey?.applyValue({ args0 -> args0 }))
.rowKey(rowKey?.applyValue({ args0 -> args0 }))
.table(table?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureTableOutputDataSourceArgs].
*/
@PulumiTagMarker
public class AzureTableOutputDataSourceArgsBuilder internal constructor() {
private var accountKey: Output? = null
private var accountName: Output? = null
private var batchSize: Output? = null
private var columnsToRemove: Output>? = null
private var partitionKey: Output? = null
private var rowKey: Output? = null
private var table: Output? = null
private var type: Output? = null
/**
* @param value The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("tjpdbcslxkiqsecr")
public suspend fun accountKey(`value`: Output) {
this.accountKey = value
}
/**
* @param value The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("kehudqhqotvyktxi")
public suspend fun accountName(`value`: Output) {
this.accountName = value
}
/**
* @param value The number of rows to write to the Azure Table at a time.
*/
@JvmName("wnxxmvyvdsvntvte")
public suspend fun batchSize(`value`: Output) {
this.batchSize = value
}
/**
* @param value If specified, each item in the array is the name of a column to remove (if present) from output event entities.
*/
@JvmName("hbfsujvrfdhthydl")
public suspend fun columnsToRemove(`value`: Output>) {
this.columnsToRemove = value
}
@JvmName("lsclvoudsnqecyej")
public suspend fun columnsToRemove(vararg values: Output) {
this.columnsToRemove = Output.all(values.asList())
}
/**
* @param values If specified, each item in the array is the name of a column to remove (if present) from output event entities.
*/
@JvmName("ehjuvvejonvrmion")
public suspend fun columnsToRemove(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy