com.pulumi.azure.storage.kotlin.inputs.AccountQueuePropertiesHourMetricsArgs.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.inputs
import com.pulumi.azure.storage.inputs.AccountQueuePropertiesHourMetricsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 AccountQueuePropertiesHourMetricsArgs(
public val enabled: Output,
public val includeApis: Output? = null,
public val retentionPolicyDays: Output? = null,
public val version: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.AccountQueuePropertiesHourMetricsArgs =
com.pulumi.azure.storage.inputs.AccountQueuePropertiesHourMetricsArgs.builder()
.enabled(enabled.applyValue({ args0 -> args0 }))
.includeApis(includeApis?.applyValue({ args0 -> args0 }))
.retentionPolicyDays(retentionPolicyDays?.applyValue({ args0 -> args0 }))
.version(version.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountQueuePropertiesHourMetricsArgs].
*/
@PulumiTagMarker
public class AccountQueuePropertiesHourMetricsArgsBuilder internal constructor() {
private var enabled: Output? = null
private var includeApis: Output? = null
private var retentionPolicyDays: Output? = null
private var version: Output? = null
/**
* @param value Indicates whether hour metrics are enabled for the Queue service.
*/
@JvmName("cscumbfqbdypdrpc")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Indicates whether metrics should generate summary statistics for called API operations.
*/
@JvmName("vhodceunnawotuja")
public suspend fun includeApis(`value`: Output) {
this.includeApis = value
}
/**
* @param value Specifies the number of days that logs will be retained.
*/
@JvmName("lmvidcomnboriwmx")
public suspend fun retentionPolicyDays(`value`: Output) {
this.retentionPolicyDays = value
}
/**
* @param value The version of storage analytics to configure.
*/
@JvmName("hvjhoijwjtskgcfu")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Indicates whether hour metrics are enabled for the Queue service.
*/
@JvmName("xlxnxlksecclnsup")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Indicates whether metrics should generate summary statistics for called API operations.
*/
@JvmName("ooyomxwwomcouevd")
public suspend fun includeApis(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.includeApis = mapped
}
/**
* @param value Specifies the number of days that logs will be retained.
*/
@JvmName("bsbgywfflcstwhfh")
public suspend fun retentionPolicyDays(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.retentionPolicyDays = mapped
}
/**
* @param value The version of storage analytics to configure.
*/
@JvmName("jyiuhqowpkjbfixy")
public suspend fun version(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): AccountQueuePropertiesHourMetricsArgs =
AccountQueuePropertiesHourMetricsArgs(
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
includeApis = includeApis,
retentionPolicyDays = retentionPolicyDays,
version = version ?: throw PulumiNullFieldException("version"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy