All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.cosmosdb.kotlin.outputs.SqlContainerIndexingPolicySpatialIndex.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property path Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
 * @property types A set of spatial types of the path.
 */
public data class SqlContainerIndexingPolicySpatialIndex(
    public val path: String,
    public val types: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.SqlContainerIndexingPolicySpatialIndex):
            SqlContainerIndexingPolicySpatialIndex = SqlContainerIndexingPolicySpatialIndex(
            path = javaType.path(),
            types = javaType.types().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy