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

com.pulumi.azurenative.scom.kotlin.outputs.LogAnalyticsConfigurationResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.scom.kotlin.outputs

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

/**
 * Configuration for Log Analytics linking to SCOM managed instance.
 * @property dataTypes The types of data to be ingested to Log Analytics workspace.
 * @property importData A one-time optional parameter to import data of last 7 days.
 * @property workspaceId The resource ID of the Log Analytics workspace to be used.
 */
public data class LogAnalyticsConfigurationResponse(
    public val dataTypes: List? = null,
    public val importData: Boolean? = null,
    public val workspaceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.scom.outputs.LogAnalyticsConfigurationResponse): LogAnalyticsConfigurationResponse = LogAnalyticsConfigurationResponse(
            dataTypes = javaType.dataTypes().map({ args0 -> args0 }),
            importData = javaType.importData().map({ args0 -> args0 }).orElse(null),
            workspaceId = javaType.workspaceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy