com.pulumi.azure.storage.kotlin.outputs.AccountQueuePropertiesHourMetrics.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.storage.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Indicates whether hour metrics are enabled for the Queue service.
* @property includeApis Indicates whether metrics should generate summary statistics for called API operations.
* @property retentionPolicyDays Specifies the number of days that logs will be retained.
* @property version The version of storage analytics to configure.
*/
public data class AccountQueuePropertiesHourMetrics(
public val enabled: Boolean,
public val includeApis: Boolean? = null,
public val retentionPolicyDays: Int? = null,
public val version: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountQueuePropertiesHourMetrics):
AccountQueuePropertiesHourMetrics = AccountQueuePropertiesHourMetrics(
enabled = javaType.enabled(),
includeApis = javaType.includeApis().map({ args0 -> args0 }).orElse(null),
retentionPolicyDays = javaType.retentionPolicyDays().map({ args0 -> args0 }).orElse(null),
version = javaType.version(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy