![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperations.kotlin.outputs.ProfileDiagnosticsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.iotoperations.kotlin.outputs
import kotlin.Suppress
/**
* DataFlowProfile Diagnostics properties
* @property logs Diagnostic log settings for the resource.
* @property metrics The metrics settings for the resource.
*/
public data class ProfileDiagnosticsResponse(
public val logs: DiagnosticsLogsResponse? = null,
public val metrics: MetricsResponse? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.ProfileDiagnosticsResponse): ProfileDiagnosticsResponse = ProfileDiagnosticsResponse(
logs = javaType.logs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.iotoperations.kotlin.outputs.DiagnosticsLogsResponse.Companion.toKotlin(args0)
})
}).orElse(null),
metrics = javaType.metrics().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.iotoperations.kotlin.outputs.MetricsResponse.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy