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

com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationJmxPrometheusExporter.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.applicationinsights.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The JMX Prometheus Exporter settings.
 * @property hostPort Java agent host port
 * @property jmxurl JMX service URL.
 * @property prometheusPort Prometheus exporter port.
 */
public data class ApplicationJmxPrometheusExporter(
    public val hostPort: String? = null,
    public val jmxurl: String? = null,
    public val prometheusPort: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.applicationinsights.outputs.ApplicationJmxPrometheusExporter): ApplicationJmxPrometheusExporter = ApplicationJmxPrometheusExporter(
            hostPort = javaType.hostPort().map({ args0 -> args0 }).orElse(null),
            jmxurl = javaType.jmxurl().map({ args0 -> args0 }).orElse(null),
            prometheusPort = javaType.prometheusPort().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy