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

com.pulumi.azure.monitoring.kotlin.outputs.GetLogProfileRetentionPolicy.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.monitoring.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property days The number of days for the retention policy.
 * @property enabled A boolean value indicating whether the retention policy is enabled.
 */
public data class GetLogProfileRetentionPolicy(
    public val days: Int,
    public val enabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetLogProfileRetentionPolicy):
            GetLogProfileRetentionPolicy = GetLogProfileRetentionPolicy(
            days = javaType.days(),
            enabled = javaType.enabled(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy