
com.pulumi.azurenative.streamanalytics.kotlin.inputs.BlobReferenceInputDataSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.inputs
import com.pulumi.azurenative.streamanalytics.inputs.BlobReferenceInputDataSourceArgs.builder
import com.pulumi.azurenative.streamanalytics.kotlin.enums.AuthenticationMode
import com.pulumi.core.Either
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes a blob input data source that contains reference data.
* @property authenticationMode Authentication Mode.
* @property container The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
* @property dateFormat The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
* @property pathPattern The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.
* @property storageAccounts A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
* @property timeFormat The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.
* @property type Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Storage/Blob'.
*/
public data class BlobReferenceInputDataSourceArgs(
public val authenticationMode: Output>? = null,
public val container: Output? = null,
public val dateFormat: Output? = null,
public val pathPattern: Output? = null,
public val storageAccounts: Output>? = null,
public val timeFormat: Output? = null,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.streamanalytics.inputs.BlobReferenceInputDataSourceArgs =
com.pulumi.azurenative.streamanalytics.inputs.BlobReferenceInputDataSourceArgs.builder()
.authenticationMode(
authenticationMode?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.container(container?.applyValue({ args0 -> args0 }))
.dateFormat(dateFormat?.applyValue({ args0 -> args0 }))
.pathPattern(pathPattern?.applyValue({ args0 -> args0 }))
.storageAccounts(
storageAccounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.timeFormat(timeFormat?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BlobReferenceInputDataSourceArgs].
*/
@PulumiTagMarker
public class BlobReferenceInputDataSourceArgsBuilder internal constructor() {
private var authenticationMode: Output>? = null
private var container: Output? = null
private var dateFormat: Output? = null
private var pathPattern: Output? = null
private var storageAccounts: Output>? = null
private var timeFormat: Output? = null
private var type: Output? = null
/**
* @param value Authentication Mode.
*/
@JvmName("xatvhoimwhtdsclt")
public suspend fun authenticationMode(`value`: Output>) {
this.authenticationMode = value
}
/**
* @param value The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("uibpcnakdviljtca")
public suspend fun container(`value`: Output) {
this.container = value
}
/**
* @param value The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
*/
@JvmName("hpwoykklkwdqpkyq")
public suspend fun dateFormat(`value`: Output) {
this.dateFormat = value
}
/**
* @param value The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.
*/
@JvmName("hecfjllwfuiknkih")
public suspend fun pathPattern(`value`: Output) {
this.pathPattern = value
}
/**
* @param value A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("yciweiojbkyatrsm")
public suspend fun storageAccounts(`value`: Output>) {
this.storageAccounts = value
}
@JvmName("vdfvonwtgfprjegr")
public suspend fun storageAccounts(vararg values: Output) {
this.storageAccounts = Output.all(values.asList())
}
/**
* @param values A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("nutavtuqlthhxjtr")
public suspend fun storageAccounts(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy