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

com.pulumi.azure.elasticcloud.kotlin.outputs.GetElasticsearchLog.kt Maven / Gradle / Ivy

@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 Should the Azure Activity Logs should be sent to the Elasticsearch cluster?
 * @property sendAzureadLogs Should the AzureAD Logs should be sent to the Elasticsearch cluster?
 * @property sendSubscriptionLogs Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?
 */
public data class GetElasticsearchLog(
    public val filteringTags: List,
    public val sendActivityLogs: Boolean,
    public val sendAzureadLogs: Boolean,
    public val sendSubscriptionLogs: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.elasticcloud.outputs.GetElasticsearchLog): GetElasticsearchLog = GetElasticsearchLog(
            filteringTags = javaType.filteringTags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.elasticcloud.kotlin.outputs.GetElasticsearchLogFilteringTag.Companion.toKotlin(args0)
                })
            }),
            sendActivityLogs = javaType.sendActivityLogs(),
            sendAzureadLogs = javaType.sendAzureadLogs(),
            sendSubscriptionLogs = javaType.sendSubscriptionLogs(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy