![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.iot.kotlin.outputs.IoTHubCloudToDeviceFeedback.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property lockDuration The lock duration for the feedback queue, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 5 and 300 seconds. Defaults to `PT60S`.
* @property maxDeliveryCount The maximum delivery count for the feedback queue. This value must be between `1` and `100`. Defaults to `10`.
* @property timeToLive The retention time for service-bound feedback messages, specified as an [ISO 8601 timespan duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This value must be between 1 minute and 48 hours. Defaults to `PT1H`.
*/
public data class IoTHubCloudToDeviceFeedback(
public val lockDuration: String? = null,
public val maxDeliveryCount: Int? = null,
public val timeToLive: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.IoTHubCloudToDeviceFeedback): IoTHubCloudToDeviceFeedback = IoTHubCloudToDeviceFeedback(
lockDuration = javaType.lockDuration().map({ args0 -> args0 }).orElse(null),
maxDeliveryCount = javaType.maxDeliveryCount().map({ args0 -> args0 }).orElse(null),
timeToLive = javaType.timeToLive().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy