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

com.pulumi.azure.eventgrid.kotlin.outputs.SystemTopicEventSubscriptionRetryPolicy.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.eventgrid.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property eventTimeToLive Specifies the time to live (in minutes) for events. Supported range is `1` to `1440`. See [official documentation](https://docs.microsoft.com/azure/event-grid/manage-event-delivery#set-retry-policy) for more details.
 * @property maxDeliveryAttempts Specifies the maximum number of delivery retry attempts for events.
 */
public data class SystemTopicEventSubscriptionRetryPolicy(
    public val eventTimeToLive: Int,
    public val maxDeliveryAttempts: Int,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.SystemTopicEventSubscriptionRetryPolicy):
            SystemTopicEventSubscriptionRetryPolicy = SystemTopicEventSubscriptionRetryPolicy(
            eventTimeToLive = javaType.eventTimeToLive(),
            maxDeliveryAttempts = javaType.maxDeliveryAttempts(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy