com.pulumi.azure.elasticcloud.kotlin.outputs.ElasticsearchLogs.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.elasticcloud.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property filteringTags A list of `filtering_tag` blocks as defined above.
* @property sendActivityLogs Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
* @property sendAzureadLogs Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
* @property sendSubscriptionLogs Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
*/
public data class ElasticsearchLogs(
public val filteringTags: List? = null,
public val sendActivityLogs: Boolean? = null,
public val sendAzureadLogs: Boolean? = null,
public val sendSubscriptionLogs: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.elasticcloud.outputs.ElasticsearchLogs):
ElasticsearchLogs = ElasticsearchLogs(
filteringTags = javaType.filteringTags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.elasticcloud.kotlin.outputs.ElasticsearchLogsFilteringTag.Companion.toKotlin(args0)
})
}),
sendActivityLogs = javaType.sendActivityLogs().map({ args0 -> args0 }).orElse(null),
sendAzureadLogs = javaType.sendAzureadLogs().map({ args0 -> args0 }).orElse(null),
sendSubscriptionLogs = javaType.sendSubscriptionLogs().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy