com.pulumi.azure.cosmosdb.kotlin.outputs.GremlinGraphIndexPolicy.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property automatic Indicates if the indexing policy is automatic. Defaults to `true`.
* @property compositeIndices One or more `composite_index` blocks as defined below.
* @property excludedPaths List of paths to exclude from indexing. Required if `indexing_mode` is `Consistent` or `Lazy`.
* @property includedPaths List of paths to include in the indexing. Required if `indexing_mode` is `Consistent` or `Lazy`.
* @property indexingMode Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`.
* @property spatialIndices One or more `spatial_index` blocks as defined below.
*/
public data class GremlinGraphIndexPolicy(
public val automatic: Boolean? = null,
public val compositeIndices: List? = null,
public val excludedPaths: List? = null,
public val includedPaths: List? = null,
public val indexingMode: String,
public val spatialIndices: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.GremlinGraphIndexPolicy):
GremlinGraphIndexPolicy = GremlinGraphIndexPolicy(
automatic = javaType.automatic().map({ args0 -> args0 }).orElse(null),
compositeIndices = javaType.compositeIndices().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.cosmosdb.kotlin.outputs.GremlinGraphIndexPolicyCompositeIndex.Companion.toKotlin(args0)
})
}),
excludedPaths = javaType.excludedPaths().map({ args0 -> args0 }),
includedPaths = javaType.includedPaths().map({ args0 -> args0 }),
indexingMode = javaType.indexingMode(),
spatialIndices = javaType.spatialIndices().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.cosmosdb.kotlin.outputs.GremlinGraphIndexPolicySpatialIndex.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy