com.pulumi.azure.iot.kotlin.outputs.IoTHubFallbackRoute.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.iot.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property condition The condition that is evaluated to apply the routing rule. Defaults to `true`. For grammar, see: .
* @property enabled Used to specify whether the fallback route is enabled.
* @property endpointNames The endpoints to which messages that satisfy the condition are routed. Currently only 1 endpoint is allowed.
* @property source The source that the routing rule is to be applied to, such as `DeviceMessages`. Possible values include: `Invalid`, `DeviceMessages`, `TwinChangeEvents`, `DeviceLifecycleEvents`, `DeviceConnectionStateEvents`, `DeviceJobLifecycleEvents` and `DigitalTwinChangeEvents`. Defaults to `DeviceMessages`.
*/
public data class IoTHubFallbackRoute(
public val condition: String? = null,
public val enabled: Boolean? = null,
public val endpointNames: List? = null,
public val source: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.IoTHubFallbackRoute):
IoTHubFallbackRoute = IoTHubFallbackRoute(
condition = javaType.condition().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
endpointNames = javaType.endpointNames().map({ args0 -> args0 }),
source = javaType.source().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy