com.pulumi.azure.cosmosdb.kotlin.inputs.SqlContainerIndexingPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.SqlContainerIndexingPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
*
* @property compositeIndices One or more `composite_index` blocks as defined below.
* @property excludedPaths One or more `excluded_path` blocks as defined below. Either `included_path` or `excluded_path` must contain the `path` `/*`
* @property includedPaths One or more `included_path` blocks as defined below. Either `included_path` or `excluded_path` must contain the `path` `/*`
* @property indexingMode Indicates the indexing mode. Possible values include: `consistent` and `none`. Defaults to `consistent`.
* @property spatialIndices One or more `spatial_index` blocks as defined below.
* */*/
*/
public data class SqlContainerIndexingPolicyArgs(
public val compositeIndices: Output>? = null,
public val excludedPaths: Output>? = null,
public val includedPaths: Output>? = null,
public val indexingMode: Output? = null,
public val spatialIndices: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.SqlContainerIndexingPolicyArgs =
com.pulumi.azure.cosmosdb.inputs.SqlContainerIndexingPolicyArgs.builder()
.compositeIndices(
compositeIndices?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.excludedPaths(
excludedPaths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.includedPaths(
includedPaths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.indexingMode(indexingMode?.applyValue({ args0 -> args0 }))
.spatialIndices(
spatialIndices?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SqlContainerIndexingPolicyArgs].
*/
@PulumiTagMarker
public class SqlContainerIndexingPolicyArgsBuilder internal constructor() {
private var compositeIndices: Output>? = null
private var excludedPaths: Output>? = null
private var includedPaths: Output>? = null
private var indexingMode: Output? = null
private var spatialIndices: Output>? = null
/**
* @param value One or more `composite_index` blocks as defined below.
*/
@JvmName("jitpltypoackrjja")
public suspend
fun compositeIndices(`value`: Output>) {
this.compositeIndices = value
}
@JvmName("uvwbueqcyxhjojlv")
public suspend fun compositeIndices(
vararg
values: Output,
) {
this.compositeIndices = Output.all(values.asList())
}
/**
* @param values One or more `composite_index` blocks as defined below.
*/
@JvmName("qgcwgmkayxxgtkvr")
public suspend
fun compositeIndices(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy