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

com.pulumi.azure.monitoring.kotlin.outputs.DataCollectionRuleStreamDeclaration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

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

/**
 *
 * @property columns One or more `column` blocks as defined above.
 * @property streamName The name of the custom stream. This name should be unique across all `stream_declaration` blocks.
 */
public data class DataCollectionRuleStreamDeclaration(
    public val columns: List,
    public val streamName: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.DataCollectionRuleStreamDeclaration):
            DataCollectionRuleStreamDeclaration = DataCollectionRuleStreamDeclaration(
            columns = javaType.columns().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.DataCollectionRuleStreamDeclarationColumn.Companion.toKotlin(args0)
                })
            }),
            streamName = javaType.streamName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy